Advertisement
DaOMEGAa32

script all script

Dec 24th, 2019
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. ---so basicly it turns everyone into a script. its like cool modules but it can be on place 1
  2. for i, v in pairs(game.Players:GetPlayers()) do
  3.  
  4. -- ty krystalburger
  5. --[[
  6. Thomas The Dank Engine:
  7. By: KrystalTeam
  8. Features: Being a dank engine that kill people
  9. Version: 1.0.0.2
  10. --]]
  11.  
  12. local p = game.Players.LocalPlayer.Character
  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(0.020,0.020,0.015)
  27. TrainMesh.MeshId = "rbxassetid://431017802"
  28. TrainMesh.TextureId = "rbxassetid://431017809"
  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://133619974"
  48.  
  49. local Light = Instance.new("SpotLight",train)
  50. Light.Angle = 45;
  51. Light.Brightness = 100;
  52. Light.Face = Enum.NormalId.Back;
  53. Light.Range = 30;
  54.  
  55. p.Humanoid.WalkSpeed = 60;
  56.  
  57.  
  58. for i,v in pairs(p:GetChildren()) do
  59. if v:IsA("Part") then
  60. v.Transparency = 1;
  61. elseif v:IsA("Hat") then
  62. v:Destroy()
  63. elseif v:IsA("Model") then
  64. v:Destroy()
  65. end
  66. end
  67.  
  68. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  69. train.Touched:connect(function(p)
  70. if p.Parent then
  71. if p.Parent:IsA("Model") then
  72. if game.Players:FindFirstChild(p.Parent.Name) then
  73. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  74. game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
  75. local Whistle = SFX(475073913)
  76. Whistle:Play()
  77. end
  78. end
  79. end
  80. end
  81. end)
  82.  
  83. local Music = SFX(190819252)
  84. Music.Looped = true;
  85. wait(1)
  86. Music:Play();
  87. -- ~CL 2016
  88. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement