Universal Script 📌
3.6k Views
102 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
Xz00rkidd11 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 📌
6.8k
318.5k
Bumped 2 hours ago
Script hub
29.3k
241.3k
Bumped 3 hours ago
Script hub
6.9k
101.2k
Bumped 4 hours ago

Script hub

SAGAZx Hub

Script hub
280.1k
189.5k
Bumped 5 hours ago
Key System
Script hub
372
476
Bumped 6 hours ago

Script hub

Blythe

Script hub
9.0k
56.5k
Bumped 6 hours ago
Key System