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
|
  |
| 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
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 37 |
|
|
| 06 Jun 2013 12:05 PM |
Ohh damn -_- Sorry, thanks for reminding me! |
|
|
| Report Abuse |
|
|
|
| 06 Jun 2013 03:51 PM |
| We help with building. Sorry. |
|
|
| Report Abuse |
|
|