Making a GUI Text appear for everyone

Im trying to make a Nuke Command for fun, im trying to make the timer now. I looked at other dev forum posts, they said use a remote function, I have no expirence with remote functions. Please help. (I Might Has Mispelled some stuff because im tired)

Maybe try to use :fireAllClients on the Remote Event? Also make sure to make the LocalScript receiver that receives this is in StarterPlayerScripts!

That will probably help, I just need more info about remote functions

This should help(ish) Remote Events and Callbacks | Documentation - Roblox Creator Hub

(Just a quick example)

clientside

game.ReplicatedStorage:WaitForChild("NukeRE").OnClientEvent:Connect(function()
-- enter ur code here
end

serverside

local NukeRE = instance.new("RemoteEvent")
NukeRE.Parent = game.ReplicatedStorage
NukeRE.Name = "NukeRE"

function ActivateNuke()
NukeRE:FireAllClients()
end

Almost correct but workspace.ReplicatedStorage does not exist its game.ReplicatedStorage

1 Like

That is true, Replicated storage has its own folder

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.