Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

GUI intro not working in local server?

Hi,I made a intro gui and it's not working in the server ..I put the script in workspace ,so player can be connected to gui and in starter gui,I added destroy the script on touching..pls help.

1 comment

0

Change the location of your script to Starterpack OR StarterGui.

2 answers

✓ Accepted answer

Put The Gui Inside Of The ServerStorage And Add The Script Inside Of The ServerScriptStorage

Try That.

game.Players.PlayerAdded:Connect(function(plr)
  local gui = game.ServerStorage:WaitForChild("ADD_NAME_HERE")
  gui:Clone().Parent = plr.PlayerGui
end)

1 comment

0

WORKED.. ACTUALLY I COPIED THE SCRIPT TWO TIMES..ONE WITH DESTROY ABLE AND ONE WITH NON DESTROYS LE ..SO DIDNT WORK :) THANKS FOR HELP

Put the script inside ServerScriptService.

game:GetService("Players").PlayerAdded:Connect(function(Player)
local PlayerGui = Player:WaitForChild("PlayerGui")
local GUI = PlayerGui:WaitForChild("GUI):Clone()
GUI.Parent = PlayerGui

This discussion is preserved as it was. New answers, comments, and votes are closed.