Advertisement
ManlyMemeScripter

Untitled

Oct 27th, 2019
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 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. for i,v in pairs(p:GetChildren()) do
  44. if v:IsA("Part") then
  45. v.Transparency = 1;
  46. elseif v:IsA("Hat") then
  47. v:Destroy()
  48. elseif v:IsA("Model") then
  49. v:Destroy()
  50. end
  51. end
  52. end
  53.  
  54. local playerLeaderstats = {}
  55. for i, v in pairs(game.Players:GetChildren()) do
  56. table.insert(playerLeaderstats, v)
  57. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement