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.