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