I have a folder with parts inside ReplicatedStorage and I want it to move to Workspace if a player touches a part, but only for the player that touched that part.
Here's the script:<
local planks = game.ReplicatedStorage.WoodPlanks
local sound = planks.SoundPlayer.Planks
script.Parent.Touched:connect(function(hit)
if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
planks.Parent = game.Workspace
sound:Play()
end
end)
