SHOW:
|
|
- or go back to the newest paste.
1 | --{{Made by Strazos}}-- | |
2 | ||
3 | local p = game.Players.LocalPlayer | |
4 | local char = p.Character | |
5 | local larm = char["Left Arm"] | |
6 | local rarm = char["Right Arm"] | |
7 | local lleg = char["Left Leg"] | |
8 | local rleg = char["Right Leg"] | |
9 | local hed = char.Head | |
10 | local torso = char.Torso | |
11 | local hum = char.Humanoid | |
12 | local weld = Instance.new("Weld",torso) | |
13 | weld.Part0 = torso | |
14 | ||
15 | larm.Transparency = 1 | |
16 | rarm.Transparency = 1 | |
17 | lleg.Transparency = 1 | |
18 | rleg.Transparency = 1 | |
19 | hed.Transparency = 1 | |
20 | torso.Transparency = 1 | |
21 | ||
22 | ||
23 | local train = Instance.new("Part",torso) | |
24 | train.Anchored = true | |
25 | train.CanCollide = false | |
26 | train.Size = Vector3.new(5,5,5) | |
27 | train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
28 | weld.Part1 = train | |
29 | - | weld.C1 = CFrame.new(0,-1.5,0) * CFrame.Angles(0,math.rad(180),0) |
29 | + | weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0) |
30 | train.Anchored = false | |
31 | local TrainMesh = Instance.new("SpecialMesh",train) | |
32 | TrainMesh.MeshType = Enum.MeshType.FileMesh | |
33 | - | TrainMesh.Scale = Vector3.new(0.05, 0.05, 0.05) |
33 | + | TrainMesh.Scale = Vector3.new(7.2, 7.2, 7.2) |
34 | - | TrainMesh.MeshId = "rbxassetid://546387428" |
34 | + | TrainMesh.MeshId = "rbxassetid://431788127" |
35 | - | TrainMesh.TextureId = "rbxassetid://546387493" |
35 | + | TrainMesh.TextureId = "rbxassetid://431788130" |
36 | ||
37 | hum.WalkSpeed = 60; | |
38 | ||
39 | ||
40 | for i,v in pairs(char:GetChildren()) do | |
41 | if v:IsA("Part") then | |
42 | v.Transparency = 1; | |
43 | elseif v:IsA("Hat") then | |
44 | v:Destroy() | |
45 | elseif v:IsA("Model") then | |
46 | v:Destroy() | |
47 | end | |
48 | end | |
49 | ||
50 | local particleemitter = Instance.new("ParticleEmitter", torso) | |
51 | - | local function SFX(id) local s=Instance.new("Sound",torso); s.SoundId = "rbxassetid://"..id; s.Volume = 991; return s; end |
51 | + | |
52 | - | train.Touched:connect(function(p) |
52 | + | |
53 | - | if p.Parent then |
53 | + | |
54 | - | if p.Parent:IsA("Model") then |
54 | + | |
55 | - | if game.Players:FindFirstChild(p.Parent.Name) then |
55 | + | |
56 | - | if p.Parent.Name ~= game.Players.LocalPlayer.Name then |
56 | + | |
57 | - | game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints() |
57 | + | |
58 | - | local Whistle = SFX(904010785) |
58 | + | |
59 | - | Whistle:Play() |
59 | + | |
60 | - | end |
60 | + | |
61 | - | end |
61 | + | |
62 | - | end |
62 | + | |
63 | ||
64 | ||
65 | local plr = game.Players.LocalPlayer | |
66 | - | local Music = SFX(325107611) |
66 | + | |
67 | - | Music.Looped = true; |
67 | + | |
68 | - | wait(1) |
68 | + | |
69 | - | Music:Play(); |
69 | + | |
70 | local rleg = chr["Right Leg"] | |
71 | local larm = chr["Left Arm"] | |
72 | local rarm = chr["Right Arm"] | |
73 | local hed = chr.Head | |
74 | local rutprt = chr.HumanoidRootPart | |
75 | local torso = chr.Torso | |
76 | local pseudohead=hed:Clone() | |
77 | for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end | |
78 | pseudohead.Name='PseudoHead' | |
79 | pseudohead.Parent=chr.Head | |
80 | local pseudoweld=Instance.new('Weld',torso) | |
81 | pseudoweld.Part0=hed | |
82 | pseudoweld.Name='PseudoHeadWeld' | |
83 | pseudoweld.Part1=pseudohead | |
84 | hed.Transparency=1 | |
85 | for i,x in pairs(chr:GetChildren()) do | |
86 | if x:IsA'HHat' then x:destroy'' end end | |
87 | for i,x in pairs(chr:GetChildren()) do | |
88 | for a,v in pairs(x:GetChildren()) do | |
89 | if v:IsA'CharacterMesh' then v:destroy'' | |
90 | end | |
91 | end | |
92 | end | |
93 | ||
94 | -- Objects | |
95 | ||
96 | local ScreenGui = Instance.new("ScreenGui") | |
97 | local TextButton = Instance.new("TextButton") | |
98 | ||
99 | -- Properties | |
100 | ||
101 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
102 | ||
103 | TextButton.Parent = ScreenGui | |
104 | TextButton.BackgroundColor3 = Color3.new(1, 1, 1) | |
105 | TextButton.Size = UDim2.new(0, 160, 0, 50) | |
106 | TextButton.Font = Enum.Font.SourceSans | |
107 | TextButton.FontSize = Enum.FontSize.Size14 | |
108 | TextButton.Text = "have a bowl,faggot" | |
109 | TextButton.TextSize = 14 | |
110 | ||
111 | --[[Function/s being made!]] | |
112 | function PlayMusic(ID) | |
113 | - | end |
113 | + | for i, v in pairs (game.Workspace:GetChildren()) do |
114 | if v:IsA("Sound") then | |
115 | end | |
116 | end | |
117 | local music = Instance.new("Sound") | |
118 | local asset = "rbxassetid://" | |
119 | music.SoundId = asset .. ID | |
120 | music.Parent = workspace | |
121 | music.Volume = 999 | |
122 | music.Looped = false | |
123 | music:Play() | |
124 | end | |
125 | --[[Connecting functions!]] | |
126 | TextButton.MouseButton1Down:connect(function() | |
127 | PlayMusic(25641508) | |
128 | end) | |
129 | ||
130 | --This is a localscript; you will need to have access to using scripts wherever you want this | |
131 | p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end |