View difference between Paste ID: cHCnrMaD and kntrbkRx
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
                   
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
            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(0,0.3,0.85)
64
bbgTl.TextColor3 = Color3.new(0,0,0.6)
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
s.Name = "Sound"
78
s.SoundId = "http://www.roblox.com/asset/?id=732384930"
79
s.Volume = 11
80
s.Looped = true
81
s.Archivable = false
82
s.Looped = true
83
s.Pitch = 1.3
84
s.Parent = game.Workspace
85
s:Play()
86
Plr.Character.Humanoid.WalkSpeed = 135
87
end
88
end)
89
90
Mouse.KeyUp:connect(function(KeyUp)
91
if KeyUp == "0" then
92
Plr.Character.Humanoid.WalkSpeed = 16
93
s:Stop()
94
end
95
end)
96
97
local new=Instance.new
98
local rad=math.rad
99
local cf=CFrame.new
100
local v3=Vector3.new
101
local ang=function(x,y,z)
102
return CFrame.Angles(rad(x),rad(y),rad(z))
103
end
104
local player=game:service'Players'.LocalPlayer
105
local char=player.Character
106
local cam=workspace.Camera
107
local mouse=player:GetMouse()
108
local weld=function(a,b,c0,c1)
109
m=Instance.new('Motor',a)
110
m.Part0=a
111
m.Part1=b
112
m.C0=c0
113
m.C1=c1
114
return m
115
end
116
117
snd='rbxassetid://262300125'
118
beamm=Instance.new('Model',workspace)
119
beamm.Name='beam'
120
121
laser=false
122
123
rs=Instance.new('Part',char)
124
rs.Transparency=1
125
rs.CanCollide=false
126
rs.BrickColor=BrickColor.new('Forest green')
127
rs.TopSurface,rs.BottomSurface=0,0
128
rs.FormFactor=3
129
rs.Size=Vector3.new(.5,.5,2)
130
131
ls=rs:Clone()
132
ls.Parent=char
133
134
rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf())
135
lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
136
raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
137
law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
138
139
s1=Instance.new('Sound',char)
140
s1.Volume=20
141
s1.Pitch=1.3
142
s1.Looped=true
143
s1.SoundId=snd
144
145
particles={}
146
147
local wep=new('Part',char)
148
wep.FormFactor=3
149
wep.CanCollide=false
150
wep.Size=v3(1.3,6,1.3)
151
wep.BrickColor=BrickColor.new('Dark blue')
152
wep.Material='Glass'
153
wep.Transparency = 0.6
154
wep.TopSurface,wep.BottomSurface=0,0
155
local wepw=weld(wep,char['Right Arm'],cf(.26,.4,.7),ang(0,0,8))
156
157
local beam=wep:Clone()
158
beam:ClearAllChildren()
159
beam.Material='Glass'
160
beam.BrickColor=BrickColor.new('Deep blue')
161
beam.Size=Vector3.new(3,3,1)
162
beam.Transparency=.5
163
beam.Anchored=true
164
local ms=Instance.new('BlockMesh',beam)
165
local inner=beam:Clone()
166
inner.Transparency=0.3
167-
inner.Material='Neon'
167+
inner.Material='Glass'
168
inner.BrickColor=BrickColor.new('Deep blue')
169
local ms2=inner.Mesh
170
171
local expl=inner:Clone()
172
expl.Mesh:Destroy()
173
expl.Material='Glass'
174
expl.BrickColor=BrickColor.new('Electric blue')
175
expl.Size=Vector3.new(11,11,11)
176
expl.Transparency=.55
177
pl=Instance.new('PointLight',expl)
178
pl.Color=expl.BrickColor.Color
179
pl.Range=pl.Range*2
180
pl.Name='light'
181
local br=pl.Range
182
183
local exa=expl:Clone()
184
exa.Size=Vector3.new(4,4,4)
185
pl2=exa.light
186
187
local part=exa:Clone()
188
part.Size=Vector3.new(1.5,1.5,1.5)
189
pl3=part.light
190
pms=Instance.new('BlockMesh',part)
191
192
char.Humanoid.Died:connect(function()
193
laser=false
194
beam.Parent=nil
195
inner.Parent=nil
196
expl.Parent=nil
197
exa.Parent=nil
198
s1:stop()
199
end)
200
201
mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
202
laser=true
203-
s1.Volume=1.3
203+
204
s1:play()
205
end end)
206
mouse.Button1Up:connect(function()
207
laser=false
208
beam.Parent=nil
209
inner.Parent=nil
210
expl.Parent=nil
211
exa.Parent=nil
212
s1:stop()
213
end)
214
215
parti=0
216
game:service'RunService'.Stepped:connect(function()
217
parti=parti+1
218
for i,v in pairs(particles) do
219
v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
220
v.Transparency=v.Transparency+.08
221
if v.Transparency >= 1 then
222
v:Destroy()
223
table.remove(particles,i)
224
else
225
v.Parent=beamm
226
end
227
end
228
a=cam.CoordinateFrame.p
229
b=mouse.Hit.p
230
mhitr=Ray.new(a,(b-a).unit*999)
231
mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
232
raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
233
law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
234
if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
235
char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
236
end
237
if laser then
238
beamm.Parent=workspace
239
beam.Parent=beamm
240
inner.Parent=beamm
241
expl.Parent=beamm
242
exa.Parent=beamm
243-
s1.Volume=s1.Volume-0
243+
s1.Volume=s1.Volume+0.005
244
245
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)
246
hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
247
248
if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
249
Instance.new('Explosion',workspace).Position=pos
250-
local soof = Instance.new("Sound",script.Parent)
250+
251-
soof.Name = "Sound"
251+
252-
soof.SoundId = "http://www.roblox.com/asset/?id=322832112"
252+
253-
soof.Volume = 10
253+
254-
soof.Looped = false
254+
255-
soof.Pitch = 1.1+math.random()*.5
255+
256-
soof.archivable = false
256+
257-
wait()
257+
258-
soof:play()
258+
259
end
260
261
if parti==math.floor(parti) then
262
par=part:Clone()
263
table.insert(particles,par)
264
par.Parent=beamm
265-
local soof = Instance.new("Sound",script.Parent)
265+
266-
soof.Name = "Sound"
266+
267-
soof.SoundId = "http://www.roblox.com/asset/?id=322832112"
267+
268-
soof.Volume = 10
268+
269-
soof.Looped = false
269+
270-
soof.Pitch = 1.1+math.random()*.5
270+
271-
soof.archivable = false
271+
ms.Scale=v3(1.3)
272-
wait()
272+
273-
soof:play()
273+
274
inner.CFrame=beam.CFrame
275
pl.Range=br*s1.Volume
276
pl2.Range=br*s1.Volume
277
expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
278
expl.Transparency=math.random(40,60)/100
279
expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
280
exa.Size=v3(4,4,4)*s1.Volume
281
exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
282
char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
283
end
284
end)
285
286
local UserInputService = game:GetService("UserInputService")
287
local localPlayer = game.Players.LocalPlayer
288
local character
289-
ms.Scale=v3(s1.Volume,s1.Volume,mag)
289+
290
 
