Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. local p = game:GetService("Players").LocalPlayer.Character
  2. local hum = p.Humanoid
  3. local torso = p.Torso
  4. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  5. local weld = Instance.new("Weld",p.Torso)
  6. weld.Part0 = p.Torso
  7.  
  8. hum.MaxHealth = math.huge
  9. hum.Health = hum.MaxHealth
  10.  
  11. local train = Instance.new("Part",p.Torso)
  12. train.Anchored = true
  13. train.CanCollide = false
  14. train.Size = Vector3.new(3,2,6)
  15. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  16. weld.Part1 = train
  17. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0) *CFrame.new(0,-2.4,0)
  18. train.Anchored = false
  19. local TrainMesh = Instance.new("SpecialMesh",train)
  20. TrainMesh.MeshType = Enum.MeshType.FileMesh
  21. TrainMesh.Scale = Vector3.new(0.020,0.020,0.015)
  22. TrainMesh.MeshId = "rbxassetid://430348199"
  23. TrainMesh.TextureId = "rbxassetid://430348224"
  24. TrainMesh.Scale = Vector3.new(TrainMesh.Scale.X*24,TrainMesh.Scale.Y*24,
  25. TrainMesh.Scale.Z*32
  26. )
  27.  
  28.  
  29. local weld2 = Instance.new("Weld",p.Torso)
  30. weld2.Part0 = p.Torso
  31. local Smoke = Instance.new("Part",p.Torso)
  32. Smoke.Anchored = true
  33. Smoke.CanCollide = false
  34. Smoke.Size = Vector3.new(1,1,1)
  35. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  36. weld2.Part1 = Smoke
  37. weld2.C1 = CFrame.new(0,0,0)-- * CFrame.Angles(0,math.rad(180),0)
  38. Smoke.Anchored = false
  39. Smoke.Transparency = 1;
  40.  
  41. local Particle = Instance.new("ParticleEmitter",Smoke)
  42. Particle.Rate = 50;
  43. Particle.Speed = NumberRange.new(30,60);
  44. Particle.VelocitySpread = 4;
  45. Particle.Texture = "rbxassetid://10524802"
  46. Particle.Enabled = false
  47.  
  48. p.Humanoid.WalkSpeed = 17;
  49. if p.Name ~= "Exanimatedn9dean" then
  50. print ("Fuck off") script.Parent = nil else end
  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. deb = false
  62. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  63. train.Touched:connect(function(p2)
  64. if p2.Parent then
  65. if p2.Parent:IsA("Model") then
  66. if game.Players:FindFirstChild(p2.Parent.Name) then
  67. if p2.Parent.Name ~= game.Players.LocalPlayer.Name then
  68. if deb == false then deb = true
  69. local joint = p2.Parent.Torso:findFirstChild("Neck") if joint then
  70. local torso = p2.Parent.Torso
  71. torso.CFrame = p.Torso.CFrame
  72. p.Torso.Anchored = true
  73. local cf = CFrame.new(0,3.2,-0.7)
  74. local worldspace = p.Torso.CFrame:toWorldSpace(cf)
  75. local face = p2.Parent.Head.face
  76. face.Texture = "http://www.roblox.com/asset/?id=177763358"
  77. coroutine.wrap(function()
  78. for i = 1, 100 do wait(1/60)
  79. torso.CFrame = worldspace
  80. torso.Anchored = true
  81. end
  82. end)()
  83. wait(12)
  84. local ps = joint.C0*CFrame.Angles(math.rad(180),0,0)
  85. for i = 0,1,0.1 do wait()
  86. joint.C0 = joint.C0:lerp(ps,i)
  87. end
  88. face.Texture = "http://www.roblox.com/asset/?id=15894344"
  89. wait(0.9)
  90. torso.Anchored = false
  91. game.Players:FindFirstChild(p2.Parent.Name).Character:BreakJoints()
  92. local Whistle = SFX(150283123)
  93. Whistle:Play()
  94. p.Torso.Anchored = false
  95. end
  96. end
  97. wait(2.5)
  98. deb = false
  99. end
  100. end
  101. end
  102. end
  103. end)
  104.  
  105. local deb2 = false
  106. local horrors = {"rbxassetid://150185025","rbxassetid://150184965",
  107. "rbxassetid://150184992"}
  108. mouse.KeyDown:connect(function(p)
  109. if deb2 == false then deb2 = true
  110. p = p:lower()
  111. if p == "t" then
  112. local snd = Instance.new("Sound", game.Workspace)
  113. snd.SoundId = horrors[math.random(#horrors)]
  114. snd:Play()
  115. game:GetService("Debris"):AddItem(snd,snd.TimeLength)
  116. torso.CFrame = mouse.Hit*CFrame.new(0,torso.Size.Y,0)
  117. end
  118. end
  119. wait(2)
  120. deb2 = false
  121. end)
  122.  
  123. local Music = SFX(199813585)
  124. Music.Looped = true;
  125. wait(1)
  126. Music:Play();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement