View difference between Paste ID: J6twXgtd and QW2s01jD
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
local RealPlayer = Player
4
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
5
6
Name=game.Players.LocalPlayer.Name
7
local player=game.Players[Name]
8
local char=player.Character
9
local Suit=false
10
local Tag=Instance.new("ObjectValue")
11
Tag.Name="creator"
12
Tag.Value=player
13
local Welds={}
14
 
15
if script.Parent.className~="HopperBin" then
16
local h=Instance.new("HopperBin")
17
h.Name="Ice reaper"
18
h.Parent=player.Backpack
19
script.Parent=h
20
end
21
pcall(function() char.Sword:remove() end)
22
pcall(function() char.Sheath:remove() end)
23
pcall(function() char.Suit:remove() end)
24
local m=Instance.new("Model")
25
m.Name="Sword"
26
m.Parent=char
27
local otherm=Instance.new("Model")
28
otherm.Name="Sheath"
29
otherm.Parent=char
30
 
31
--SWORD--
32
local p=Instance.new("Part")
33
p.Size=Vector3.new(1,3,1)
34
p.BrickColor=BrickColor.new("Royal purple")
35
p.Reflectance=0.4
36
p.CanCollide=false
37
p.Parent=m
38
local mes=Instance.new("BlockMesh")
39
mes.Parent=p
40
mes.Scale=Vector3.new(0.4,1.2,0.2)
41
local w=Instance.new("Weld")
42
w.Parent=p
43
w.Part1=p
44
w.Part0=char.Torso
45
w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150))
46
w.C1=CFrame.new(0,0.25,0)
47
local HoldWeld=w
48
local Blade=p
49
Welds["MAIN"]=HoldWeld
50
local p=Instance.new("Part")
51
p.Size=Vector3.new(1,3,1)
52
p.BrickColor=BrickColor.new("Magenta")
53
p.Parent=m
54
local mes=Instance.new("BlockMesh")
55
mes.Parent=p
56
mes.Scale=Vector3.new(0.02,1,0.21)
57
local w=Instance.new("Weld")
58
w.Parent=p
59
w.Part1=p
60
w.Part0=Blade
61
w.C0=CFrame.new(0,-.2,0)
62
local p=Instance.new("Part")
63
p.Size=Vector3.new(1,1,1)
64
p.BrickColor=BrickColor.new("White")
65
p.Parent=m
66
p.Reflectance=0.4
67
local mes=Instance.new("BlockMesh")
68
mes.Parent=p
69
mes.Scale=Vector3.new(0.6,.2,.3)
70
local w=Instance.new("Weld")
71
w.Parent=p
72
w.Part1=p
73
w.Part0=Blade
74
w.C0=CFrame.new(0,-1.45,0)
75
local p=Instance.new("Part")
76
p.Size=Vector3.new(1,1,1)
77
p.BrickColor=BrickColor.new("White")
78
p.Parent=m
79
p.Reflectance=0.4
80
local mes=Instance.new("BlockMesh")
81
mes.Parent=p
82
mes.Scale=Vector3.new(0.4,.2,.3)
83
local w=Instance.new("Weld")
84
w.Parent=p
85
w.Part1=p
86
w.Part0=Blade
87
w.C0=CFrame.new(0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(30))
88
local p=Instance.new("Part")
89
p.Size=Vector3.new(1,1,1)
90
p.BrickColor=BrickColor.new("White")
91
p.Parent=m
92
p.Reflectance=0.4
93
local mes=Instance.new("BlockMesh")
94
mes.Parent=p
95
mes.Scale=Vector3.new(0.4,.2,.3)
96
local w=Instance.new("Weld")
97
w.Parent=p
98
w.Part1=p
99
w.Part0=Blade
100
w.C0=CFrame.new(-0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(-30))
101
local p=Instance.new("Part")
102
p.Size=Vector3.new(1,1,1)
103
p.BrickColor=BrickColor.new("Grey")
104
p.Parent=m
105
local mes=Instance.new("CylinderMesh")
106
mes.Parent=p
107
mes.Scale=Vector3.new(.2,1.25,.2)
108
local w=Instance.new("Weld")
109
w.Parent=p
110
w.Part1=p
111
w.Part0=Blade
112
w.C0=CFrame.new(0,-2,0)
113
local p=Instance.new("Part")
114
p.Size=Vector3.new(1,1,1)
115
p.BrickColor=BrickColor.new("Magenta")
116
p.Parent=m
117
p.Reflectance=0.4
118
local mes=Instance.new("CylinderMesh")
119
mes.Parent=p
120
mes.Scale=Vector3.new(.21,.1,.21)
121
local w=Instance.new("Weld")
122
w.Parent=p
123
w.Part1=p
124
w.Part0=Blade
125
w.C0=CFrame.new(0,-2.75,0)
126
for i=1,10 do
127
local p=Instance.new("Part")
128
p.Size=Vector3.new(1,1,1)
129
p.BrickColor=BrickColor.new("Alder")
130
p.Parent=m
131
local mes=Instance.new("CylinderMesh")
132
mes.Parent=p
133
mes.Scale=Vector3.new(.21,.05,.21)
134
local w=Instance.new("Weld")
135
w.Parent=p
136
w.Part1=p
137
w.Part0=Blade
138
w.C0=CFrame.new(0,-2.7+.9*(i/9),0)
139
end
140
local p=Instance.new("Part")
141
p.Size=Vector3.new(1,1,1)
142
p.BrickColor=BrickColor.new("Royal purple")
143
p.Parent=m
144
p.Reflectance=0.4
145
local mes=Instance.new("BlockMesh")
146
mes.Parent=p
147
mes.Scale=Vector3.new(.28,.24,.205)
148
local w=Instance.new("Weld")
149
w.Parent=p
150
w.Part1=p
151
w.Part0=Blade
152
w.C0=CFrame.new(0,1.45,0)*CFrame.Angles(0,0,math.rad(-45))
153
local Tip=p
154
--/SWORD--
155
 
