Advertisement
f_dumbo

aura

Dec 17th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Transform = Instance.new("ParticleEmitter")
  2. local Transform2 = Instance.new("ParticleEmitter")
  3. local Particle = Instance.new("ParticleEmitter")
  4. local ParticleCharge = Instance.new("ParticleEmitter")
  5.  
  6.  
  7.  
  8. local mouse3 = game.Players.LocalPlayer:GetMouse()
  9. mouse3.KeyDown:connect(function(key3)
  10. for _,v in pairs(game.Players:GetChildren()) do
  11. if key3:lower() == "c" then
  12. Transform.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  13. Transform.Texture = "http://www.roblox.com/asset/?id=341277531"
  14. Transform.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
  15. Transform.LockedToPart = true
  16. Transform.LightEmission = 0
  17. Transform.Lifetime = NumberRange.new(5)
  18. Transform.Size = NumberSequence.new(5)
  19. Transform.Speed = NumberRange.new(100)
  20. Transform.Rate = 1000000000000000000000000000000000
  21. Transform.Transparency = NumberSequence.new(0)
  22. wait(4)
  23. Transform2.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  24. Transform2.Texture = "http://www.roblox.com/asset/?id=241650934"
  25. Transform2.Color = ColorSequence.new(Color3.new(225, 2, 0), Color3.new(225, 0, 0))
  26. Transform2.Lifetime = NumberRange.new(2)
  27. Transform2.Speed = NumberRange.new(20)
  28. Transform2.VelocitySpread = 1000
  29. Transform2.Rate = 1000000000000000000000000000000000
  30. wait(3)
  31. Transform.Enabled = false
  32. wait(3)
  33. Transform2.Enabled = false
  34. wait(2)
  35. game.Players.LocalPlayer.Character["Body Colors"].HeadColor = BrickColor.new("Black")
  36. game.Players.LocalPlayer.Character["Body Colors"].LeftArmColor = BrickColor.new("Black")
  37. game.Players.LocalPlayer.Character["Body Colors"].LeftLegColor = BrickColor.new("Black")
  38. game.Players.LocalPlayer.Character["Body Colors"].RightArmColor = BrickColor.new("Black")
  39. game.Players.LocalPlayer.Character["Body Colors"].RightLegColor = BrickColor.new("Black")
  40. game.Players.LocalPlayer.Character["Body Colors"].TorsoColor = BrickColor.new("Black")
  41. Particle.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  42. Particle.Texture = "rbxassetid://438134150"
  43. Particle.Color = ColorSequence.new(Color3.new(220, 0, 0), Color3.new(0, 0, 0))
  44. Particle.LockedToPart = true
  45. Particle.Lifetime = NumberRange.new(0.5)
  46. Particle.Size = NumberSequence.new(3)
  47. Particle.Speed = NumberRange.new(3)
  48. Particle.Rate = 175
  49. Particle.Transparency = NumberSequence.new(0.2)
  50. shirttextureid = 179217405 -- Change number to shirt id
  51. pantstextureid = 179217405 -- Change number to pants id
  52. hairtextureid = 376806769 -- Change number to hair id
  53. for i, v in pairs(game.Players:GetChildren()) do
  54. if v.Character:FindFirstChild("Shirt") ~= nil then
  55. v.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id="..shirttextureid
  56. elseif v.Character.Shirt == nil then
  57. shirtclothing = Instance.new("Shirt", v.Character)
  58. shirtclothing.Name = "Shirt"
  59. v.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id="..shirttextureid
  60. end
  61. wait(1)
  62. if v.Character:FindFirstChild("Pants") ~= nil then
  63. v.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id="..pantstextureid
  64. elseif v.Character.Pants == nil then
  65. pantsclothing = Instance.new("Pants", v.Character)
  66. pantsclothing.Name = "Pants"
  67. v.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id="..pantstextureid
  68. end
  69. end
  70. local mouse2 = game.Players.LocalPlayer:GetMouse()
  71. mouse2.KeyDown:connect(function (key2)
  72. for i, v in pairs(game.Players:GetChildren()) do
  73. if(key2:byte() == 48) then
  74. ParticleCharge.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  75. ParticleCharge.Texture = "http://www.roblox.com/asset/?id=250186345"
  76. ParticleCharge.Color = ColorSequence.new(Color3.new(220, 0, 0), Color3.new(0, 0, 0))
  77. ParticleCharge.LockedToPart = true
  78. ParticleCharge.LightEmission = 0.05
  79. ParticleCharge.Lifetime = NumberRange.new(0.4)
  80. ParticleCharge.Size = NumberSequence.new(6)
  81. ParticleCharge.Speed = NumberRange.new(8)
  82. ParticleCharge.Rate = 60
  83. ParticleCharge.Transparency = NumberSequence.new(0.5)
  84. ParticleCharge.Enabled = true
  85. Particle.Enabled = false
  86. end
  87. mouse2.KeyUp:connect(function (key2)
  88. if(key2:byte() == 48) then
  89. ParticleCharge.Enabled = false
  90. Particle.Enabled = true
  91. end
  92. end)
  93. end
  94. end)
  95. repeat wait()
  96. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  97. local mouse = game.Players.LocalPlayer:GetMouse()
  98. repeat wait() until mouse
  99. local plr = game.Players.LocalPlayer
  100. local torso = plr.Character.HumanoidRootPart
  101. local flying = true
  102. local deb = true
  103. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  104. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  105. local maxspeed = 50
  106. local speed = 0
  107. function Fly()
  108. local bg = Instance.new("BodyGyro", torso)
  109. bg.P = 9e4
  110. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  111. bg.cframe = torso.CFrame
  112. local bv = Instance.new("BodyVelocity", torso)
  113. bv.velocity = Vector3.new(0,0.1,0)
  114. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  115. repeat wait()
  116. plr.Character.Humanoid.PlatformStand = true
  117. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  118. speed = speed+.5+(speed/maxspeed)
  119. if speed > maxspeed then
  120. speed = maxspeed
  121. end
  122. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  123. speed = speed-1
  124. if speed < 0 then
  125. speed = 0
  126. end
  127. end
  128. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  129. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  130. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  131. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  132. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  133. else
  134. bv.velocity = Vector3.new(0,0.1,0)
  135. end
  136. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  137. until not flying
  138. ctrl = {f = 0, b = 0, l = 0, r = 0}
  139. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  140. speed = 0
  141. bg:Destroy()
  142. bv:Destroy()
  143. plr.Character.Humanoid.PlatformStand = false
  144. end
  145. mouse.KeyDown:connect(function(key)
  146. if key:lower() == "q" then
  147. if flying then flying = false
  148. else
  149. flying = true
  150. Fly()
  151. end
  152. elseif key:lower() == "w" then
  153. ctrl.f = 1
  154. elseif key:lower() == "s" then
  155. ctrl.b = -1
  156. elseif key:lower() == "a" then
  157. ctrl.l = -1
  158. elseif key:lower() == "d" then
  159. ctrl.r = 1
  160. end
  161. end)
  162. mouse.KeyUp:connect(function(key)
  163. if key:lower() == "w" then
  164. ctrl.f = 0
  165. elseif key:lower() == "s" then
  166. ctrl.b = 0
  167. elseif key:lower() == "a" then
  168. ctrl.l = 0
  169. elseif key:lower() == "d" then
  170. ctrl.r = 0
  171. end
  172. end)
  173. Fly()
  174. end
  175. end
  176. end)
  177.  
  178.  
  179.  
  180. local mouse1 = game.Players.LocalPlayer:GetMouse()
  181. mouse1.KeyDown:connect(function(key1)
  182. for _,v in pairs(game.Players:GetChildren()) do
  183. if key1:lower() == "x" then
  184. ParticleCharge.Enabled = false
  185. Particle.Enabled = false
  186. Transform.Enabled = false
  187. Transform2.Enabled = false
  188. end
  189. end
  190. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement