Advertisement
DaOMEGAa32

how can i name this roblox troll script

Jun 1st, 2019
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. local s = Instance.new("Sky",game.Lighting)
  2. s.SkyboxBk = "http://www.roblox.com/asset/?id=3246110398"
  3. s.SkyboxDn = "http://www.roblox.com/asset/?id=3246110398"
  4. s.SkyboxFt = "http://www.roblox.com/asset/?id=3246110398"
  5. s.SkyboxLf = "http://www.roblox.com/asset/?id=3246110398"
  6. s.SkyboxRt = "http://www.roblox.com/asset/?id=3246110398"
  7. s.SkyboxUp = "http://www.roblox.com/asset/?id=3246110398"
  8. local playerLeaderstats = {}
  9. for i, v in pairs(game.Players:GetChildren()) do
  10. table.insert(playerLeaderstats, v)
  11. end
  12. for i, v in pairs(playerLeaderstats) do
  13. pe = Instance.new("ParticleEmitter",v.Character.Torso)
  14. pe.Texture = "http://www.roblox.com/asset/?id=3232994791"
  15. pe.VelocitySpread = 87
  16. se = Instance.new("ParticleEmitter",v.Character.Torso)
  17. se.Texture = "http://www.roblox.com/asset/?id=3118215773"
  18. se.VelocitySpread = 87
  19. fe = Instance.new("ParticleEmitter",v.Character.Torso)
  20. fe.Texture = "http://www.roblox.com/asset/?id=1877629101"
  21. fe.VelocitySpread = 87
  22. end
  23. function FUNCTION(a)
  24. if (a.className == "Part") or (a.className == "Seat") or (a.className == "SpawnLocation") then
  25. a.Anchored = false
  26. end
  27. local b = a:GetChildren()
  28. for i=1,#b do
  29. FUNCTION(b[i])
  30. end
  31. end
  32.  
  33. FUNCTION(game.workspace)
  34.  
  35.  
  36. wait(1)
  37.  
  38. --DO NOT EDIT BELOW THIS LINE--
  39.  
  40. local people = game.Players:GetPlayers()
  41.  
  42. for _,v in pairs(people) do
  43. if v ~= nil then
  44.  
  45. local rocketee = v.Character
  46.  
  47. local probshats = rocketee:GetChildren()
  48.  
  49. for _,k in pairs(probshats) do
  50. if k:IsA("Hat") then
  51. k.Handle:Remove()
  52. end
  53. end
  54.  
  55. local rocket = Instance.new("Part",rocketee)
  56. rocket.Position = rocketee.Torso.Position + Vector3.new(0,0,3)
  57. local rot = Vector3.new(10+rocketee.Torso.Rotation.X,60+rocketee.Torso.Rotation.Y,0+rocketee.Torso.Rotation.Z)
  58. rocket.Rotation = rot
  59. rocket.Size = Vector3.new(1,8,2)
  60. local fire = Instance.new("Fire",rocket)
  61. local weld = Instance.new("Weld",rocket)
  62. weld.Part0 = rocket
  63. weld.Part1 = rocketee.Torso
  64. rocket:MakeJoints()
  65. local gyro = Instance.new("BodyForce",rocket)
  66. gyro.force = Vector3.new(0,75e2,0)
  67. local troll = Instance.new("Sound",game.Workspace)
  68. troll.SoundId = "rbxassetid://185532856"
  69. troll.Looped = true
  70. troll:Play()
  71.  
  72. for i = 1, 200 do
  73. troll.Pitch = 1.7 + rocket.Velocity.Y/100
  74. wait()
  75. end
  76. troll:Stop()
  77.  
  78. local bomb = Instance.new("Explosion",rocket)
  79. bomb.Position = rocket.Position
  80.  
  81. local boom = Instance.new("Sound",bomb)
  82. boom.SoundId = "rbxassetid://212389494"
  83. boom.Pitch = 0.8
  84. boom.Volume = 999
  85. boom:Play()
  86.  
  87. local spot1 = Instance.new("Part",bomb)
  88. spot1.Position = bomb.Position
  89. local spot = spot1.CFrame
  90.  
  91. local kaboom = Instance.new("Part",game.Workspace)
  92. kaboom.Position = rocket.Position
  93. kaboom.Anchored = true
  94. kaboom.CanCollide = false
  95. kaboom.Size = Vector3.new(1,1,1)
  96. kaboom.Transparency = 0.5
  97. kaboom.BrickColor = BrickColor.new("Deep orange")
  98. kaboom.Shape = Enum.PartType.Ball
  99.  
  100. kaboom.Touched:connect(function(hit)
  101. if hit.Parent:FindFirstChild("Humanoid") then
  102. hit.Parent:FindFirstChild("Humanoid").Health = 0
  103. end
  104. end)
  105.  
  106. for i = 20, 580 do
  107. kaboom.Size = Vector3.new(i,i,i)
  108. kaboom.Transparency = kaboom.Transparency + 0.001
  109. kaboom.CFrame = spot
  110. wait()
  111. end
  112.  
  113. kaboom:Remove()
  114.  
  115. wait(10)
  116. end
  117. end
  118.  
  119. script:Destroy()
  120. for i, v in pairs(playerLeaderstats) do
  121. pe = Instance.new("ParticleEmitter",v.Character.Torso)
  122. pe.Texture = "http://www.roblox.com/asset/?id=3232994791"
  123. pe.VelocitySpread = 87
  124. se = Instance.new("ParticleEmitter",v.Character.Torso)
  125. se.Texture = "http://www.roblox.com/asset/?id=3118215773"
  126. se.VelocitySpread = 87
  127. fe = Instance.new("ParticleEmitter",v.Character.Torso)
  128. fe.Texture = "http://www.roblox.com/asset/?id=1877629101"
  129. fe.VelocitySpread = 87
  130. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement