So basically i want to move a part and name it with the players name but once i move it to workspace only i can see my part, is there a way i can prevent this?
wait(2)
local Pos = game.Workspace.Spawn.Position
local Player = script.Parent:Clone()
local NM = script.Parent.Parent.NM.Value
Player.Name = NM
Player.Parent = game.Workspace.Players
Player.Position = Pos
script.Parent.Parent.Parent.Controls.ControlMain.Disabled = false

5 comments
If it's in a local script then put it in a normal script, unless if not then when making a variable don't put "local" before it
It has to be a local script as it is located in PlayerGui
don't put it in there then
That's how i get the players name.
use remote events