Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
|
| 26 Dec 2014 03:03 PM |
--prints Is moveable in output-- --Oh I want it to do is when I click it, it puts it right in front in me(First person)-- --When I check the bodposition's position, it's 0,0,0-- --welp--
plr = game.Players.LocalPlayer mouse = plr:GetMouse()
mouse.Button1Down:connect(function() if mouse.Target ~= nil then Target = mouse.Target if Target:FindFirstChild("Special") then print('noice') if Target.Special.Type.Value == "Move" then print('Is moveable') bp = Instance.new("BodyPosition",Target) while wait() do bp.position = Vector3.new(10,0,0) end end end end end) |
|
|
| Report Abuse |
|
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
|
| 26 Dec 2014 03:08 PM |
posted the wrong code :P
plr = game.Players.LocalPlayer mouse = plr:GetMouse()
mouse.Button1Down:connect(function() if mouse.Target ~= nil then Target = mouse.Target if Target:FindFirstChild("Special") then print('noice') if Target.Special.Type.Value == "Move" then print('Is moveable') bp = Instance.new("BodyPosition",Target) while wait() do bp.position = Vector3.new(plr.Character.Torso.CFrame.lookVector * 10) end end end end end) |
|
|
| Report Abuse |
|
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
| |
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
| |
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
| |
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
| |
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
| |
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
| |
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
|
| 26 Dec 2014 06:00 PM |
| How does no one know how to fix this? |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2014 06:15 PM |
Vector3.new(plr.Character.Torso.CFrame.lookVector * 10)
remove the Vector3.new() |
|
|
| Report Abuse |
|
|