|
| 21 Jul 2016 09:14 PM |
human:MoveTo(torso.Position + Vector3.new(0, 0, -0.1))
Halp :(
#code print("While I may look like a cataclysmic god of the eggs from the future, I am not.") |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 09:21 PM |
| shouldn't you do Vector3 before MoveTo |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 09:29 PM |
What?
#code print("While I may look like a cataclysmic god of the eggs from the future, I am not.") |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 09:32 PM |
| http://wiki.roblox.com/index.php?title=API:Class/Model/MoveTo |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 09:34 PM |
| What you have there works, it's just that Z value is too small. Try changing it to 5 or something. |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 09:41 PM |
Bump. Not working.
#code print("While I may look like a cataclysmic god of the eggs from the future, I am not.") |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 09:45 PM |
Alright, try this out.
Human:MoveTo(Torso.Position + Vector3.new(0,0,-5))
This works for me m8 |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Jul 2016 10:00 PM |
@Deep
Were talking about NPC's here.
#code print("While I may look like a cataclysmic god of the eggs from the future, I am not.") |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 10:08 PM |
Should still work for NPCs
I made this and threw it into an NPC and it works fine.
local human = script.Parent.Humanoid local torso = script.Parent.Torso human.WalkSpeed = 20 while torso.Position.Z > -100 and wait() do human:MoveTo(torso.Position + Vector3.new(0,0,-5)) end |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 10:09 PM |
Dude it's not working, and it's not my code. It's literally that 1 line, and I checked the logic back and forth - there's nothing wrong with it. I've encountered this many times before, too, it's on ROBLOX's end.
#code print("While I may look like a cataclysmic god of the eggs from the future, I am not.") |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 10:10 PM |
| Try using roblox wiki its helpful ;-; |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 10:12 PM |
Does it make a difference if I'm doing it from the client?
#code print("While I may look like a cataclysmic god of the eggs from the future, I am not.") |
|
|
| Report Abuse |
|
|
Objectly
|
  |
| Joined: 18 Jul 2016 |
| Total Posts: 210 |
|
|
| 21 Jul 2016 10:17 PM |
Use MoveTo via the server.
If it's not a scripting issue, it may be the parts of your entity. |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2016 10:19 PM |
@Objectly
It's not the code, and it's not the model (it's from ROBLOX's assets). How can I do it from the client? It literally HAS to be. It's being used in script builder & I can only have it in 1 script, and it has to have the LocalPlayer, the Camera, and UserInputService. Is there an alternative to MoveTo?
#code print("While I may look like a cataclysmic god of the eggs from the future, I am not.") |
|
|
| Report Abuse |
|
|