Script works in game but breaks when i download past version

i have a custom cursor script that worked prior to my game update an hour ago, but when i go into version history and redownload the game version, the cursor is now broken an only appears for a split second before going to the default one.
i am not getting any errors either

local Player = game:GetService("Players").LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()

local Humanoid = Character:WaitForChild("Humanoid")
while true do
	wait(0.1)
	local mouse = game.Players.LocalPlayer:GetMouse()
	mouse.Icon = "http://www.roblox.com/asset/?id=12012508811"
		end

the icon get deleted from roblox thats the proplem

1 Like

i had to paste the image’s ID into an imagelabel to get the right link for the mouse.Icon, for some reason it was different before but now changed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.