Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

So this works great if the 2 parts are not anchored but i need them to be can anyone help me?

Asked by
abrobot 44
6 years ago
local Tucher = script.Parent
local Tuched = script.Parent.Parent.Tuched


Tucher.Touched:connect(function(otherpart)

local found = otherpart:FindFirstChild("Value")

if found then 

Tucher.Position = game.Workspace.Abrobot.UpperTorso.Position + Vector3.new(0, 0, 5)

Tucher.Position = Vector3.new(math.floor(Tucher.Position.x/2 + .5)*2, math.floor(Tucher.Position.y/2 + .5)*2, math.floor(Tucher.Position.z/2 + .5)*2)


end

end)
0
try spelling 'touched' correct? minikitkat 687 — 6y
0
its works when there not anchored so thats not the prib abrobot 44 — 6y
0
It is a variable mini, yah dingus greatneil80 2647 — 6y
0
abrobot, anchor it and then once you are near the end and the script process is almost complete, unanchor it. greatneil80 2647 — 6y
0
that will not work for me abrobot 44 — 6y

Answer this question