Hey! Im trying to rotate an image label using the RenderStepped function. Everything works as intended but I need to rotate it the other way around which doesn’t seem to work that well. Below is the code I’m using:
--//Services
local RunService = game:GetService("RunService")
--//Variables
local ImageLabel = script.Parent
--//Controls
local rotationalSpeed = 100 --//Change to negative number to reverse
--//Functions
RunService.RenderStepped:Connect(function(deltaTime)
ImageLabel.Rotation += deltaTime * rotationalSpeed
end)
This one makes it so that there is the same rotational speed on both high and low fps because it’s using DeltaTime.