I made a LocalScript that clones a part in the workspace, but then I tried to clone a script inside the part. The part Is local and it can only be seen on the client's screens. If a player moves the part around other players won't see the part getting moved around, because it's a Local Part.
The Part is located in ReplicatedStorage
The Script is located in ReplicatedStorage
This is a LocalScript inside StarterGui
local part = game.ReplicatedStorage:WaitForChild("Part")
local scriptt = game.ReplicatedStorage:WaitForChild("Script")
local clonepart = part:Clone() -- Clones the part in workspace
clonepart.Parent = workspace
local clonescript = scriptt:Clone() -- Tries to clone the script in the part,
clonescript.Parent = clonepart -- but it didn't work.
It did clone the part, but it didn't clone the script inside the part.

1 comment
He already stated that his Local Script is inside StarterGui.