Advertisement
RealPieDiePew

Untitled

Oct 6th, 2016
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. -- ty krystalburger
  2. --[[
  3. Thomas The Dank Engine:
  4. By: KrystalTeam
  5. Features: Being a dank engine that kill people
  6. Version: 1.0.0.2
  7. --]]
  8.  
  9. local p = game.Players.LocalPlayer.Character
  10. local weld = Instance.new("Weld",p.Torso)
  11. weld.Part0 = p.Torso
  12.  
  13. local train = Instance.new("Part",p.Torso)
  14. train.Anchored = true
  15. train.CanCollide = false
  16. train.Size = Vector3.new(3,2,6)
  17. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  18. weld.Part1 = train
  19. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
  20. train.Anchored = false
  21. local TrainMesh = Instance.new("SpecialMesh",train)
  22. TrainMesh.MeshType = Enum.MeshType.FileMesh
  23. TrainMesh.Scale = Vector3.new(0.020,0.020,0.015)
  24. TrainMesh.MeshId = "rbxassetid://430819577"
  25. TrainMesh.TextureId = "rbxassetid://430819580"
  26.  
  27.  
  28. local weld2 = Instance.new("Weld",p.Torso)
  29. weld2.Part0 = p.Torso
  30. local Smoke = Instance.new("Part",p.Torso)
  31. Smoke.Anchored = true
  32. Smoke.CanCollide = false
  33. Smoke.Size = Vector3.new(1,1,1)
  34. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  35. weld2.Part1 = Smoke
  36. weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
  37. Smoke.Anchored = false
  38. Smoke.Transparency = 1;
  39.  
  40. p.Humanoid.WalkSpeed = 100;
  41. p.Humanoid.MaxHealth = 6000;
  42. wait(1)
  43. p.Humanoid.Health = 6000
  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.  
  56. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  57. train.Touched:connect(function(p)
  58. if p.Parent then
  59. if p.Parent:IsA("Model") then
  60. if game.Players:FindFirstChild(p.Parent.Name) then
  61. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  62. game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
  63. local Whistle = SFX(138082640)
  64. Whistle:Play()
  65. end
  66. end
  67. end
  68. end
  69. end)
  70.  
  71. local Music = SFX(177510375)
  72. Music.Looped = true;
  73. wait(1)
  74. Music:Play();
  75. -- ~CL 2016
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement