when I run this script:
SERVER SCRIPT
wait()
text = script.Parent.text
if script.Parent.PlayerCount.NumOfPlayers.Value == 1
then
text.Value = "Welcome to SURVIVAL GAMES!"
game.ReplicatedStorage.Remotes.ann:FireServer()
wait(10)
text.Value = "If you don't know how to play, read the description!"
game.ReplicatedStorage.Remotes.ann:FireServer()
wait(10)
end
it is supposed to run this one
LOCAL SCRIPT
wait()
local text = game:GetService("ServerScriptService").text.Value
game.ReplicatedStorage.Remotes.ann.OnServerEvent:Connect(function(qnay)
script.Parent.Visible = true
script.Parent.TextButton.Text = text
end)
however, it gets stuck on 'WELCOME TO SURVIVAL GAMES' and doesnt go on to the next value any ideas why

2 comments
hey its the other way around, the top is the local and the bottom is the server script
You can only :FireServer() in a local script if that is the case.