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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Head bob script not working

Previous Thread :: Next Thread 
Bernkastel2727 is not online. Bernkastel2727
Joined: 23 Sep 2012
Total Posts: 2612
12 Mar 2016 12:13 PM
local ra=math.pi/15
local x=0

repeat wait() x=x+20
game.Workspace.CurrentCamera.CoordinateFrame=game.Workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(ra*x)/2,0,0)
until game.Players.LocalPlayer.game.Players.LocalPlayer.Character
Report Abuse
KLGA is not online. KLGA
Joined: 19 Apr 2014
Total Posts: 2571
12 Mar 2016 12:14 PM
"until game.Players.LocalPlayer.game.Players.LocalPlayer.Character"
Is that supposed to be like that?
Report Abuse
IceFromSpace is not online. IceFromSpace
Joined: 12 Dec 2015
Total Posts: 710
12 Mar 2016 12:14 PM
until game.Players.LocalPlayer.game.Players.LocalPlayer.Character ?????
Report Abuse
ray_revenge is not online. ray_revenge
Joined: 18 Feb 2011
Total Posts: 453
12 Mar 2016 12:15 PM
"until game.Players.LocalPlayer.game.Players.LocalPlayer.Character"


Recommended username: FunnyRay_revenge


Report Abuse
Bernkastel2727 is not online. Bernkastel2727
Joined: 23 Sep 2012
Total Posts: 2612
12 Mar 2016 12:16 PM
local player=game.Players.LocalPlayer
local character=player.Character
local cam=game.Workspace.CurrentCamera
local ra=math.pi/15
local x=0

repeat wait() x=x+20
cam.CoordinateFrame=cam.CoordinateFrame*CFrame.Angles(math.rad(ra*x)/2,0,0)
until game.Players.LocalPlayer.Character


Sry lol, should have used variables in the first place
Report Abuse
Lacrase is not online. Lacrase
Joined: 14 Jan 2015
Total Posts: 12706
12 Mar 2016 12:37 PM
WTF JENNA



Report Abuse
Bernkastel2727 is not online. Bernkastel2727
Joined: 23 Sep 2012
Total Posts: 2612
12 Mar 2016 12:43 PM
Who are you? @Lacrase
Report Abuse
Lacrase is not online. Lacrase
Joined: 14 Jan 2015
Total Posts: 12706
12 Mar 2016 12:47 PM
wtf ur not jenna if u dont know me

who are you



Report Abuse
Bernkastel2727 is not online. Bernkastel2727
Joined: 23 Sep 2012
Total Posts: 2612
12 Mar 2016 01:25 PM
I'm nobody, now fix my script
Report Abuse
Lacrase is not online. Lacrase
Joined: 14 Jan 2015
Total Posts: 12706
12 Mar 2016 01:47 PM
no
tell me ur old username



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