291
local canDoubleJump = false
292
local hasDoubleJumped = false
293
local oldPower
294
local TIME_BETWEEN_JUMPS = 0.2
295
local DOUBLE_JUMP_POWER_MULTIPLIER = 2
296
local s = Instance.new("Sound",script.Parent)
297
function onJumpRequest()
298
	if not character or not humanoid or not character:IsDescendantOf(workspace) or
299
	 humanoid:GetState() == Enum.HumanoidStateType.Dead then
300
		return
301
	end
302
 
303
	if canDoubleJump and not hasDoubleJumped then
304
		hasDoubleJumped = true
305
		humanoid.JumpPower = oldPower * DOUBLE_JUMP_POWER_MULTIPLIER
306
		humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
307
		s.Name = "Sound"
308
		s.SoundId = "rbxassetid://192604675"
309
		s.Volume = 50
310
		s.Looped = false
311
		s.Pitch = 1.1+math.random()*.3
312
		s.archivable = false
313
		wait()
314
		s:Play()
315
	end
316
end
317
 
318
local function characterAdded(newCharacter)
319
	character = newCharacter
320
	humanoid = newCharacter:WaitForChild("Humanoid")
321
	hasDoubleJumped = false
322
	canDoubleJump = false
323
	oldPower = humanoid.JumpPower
324
 
325
	humanoid.StateChanged:connect(function(old, new)
326
		if new == Enum.HumanoidStateType.Landed then
327
			canDoubleJump = false
328
			hasDoubleJumped = false
329
			humanoid.JumpPower = oldPower
330
		elseif new == Enum.HumanoidStateType.Freefall then
331
			wait(TIME_BETWEEN_JUMPS)
332
			canDoubleJump = true
333
		end
334
	end)
335
end
336
337
bbgTl.Text = "Oof Cannon Edit By Memo1332"
338
wait(3)
339
bbgTl.Text = " "
340
341
if localPlayer.Character then
342
	characterAdded(localPlayer.Character)
343
end
344
 
345
localPlayer.CharacterAdded:connect(characterAdded)
346
UserInputService.JumpRequest:connect(onJumpRequest)