View difference between Paste ID: Q6hB07c7 and EV60HPk5
SHOW: | | - or go back to the newest paste.
1
----------------------------------------
2
 -- Originally made by Alfederate :D -- 
3
 -- And Edited By Memo1332 So Fucks Given--
4
----------------------------------------
5
6
 -- there's no time to explain! --
7
8
do
9
    local filteredMessages = { ['___'] = '___' };
10
    local onPropertyChanged = function (obj)   
11
        if (obj:isDescendantOf (workspace)) then   
12
            local objText = obj.Text;
13
           
14
            if (objText ~= '___' and objText:find '(%S)') then
15
                if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then 
16
                    obj.Text = filteredMessages [objText];
17
                elseif (not filteredMessages [objText]) then
18
                    obj.Text = '___';
19
                   
20
                    local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer);
21
                   
22
                    filteredMessages [objText] = filtered;
23
                    filteredMessages [filtered] = filtered;
24-
bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
24+
                   
25-
bbgTl.TextColor3 = Color3.new(0.07,0.54,0)
25+
                    obj.Text = filtered;
26
                end;
27
            end;
28
        end;
29
    end;
30
   
31
    local newInstance = Instance.new;
32
    Instance = {
33
        new = function (class, parent)
34
            local obj = newInstance (class, parent);
35
           
36
            if (pcall (function()return obj.Text;end)) then
37
                obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
38
                obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
39-
s.SoundId = "http://www.roblox.com/asset/?id=410134997"
39+
            end;
40
           
41
            return obj;
42
        end;
43
    };
44
end;
45
--- THE ABOVE
46
47
local Mouse = game.Players.LocalPlayer:GetMouse()
48
local Plr = game.Players.LocalPlayer
49
local plr = game.Players.LocalPlayer
50
local s = Instance.new("Sound")
51
52
base = Instance.new("ScreenGui",plr.PlayerGui)
53
bbg = Instance.new("BillboardGui",plr.Character.Head)
54
bbg.Size = UDim2.new(0,200,0,50)
55
bbg.StudsOffset = Vector3.new(0,3,0)
56
bbgTl = Instance.new("TextLabel",bbg)
57
bbgTl.BackgroundTransparency = 1
58
bbgTl.Size = UDim2.new(10,0,1,0)
59
bbgTl.Position = UDim2.new(-4.5,0,0,0)
60
bbgTl.Font = "Code"
61
bbgTl.Text = " "
62
bbgTl.TextSize = 25
63
bbgTl.TextStrokeColor3 = Color3.new(1,0.5,0)
64
bbgTl.TextColor3 = Color3.new(1,0.5,0)
65
bbgTl.TextStrokeTransparency = 0
66
bbgTl.TextWrapped = true
67
plr.Chatted:connect(function(msg)
68
    bbgTl.Text = msg
69
    wait(5)
70
    if bbgTl.Text == msg then
71
        bbgTl.Text = " "
72
    end
73
end)
74
75
Mouse.KeyDown:connect(function(KeyDown)
76
if KeyDown == "0" then
77-
snd='rbxassetid://152828706'
77+
78
s.SoundId = "http://www.roblox.com/asset/?id=703893300"
79
s.Volume = 8
80
s.Looped = true
81
s.Archivable = false
82
s.Looped = true
83
s.Parent = game.Workspace
84
s:Play()
85
Plr.Character.Humanoid.WalkSpeed = 135
86
end
87
end)
88
89
Mouse.KeyUp:connect(function(KeyUp)
90
if KeyUp == "0" then
91
Plr.Character.Humanoid.WalkSpeed = 16
92
s:Stop()
93
end
94
end)
95
96
local new=Instance.new
97
local rad=math.rad
98
local cf=CFrame.new
99
local v3=Vector3.new
100
local ang=function(x,y,z)
101
return CFrame.Angles(rad(x),rad(y),rad(z))
102
end
103
local player=game:service'Players'.LocalPlayer
104
local char=player.Character
105
local cam=workspace.Camera
106
local mouse=player:GetMouse()
107
local weld=function(a,b,c0,c1)
108
m=Instance.new('Motor',a)
109
m.Part0=a
110
m.Part1=b
111-
wep.BrickColor=BrickColor.new('Earth green')
111+
112
m.C1=c1
113
return m
114
end
115
116
snd='rbxassetid://347955300'
117
beamm=Instance.new('Model',workspace)
118
beamm.Name='beam'
119-
beam.BrickColor=BrickColor.new('Parsley green')
119+
120
laser=false
121
122
rs=Instance.new('Part',char)
123
rs.Transparency=1
124
rs.CanCollide=false
125
rs.BrickColor=BrickColor.new('Forest green')
126
rs.TopSurface,rs.BottomSurface=0,0
127-
inner.BrickColor=BrickColor.new('Parsley green')
127+
128
rs.Size=Vector3.new(.5,.5,2)
129
130
ls=rs:Clone()
131
ls.Parent=char
132
133-
expl.BrickColor=BrickColor.new('Forest green')
133+
134
lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
135
raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
136
law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
137
138
s1=Instance.new('Sound',char)
139
s1.Volume=20
140
s1.Pitch=1.3
141
s1.Looped=true
142
s1.SoundId=snd
143
144
particles={}
145
146
local wep=new('Part',char)
147
wep.FormFactor=3
148
wep.CanCollide=false
149
wep.Size=v3(1.3,6,1.3)
150
wep.BrickColor=BrickColor.new('Gold')
151
wep.Material='Neon'
152
wep.TopSurface,wep.BottomSurface=0,0
153
local wepw=weld(wep,char['Right Arm'],cf(.26,.4,.7),ang(0,0,8))
154
155
local beam=wep:Clone()
156
beam:ClearAllChildren()
157
beam.Material='Neon'
158
beam.BrickColor=BrickColor.new('Bright yellow')
159
beam.Size=Vector3.new(3,3,1)
160
beam.Transparency=.5
161
beam.Anchored=true
162
local ms=Instance.new('BlockMesh',beam)
163
local inner=beam:Clone()
164
inner.Transparency=0
165
inner.Material='SmoothPlastic'
166
inner.BrickColor=BrickColor.new('Bright yellow')
167
local ms2=inner.Mesh
168
169
local expl=inner:Clone()
170
expl.Mesh:Destroy()
171
expl.Material='Neon'
172
expl.BrickColor=BrickColor.new('Deep orange')
173
expl.Size=Vector3.new(11,11,11)
174
expl.Transparency=.55
175
pl=Instance.new('PointLight',expl)
176
pl.Color=expl.BrickColor.Color
177
pl.Range=pl.Range*2
178
pl.Name='light'
179
local br=pl.Range
180
181
local exa=expl:Clone()
182
exa.Size=Vector3.new(4,4,4)
183
pl2=exa.light
184
185
local part=exa:Clone()
186
part.Size=Vector3.new(1.5,1.5,1.5)
187
pl3=part.light
188
pms=Instance.new('BlockMesh',part)
189
190
char.Humanoid.Died:connect(function()
191
laser=false
192
beam.Parent=nil
193
inner.Parent=nil
194
expl.Parent=nil
195
exa.Parent=nil
196
s1:stop()
197
end)
198
199
mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
200
laser=true
201
s1.Volume=1.3
202-
s1.Volume=s1.Volume-0.0018
202+
203
end end)
204
mouse.Button1Up:connect(function()
205
laser=false
206
beam.Parent=nil
207
inner.Parent=nil
208
expl.Parent=nil
209
exa.Parent=nil
210
s1:stop()
211
end)
212
213
parti=0
214
game:service'RunService'.Stepped:connect(function()
215
parti=parti+1
216
for i,v in pairs(particles) do
217
v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
218
v.Transparency=v.Transparency+.08
219
if v.Transparency >= 1 then
220
v:Destroy()
221
table.remove(particles,i)
222
else
223
v.Parent=beamm
224
end
225
end
226
a=cam.CoordinateFrame.p
227
b=mouse.Hit.p
228
mhitr=Ray.new(a,(b-a).unit*999)
229
mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
230
raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
231
law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
232
if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
233
char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
234
end
235
if laser then
236
beamm.Parent=workspace
237
beam.Parent=beamm
238
inner.Parent=beamm
239
expl.Parent=beamm
240
exa.Parent=beamm
241
s1.Volume=s1.Volume-0.0009
242
243
ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999)
244
hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
245
246
if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
247
Instance.new('Explosion',workspace).Position=pos
248
end
249
if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
250
e=Instance.new('Explosion',workspace)
251
e.Position=pos
252
e.BlastRadius=14
253
e.BlastPressure=1e4
254
end
255
if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
256
hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass())
257
end
258
259
if parti==math.floor(parti) then
260
par=part:Clone()
261
table.insert(particles,par)
262
par.Parent=beamm
263
par.Transparency=1-s1.Volume
264
par.light.Range=br*s1.Volume
265
par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
266
end
267
268
mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
269
ms.Scale=v3(s1.Volume,s1.Volume,mag)
270
ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
271
beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
272
inner.CFrame=beam.CFrame
273
pl.Range=br*s1.Volume
274
pl2.Range=br*s1.Volume
275
expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
276
expl.Transparency=math.random(40,60)/100
277
expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
278
exa.Size=v3(4,4,4)*s1.Volume
279
exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
280
char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
281
end
282
end)
283
284
local UserInputService = game:GetService("UserInputService")
285
local localPlayer = game.Players.LocalPlayer
286
local character
287
local humanoid
288
 
289
local canDoubleJump = false
290
local hasDoubleJumped = false
291
local oldPower
292
local TIME_BETWEEN_JUMPS = 0.2
293
local DOUBLE_JUMP_POWER_MULTIPLIER = 2
294
local s = Instance.new("Sound",script.Parent)
295
function onJumpRequest()
296
	if not character or not humanoid or not character:IsDescendantOf(workspace) or
297
	 humanoid:GetState() == Enum.HumanoidStateType.Dead then
298
		return
299
	end
300
 
301
	if canDoubleJump and not hasDoubleJumped then
302
		hasDoubleJumped = true
303
		humanoid.JumpPower = oldPower * DOUBLE_JUMP_POWER_MULTIPLIER
304
		humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
305
		s.Name = "Sound"
306
		s.SoundId = "rbxassetid://322832112"
307
		s.Volume = 50
308
		s.Looped = false
309
		s.Pitch = 1.1+math.random()*.3
310
		s.archivable = false
311
		wait()
312
		s:Play()
313
	end
314
end
315
 
316
local function characterAdded(newCharacter)
317
	character = newCharacter
318
	humanoid = newCharacter:WaitForChild("Humanoid")
319
	hasDoubleJumped = false
320
	canDoubleJump = false
321
	oldPower = humanoid.JumpPower
322
 
323
	humanoid.StateChanged:connect(function(old, new)
324
		if new == Enum.HumanoidStateType.Landed then
325
			canDoubleJump = false
326
			hasDoubleJumped = false
327
			humanoid.JumpPower = oldPower
328
		elseif new == Enum.HumanoidStateType.Freefall then
329
			wait(TIME_BETWEEN_JUMPS)
330
			canDoubleJump = true
331
		end
332
	end)
333
end
334
335
bbgTl.Text = "Oof Cannon Edit By Memo1332"
336
wait(3)
337
bbgTl.Text = " "
338
339
if localPlayer.Character then
340
	characterAdded(localPlayer.Character)
341
end
342
 
343
localPlayer.CharacterAdded:connect(characterAdded)
344
UserInputService.JumpRequest:connect(onJumpRequest)