View difference between Paste ID: 4cyeNAXC and 35RFyrMQ
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(1,0.5,0)
63+
bbgTl.TextStrokeColor3 = Color3.new(0,0.3,0.85)
64-
bbgTl.TextColor3 = Color3.new(1,0.5,0)
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=703893300"
78+
s.SoundId = "http://www.roblox.com/asset/?id=732384930"
79-
s.Volume = 8
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-
snd='rbxassetid://347955300'
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.BrickColor=BrickColor.new('Gold')
150+
151
wep.BrickColor=BrickColor.new('Dark blue')
152
wep.Material='Neon'
153
wep.TopSurface,wep.BottomSurface=0,0
154
local wepw=weld(wep,char['Right Arm'],cf(.26,.4,.7),ang(0,0,8))
155
156
local beam=wep:Clone()
157
beam:ClearAllChildren()
158-
beam.BrickColor=BrickColor.new('Bright yellow')
158+
159
beam.BrickColor=BrickColor.new('Deep blue')
160
beam.Size=Vector3.new(3,3,1)
161
beam.Transparency=.5
162
beam.Anchored=true
163
local ms=Instance.new('BlockMesh',beam)
164
local inner=beam:Clone()
165
inner.Transparency=0
166-
inner.BrickColor=BrickColor.new('Bright yellow')
166+
167
inner.BrickColor=BrickColor.new('Deep blue')
168
local ms2=inner.Mesh
169
170
local expl=inner:Clone()
171
expl.Mesh:Destroy()
172-
expl.BrickColor=BrickColor.new('Deep orange')
172+
173
expl.BrickColor=BrickColor.new('Electric blue')
174
expl.Size=Vector3.new(11,11,11)
175
expl.Transparency=.55
176
pl=Instance.new('PointLight',expl)
177
pl.Color=expl.BrickColor.Color
178
pl.Range=pl.Range*2
179
pl.Name='light'
180
local br=pl.Range
181
182
local exa=expl:Clone()
183
exa.Size=Vector3.new(4,4,4)
184
pl2=exa.light
185
186
local part=exa:Clone()
187
part.Size=Vector3.new(1.5,1.5,1.5)
188
pl3=part.light
189
pms=Instance.new('BlockMesh',part)
190
191
char.Humanoid.Died:connect(function()
192
laser=false
193
beam.Parent=nil
194
inner.Parent=nil
195
expl.Parent=nil
196
exa.Parent=nil
197
s1:stop()
198
end)
199
200
mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
201
laser=true
202
s1.Volume=1.3
203
s1:play()
204
end end)
205
mouse.Button1Up:connect(function()
206
laser=false
207
beam.Parent=nil
208
inner.Parent=nil
209
expl.Parent=nil
210
exa.Parent=nil
211
s1:stop()
212
end)
213
214
parti=0
215
game:service'RunService'.Stepped:connect(function()
216
parti=parti+1
217
for i,v in pairs(particles) do
218
v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
219
v.Transparency=v.Transparency+.08
220
if v.Transparency >= 1 then
221
v:Destroy()
222
table.remove(particles,i)
223
else
224
v.Parent=beamm
225
end
226
end
227
a=cam.CoordinateFrame.p
228
b=mouse.Hit.p
229
mhitr=Ray.new(a,(b-a).unit*999)
230
mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
231
raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
232
law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
233
if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
234
char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
235
end
236
if laser then
237
beamm.Parent=workspace
238
beam.Parent=beamm
239
inner.Parent=beamm
240
expl.Parent=beamm
241-
s1.Volume=s1.Volume-0.0009
241+
242
s1.Volume=s1.Volume-0
243
244
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)
245
hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
246
247
if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
248
Instance.new('Explosion',workspace).Position=pos
249
end
250
if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
251
e=Instance.new('Explosion',workspace)
252
e.Position=pos
253
e.BlastRadius=14
254
e.BlastPressure=1e4
255
end
256
if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
257
hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass())
258
end
259
260
if parti==math.floor(parti) then
261
par=part:Clone()
262
table.insert(particles,par)
263
par.Parent=beamm
264
par.Transparency=1-s1.Volume
265
par.light.Range=br*s1.Volume
266
par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
267
end
268
269
mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
270
ms.Scale=v3(s1.Volume,s1.Volume,mag)
271
ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
272
beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
273
inner.CFrame=beam.CFrame
274
pl.Range=br*s1.Volume
275
pl2.Range=br*s1.Volume
276
expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
277
expl.Transparency=math.random(40,60)/100
278
expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
279
exa.Size=v3(4,4,4)*s1.Volume
280
exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
281
char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume)
282
end
283
end)
284
285
local UserInputService = game:GetService("UserInputService")
286
local localPlayer = game.Players.LocalPlayer
287
local character
288
local humanoid
289
 
290
local canDoubleJump = false
291
local hasDoubleJumped = false
292
local oldPower
293
local TIME_BETWEEN_JUMPS = 0.2
294
local DOUBLE_JUMP_POWER_MULTIPLIER = 2
295
local s = Instance.new("Sound",script.Parent)
296
function onJumpRequest()
297
	if not character or not humanoid or not character:IsDescendantOf(workspace) or
298
	 humanoid:GetState() == Enum.HumanoidStateType.Dead then
299
		return
300
	end
301
 
302
	if canDoubleJump and not hasDoubleJumped then
303
		hasDoubleJumped = true
304
		humanoid.JumpPower = oldPower * DOUBLE_JUMP_POWER_MULTIPLIER
305
		humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
306-
		s.SoundId = "rbxassetid://322832112"
306+
307
		s.SoundId = "rbxassetid://192604675"
308
		s.Volume = 50
309
		s.Looped = false
310
		s.Pitch = 1.1+math.random()*.3
311
		s.archivable = false
312
		wait()
313
		s:Play()
314
	end
315
end
316
 
317
local function characterAdded(newCharacter)
318
	character = newCharacter
319
	humanoid = newCharacter:WaitForChild("Humanoid")
320
	hasDoubleJumped = false
321
	canDoubleJump = false
322
	oldPower = humanoid.JumpPower
323
 
324
	humanoid.StateChanged:connect(function(old, new)
325
		if new == Enum.HumanoidStateType.Landed then
326
			canDoubleJump = false
327
			hasDoubleJumped = false
328
			humanoid.JumpPower = oldPower
329
		elseif new == Enum.HumanoidStateType.Freefall then
330
			wait(TIME_BETWEEN_JUMPS)
331
			canDoubleJump = true
332
		end
333
	end)
334
end
335
336
bbgTl.Text = "Oof Cannon Edit By Memo1332"
337
wait(3)
338
bbgTl.Text = " "
339
340
if localPlayer.Character then
341
	characterAdded(localPlayer.Character)
342
end
343
 
344
localPlayer.CharacterAdded:connect(characterAdded)
345
UserInputService.JumpRequest:connect(onJumpRequest)