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: Rotating - Moving in circles

Previous Thread :: Next Thread 
IIXXHockeyXXII is not online. IIXXHockeyXXII
Joined: 17 Feb 2011
Total Posts: 1754
07 Sep 2013 06:50 PM
I need a script that can make a shark fin appear, then swim in circles (rotating the angle of the shark fin at the same time) then after a said amount of time go away. Can someone please help, thanks!
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
07 Sep 2013 06:59 PM
for i=5,360,5 do
sharkfin.CFrame = CFrame.new(math.cos(math.rad(i))*30,1,math.sin(math.rad(i))*30)
wait(.1)
end
Report Abuse
IIXXHockeyXXII is not online. IIXXHockeyXXII
Joined: 17 Feb 2011
Total Posts: 1754
07 Sep 2013 08:11 PM
how would implement such a script?
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
07 Sep 2013 09:07 PM
I hoped you could figure that out.
Report Abuse
pokemon771 is not online. pokemon771
Joined: 28 Oct 2008
Total Posts: 8671
07 Sep 2013 09:08 PM
We wont make you scripts.
get out.
Report Abuse
IIXXHockeyXXII is not online. IIXXHockeyXXII
Joined: 17 Feb 2011
Total Posts: 1754
08 Sep 2013 10:24 AM
sorry chubs.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
08 Sep 2013 10:27 AM
You define sharkfin, that's how.
Report Abuse
IIXXHockeyXXII is not online. IIXXHockeyXXII
Joined: 17 Feb 2011
Total Posts: 1754
08 Sep 2013 10:27 AM
wouldn't:

SpinSpeed =

while true do
script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0,0, 0) * CFrame.fromEulerAnglesXYZ(0, ""..SpinSpeed.."", 0)
wait()
end

work aswell?
i'll just add a body velocity and change the directions every .3 seconds but I need help making this synchronized so it spins at the same angle it turns.
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