Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Gui worked but after trying to get FE enabled for it it just stopped working?

Asked by 5 years ago

I'm really terrible at FE and i cant get it to work for my gui.(i'm also pretty new to scripting) so it's supposed to be a round script and it worked

(both scripts are in startergui)

LocalScript

local play = game.Players.LocalPlayer

game.ReplicatedStorage.Intermis.OnClientEvent:Connect(function()
while true do   
            script.Parent.TextLabel.Text = "Intermission = "..script.Parent.Int.Value
            script.Parent.Int.Value = script.Parent.Int.Value - 10
            wait(1)
    if script.Parent.Int.Value == 0 then
        for _,player in pairs (game.Players:GetPlayers()) do        
            if player.Character then            
            player.Character:MoveTo(Vector3.new(game.Workspace.tele.Position))
            script.Parent.TextLabel.Visible = false
    if script.Parent.TextLabel.Visible == false then
        for  i = 600, 1, -1  do
            script.Parent.time.Visible = true
            script.Parent.time.Text = "Time Left = "..i
            wait(1)
    if i == 1 then
            play.Character:MoveTo(Vector3.new(197.927, -48.632, -116.923))
            script.Parent.Int.Value = 30
            script.Parent.TextLabel.Visible = true
            script.Parent.time.Visible = false
                            end
                        end
                    end
                end
            end
        end
    end
end)

Script

game.Players.PlayerAdded:Connect(function(gof)
    game.ReplicatedStorage.Intermis:FireAllClients(gof)
end)

I know i got something wrong

0
Change FireAllClients to FireClient() oftenz 367 — 5y
0
still does not work poopstermaniac 1 — 5y

Answer this question