View difference between Paste ID: 2ZWe0tT4 and CxUCTix3
SHOW: | | - or go back to the newest paste.
1
local plr = game:GetService("Players").LocalPlayer
2
local char = plr.Character
3
local mou = plr:GetMouse()
4
local equipped = false
5
local hum = char:FindFirstChildOfClass("Humanoid")
6
local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
7
local head = char:FindFirstChild("Head")
8
local tweenserv = game:GetService("TweenService")
9
10
local pepsi = Instance.new("Tool", plr.Backpack)
11
pepsi.Name = "Pepsi"
12
pepsi.CanBeDropped = true
13
local hand = Instance.new("Part", pepsi)
14
hand.Size = Vector3.new(1, 1, 1)
15
hand.Transparency = 1
16
hand.Name = "Handle"
17
local handle = Instance.new("Part", hand)
18
handle.Size = Vector3.new(0.3, 1, 0.4)
19-
handle.Material = "Neon"
19+
handle.Material = "Plastic"
20-
handle.BrickColor = BrickColor.new("Crimson")
20+
handle.BrickColor = BrickColor.new("Fossil")
21
local handlew = Instance.new("Weld", handle)
22
handlew.Part0 = hand
23
handlew.Part1 = handle
24
handlew.C1 = CFrame.new(0, 0, 0.2)
25
local handle2 = Instance.new("Part", hand)
26
handle2.Size = Vector3.new(0.05, 0.9, 0.3)
27-
handle2.Material = "Fabric"
27+
handle2.Material = "Plastic"
28-
handle2.BrickColor = BrickColor.new("Crimson")
28+
handle2.BrickColor = BrickColor.new("Fossil")
29
local handle2w = Instance.new("Weld", handle)
30
handle2w.Part0 = hand
31
handle2w.Part1 = handle2
32
handle2w.C1 = CFrame.new(0.15, 0, 0.2)
33
local handle3 = Instance.new("Part", hand)
34
handle3.Size = Vector3.new(0.05, 0.9, 0.3)
35-
handle3.Material = "Fabric"
35+
handle3.Material = "Plastic"
36-
handle3.BrickColor = BrickColor.new("Crimson")
36+
handle3.BrickColor = BrickColor.new("Fossil")
37
local handle3w = Instance.new("Weld", handle)
38
handle3w.Part0 = hand
39
handle3w.Part1 = handle3
40
handle3w.C1 = CFrame.new(-0.15, 0, 0.2)
41
local bottom = Instance.new("Part", hand)
42
bottom.Size = Vector3.new(0.4, 0.1, 0.5)
43-
bottom.Material = "Neon"
43+
bottom.Material = "Plastic"
44-
bottom.BrickColor = BrickColor.new("Crimson")
44+
bottom.BrickColor = BrickColor.new("Fossil")
45
local bottomw = Instance.new("Weld", bottom)
46
bottomw.Part0 = hand
47
bottomw.Part1 = bottom
48
bottomw.C1 = CFrame.new(0, 0.5, 0.2)
49
local bot1 = Instance.new("Part", hand)
50
bot1.Shape = "Cylinder"
51
bot1.Size = Vector3.new(1.6, 1, 1)
52-
bot1.BrickColor = BrickColor.new("Really black")
52+
bot1.BrickColor = BrickColor.new("Fossil")
53-
bot1.Material = "Neon"
53+
bot1.Material = "Plastic"
54
local bot1w = Instance.new("Weld", bot1)
55
bot1w.Part0 = hand
56
bot1w.Part1 = bot1
57
bot1w.C1 = CFrame.new(0.8, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
58
local bot2 = Instance.new("Part", hand)
59
bot2.Shape = "Ball"
60
bot2.Size = Vector3.new(1, 1, 1)
61-
bot2.BrickColor = BrickColor.new("Really black")
61+
bot2.BrickColor = BrickColor.new("Fossil")
62-
bot2.Material = "Neon"
62+
bot2.Material = "Plastic"
63
local bot2w = Instance.new("Weld", bot2)
64
bot2w.Part0 = hand
65
bot2w.Part1 = bot2
66
bot2w.C1 = CFrame.new(0, -0.9, 1.5)
67
local cap = Instance.new("Part", hand)
68
cap.Shape = "Cylinder"
69
cap.Size = Vector3.new(0.2, 0.3, 0.3)
70-
cap.BrickColor = BrickColor.new("Crimson")
70+
cap.BrickColor = BrickColor.new("Fossil")
71-
cap.Material = "Neon"
71+
cap.Material = "Plastic"
72
local capw = Instance.new("Weld", cap)
73
capw.Part0 = hand
74
capw.Part1 = cap
75
capw.C1 = CFrame.new(2, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
76
local ban = Instance.new("Part", hand)
77
ban.Shape = "Cylinder"
78
ban.Size = Vector3.new(0.7, 1.05, 1.05)
79-
ban.BrickColor = BrickColor.new("Really blue")
79+
ban.BrickColor = BrickColor.new("Fossil")
80-
ban.Material = "Neon"
80+
ban.Material = "Plastic"
81
local banw = Instance.new("Weld", ban)
82
banw.Part0 = hand
83
banw.Part1 = ban
84
banw.C1 = CFrame.new(0.8, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
85
local good = Instance.new("Decal", ban)
86-
good.Texture = "rbxassetid://358890684"
86+
good.Texture = "rbxassetid://1311452071"
87
good.Face = "Front"
88
89
90
pepsi.Equipped:connect(function()
91
equipped = true
92
mou.Button1Down:connect(function()
93
if equipped == true then
94
clicked = true
95
96
yum = Instance.new("Part", pepsi)
97
yum.BrickColor = BrickColor.new("Really black")
98
yum.Material = "Neon"
99
yum.Anchored = true
100
yum.CanCollide = false
101
yum.Locked = true
102
eh = Instance.new("ParticleEmitter", yum)
103-
eh.Texture = "rbxassetid://358890684"
103+
eh.Texture = "rbxassetid://"
104
eh.Lifetime = NumberRange.new(1)
105
eh.Rate = 90
106
eh.SpreadAngle = Vector2.new(360, 360)
107
MLG = Instance.new("Sound", bot1)
108
MLG.SoundId = "rbxassetid://525289290"
109
MLG.Volume = 20
110
MLG.Looped = true
111
MLG:Play()
112
113
while clicked == true do
114
local ray = Ray.new(cap.CFrame.p, (mou.Hit.p - cap.CFrame.p).unit * 300)
115
local part, position = workspace:FindPartOnRay(ray, char, false, true)
116
dis = (cap.CFrame.p - position).magnitude
117
yum.Size = Vector3.new(0.9, 0.9, dis)
118
yum.Transparency = 0
119
yum.CFrame = CFrame.new(cap.CFrame.p, position) * CFrame.new(0, 0, -dis / 2)
120
local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, false, 0)
121
local tweeninfo2 = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, false, 0)
122
local partprop = {Size = Vector3.new(20, 20, 20);
123
Transparency = 1}
124
local partprop2 = {Size = Vector3.new(5, 5, dis);
125
Transparency = 1}
126
tween2 = tweenserv:Create(yum, tweeninfo2, partprop2)
127
tween2:Play()
128
if mou.Target ~= nil and mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
129
yumtor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
130
yumhum = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
131
if yumtor ~= nil then
132
NOOO = Instance.new("Part", mou.Target.Parent)
133
NOOO.Shape = "Ball"
134
NOOO.BrickColor = BrickColor.new("Really black")
135
NOOO.Material = "Neon"
136
NOOO.Anchored = true
137
NOOO.CanCollide = false
138
NOOO.Size = Vector3.new(0.1, 0.1, 0.1)
139
NOOO.CFrame = yumtor.CFrame
140
if not yumtor:FindFirstChild("parti1") or not yumtor:FindFirstChild("parti2") or not yumtor:FindFirstChild("parti3") or not yumtor:FindFirstChild("parti4") or not yumtor:FindFirstChild("parti5") then
141
parti = Instance.new("ParticleEmitter", yumtor)
142
parti.Texture = "rbxassetid:/0"
143
parti.	EmissionDirection = "Top"
144
parti.Rate = 100
145
parti.Name = "parti1"
146
parti.SpreadAngle = Vector2.new(360, 360)
147
parti.Lifetime = NumberRange.new(2)
148
parti2 = Instance.new("ParticleEmitter", yumtor)
149
parti2.Texture = "rbxassetid://0"
150
parti2.	EmissionDirection = "Front"
151
parti2.Rate = 100
152
parti2.Name = "parti2"
153
parti2.SpreadAngle = Vector2.new(360, 360)
154
parti2.Lifetime = NumberRange.new(2)
155
parti3 = Instance.new("ParticleEmitter", yumtor)
156
parti3.Texture = "rbxassetid://0"
157
parti3.EmissionDirection = "Back"
158
parti3.Rate = 100
159
parti3.Name = "parti3"
160
parti3.SpreadAngle = Vector2.new(360, 360)
161
parti3.Lifetime = NumberRange.new(2)
162
parti4 = Instance.new("ParticleEmitter", yumtor)
163
parti4.Texture = "rbxassetid://0"
164
parti4.EmissionDirection = "Left"
165
parti4.Rate = 100
166
parti4.Name = "parti4"
167
parti4.SpreadAngle = Vector2.new(360, 360)
168
parti4.Lifetime = NumberRange.new(2)
169
parti5 = Instance.new("ParticleEmitter", yumtor)
170
parti5.Texture = "rbxassetid://0"
171
parti5.EmissionDirection = "Right"
172
parti5.Rate = 100
173
parti5.Name = "parti5"
174
parti5.SpreadAngle = Vector2.new(360, 360)
175
parti5.Lifetime = NumberRange.new(2)
176
end
177
if yumtor:FindFirstChild("mlgagaga") then
178
local hi2 = yumtor:FindFirstChild("mlgagaga")
179
hi2:Play()
180
else
181
local hi = Instance.new("Sound", yumtor)
182
hi.SoundId = "rbxassetid://1542642349"
183
hi.Name = "mlgagaga"
184
hi.Volume = 10
185
hi.Looped = false
186
hi:Play()
187
end
188
tween = tweenserv:Create(NOOO, tweeninfo, partprop)
189
tween:Play()
190
game:GetService("Debris"):AddItem(NOOO, 1)
191
yumhum.WalkSpeed = 1
192
yumhum.JumpPower = 1
193
yumhum.Health = 0
194
mou.Target.Parent:BreakJoints()
195
for i,v in pairs(mou.Target.Parent:GetChildren()) do
196
if v:IsA("Part") then
197
v.Material = "Neon"
198
v.BrickColor = BrickColor.new("Really black")
199
end
200
if v:IsA("Shirt") then
201
v:Destroy()
202
end
203
if v:IsA("Pants") then
204
v:Destroy()
205
end
206
if v:IsA("Accessory") then
207
v:Destroy()
208
end
209
end
210
end
211
end
212
wait()
213
end
214
215
end
216
end)
217
mou.Button1Up:connect(function()
218
clicked = false
219
if equipped == true then
220
MLG:Stop()
221
eh:Destroy()
222
game:GetService("Debris"):AddItem(yum, 0)
223
end
224
end)
225
end)
226
227
pepsi.Unequipped:connect(function()
228
equipped = false
229
clicked = false
230
end)