156
--SHEATH--
157
local p=Instance.new("Part")
158
p.Size=Vector3.new(1,3,1)
159
p.Reflectance=0.4
160
p.BrickColor=BrickColor.new("Royal purple")
161
p.Parent=otherm
162
local mes=Instance.new("BlockMesh")
163
mes.Parent=p
164
mes.Scale=Vector3.new(0.6,1.2,0.3)
165
local w=Instance.new("Weld")
166
w.Parent=p
167
w.Part1=p
168
w.Part0=char.Torso
169
w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(-30))
170
local Back=p
171
local p=Instance.new("Part")
172
p.Size=Vector3.new(1,1,1)
173
p.BrickColor=BrickColor:White()
174
p.Parent=otherm
175
local mes=Instance.new("BlockMesh")
176
mes.Parent=p
177
mes.Scale=Vector3.new(0.1,.25,0.31)
178
local w=Instance.new("Weld")
179
w.Parent=p
180
w.Part1=p
181
w.Part0=Back
182
w.C0=CFrame.new(-0.1,-1.5,0)*CFrame.Angles(0,0,math.rad(45))
183
local p=Instance.new("Part")
184
p.Size=Vector3.new(1,1,1)
185
p.BrickColor=BrickColor:White()
186
p.Parent=otherm
187
local mes=Instance.new("BlockMesh")
188
mes.Parent=p
189
mes.Scale=Vector3.new(0.1,.25,0.31)
190
local w=Instance.new("Weld")
191
w.Parent=p
192
w.Part1=p
193
w.Part0=Back
194
w.C0=CFrame.new(0.1,-1.5,0)*CFrame.Angles(0,0,math.rad(-45))
195
local p=Instance.new("Part")
196
p.Size=Vector3.new(1,1,1)
197
p.BrickColor=BrickColor:White()
198
p.Parent=otherm
199
local mes=Instance.new("BlockMesh")
200
mes.Parent=p
201
mes.Scale=Vector3.new(0.1,.25,0.31)
202
local w=Instance.new("Weld")
203
w.Parent=p
204
w.Part1=p
205
w.Part0=Back
206
w.C0=CFrame.new(-0.1,1.29,0)*CFrame.Angles(0,0,math.rad(-45))
207
local p=Instance.new("Part")
208
p.Size=Vector3.new(1,1,1)
209
p.BrickColor=BrickColor:White()
210
p.Parent=otherm
211
local mes=Instance.new("BlockMesh")
212
mes.Parent=p
213
mes.Scale=Vector3.new(0.1,.25,0.31)
214
local w=Instance.new("Weld")
215
w.Parent=p
216
w.Part1=p
217
w.Part0=Back
218
w.C0=CFrame.new(0.1,1.29,0)*CFrame.Angles(0,0,math.rad(45))
219
local p=Instance.new("Part")
220
p.Size=Vector3.new(1,3,1)
221
p.BrickColor=BrickColor:White()
222
p.Parent=otherm
223
local mes=Instance.new("BlockMesh")
224
mes.Parent=p
225
mes.Scale=Vector3.new(0.1,1.25,0.32)
226
local w=Instance.new("Weld")
227
w.Parent=p
228
w.Part1=p
229
w.Part0=Back
230
w.C0=CFrame.new(0,-0.25/2.5,0)
231
local p=Instance.new("Part")
232
p.Size=Vector3.new(1,3,1)
233
p.BrickColor=BrickColor.new("Magenta")
234
p.Parent=otherm
235
local mes=Instance.new("BlockMesh")
236
mes.Parent=p
237
mes.Scale=Vector3.new(0.02,1.12,0.325)
238
local w=Instance.new("Weld")
239
w.Parent=p
240
w.Part1=p
241
w.Part0=Back
242
w.C0=CFrame.new(0,0,0)
243
local p=Instance.new("Part")
244
p.Size=Vector3.new(1,1,1)
245
p.BrickColor=BrickColor:White()
246
p.Parent=otherm
247
local mes=Instance.new("BlockMesh")
248
mes.Parent=p
249
mes.Scale=Vector3.new(0.1,.25,0.31)
250
local w=Instance.new("Weld")
251
w.Parent=p
252
w.Part1=p
253
w.Part0=Back
254
w.C0=CFrame.new(0.1,.25/2,0)*CFrame.Angles(0,0,math.rad(45))
255
local p=Instance.new("Part")
256
p.Size=Vector3.new(1,1,1)
257
p.BrickColor=BrickColor:White()
258
p.Parent=otherm
259
local mes=Instance.new("BlockMesh")
260
mes.Parent=p
261
mes.Scale=Vector3.new(0.1,.25,0.31)
262
local w=Instance.new("Weld")
263
w.Parent=p
264
w.Part1=p
265
w.Part0=Back
266
w.C0=CFrame.new(-0.1,.25/2,0)*CFrame.Angles(0,0,math.rad(-45))
267
local p=Instance.new("Part")
268
p.Size=Vector3.new(1,1,1)
269
p.BrickColor=BrickColor:White()
270
p.Parent=otherm
271
local mes=Instance.new("BlockMesh")
272
mes.Parent=p
273
mes.Scale=Vector3.new(0.1,.25,0.31)
274
local w=Instance.new("Weld")
275
w.Parent=p
276
w.Part1=p
277
w.Part0=Back
278
w.C0=CFrame.new(0.1,-.25/2,0)*CFrame.Angles(0,0,math.rad(-45))
279
local p=Instance.new("Part")
280
p.Size=Vector3.new(1,1,1)
281
p.BrickColor=BrickColor:White()
282
p.Parent=otherm
283
local mes=Instance.new("BlockMesh")
284
mes.Parent=p
285
mes.Scale=Vector3.new(0.1,.25,0.31)
286
local w=Instance.new("Weld")
287
w.Parent=p
288
w.Part1=p
289
w.Part0=Back
290
w.C0=CFrame.new(-0.1,-.25/2,0)*CFrame.Angles(0,0,math.rad(45))
291
local p=Instance.new("Part")
292
p.Size=Vector3.new(1,3,1)
293
p.BrickColor=BrickColor.new("Alder")
294
p.Parent=otherm
295
local mes=Instance.new("BlockMesh")
296
mes.Parent=p
297
mes.Scale=Vector3.new(0.55,.5,0.25)
298
local w=Instance.new("Weld")
299
w.Parent=p
300
w.Part1=p
301
w.Part0=Back
302
w.C0=CFrame.new(0,.85,0)
303
local p=Instance.new("Part")
304
p.Size=Vector3.new(1,1,1)
305
p.BrickColor=BrickColor.new("Royal purple")
306
p.Parent=m
307
p.Reflectance=0.4
308
local mes=Instance.new("BlockMesh")
309
mes.Parent=p
310
mes.Scale=Vector3.new(.42,.35,.305)
311
local w=Instance.new("Weld")
312
w.Parent=p
313
w.Part1=p
314
w.Part0=Back
315
w.C0=CFrame.new(0,-1.45,0)*CFrame.Angles(0,0,math.rad(-45))
316
for _,v in pairs(otherm:children()) do
317
v.CanCollide=false
318
v.Locked=true
319
end
320
--/SHEATH--
321
 
322
b=Instance.new("IntValue")
323
b.Value=0
324
b.Parent=char.Sword
325
function Click()
326
if b.Value~=0 then
327
pcall(function() DCLICK:disconnect() end)
328
wait(0.25)
329
Button()
330
wait()
331
DCLICK=b.Changed:connect(Click)
332
end
333
end
334
DCLICK=b.Changed:connect(Click)
335
 
336
Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
337
 
338
function Button(mouse)
339
if b.Value==1 then
340
local rw=Welds["rw"]
341
for i=0,0.7,0.1 do
342
wait()
343
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(-6),0)
344
rw.C0 = CFrame.new(0, 0.5, 0)
345
end
346
wait()
347
for i=0,0.4,0.1 do
348
wait()
349
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
350
rw.C0 = rw.C0*CFrame.new(0, 0.1, 0)
351
end
352
wait()
353
for i=0,0.4,0.1 do
354
wait()
355
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
356
rw.C0 = rw.C0*CFrame.new(0, -0.1, 0)
357
end
358
for i=0,0.9,0.1 do
359
wait()
360
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-4.5), math.rad(6),0)
361
rw.C0 = CFrame.new(0, 0.5, 0)
362
end
363
rw.C0=OrgR0
364
rw.C1=OrgR1
365
b.Value=0
366
else
367
local rw=Welds["rw"]
368
for i=0,0.3,0.1 do
369
wait()
370
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
371
rw.C0 = CFrame.new(0, 0.5, 0)
372
end
373
wait()
374
for i=0,1,0.5 do
375
wait()
376
rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
377
rw.C0 = CFrame.new(0, 0.5, 0)
378
end
379
for i=0,1,0.1 do
380
wait()
381
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10), 0,0)
382
rw.C0 = CFrame.new(0, 0.5, 0)
383
end
384
for i=0,0.3,0.1 do
385
wait()
386
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10), 0,0)
387
rw.C0 = CFrame.new(0, 0.5, 0)
388
end
389
wait()
390
for i=0,0.3,0.1 do
391
wait()
392
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
393
rw.C0 = CFrame.new(0, 0.5, 0)
394
end
395
rw.C0=OrgR0
396
rw.C1=OrgR1
397
b.Value=0
398
end
399
end
400
 
