Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make the camera's height, taller?

Asked by 6 years ago
Edited 6 years ago

For your information, I do not know how to script!

Hello, i made a place in Roblox that is a reference to a real life place, which is our classroom. I noticed that everything seemed a little taller than my character, like the door. But that's just how it looks like in real life! So I didn't want to shrink it otherwise it wouldn't look like the one in real life, ya feel me? Thus i wanted to make the camera's position a little higher than normal, but unfortunately I don't know how to script. By the way, I locked the camera to First Person so you can't scroll your way to Third Person.

0
This is not a request site User#20388 0 — 6y
0
asking others for scripts wont teach you anything. Watch tutorials on youtube and use ROBLOX wiki hellmatic 1523 — 6y
0
Don't use youtube, it's only for complete noobs (noobs --> New people!!) most scripts like datastore ones are really bad and aren't updated, like datastore ones, so, best things you can do = wiki and reading on sh User#20388 0 — 6y
0
^^ yeah agreed above. Just use youtube for easy basic stuff, like functions, loops. I used youtube to learn how to use Remotes. Btw avoid Alvin's channel. hellmatic 1523 — 6y

1 answer

Log in to vote
0
Answered by
Amiaa16 3227 Moderation Voter Community Moderator
6 years ago

Set the CameraOffset property of Humanoid every time the player's character is spawned, by using the CharacterAdded like so:

local plr = game:GetService("Players").LocalPlayer
plr.CharacterAdded:Connect(function(char)
    char:WaitForChild("Humanoid").CameraOffset = Vector3.new(0,3,0)
end)

Put that code into a LocalScript and place the script i.e. in StarterGui or ReplicatedFirst.

0
Thank you so much, sorry for the delayed response, just got home lols BanarMar -1 — 6y
Ad

Answer this question