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

Is there a way to clone/Move a part with a local script without making it a local part?

Asked by
PastDays 108
5 years ago

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
0
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 ToastedBurnt 54 — 5y
0
It has to be a local script as it is located in PlayerGui PastDays 108 — 5y
0
don't put it in there then ToastedBurnt 54 — 5y
0
That's how i get the players name. PastDays 108 — 5y
0
use remote events radusavin366 617 — 5y

1 answer

Log in to vote
1
Answered by
Aimarekin 345 Moderation Voter
5 years ago

There's no way.

If you want the part to be replicated through all clients, it'll need to be server-side.

You can use RemoteEvents and RemoteFunctions to achieve this, but there is no way you can replicate it client-side.

0
Then i am stuck, I have no way to fix it... Thank you for the help. PastDays 108 — 5y
0
You can read articles on the roblox dev hub on how to make FE compatible places. https://www.robloxdev.com/articles/Converting-From-Experimental-Mode Aimarekin 345 — 5y
Ad

Answer this question