|
| 07 Oct 2015 08:42 PM |
My script (edited):
------------------------------------------------------------------------------------------------- wait(.5) while not game.Players.LocalPlayer.Character:FindFirstChild('Head') do wait() end
local cam = workspace.CurrentCamera cam.CameraType = 'Custom' cam.CameraType = 'Scriptable'
local RunService = game:GetService('RunService') while RunService.Stepped:wait() do local head = game.Players.LocalPlayer.Character:FindFirstChild('Head') local distance = script.DistanceFromHead.Value cam.CoordinateFrame = CFrame.new(Vector3.new(head.Position.x - 0.001, head.Position.y + distance, 45),head.Position) end
---------------------------------------------------------------------------------------
I fixed it to how I wanted it, but the Camera does not move (follow the player)
Can someone please help me?
|
|
|
| Report Abuse |
|
|
|
| 07 Oct 2015 08:45 PM |
Bump my post up.
Someone help me! |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2015 08:45 PM |
| That script looks ugly, make it look better. |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2015 08:46 PM |
| Nevermind, I clicked reply so the script looked all bundled up. |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2015 08:46 PM |
| So how do I make it follow the Player and not stay in one place? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 07 Oct 2015 08:57 PM |
| B12 [Counting previous threads] |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 07 Oct 2015 08:59 PM |
You don't need to bump so much, slow down we all see your thread. No one is replying because all they see is useless spam. |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2015 09:00 PM |
^ Is that really the case?
People reply to "I need a scripter will pay" threads faster than an actual Scripting Issue.
And if it is just to tell them "Wrong forum.", then why don't the rest of the people tell me "Stop bumping."? |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2015 09:12 PM |
| Alright, keep bumping and annoying everyone. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
iaaf13
|
  |
| Joined: 01 May 2010 |
| Total Posts: 7 |
|
| |
|
| |
|
iaaf13
|
  |
| Joined: 01 May 2010 |
| Total Posts: 7 |
|
|
| 07 Oct 2015 09:21 PM |
well then i am lost.
try asking someone else
|
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Oct 2015 09:39 PM |
you mean this? and dont duplicate threads since I am posting this again
wait(.5) while not game.Players.LocalPlayer.Character:FindFirstChild('Head') do wait() end
local cam = workspace.CurrentCamera cam.CameraType = 'Custom' cam.CameraType = 'Scriptable'
local RunService = game:GetService('RunService') while RunService.Stepped:wait() do local head = game.Players.LocalPlayer.Character:FindFirstChild('Head') local distance = script.DistanceFromHead.Value cam.CoordinateFrame = CFrame.new(Vector3.new(head.Position.x - 0.001, head.Position.y + distance, head.Position.z+10),head.Position) end
|
|
|
| Report Abuse |
|
|