Advertisement
allenjamelsim

WIP! NO ONE CARES

Dec 28th, 2016
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. print("MADE By Ericthefabulous")
  2. Wait(3)
  3. print ("Give me a credit! XD")
  4.  
  5. local p = game.Players.LocalPlayer.Character
  6. local weld = Instance.new("Weld",p.Torso)
  7. weld.Part0 = p.Torso
  8.  
  9. local train = Instance.new("Part",p.Torso)
  10. train.Anchored = true
  11. train.CanCollide = false
  12. train.Size = Vector3.new(3,2,6)
  13. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  14. weld.Part1 = train
  15. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
  16. train.Anchored = false
  17. local TrainMesh = Instance.new("SpecialMesh",train)
  18. TrainMesh.MeshType = Enum.MeshType.FileMesh
  19. TrainMesh.Scale = Vector3.new(0.020,0.020,0.015)
  20. TrainMesh.MeshId = "rbxassetid://431017802"
  21. TrainMesh.TextureId = "rbxassetid://431017809"
  22.  
  23.  
  24. local weld2 = Instance.new("Weld",p.Torso)
  25. weld2.Part0 = p.Torso
  26. local Smoke = Instance.new("Part",p.Torso)
  27. Smoke.Anchored = true
  28. Smoke.CanCollide = false
  29. Smoke.Size = Vector3.new(1,1,1)
  30. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  31. weld2.Part1 = Smoke
  32. weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
  33. Smoke.Anchored = false
  34. Smoke.Transparency = 1;
  35.  
  36. local Particle = Instance.new("ParticleEmitter",Smoke)
  37. Particle.Rate = 50;
  38. Particle.Speed = NumberRange.new(30,60);
  39. Particle.VelocitySpread = 4;
  40. Particle.Texture = "rbxassetid://133619974"
  41.  
  42. local Light = Instance.new("SpotLight",train)
  43. Light.Angle = 45;
  44. Light.Brightness = 100;
  45. Light.Face = Enum.NormalId.Back;
  46. Light.Range = 30;
  47.  
  48. p.Humanoid.WalkSpeed = 60;
  49.  
  50.  
  51. for i,v in pairs(p:GetChildren()) do
  52. if v:IsA("Part") then
  53. v.Transparency = 1;
  54. elseif v:IsA("Hat") then
  55. v:Destroy()
  56. elseif v:IsA("Model") then
  57. v:Destroy()
  58. end
  59. end
  60.  
  61. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  62. train.Touched:connect(function(p)
  63. if p.Parent then
  64. if p.Parent:IsA("Model") then
  65. if game.Players:FindFirstChild(p.Parent.Name) then
  66. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  67. game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
  68. local Whistle = SFX(475073913)
  69. Whistle:Play()
  70. end
  71. end
  72. end
  73. end
  74. end)
  75.  
  76. local Music = SFX(190819252)
  77. Music.Looped = true;
  78. wait(1)
  79. Music:Play();
  80. -- ~CL 2016
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement