Ad
Log in to vote
0

Why does the CoreGui only work in solo?

Asked by
PWNTART 33
7 years ago

So for some reason game:GetService("StarterGui"):SetCoreGuiEnabled("All", false) wont work. Any idea why?

game.Players.CharacterAutoLoads = false Player = script.Parent.Parent.Parent.Parent.Parent game:GetService("StarterGui"):SetCoreGuiEnabled("All", false) script.Parent.MouseEnter:connect(function() script.Sound:Play()

script.Parent.MouseButton1Click:connect(function()
    script.Sound2:Play()
    script.Parent.Text = "Deploying."
    wait(1)
    script.Parent.Text = "Deploying.."
    wait(1)
    script.Parent.Text = "Deploying..."
    wait(1)

game:GetService("StarterGui"):SetCoreGuiEnabled("All", true) script.Parent.Parent.Parent:remove() game.Players.CharacterAutoLoads = true Player:LoadCharacter() end) end)

0
Is this a script or local script? RedCombee 585 — 7y
0
script PWNTART 33 — 7y
0
Nvm i figured it out PWNTART 33 — 7y

Answer this question