View difference between Paste ID: bvBTCUMq and wVvMCXnG
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
24
local train = Instance.new("Part",torso)
25
train.Anchored = true
26
train.CanCollide = false
27
train.Size = Vector3.new(5,5,5)
28
train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
29
weld.Part1 = train
30
weld.C1 = CFrame.new(0,-0.4,0) * CFrame.Angles(-190,math.rad(0),0)
31
train.Anchored = false
32
local TrainMesh = Instance.new("SpecialMesh",train)
33
TrainMesh.MeshType = Enum.MeshType.FileMesh
34-
TrainMesh.MeshId = "rbxassetid://1455161073"
34+
35-
TrainMesh.TextureId = "rbxassetid://1455161087"
35+
TrainMesh.MeshId = "rbxassetid://0"
36
TrainMesh.TextureId = "rbxassetid://0"
37
38
hum.WalkSpeed = 130;
39
40
41
for i,v in pairs(char:GetChildren()) do
42
	if v:IsA("Part") then
43
		v.Transparency = 1;
44
	elseif v:IsA("Hat") then
45
		v:Destroy()
46
	elseif v:IsA("Model") then
47
		v:Destroy()
48
	end
49
end
50
51
52
local function SFX(id) local s=Instance.new("Sound",torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
53
train.Touched:connect(function(p)
54
	if p.Parent then
55
		if p.Parent:IsA("Model") then
56
			if game.Players:FindFirstChild(p.Parent.Name) then
57
				if p.Parent.Name ~= game.Players.LocalPlayer.Name then
58-
					local Whistle = SFX(159504677)
58+
59
					local Whistle = SFX(135557803)
60
					Whistle:Play()
61
				end
62
			end
63
		end
64
	end
65
end)
66-
local Music = SFX(146767821)
66+
67
local Music = SFX(149573450)
68
Music.Looped = true;
69
wait(1)
70
Music:Play();
71-
local particleemitter = Instance.new("ParticleEmitter", torso)
71+
72-
particleemitter.Texture = "http://www.roblox.com/asset/?id=0"
72+
pe = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso)
73-
particleemitter.VelocitySpread = 180
73+
pe.Texture = "http://www.roblox.com/asset/?id=157979926"
74-
particleemitter.Lifetime = NumberRange.new(5)
74+
pe.VelocitySpread = 0
75-
particleemitter.Speed = NumberRange.new(6)
75+
76-
particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5)})
76+
77-
particleemitter.RotSpeed = NumberRange.new(-55, 55)
77+
78-
particleemitter.Rate = 150
78+
79-
particleemitter.Rotation = NumberRange.new(-55, 55)
79+
80-
particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.7, 0.9), NumberSequenceKeypoint.new(1, 1)})
80+
81-
particleemitter.LightEmission = 0
81+
82-
particleemitter.Color = ColorSequence.new(Color3.new(255,255,255), Color3.new(255,255,255)) --Color here
82+
83
local rleg = chr["Right Leg"]
84
local larm = chr["Left Arm"]
85
local rarm = chr["Right Arm"]
86
local hed = chr.Head
87
local rutprt = chr.HumanoidRootPart
88
local torso = chr.Torso
89
local pseudohead=hed:Clone()
90
for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
91
pseudohead.Name='PseudoHead'
92
pseudohead.Parent=chr.Head
93
local pseudoweld=Instance.new('Weld',torso)
94
pseudoweld.Part0=hed
95
pseudoweld.Name='PseudoHeadWeld'
96
pseudoweld.Part1=pseudohead
97
hed.Transparency=1
98
for i,x in pairs(chr:GetChildren()) do
99
if x:IsA'HHat' then x:destroy'' end end
100
for i,x in pairs(chr:GetChildren()) do
101
for a,v in pairs(x:GetChildren()) do
102
if v:IsA'CharacterMesh' then v:destroy''
103
end
104
end
105
end
106
107
-- Objects
108
 
109
local ScreenGui = Instance.new("ScreenGui")
110
local TextButton = Instance.new("TextButton")
111
 
112
-- Properties
113
 
114
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
115
 
116
TextButton.Parent = ScreenGui
117
TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
118
TextButton.Size = UDim2.new(0, 200, 0, 50)
119
TextButton.Font = Enum.Font.SourceSans
120
TextButton.FontSize = Enum.FontSize.Size14
121
TextButton.Text = "shrek roar"
122
TextButton.TextSize = 14
123
 
124
--[[Function/s being made!]]
125
function PlayMusic(ID)
126
    for i, v in pairs (game.Workspace:GetChildren()) do
127
    if v:IsA("Sound") then
128
    end
129
    end
130
    local music = Instance.new("Sound")
131
    local asset = "rbxassetid://"
132
    music.SoundId = asset .. ID
133
    music.Parent = workspace
134
    music.Volume = 5469
135
    music.Looped = false
136
    music:Play()
137
end
138
--[[Connecting functions!]]
139
TextButton.MouseButton1Down:connect(function()
140
PlayMusic(136382097)
141
end)
142
143
-- Objects
144
 
145
local ScreenGui = Instance.new("ScreenGui")
146
local TextButton = Instance.new("TextButton")
147
 
148-
PlayMusic(131339868)
148+
149
 
150
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
151
 
152
TextButton.Parent = ScreenGui
153
TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
154
TextButton.Size = UDim2.new(0, 160, 0, 50)
155
TextButton.Font = Enum.Font.SourceSans
156
TextButton.FontSize = Enum.FontSize.Size14
157
TextButton.Text = "have a bowl,faggot"
158
TextButton.TextSize = 14
159
 
160
--[[Function/s being made!]]
161
function PlayMusic(ID)
162
    for i, v in pairs (game.Workspace:GetChildren()) do
163
    if v:IsA("Sound") then
164
    end
165
    end
166
    local music = Instance.new("Sound")
167
    local asset = "rbxassetid://"
168
    music.SoundId = asset .. ID
169
    music.Parent = workspace
170
    music.Volume = 999
171
    music.Looped = false
172
    music:Play()
173
end
174
--[[Connecting functions!]]
175
TextButton.MouseButton1Down:connect(function()
176
PlayMusic(206623430)
177
end)
178
179
--This is a localscript; you will need to have access to using scripts wherever you want this
180
p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end