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

Re: Head Turning Script.

Previous Thread :: Next Thread 
MissClone is not online. MissClone
Joined: 15 Feb 2012
Total Posts: 37
06 Jun 2013 10:19 AM
Im having real trouble finding a head turning script.

I have this one, but for some reason its not working?

repeat wait() until game.Players.LocalPlayer.Character

game.Players.LocalPlayer.Character.Torso.Neck.MaxVelocity = 0.3

function turnheads()
while true do
wait()
if game.Players.LocalPlayer.Character then
if game.Workspace.CurrentCamera.CameraSubject == game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
camf = Vector3.new(game.Workspace.CurrentCamera.CoordinateFrame.X,game.Workspace.CurrentCamera.CoordinateFrame.Y,game.Workspace.CurrentCamera.CoordinateFrame.Z)
lv = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector
torsop = game.Players.LocalPlayer.Character.Head.Position
game.Players.LocalPlayer.Character.Torso.Neck.DesiredAngle = -(((torsop - camf).Unit):Cross(lv)).Y
end
end
end
end

turnheads()
Report Abuse
enginuity is not online. enginuity
Joined: 29 May 2013
Total Posts: 113
06 Jun 2013 12:01 PM
Because I assume you can't read what forum this is, I will direct you to the Scripting Helpers Forum.

--------------> []
Report Abuse
MissClone is not online. MissClone
Joined: 15 Feb 2012
Total Posts: 37
06 Jun 2013 12:05 PM
Ohh damn -_-
Sorry, thanks for reminding me!
Report Abuse
RichSkills is not online. RichSkills
Joined: 02 Jun 2013
Total Posts: 803
06 Jun 2013 03:51 PM
We help with building. Sorry.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building 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