so here's my code in a localscript which is in a part which is in a model called fuzzy1. I had it in a normal script but when someone touches it, it goes away for all the players but I only want it to go away for the player who touched it so I put my code in a local script. Can anyone help me?
function OnTouch(hit)
wait(0.01)
local value = script.Parent.Position
local x, y, z = value.x, value.y, value.z
x, y, z = -15.51, -7.834, 0.07
script.Parent.Position = Vector3.new(x, y, z)
game.workspace.Fuzzy1.Eye1.Position = Vector3.new(x, y, z)
game.workspace.Fuzzy1.Eye2.Position = Vector3.new(x, y, z)
game.workspace.Fuzzy1.FuzzyMesh.Position = Vector3.new(x, y, z)
end
script.Parent.Touched:Connect(OnTouch)

3 comments
try moving this script into player gui see if that helps
Thanks!
But it doesn't Work.