|
| 26 Jan 2016 04:01 PM |
just running a simple script for now, will add more later, but:
local man = game.Workspace.Man
local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() Mouse.Button1Down:connect(function() man:MoveTo(Mouse.hit.p) end)
This just ends up making wherever you click in the game, the humanoid teleports to where you click.
If you change the variable man to game.Workspace.Man.Humanoid, then you can't move the model at all.
Any suggestions? |
|
|
| Report Abuse |
|
|
|
| 26 Jan 2016 04:04 PM |
is man a model
if it is then its teleporting because :MoveTo is also a function on models that teleports them to the location
|
|
|
| Report Abuse |
|
|
| |
|
|
| 26 Jan 2016 04:06 PM |
How would I make it work then while being in a model?
Sorry I'm new to this |
|
|
| Report Abuse |
|
|
| |
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 26 Jan 2016 04:30 PM |
local man = game.Workspace.Man
local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() Mouse.Button1Down:connect(function() man.Humanoid:MoveTo(Mouse.hit.p) end)
Btw, is the Model's humanoid walkspeed set to 16?
|
|
|
| Report Abuse |
|
|
|
| 26 Jan 2016 04:35 PM |
walkspeed is 16, no errors in output.
could it be due to the fact that his legs are for whatever reason stuck inside the baseplate? |
|
|
| Report Abuse |
|
|
Gensoki
|
  |
| Joined: 15 Feb 2014 |
| Total Posts: 1982 |
|
|
| 26 Jan 2016 04:35 PM |
WalkToPoint or sumthing
http://www.roblox.com/Schwarzesmarken-Opening-TV-Size-item?id=345656154 #code "Let's just say goodbye" |
|
|
| Report Abuse |
|
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 26 Jan 2016 04:37 PM |
Could be a broken NPC
This one is good as it has updated animations: http://www.roblox.com/Animation-NPC-item?id=273736968
|
|
|
| Report Abuse |
|
|
|
| 26 Jan 2016 04:41 PM |
| using that, once I scaled it down to the size I needed it just broke apart |
|
|
| Report Abuse |
|
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 26 Jan 2016 04:42 PM |
Are you using a plugin or script?
|
|
|
| Report Abuse |
|
|
| |
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 26 Jan 2016 04:45 PM |
Oh idk, I just tried it in studio and it worked
|
|
|
| Report Abuse |
|
|
|
| 26 Jan 2016 04:46 PM |
I want them to be smaller, but once I made them small the legs seem to just stay inside of the baseplate.
If I use the plugin to make the NPC you sent me smaller, the whole model breaks apart |
|
|
| Report Abuse |
|
|
| |
|
|
| 26 Jan 2016 04:57 PM |
| I checked the WalkToPoint and the coordinates are correct, just the model itself isn't moving, only the humanoid inside it |
|
|
| Report Abuse |
|
|