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

Touch and make the turret move in that position?

Asked by 4 years ago
Edited 4 years ago

I don't know how to do this somebody help? I have searched and searched but I cant get it right.

1 answer

Log in to vote
1
Answered by
Nootian 184
4 years ago
Edited 4 years ago

Ok, You need to be more specific, but I will try and help

--This is the thing that you will touch and it will move the turret
Part = game.Workspace.Part
Turret = game.Workspace.Turret


Part.Touched:Connect(function(Thing)
    --I do not know what you mean by: "in that position" but if you want it to go move to the part:
    game.Workspace.Turret.Position = game.Workspace.Part.Position
end)

Ad

Answer this question