Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://youtu.be/6-xund_f5Fo
- local RunService = game:GetService("RunService")
- local playerModel = script.Parent
- local humanoid = playerModel:WaitForChild("Humanoid")
- local function timeStep()
- if humanoid.MoveDirection.Magnitude > 0 then
- game.Lighting.ClockTime = game.Lighting.ClockTime + 0.01
- end
- end
- RunService.RenderStepped:Connect(timeStep)
Add Comment
Please, Sign In to add comment