Advertisement
Migas3456

sanic and mlg

Aug 27th, 2017
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. local a = Instance.new("Sound")
  2. a.Name = "Sound"
  3. a.SoundId = "http://www.roblox.com/asset/?id=191907895"
  4. a.Volume = 5
  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(4,4,4)
  27. TrainMesh.MeshId = "rbxassetid://430593577"
  28. TrainMesh.TextureId = "rbxassetid://430593580"
  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. local Particle = Instance.new("ParticleEmitter",Smoke)
  44. Particle.Rate = 50;
  45. Particle.Speed = NumberRange.new(30,60);
  46. Particle.VelocitySpread = 4;
  47. Particle.Texture = "rbxassetid://141756512"
  48.  
  49. local Particle = Instance.new("ParticleEmitter",Smoke)
  50. Particle.Rate = 50;
  51. Particle.Speed = NumberRange.new(30,60);
  52. Particle.VelocitySpread = 4;
  53. Particle.Texture = "rbxassetid://538717273"
  54.  
  55. local Particle = Instance.new("ParticleEmitter",Smoke)
  56. Particle.Rate = 50;
  57. Particle.Speed = NumberRange.new(30,60);
  58. Particle.VelocitySpread = 4;
  59. Particle.Texture = "rbxassetid://178913323"
  60.  
  61. local Particle = Instance.new("ParticleEmitter",Smoke)
  62. Particle.Rate = 50;
  63. Particle.Speed = NumberRange.new(30,60);
  64. Particle.VelocitySpread = 4;
  65. Particle.Texture = "rbxassetid://408957433"
  66.  
  67. p.Humanoid.WalkSpeed = 150;
  68.  
  69.  
  70. for i,v in pairs(p:GetChildren()) do
  71. if v:IsA("Part") then
  72. v.Transparency = 1;
  73. elseif v:IsA("Hat") then
  74. v:Destroy()
  75. elseif v:IsA("Model") then
  76. v:Destroy()
  77. end
  78. end
  79. end
  80.  
  81. local playerLeaderstats = {}
  82. for i, v in pairs(game.Players:GetChildren()) do
  83. table.insert(playerLeaderstats, v)
  84. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement