CODE
c = workspace.htisguy.Sound
o = game.Players.LocalPlayer
cc = game.workspace.htisguy
k = game.SoundService.Sound
cc.Touched:Connect(function()
k:Pause()
c:Play()
task.wait(0.5)
o.PlayerGui.warp.Enabled = true
end)
EXPLANATION
I am attempting to make a sound play and after a bit, a gui will enable turning the screen black.
In the game, falling into a specific pit will trigger this event.
Please ignore the horrible variable names. I don't organize alot of my stuff, besides I do only small scripts
ERRORS
Workspace.htisguy.Script:16: attempt to index nil with 'PlayerGui'
MORE
I am using a serversided script.
Using a local script does NOT work.

1 comment
those are some epic variables