generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: I hate bodypositions

Previous Thread :: Next Thread 
Funse is not online. 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 is not online. 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 is not online. Funse
Joined: 11 Jun 2012
Total Posts: 7887
26 Dec 2014 03:16 PM
welp!
Report Abuse
Funse is not online. Funse
Joined: 11 Jun 2012
Total Posts: 7887
26 Dec 2014 03:38 PM
Nobody?
Really?
Report Abuse
Funse is not online. Funse
Joined: 11 Jun 2012
Total Posts: 7887
26 Dec 2014 03:45 PM
qq
Report Abuse
Funse is not online. Funse
Joined: 11 Jun 2012
Total Posts: 7887
26 Dec 2014 04:26 PM
HOW DOES NO ONE KNOW?
Report Abuse
Funse is not online. Funse
Joined: 11 Jun 2012
Total Posts: 7887
26 Dec 2014 05:22 PM
wow
it's been 2 hours
Report Abuse
Funse is not online. Funse
Joined: 11 Jun 2012
Total Posts: 7887
26 Dec 2014 05:40 PM
....
Report Abuse
Funse is not online. 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
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
26 Dec 2014 06:15 PM
Vector3.new(plr.Character.Torso.CFrame.lookVector * 10)

remove the Vector3.new()
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image