I was testing a script where when you touched it it would clone something in replicated storage into workspace but it's not working... Can someone please help?
script.Parent.Touched:Connect(function() game.ReplicatedStorage.Yeet:Clone()
end)
Everything looks good, except you'll want to assign the clone to a variable and then parent that variable to the workspace. You'll probably also need a debounce to keep it from processing more than one touch.
The clone gets thrown into game
unless you set the parent afterwards