|
| 16 Aug 2016 06:57 PM |
This script is inside of a part. Its supposed to make whoever touches it to walk to 38.2, 28.2, 57.6
script.Parent.Touched:connect(function(part) if game.Players:GetPlayerFromCharacter(script.Parent) then script.Parent.Humanoid.WalkToPoint = Vector3.new(38.2, 28.2, 57.6) wait() end end)
I cant really tell whats wrong since there is no output.
make it fluffy or i poke you c: |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2016 07:03 PM |
Bumpity boop
make it fluffy or i poke you c: |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2016 07:14 PM |
All of those occurrences of "script.Parent" should probably be "hit.Parent"
|
|
|
| Report Abuse |
|
|
| |
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
|
| 16 Aug 2016 08:34 PM |
script.Parent.Humanoid:MoveTo(38.2, 28.2, 57.6)
WalkToPoint returns the position the Humanoid is trying to reach, i.e. the Vector3 you passed through MoveTo(). |
|
|
| Report Abuse |
|
|