401
function Charge()
402
local rw=Welds["rw"]
403
for i=0,1.2,0.1 do
404
wait()
405
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(6),math.rad(2))
406
rw.C0 = CFrame.new(0, 0.5, 0)
407
end
408
wait()
409
for i=1,6 do
410
wait()
411
local Laz=Instance.new("Part")
412
Laz.Anchored=false
413
Laz.BrickColor=BrickColor.new("Royal purple")
414
Laz.Reflectance=0
415
Laz.Shape="Ball"
416
Laz.Transparency=1-i/9
417
Laz.TopSurface="Smooth"
418
Laz.BottomSurface="Smooth"
419
Laz.CanCollide=false
420
Laz.Size=Vector3.new(1,1,1)
421
Laz.Parent=char.Sword
422
w=Instance.new("Weld")
423
w.Part1=Laz
424
w.Part0=Blade
425
w.Parent=Laz
426
local Me=Instance.new("SpecialMesh")
427
Me.MeshType="Sphere"
428
Me.Parent=Laz
429
for i=1,7,0.75 do
430
Me.Scale = Vector3.new(i/2.5,i,i/2.5) 
431
wait()
432
end
433
Laz:remove()
434
end
435
end
436
 
437
function SHOCK()
438
Charge()
439
wait()
440
for i=0,0.7,0.1 do
441
wait()
442
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
443
rw.C0 = rw.C0*CFrame.new(0, 0, 0)
444
end
445
for i=1,35 do
446
p=Instance.new("Part")
447
p.Size=Vector3.new(1,9,7)
448
p.Transparency=0.2
449
p.BrickColor=BrickColor.new("Royal purple")
450
p.Reflectance=0.1
451
p.CanCollide=true
452
p.Velocity=Vector3.new(9000,300,0)
453
p.Touched:connect(function(h)
454
if h.Parent~=char and h.Parent.Parent~=char then
455
h.Anchored=false
456
h:BreakJoints()
457
h.Velocity=(h.Position-char.Torso.Position).unit*-500
458
end
459
end)
460
p.TopSurface="Smooth"
461
p.BottomSurface="Smooth"
462
p.Anchored=true
463
p.Parent=char
464
p.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(6+i,0,0)
465
Delay(0,function()
466
local p=p
467
for i=3,10 do
468
p.Transparency=i/10
469
wait()
470
end
471
p:remove()
472
end)
473
wait()
474
end
475
for i=0,0.7,0.1 do
476
wait()
477
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
478
rw.C0 = rw.C0*CFrame.new(0, 0, 0)
479
end
480
wait()
481
for i=0,1.2,0.1 do
482
wait()
483
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-6),math.rad(-2))
484
rw.C0 = CFrame.new(0, 0.5, 0)
485
end
486
rw.C0=OrgR0
487
rw.C1=OrgR1
488
end
489
 
490
function GATE()
491
local rw=Welds["rw"]
492
for i=0,0.3,0.1 do
493
wait(0.06)
494
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
495
rw.C0 = CFrame.new(0, 0.5, 0)
496
end
497
wait()
498
for i=0,2,0.5 do
499
wait(0.06)
500
rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
501
rw.C0 = CFrame.new(0, 0.5, 0)
502
end
503
wait()
504
local b=Instance.new("BodyPosition")
505
b.position=char.Torso.Position+Vector3.new(0,30,0)
506
b.maxForce=Vector3.new(200,999999999,200)
507
b.Parent=char.Torso
508
wait(0.75)
509
for i=0,2,0.5 do
510
wait(0.05)
511
local p=Blade:Clone()
512
p.Transparency=0.5
513
p.Reflectance=0
514
p.BrickColor=BrickColor.new("Royal purple")
515
p.Anchored=true
516
p.CanCollide=false
517
p.Parent=char
518
Delay(0.75,function() p:remove() end)
519
rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*i, 0,0)
520
rw.C0 = CFrame.new(0, 0.5, 0)
521
end
522
b:remove()
523
function Check(d)
524
for _,v in pairs(game.Players:getPlayers()) do
525
if v.Name~=Name and v.Character and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position-Star.Position).magnitude<d then
526
v.Character.Humanoid:TakeDamage(5)
527
v.Character.Humanoid.PlatformStand=true
528
v.Character.Torso.Velocity=(v.Character.Torso.Position-Star.Position).unit*120
529
end
530
end
531
end
532
wait(0.5)
533
Tor=Instance.new("Part")
534
Tor.Size=Vector3.new(1,1,1)
535
Tor.BrickColor=BrickColor.new("Royal purple")
536
Tor.Reflectance=0
537
Tor.Anchored=true
538
Tor.Transparency=1
539
Tor.CanCollide=false
540
Tor.Parent=char
541
Tor.TopSurface="Weld"
542
Star=Tor
543
Mesh=Instance.new("CylinderMesh")
544
Mesh.Parent=Tor
545
Mesh.Scale=Vector3.new(3,1.2,3) 
546
Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
547
Delay(0.1,function()
548
for i=1,40 do
549
wait()
550
Mesh.Scale=Mesh.Scale+Vector3.new(1,0,1)
551
Star.Transparency=i/50
552
Dist=Mesh.Scale.x/2
553
Check(Dist)
554
end
555
Tor:remove()
556
end)
557
for i=0,0.3,0.1 do
558
wait(0.06)
559
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
560
rw.C0 = CFrame.new(0, 0.5, 0)
561
end
562
rw.C0=OrgR0
563
rw.C1=OrgR1
564
end
565
 
