Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This took me about 30 minutes of my life to make
- -- I hope you enjoy it XD
- writefile("dog.png", game:HttpGet("https://i.imgur.com/aVEAmYC.png"))
- doggy = getcustomasset("dog.png")
- local DogHouse = Instance.new("ScreenGui")
- local DoggoGui = Instance.new("ImageLabel")
- DogHouse.Name = "DogHouse"
- DogHouse.Parent = game.CoreGui
- DogHouse.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- DoggoGui.Name = "DoggoGui"
- DoggoGui.Parent = DogHouse
- DoggoGui.AnchorPoint = Vector2.new(0.5, 0.5)
- DoggoGui.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DoggoGui.ClipsDescendants = true
- DoggoGui.Position = UDim2.new(0.5, 0, 0.5, 0)
- DoggoGui.Size = UDim2.new(0.176200211, 0, 0.364693433, 0)
- DoggoGui.Image = doggy
- spawn(function()
- local RunService = game:GetService("RunService")
- local degreesPerSecond = 180
- local function onRenderStep(deltaTime)
- local deltaRotation = deltaTime * degreesPerSecond
- DoggoGui.Rotation = DoggoGui.Rotation + deltaRotation
- end
- RunService.RenderStepped:Connect(onRenderStep)
- end)
- wait(10)
- DoggoGui:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement