Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game.Players.THECREATOR20029.Character
- local weld = Instance.new("Weld",p.Torso)
- weld.Part0 = p.Torso
- local train = Instance.new("Part",p.Torso)
- train.Anchored = true
- train.CanCollide = false
- train.Size = Vector3.new(3,2,6)
- train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld.Part1 = train
- weld.C1 = CFrame.new(0,1.5,0) * CFrame.Angles(0,math.rad(180),0)
- train.Anchored = false
- local TrainMesh = Instance.new("SpecialMesh",train)
- TrainMesh.MeshType = Enum.MeshType.FileMesh
- TrainMesh.Scale = Vector3.new(0.04,0.04,0.04)
- TrainMesh.MeshId = "rbxassetid://430210147"
- TrainMesh.TextureId = "rbxassetid://430210159"
- p.Humanoid.WalkSpeed = 70;
- for i,v in pairs(p:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1;
- elseif v:IsA("Hat") then
- v:Destroy()
- elseif v:IsA("Model") then
- v:Destroy()
- end
- end
- local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
- train.Touched:connect(function(p)
- if p.Parent then
- if p.Parent:IsA("Model") then
- if game.Players:FindFirstChild(p.Parent.Name) then
- if p.Parent.Name ~= game.Players.THECREATOR20029.Name then
- game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
- local Whistle = SFX(428593644)
- Whistle:Play()
- end
- end
- end
- end
- end)
- local Music = SFX(222274242)
- Music.Looped = true;
- wait(1)
- Music:Play();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement