Universal Script 📌
3.5k Views
62 Executions

script spinning skybox

Universal Script 📌
TankiddOfficial
TankiddOfficialPublished 5
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

.

View Raw
local sky = game.Lighting.Sky
local rotationSpeedX = 50 -- Speed for X axis
local rotationSpeedZ = 50 -- Speed for Z axis
local rotationSpeedY = 50 -- Speed for Y axis

game:GetService("RunService").Heartbeat:Connect(function(deltaTime)
local newX = (sky.SkyboxOrientation.X + rotationSpeedX * deltaTime) % 360
local newZ = (sky.SkyboxOrientation.Z + rotationSpeedZ * deltaTime) % 360
local newY = (sky.SkyboxOrientation.Y + rotationSpeedY * deltaTime) % 360
sky.SkyboxOrientation = Vector3.new(newX, newY, newZ)
end)

-- This will spin the skybox around all three axes.


Comments

3
Log in to join the conversation. Login
Xz00rkidd's profile picture
Xz00rkidd10 months ago

For F3X ?

1
TankiddOfficial's profile picture
TankiddOfficialUploader8 months ago

@Xz00rkidd Later

1
timtimroblox363's profile picture
timtimroblox3631 year ago

thx

1

Tags

More universal scripts

See all
Universal Script 📌
37
7
Approved 1 hour ago
Universal Script 📌
4.1k
185.5k
Bumped 8 hours ago
Script hub
792
53
10 hours ago
Universal Script 📌
29.0k
674.0k
Bumped 11 hours ago
Script hub
14.1k
2.7k
Bumped 13 hours ago
Key System
Paid