The higher you go the darker the sky gets
You could just reference the Player in a LocalScript
, then using a loop you can frequently check how high the Player is by referencing the Character’s HumanoidRootPart
& adjust the Fog (I’m assuming)
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
while true do
Lighting.FogEnd = --Do your calculations here
RunService.RenderStepped:Wait()
end
but like when you get very high its black cause its space but when ur medium high its dark blue
but can you chance the color of the sky with that?
Not sure what you mean, unless if you’re referring to this:
so how does the colorsequence effect the sky
Nevermind what I said about a ColorSequence
You’ll probably have to transition between skyboxes, which I wouldn’t recommend doing or you could create your own formula to separate the differences between the colors you want to detect depending on how high you are in the sky
how to make a altitude counter?
Possibly something like this