Advertisement
Lover712

RainBow

Nov 9th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. local StarterGui = game:GetService("StarterGui")
  2. StarterGui:SetCore("SendNotification",{
  3. Title = "[VashX Break]",
  4. Text = "[VashX Break Press G Key To Enable RainBow Path]",
  5. Duration = 9
  6. })
  7. local player = game:GetService('Players').LocalPlayer
  8. local mouse = player:GetMouse()
  9. mouse.KeyDown:connect(function(key)
  10. if key:lower() == 'g' or key:upper() == 'G' then
  11. for i = 1,50 do wait(0.15)
  12. x = Instance.new('Part',game:GetService('Workspace'))
  13. x.Size = Vector3.new(15,0.1,15)
  14. x.TopSurface = 'Smooth'
  15. x.Anchored = true
  16. x.BrickColor = BrickColor.random()
  17. x.CFrame = CFrame.new(player.Character.UpperTorso.Position) + Vector3.new(0,-3,0) game.Debris:AddItem(x, 3)
  18. end
  19. end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement