local TeleportGui = game.StarterGui:WaitForChild('TeleportGui') local Frame = TeleportGui.Frame local ImageLabel = Frame.ImageLabel rs = game:GetService("RunService").RenderStepped local ContentProvider = game.ContentProvider while true do ImageLabel.Rotation = ImageLabel.Rotation + 1 rs:wait() end
so I put this local script inside replicatedfirst and its for a gui that right when you join it starts spinning but currently its not spinning for some reason anyone know why?
No outputs no nothing
pretty sure I did everything right
If you make changes to a GUI object in StarterGui, you won't see the changes until you respawn. There aren't any errors because the script itself works just fine.
If you want your GUI to have a spinning ImageLabel that's visible to the player, your script will have to change it from inside the player's PlayerGui.
local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local TeleportGui = playerGui:WaitForChild('TeleportGui') local Frame = TeleportGui.Frame local ImageLabel = Frame.ImageLabel