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

Is this scripted wrong? I keep getting an error, but I don't understand what it means.

Asked by 7 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

So I have a script in-game that is supposed to move other items in the Workspace into the StarterGUI when a player joins the game. There is a picture below. If anyone can help me or tell me why this is not working, and/or help me get it working, I would very much appreciate it.

Error/output: http://prntscr.com/c47fwt

Script:

script.AutoUpdate.Parent = game.Workspace
script.ISAdmin = game:GetService("ServerScriptService")
script.RHCcaller.Background.Parent.Parent = game:GetService("StarterGui")
script.RHCcontrol.Frame.Button.Parent.Parent.Parent = game:GetService("StarterGui")
script.RHCmenu.Background.Admin.Parent.Parent.Parent = game:GetService("StarterGui")
script.RHCadmin.Background.Parent.Parent = game:GetService("StarterGui")
script.Chat = game:GetService("StarterGui")
script.RNoticeUI.Parent = game:GetService("StarterGui")
script.Verify.RankGui.ImageLabel.Parent.Parent.Parent = game:GetService("ServerScriptService")
script.FixLighting = game:GetService("ServerScriptService")

My goal is to move these GUIs and other scripts into the StarterGUI and ServerScriptService, but nothing seems to be working.

Answer this question