local nerd = script.Parent nerd.ClickDetector.MouseClick:Connect(function(player) local dollar = game.ReplicatedStorage.nerdbux:Clone() dollar.Parent = script.Parent dollar.Position = script.Parent.Position end) I've tried switching over from serverstorage to replicated storage.
And the script wasn't cloning even in replicated storage. Nothing has been working and I cant seem to find out the error. If someone can fix my script, that would be great!
local nerd = script.Parent nerd.ClickDetector.MouseClick:Connect(function(player) print("Cloned!") local nerd = game.Workspace.nerdbux:Clone() nerd.Name = "fard" nerd.Position = script.Parent.Position nerd.Parent = game.Workspace end)
I fixed it by changing the original parent of the part that I was trying to clone.