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

Why doesn't my screen gui work when I hit certain tabs?

Asked by 7 years ago
Edited 7 years ago

Playbutton localscript:

script.Parent.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
script.Parent.Parent.Parent:Destroy()
end)

Workspace Script:

game.Players.PlayerAdded:connect(function(player)
repeat wait() until player.PlayerGui:FindFirstChild("StartMenu")
repeat wait() until player.Character:findFirstChild("Humanoid")

player.PlayerGui.StartMenu.Frame.Visible = true
player.Character.Humanoid.WalkSpeed = 0
end)
0
Do you have filtering enabled? If so, the server cannot access the player while filtering is enabled. Try putting all this is the PlayersGui. 4xN 10 — 7y

Answer this question