Advertisement
kanewutt

frgrgr

May 15th, 2016
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.70 KB | None | 0 0
  1. --[[Made By SolarFloss and Stuff]]--
  2.  
  3. --Put the ParticleType item in the StarterGui
  4.  
  5. wait()
  6. local player = game.Players.LocalPlayer
  7. while player.PlayerGui:FindFirstChild('MainLoad') ~= nil do
  8. wait()
  9. end
  10. wait(.1)
  11. local mouse = player:GetMouse()
  12.  
  13. local type = {"Raindrops","Trail","Confetti","Fire","Fountain","Side"}
  14. player.PlayerGui.ParticleType.Value = type[math.random(1,#type)]
  15.  
  16.  
  17.  
  18. function confetti(x,y)
  19. local colors = {1,5,9,11,18,21,23,24,26,28,29,37,38,45,101,102,104,105,106,107,125,135,1013.1015,1018,1017,1016,1010,1012,1011,1004,232,226,1030,1027,1024}
  20. local main = Instance.new("ScreenGui",player.PlayerGui)
  21. local parts = Instance.new("Frame",main)
  22. parts.Position = UDim2.new(0,mouse.X,0,mouse.Y)
  23. num = math.random(1,5)
  24. parts.BackgroundColor = BrickColor.new(colors[math.random(1,#colors)])
  25. parts.Size = UDim2.new(0,num,0,num)
  26. parts.BorderColor = parts.BackgroundColor
  27.  
  28.  
  29. for i = 0, 1, .1 do
  30. wait(math.random(.003,.1))
  31. parts.Rotation = i*200
  32. parts.Position = parts.Position + UDim2.new(0,x,0,y)
  33. parts.BackgroundTransparency = i
  34. end
  35. main:remove()
  36. end
  37.  
  38. function fountain(x,y,yvel,gravity)
  39. local colors = {107,1010,1011,1013,1018,1019,1027,1024}
  40. local main = Instance.new("ScreenGui",player.PlayerGui)
  41. local parts = Instance.new("Frame",main)
  42. parts.Position = UDim2.new(0,mouse.X,0,mouse.Y)
  43. num = math.random(1,5)
  44. parts.BackgroundColor = BrickColor.new(colors[math.random(1,#colors)])
  45. parts.Size = UDim2.new(0,num,0,num)
  46. parts.BorderColor = parts.BackgroundColor
  47. for i = 0, 1, .03 do
  48. yvel = yvel + .01
  49. gravity = gravity * yvel
  50. y = y + gravity
  51. wait()
  52. parts.Position = parts.Position + UDim2.new(0,x,0,y)
  53. parts.BackgroundTransparency = i
  54. end
  55. main:remove()
  56. end
  57.  
  58. function fire(x,y)
  59. local colors = {21,1004,1014,1005,105,106}
  60. local main = Instance.new("ScreenGui",player.PlayerGui)
  61. local parts = Instance.new("Frame",main)
  62. parts.Position = UDim2.new(0,mouse.X,0,mouse.Y)
  63. num = math.random(1,5)
  64. parts.BackgroundColor = BrickColor.new(colors[math.random(1,#colors)])
  65. parts.Size = UDim2.new(0,num,0,num)
  66. parts.BorderColor = parts.BackgroundColor
  67. for i = 0, 1, .1 do
  68. wait(math.random(.003,.1))
  69. parts.Position = parts.Position + UDim2.new(0,0,0,y)
  70. parts.BackgroundTransparency = i
  71. end
  72. main:remove()
  73. end
  74.  
  75.  
  76. function trail()
  77. local colors = {107,1010,1011,1013,1018,1019,1027,1024}
  78. local main = Instance.new("ScreenGui",player.PlayerGui)
  79. local parts = Instance.new("Frame",main)
  80. parts.Position = UDim2.new(0,mouse.X,0,mouse.Y)
  81. num = math.random(1,5)
  82. parts.BackgroundColor = BrickColor.new(colors[math.random(1,#colors)])
  83. parts.Size = UDim2.new(0,num,0,num)
  84. parts.BorderColor = parts.BackgroundColor
  85. for i = 0, 1, .03 do
  86. wait()
  87. parts.Rotation = i*200
  88. parts.BackgroundTransparency = i
  89. end
  90. main:remove()
  91. end
  92.  
  93.  
  94. function raindrops(x,y)
  95. local colors = {107,1010,1011,1013,1018,1019,1027,1024}
  96. local main = Instance.new("ScreenGui",player.PlayerGui)
  97. local parts = Instance.new("Frame",main)
  98. parts.Position = UDim2.new(0,mouse.X,0,mouse.Y)
  99. num = math.random(1,5)
  100. parts.BackgroundColor = BrickColor.new(colors[math.random(1,#colors)])
  101. parts.Size = UDim2.new(0,num,0,num)
  102. parts.BorderColor = parts.BackgroundColor
  103. for i = 0, 1, .1 do
  104. wait(math.random(.003,.1))
  105. parts.Position = parts.Position + UDim2.new(0,0,0,y)
  106. parts.BackgroundTransparency = i
  107. end
  108. main:remove()
  109. end
  110.  
  111. function side(x,y,yvel,gravity)
  112. local colors = {107,1010,1011,1013,1018,1019,1027,1024}
  113. local main = Instance.new("ScreenGui",player.PlayerGui)
  114. local parts = Instance.new("Frame",main)
  115. parts.Position = UDim2.new(0,mouse.X,0,mouse.Y)
  116. num = math.random(1,5)
  117. parts.BackgroundColor = BrickColor.new(colors[math.random(1,#colors)])
  118. parts.Size = UDim2.new(0,num,0,num)
  119. parts.BorderColor = parts.BackgroundColor
  120. for i = 0, 1, .03 do
  121. yvel = yvel + .1
  122. gravity = gravity * yvel
  123. y = y * gravity
  124. wait()
  125. parts.Position = parts.Position + UDim2.new(0,x,0,y)
  126. parts.BackgroundTransparency = i
  127. end
  128. main:remove()
  129. end
  130. mouse.Move:connect(function()
  131. if player.PlayerGui.ParticleType.Value == "Confetti" then
  132. confetti(math.random(-5,5),math.random(-5,5))
  133. elseif player.PlayerGui.ParticleType.Value == "Fountain" then
  134. fountain(math.random(-1,1),math.random(-10,-5),.9,.9)
  135. elseif player.PlayerGui.ParticleType.Value == "Fire" then
  136. fire(math.random(-3,3),math.random(-9,-1))
  137. elseif player.PlayerGui.ParticleType.Value == "Trail" then
  138. trail(math.random(-3,3),math.random(-9,-4))
  139. elseif player.PlayerGui.ParticleType.Value == "Raindrops" then
  140. raindrops(math.random(1,9),math.random(1,9))
  141. elseif player.PlayerGui.ParticleType.Value == "Side" then
  142. side(math.random(-3,3),math.random(-9,-4),.1,.1)
  143. end
  144. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement