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

Is This Possible? (Auto Movement)

Asked by
Jxemes 75
6 years ago

Is it possible to have a script where players move automatically without having to click a key? If there is, how would it work?

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

Yes, there is a way to move a player's character to a specific location. In the character's Humanoid, you can find a section of property values named WalkToPoint, WalkToPart, and TargetPoint. These are used to make the player move to a specific location through a script! I would suggest WalkToPoint though for positions.

For example:


local debounce = true script.Parent.Touched:connect(function(plr) if debounce == true then local humanoid = plr.Parent:FindFirstChild("Humanoid") if humanoid ~= nil then humanoid.WalkToPoint = Vector3.new(0,50,0) -- replace numbers with desired position wait(2) debounce = true end end end)
Ad

Answer this question