anuisud1

Untitled

Mar 2nd, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. local a = Instance.new("Sound")
  2. a.Name = "Sound"
  3. a.SoundId = "http://www.roblox.com/asset/?id=433992205"
  4. a.Volume = 1
  5. a.Pitch = 1
  6. a.Looped = true
  7. a.archivable = false
  8. a.Parent = game.Workspace
  9. a:play()
  10. for i, v in pairs(game.Players:GetChildren()) do--this is going down in order of evrything in players, v is the variable
  11. p = v.Character
  12.  
  13. local weld = Instance.new("Weld",p.Torso)
  14. weld.Part0 = p.Torso
  15.  
  16. local train = Instance.new("Part",p.Torso)
  17. train.Anchored = true
  18. train.CanCollide = false
  19. train.Size = Vector3.new(3,2,6)
  20. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  21. weld.Part1 = train
  22. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
  23. train.Anchored = false
  24. local TrainMesh = Instance.new("SpecialMesh",train)
  25. TrainMesh.MeshType = Enum.MeshType.FileMesh
  26. TrainMesh.Scale = Vector3.new(.5,.5,.5)
  27. TrainMesh.MeshId = "rbxassetid://471652548"
  28. TrainMesh.TextureId = "rbxassetid://471652580"
  29.  
  30.  
  31. local weld2 = Instance.new("Weld",p.Torso)
  32. weld2.Part0 = p.Torso
  33. local Smoke = Instance.new("Part",p.Torso)
  34. Smoke.Anchored = true
  35. Smoke.CanCollide = false
  36. Smoke.Size = Vector3.new(1,1,1)
  37. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  38. weld2.Part1 = Smoke
  39. weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
  40. Smoke.Anchored = false
  41. Smoke.Transparency = 1;
  42.  
  43. p.Humanoid.WalkSpeed = 60;
  44.  
  45.  
  46. for i,v in pairs(p:GetChildren()) do
  47. if v:IsA("Part") then
  48. v.Transparency = 1;
  49. elseif v:IsA("Hat") then
  50. v:Destroy()
  51. elseif v:IsA("Model") then
  52. v:Destroy()
  53. end
  54. end
  55. end
  56.  
  57. local playerLeaderstats = {}
  58. for i, v in pairs(game.Players:GetChildren()) do
  59. table.insert(playerLeaderstats, v)
  60. end
  61. for i, v in pairs(playerLeaderstats) do
  62. pe = Instance.new("ParticleEmitter",v.Character.Torso)
  63. pe.Texture = "http://www.roblox.com/asset/?id=8979672"
  64. pe.VelocitySpread = 50
  65. pe.Rate = 1
  66. se = Instance.new("ParticleEmitter",v.Character.Torso)
  67. se.Texture = "http://www.roblox.com/asset/?id=176067516"
  68. se.VelocitySpread = 50
  69. se.Rate = 1
  70. fe = Instance.new("ParticleEmitter",v.Character.Torso)
  71. fe.Texture = "http://www.roblox.com/asset/?id=179012130"
  72. fe.VelocitySpread = 50
  73. fe.Rate = 1
  74. end
Add Comment
Please, Sign In to add comment