566
function GHOST()
567
--Use animation for the bustersword shooting projectile
568
--When landed, become minor blackhole, sucking people in w/ minor damage
569
--when done, explode into spikey explosion =D Massive damage
570
end
571
 
572
 
573
function PORT(mouse)
574
local mouset=mouse.Target
575
local mouseh=mouse.Hit
576
if mouset then
577
local Laz=Instance.new("Part")
578
Laz.Anchored=false
579
Laz.BrickColor=BrickColor.new("Royal purple")
580
Laz.Reflectance=0
581
Laz.Transparency=1
582
Laz.Shape="Ball"
583
Laz.TopSurface="Smooth"
584
Laz.BottomSurface="Smooth"
585
Laz.CanCollide=false
586
Laz.Size=Vector3.new(1,1,1)
587
Laz.CFrame=char.Torso.CFrame
588
Laz.Parent=char.Torso
589
Laz.Transparency=1
590
w = Instance.new("Weld") 
591
w.Parent = Laz
592
w.Part0 = w.Parent 
593
w.Part1 = char.Torso
594
w.C0 = CFrame.new(0,0,0)
595
local Me=Instance.new("SpecialMesh")
596
Me.MeshType="Sphere"
597
Me.Scale=Vector3.new(15,15,15) 
598
Me.Parent=Laz
599
for i=1,20 do
600
Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5)
601
Laz.Transparency=Laz.Transparency-1/20
602
wait()
603
end
604
char.Torso.CFrame=mouseh*CFrame.new(0,5,0)
605
for i=1,20 do
606
Me.Scale=Me.Scale+Vector3.new(0.5,0.5,0.5)
607
Laz.Transparency=i/20
608
wait()
609
end
610
Laz:remove()
611
end
612
end
613
 
614
 
615
function RUSH()
616
local rw=Welds["rw"]
617
for i=0,0.3,0.1 do
618
wait(0.06)
619
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
620
rw.C0 = CFrame.new(0, 0.5, 0)
621
end
622
wait()
623
for i=0,0.9,0.05 do
624
wait()
625
rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*(i/1), 0,0)
626
rw.C0 = CFrame.new(0, 0.5, 0)
627
end
628
wait()
629
local p=Instance.new("Part")
630
p.Locked=true
631
p.BrickColor=BrickColor.new("Royal purple")
632
p.Name="Lan"
633
p.CanCollide=false
634
p.Touched:connect(function(h)
635
if h.Parent~=char and h.Parent.Parent~=char and h.Name~="Base" then
636
h.Anchored=false
637
h:BreakJoints()
638
h.Velocity=(h.Position-char.Torso.Position).unit*500
639
end
640
end)
641
p.Size=Vector3.new(1,6,1)
642
Mesh=Instance.new("SpecialMesh")
643
Mesh.MeshType="FileMesh"
644
Mesh.Scale=Vector3.new(0.7,7.3,0.7)
645
Mesh.MeshId="http://roblox.com/asset/?id=1033714"
646
Mesh.Parent=p
647
p.Parent=char
648
w=Instance.new("Weld")
649
w.Part1=Blade
650
w.Part0=p
651
w.Parent=p
652
w.C0=CFrame.new(0,1,0)
653
local b=Instance.new("BodyVelocity")
654
b.maxForce = Vector3.new(math.huge,math.huge,math.huge)
655
b.velocity=char.Torso.CFrame.lookVector*65
656
b.Parent=char.Torso
657
for i=1,20 do
658
b.velocity=char.Torso.CFrame.lookVector*65
659
local blue=p:clone() 
660
blue.CanCollide=false 
661
blue.Anchored=true 
662
blue.CFrame=p.CFrame 
663
blue.BrickColor=BrickColor.new("Royal purple") 
664
blue.Parent=char
665
Delay(0,function() 
666
local blue=blue 
667
for i=1,5 do 
668
blue.Transparency=blue.Transparency+1/20 
669
wait() 
670
end 
671
blue:remove() 
672
end)
673
wait()
674
end
675
wait(0.05)
676
p:remove()
677
b:remove()
678
wait()
679
for i=0,0.2,0.05 do
680
wait()
681
rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*(i/1), 0,0)
682
rw.C0 = CFrame.new(0, 0.5, 0)
683
end
684
for i=0,0.3,0.1 do
685
wait(0.06)
686
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
687
rw.C0 = CFrame.new(0, 0.5, 0)
688
end
689
rw.C0=OrgR0
690
rw.C1=OrgR1
691
end
692
 
693
function NUKE()
694
Charge()
695
for i=0,0.7,0.1 do
696
wait()
697
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
698
rw.C0 = rw.C0*CFrame.new(0, 0, 0)
699
end
700
local Laz=Instance.new("Part")
701
Laz.Anchored=false
702
Laz.BrickColor=BrickColor.new("Royal purple")
703
Laz.Reflectance=0
704
Laz.Transparency=1
705
Laz.Shape="Ball"
706
Laz.TopSurface="Smooth"
707
Laz.BottomSurface="Smooth"
708
Laz.CanCollide=false
709
Laz.Size=Vector3.new(1,1,1)
710
Laz.CFrame=char.Torso.CFrame
711
Laz.Parent=char.Torso
712
Laz.Transparency=1
713
w = Instance.new("Weld") 
714
w.Parent = Laz
715
w.Part0 = w.Parent 
716
w.Part1 = char.Torso
717
w.C0 = CFrame.new(0,0,0)
718
local Me=Instance.new("SpecialMesh")
719
Me.MeshType="Sphere"
720
Me.Scale=Vector3.new(25,25,25) 
721
Me.Parent=Laz
722
for i=1,35 do
723
Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5)
724
Laz.Transparency=Laz.Transparency-1/35
725
wait()
726
end
727
Laz:remove()
728
local e=Instance.new("Explosion")
729
e.BlastRadius=22
730
e.BlastPressure=0
731
e.Position=char.Torso.Position
732
e.Hit:connect(function(p)
733
if p.Parent~=char and p.Parent.Parent~=char then
734
p.Anchored=false
735
p:BreakJoints()
736
p.Velocity=(p.Position-e.Position).unit*200
737
end
738
end)
739
e.Parent=char
740
for i=0,0.7,0.1 do
741
wait()
742
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
743
rw.C0 = rw.C0*CFrame.new(0, 0, 0)
744
end
745
wait()
746
for i=0,1.2,0.1 do
747
wait()
748
rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-6),math.rad(-2))
749
rw.C0 = CFrame.new(0, 0.5, 0)
750
end
751
rw.C0=OrgR0
752
rw.C1=OrgR1
753
end
754
 
755
De=0
756
Equip=false
757
function EQUIP(mouse)
758
if De==0 then
759
Equip=true
760
De=1
761
--pcall(function() game["LocalBackpack"]:children()[1]:remove() end)
762
rs=char.Torso["Right Shoulder"]
763
p1=rs.Part1
764
p0=rs.Part0
765
rs.Part0=nil
766
rw=Instance.new("Weld")
767
rw.Parent=char
768
rw.Part1=char.Torso
769
rw.Part0=char["Right Arm"]
770
rw.C1=CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0)
771
R1=rw.C1
772
R0=rw.C0
773
Arms["rw"]=rw
774
Welds["rw"]=rw
775
Weld=Welds["MAIN"]
776
for i=0,1,0.1 do
777
wait(0.05)
778
rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(270)*i, i,-i)
779
rw.C0 = CFrame.new(0, 0.5, 0)
780
end
781
pcall(function() Weld.Part0=char["Right Arm"]
782
Weld.C0=CFrame.new(0,-1.1,-2.35)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(180)) 
783
Connec=Blade.Touched:connect(function(h)
784
if h.Parent and h.Parent:findFirstChild("Humanoid") and not h.Parent:findFirstChild("Ice") and h.Parent.Name~=Name then
785
Tag:clone().Parent=h.Parent.Humanoid
786
h.Parent.Torso.Name="Ice"
787
h.Parent.Ice.Anchored=true
788
local i=Instance.new("Part")
789
i.Parent=h.Parent
790
i.Size=Vector3.new(5,7,5)
791
i.TopSurface="Smooth"
792
i.BottomSurface="Smooth"
793
i.Anchored=true
794
i.CFrame=h.Parent.Ice.CFrame
795
i.BrickColor=BrickColor.new("Royal purple")
796
i.Reflectance=0.4
797
i.Transparency=0.5
798
end
799
end)
800
end)
801
for i=0,1,0.5 do
802
wait(0.05)
803
rw.C1 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(135)-math.rad(67.5)*i, 0, math.rad(45-22.5*i))
804
rw.C0 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
805
end
806
wait()
807
for i=0,1,0.25 do
808
rw.C1=rw.C1*CFrame.Angles(math.rad(-3.5),math.rad(-2),math.rad(-6))
809
wait(0.05)
810
end
811
Delay(0,function()
812
while Equip==true do
813
wait(0.08)
814
local p=Instance.new("Part")
815
p.Size=Vector3.new(1,1,1)
816
p.Reflectance=0.3
817
p.BrickColor=BrickColor.new("Royal purple")
818
p.Anchored=true
819
p.CanCollide=false
820
p.Parent=char
821
p.CFrame=Blade.CFrame*CFrame.new(math.random(-1,1)*math.random(),math.random(-2,2)*math.random(),math.random(-1,1)*math.random())*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
822
local m=Instance.new("BlockMesh")
823
m.Scale=Vector3.new(0.15,0.15,0.15)
824
m.Parent=p
825
Delay(0,function()
826
local p=p
827
for i=1,3 do
828
wait(0.05)
829
p.Transparency=i/3
830
end
831
p:remove()
832
end)
833
end
834
end)
835
OrgR0=rw.C0
836
OrgR1=rw.C1
837
local rw=rw
838
mouse.Icon = "rbxasset://textures\\GunCursor.png"
839
mouse.Button1Down:connect(function() b.Value=b.Value+1 end)
840
Attack=false
841
mouse.KeyDown:connect(function(key)
842
if Attack==false then
843
if key=="q" then
844
Attack=true
845
SHOCK()
846
Attack=false
847
elseif key=="e" then
848
Attack=true
849
GATE()
850
Attack=false
851
elseif key=="r" then
852
Attack=true
853
RUSH()
854
Attack=false
855
elseif key=="t" then
856
Attack=true
857
GHOST()
858
Attack=false
859
elseif key=="y" then
860
Attack=true
861
PORT(mouse)
862
Attack=false
863
elseif key=="u" then
864
Attack=true
865
NUKE()
866
Attack=false
867
end
868
end
869
end)
870
wait()
871
De=0
872
end
873
end
874
--setfenv(EQUIP,getfenv(0))
875
script.Parent.Selected:connect(function(mouse)
876
EQUIP(mouse)
877
end)
878
script.Parent.Deselected:connect(function()
879
if Equip == false then
880
return
881
end
882
Equip=false
883
for i=0,1,0.1 do
884
rw.C1=rw.C1*CFrame.Angles(math.rad(17),math.rad(8),math.rad(4))
885
wait(0.04)
886
end
887
Welds["MAIN"].Part0=char.Torso
888
Welds["MAIN"].C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150))
889
Welds["MAIN"].C1=CFrame.new(0,0.25,0)
890
Connec:disconnect()
891
for i=0,1,0.1 do
892
rw.C1=rw.C1*CFrame.Angles(math.rad(-19),math.rad(-3),math.rad(-6))
893
wait()
894
end
895
pcall(function()
896
rs.Part0=p0
897
rs.Part1=p1
898
rs.Parent=char.Torso
899
rw:remove()
900
end)
901
end)
902
--Suit--
903
if Suit then
904
color=BrickColor:White()
905
color2=BrickColor.new("Dark stone grey")
906
pcall(function() char.Suit:remove() end)
907
model = Instance.new("Model") 
908
model.Parent = char 
909
model.Name = "Suit" 
910
Tors=Instance.new("Part")
911
Tors.Size=char.Torso.Size
912
Tors.BrickColor=color
913
Tors.Reflectance=0.75
914
Tors.CanCollide=false
915
Tors.Parent=model
916
Mesh=Instance.new("BlockMesh")
917
Mesh.Parent=Tors
918
Mesh.Scale=Vector3.new(1.01,0.9,1.01) 
919
w = Instance.new("Weld") 
920
w.Parent = char.Torso 
921
w.Part0 = w.Parent 
922
w.Part1 = Tors 
923
w.C0 = CFrame.new(0,0,0)
924
for _,v in pairs(char:children()) do
925
if string.sub(v.Name,1,4)=="Left" or string.sub(v.Name,1,4)=='Righ' then
926
Tor=Instance.new("Part")
927
Tor.Size=v.Size
928
Tor.BrickColor=color
929
Tor.Reflectance=0.75
930
Tor.CanCollide=false
931
Tor.Parent=model
932
Mesh=Instance.new("BlockMesh")
933
Mesh.Parent=Tor
934
Mesh.Scale=Vector3.new(1.01,0.9,1.01)
935
w = Instance.new("Weld") 
936
w.Parent = v 
937
w.Part0 = w.Parent 
938
w.Part1 = Tor 
939
w.C0 = CFrame.new(0,0,0)
940
Tor=Instance.new("Part")
941
Tor.Size=Vector3.new(1,1,1)
942
Tor.BrickColor=color
943
Tor.Reflectance=0.1
944
Tor.Locked=true
945
Tor.CanCollide=true
946
Tor.Parent=model
947
Tor.TopSurface="Smooth"
948
Tor.BottomSurface="Smooth"
949
Mesh=Instance.new("BlockMesh")
950
Mesh.Bevel=0.05
951
Mesh.Parent=Tor
952
Mesh.Scale=Vector3.new(1.1,0.4,1.1) 
953
w = Instance.new("Weld") 
954
w.Parent = v
955
w.Part0 = w.Parent 
956
w.Part1 = Tor 
957
w.C0 = CFrame.new(0,-0.6,0)
958
end
959
end
960
Tor=Instance.new("Part") 
961
Tor.Size=Vector3.new(1,1,1)
962
Tor.BrickColor=color2
963
Tor.CanCollide=false
964
Tor.Parent=model
965
Mesh=Instance.new("BlockMesh")
966
Mesh.Parent=Tor
967
Mesh.Scale=Vector3.new(.4,0.4,0.01) 
968
w = Instance.new("Weld") 
969
w.Parent = char.Torso
970
w.Part0 = w.Parent 
971
w.Part1 = Tor 
972
w.C0 = CFrame.new(0,0,-0.51)
973
Tor=Instance.new("Part")
974
Tor.Size=Vector3.new(1,1,1)
975
Tor.BrickColor=color2
976
Tor.CanCollide=false
977
Tor.Parent=model
978
Mesh=Instance.new("CylinderMesh")
979
Mesh.Parent=Tor
980
Mesh.Scale=Vector3.new(.5,0.5,0.049) 
981
w = Instance.new("Weld") 
982
w.Parent = char.Torso
983
w.Part0 = w.Parent 
984
w.Part1 = Tor 
985
w.C0 = CFrame.new(0,0,-0.49)*CFrame.Angles(0,0,math.rad(90))
986
Tor=Instance.new("Part")
987
Tor.Size=Vector3.new(1,1,1)
988
Tor.BrickColor=color2
989
Tor.CanCollide=false
990
Tor.Parent=model
991
Mesh=Instance.new("CylinderMesh")
992
Mesh.Parent=Tor
993
Mesh.Scale=Vector3.new(.5,0.5,0.049) 
994
w = Instance.new("Weld") 
995
w.Parent = char.Torso
996
w.Part0 = w.Parent 
997
w.Part1 = Tor 
998
w.C0 = CFrame.new(0,0,-0.49)
999
Tor=Instance.new("Part")
1000
Tor.Size=Vector3.new(1,1,1)
1001
Tor.BrickColor=color
1002
Tor.CanCollide=false
1003
Tor.Parent=model
1004
Mesh=Instance.new("SpecialMesh")
1005
Mesh.MeshType="Sphere"
1006
Mesh.Parent=Tor
1007
Mesh.Scale=Vector3.new(.25,.25,.25) 
1008
w = Instance.new("Weld") 
1009
w.Parent = char.Torso
1010
w.Part0 = w.Parent 
1011
w.Part1 = Tor 
1012
w.C0 = CFrame.new(0,0,-0.49)
1013
Tor=Instance.new("Part")
1014
Tor.Size=Vector3.new(1,1,1)
1015
Tor.BrickColor=color2
1016
Tor.CanCollide=false
1017
Tor.Parent=model
1018
Mesh=Instance.new("CylinderMesh")
1019
Mesh.Parent=Tor
1020
Mesh.Scale=Vector3.new(.5,0.5,0.049) 
1021
w = Instance.new("Weld") 
1022
w.Parent = char.Torso
1023
w.Part0 = w.Parent 
1024
w.Part1 = Tor 
1025
w.C0 = CFrame.new(0.27,0,-0.49)
1026
Tor=Instance.new("Part")
1027
Tor.Size=Vector3.new(1,1,1)
1028
Tor.BrickColor=color2
1029
Tor.CanCollide=false
1030
Tor.Parent=model
1031
Mesh=Instance.new("CylinderMesh")
1032
Mesh.Parent=Tor
1033
Mesh.Scale=Vector3.new(.5,0.5,0.049) 
1034
w = Instance.new("Weld") 
1035
w.Parent = char.Torso
1036
w.Part0 = w.Parent 
1037
w.Part1 = Tor 
1038
w.C0 = CFrame.new(-0.27,0,-0.49)
1039
Tor=Instance.new("Part")
1040
Tor.Size=Vector3.new(1,1,1)
1041
Tor.BrickColor=color2
1042
Tor.CanCollide=false
1043
Tor.Parent=model
1044
Mesh=Instance.new("CylinderMesh")
1045
Mesh.Parent=Tor
1046
Mesh.Scale=Vector3.new(.5,0.5,0.049) 
1047
w = Instance.new("Weld") 
1048
w.Parent = char.Torso
1049
w.Part0 = w.Parent 
1050
w.Part1 = Tor 
1051
w.C0 = CFrame.new(0,0.295,-0.49)*CFrame.Angles(0,0,math.rad(90))
1052
Tor=Instance.new("Part")
1053
Tor.Size=Vector3.new(1,1,1)
1054
Tor.BrickColor=color2
1055
Tor.CanCollide=false
1056
Tor.Parent=model
1057
Mesh=Instance.new("CylinderMesh")
1058
Mesh.Parent=Tor
1059
Mesh.Scale=Vector3.new(.5,0.5,0.049) 
1060
w = Instance.new("Weld") 
1061
w.Parent = char.Torso
1062
w.Part0 = w.Parent 
1063
w.Part1 = Tor 
1064
w.C0 = CFrame.new(0,-0.295,-0.49)*CFrame.Angles(0,0,math.rad(90))
1065
end
1066
--/Suit--
1067
 
1068
--MediaFire