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: How to make objects spin.

Previous Thread :: Next Thread 
Kilometerz is not online. Kilometerz
Joined: 20 Sep 2012
Total Posts: 2666
02 Aug 2014 07:37 PM
You know how on the Old GTA games when you kill someone they drop their gun and it spins to let you know you can pick it up.

How would I do that?
Report Abuse
alij12 is not online. alij12
Joined: 03 Oct 2011
Total Posts: 1204
02 Aug 2014 07:39 PM
>Player died
> take gun out of backpack (If not in back-pack, then in player)
> parent to workspace
> anchor (or use a body force or something)
> rotate
> .touched
Report Abuse
Kilometerz is not online. Kilometerz
Joined: 20 Sep 2012
Total Posts: 2666
02 Aug 2014 07:40 PM
Only needed to know the rotate part k
Report Abuse
sedahedran is not online. sedahedran
Joined: 26 Nov 2009
Total Posts: 153
02 Aug 2014 07:52 PM
while true do

script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(.01, .01, .01)

wait()

end
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