local RunService = game:GetService("RunService")
local dis = RunService.RenderStepped:Connect(function()
if StarterGui:FindFirstChild("MouseHover") then
StarterGui.MouseHover.Position = UDim2.new(0, ((MOUSE.X)+20), 0, ((MOUSE.Y)-30))
end
end)
How do I make it so when the player dies it’s still working? This happens because when you res pawn PlayerGui gets destroyed all of a sudden.