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 » Scripting Helpers
Home Search
 

Re: BodyVelocity help

Previous Thread :: Next Thread 
SenjuNaruto is not online. SenjuNaruto
Joined: 16 Feb 2012
Total Posts: 368
12 Jul 2013 01:01 PM
Hey players, I wanted some help here. This script spawns my model but it doesn't move even though I insert the body velocity. What is wrong with it? Here is the important section:

x = game.Lighting.LightingFist:clone()
x.Parent = Workspace
x.CFrame = Player.Character.Torso.CFrame *CFrame.new (2, 0, -3)
x.Rotation = Vector3.new(-90, 0, -90)
x.Anchored = true
y = Instance.new ("BodyVelocity")
y.maxForce = Vector3.new (math.huge, math.huge, math.huge)
y.velocity = Player.Character.Torso.CFrame.lookVector *85
y.Parent = x
b = script.Fist:clone()
b.Parent = x

Player is defined.
Report Abuse
Raphael7 is not online. Raphael7
Joined: 03 Dec 2008
Total Posts: 2479
12 Jul 2013 01:04 PM
You anchored the part.
Report Abuse
SenjuNaruto is not online. SenjuNaruto
Joined: 16 Feb 2012
Total Posts: 368
12 Jul 2013 02:25 PM
xD Thank you
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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