I have a script that destroys models. The destruction works fine. I want it to also play an audio clip and display the Text and Image from a Screen Gui under StarterGui called "MapWarning"
When I test it out in Studio under a local server, the Audio plays fine. But the Text and Image only appear in the Server window, not the Player1, Player2, etc. window.
Pretty sure I've just overlooked something stupid, since it does appear in the Server window. How can I correct this?
wait(10) game.StarterGui.MapWarning.TextLabel.Text = 'WARNING!' game.StarterGui.MapWarning.ImageLabel.Visible = true script.Sound:Play() wait(6) if script.Parent then script.Parent:Destroy() end
Some scripts don't work in studio why do you want it if it works fine in server?