SHOW:
|
|
- or go back to the newest paste.
1 | local a = Instance.new("Sound") | |
2 | a.Name = "Sound" | |
3 | a.SoundId = "http://www.roblox.com/asset/?id=433992205" | |
4 | a.Volume = 1 | |
5 | a.Pitch = 1 | |
6 | a.Looped = true | |
7 | a.archivable = false | |
8 | a.Parent = game.Workspace | |
9 | a:play() | |
10 | for i, v in pairs(game.Players:GetChildren()) do--this is going down in order of evrything in players, v is the variable | |
11 | p = v.Character | |
12 | ||
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(.5,.5,.5) |
26 | + | TrainMesh.Scale = Vector3.new(.40,.40,.40) |
27 | TrainMesh.MeshId = "rbxassetid://471652548" | |
28 | TrainMesh.TextureId = "rbxassetid://471652580" | |
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 | p.Humanoid.WalkSpeed = 60; | |
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 | end |