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 5 years ago
Edited 5 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
5 years ago
Edited 5 years ago

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

1--This is the thing that you will touch and it will move the turret
2Part = game.Workspace.Part
3Turret = game.Workspace.Turret
4 
5 
6Part.Touched:Connect(function(Thing)
7    --I do not know what you mean by: "in that position" but if you want it to go move to the part:
8    game.Workspace.Turret.Position = game.Workspace.Part.Position
9end)
Ad

Answer this question