Advertisement
DylanD2003

Untitled

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