Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player=game.Players.LocalPlayer
- mouse=player:GetMouse()
- display=Instance.new("ScreenGui",player.PlayerGui)
- mouse.Move:connect(function()
- local x=Instance.new("Frame",display)
- x.Size=UDim2.new(0,20,0,20)
- x.BackgroundColor3=BrickColor.new("Magenta").Color
- x.Position=UDim2.new(0,mouse.X,0,mouse.Y)
- spawn(function()
- for i = 1, 20 do
- wait()
- x.BackgroundTransparency=i/20
- x.Rotation=i*30 --wat lol tweenposition mutch
- end
- end)
- x:TweenPosition(x.Position+UDim2.new(0,math.random(-30,30),0,math.random(-40,40)),"Out","Sine",0.5)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement