View difference between Paste ID: k3kEy90f and JbTqjSNt
SHOW: | | - or go back to the newest paste.
1
repeat Wait()until Game.Players.LocalPlayer ~= nil;Player = Game.Players.LocalPlayer Tool = script.Parent if not script.Parent:IsA("Tool")then Tool = Instance.new("Tool",Player.Backpack)script.Parent = Tool end
2
Tool.Name = "Select me."
3
Tool.ToolTip = "I know it seems sketchy, just do it k."
4
local Mouse = Tool.Equipped:wait()
5
local Player = Game.Players.LocalPlayer
6
Character,PlayerGui,Power = Player.Character,Player.PlayerGui,0
7
RA,LA,RL,LL,H,T = Character["Right Arm"],Character["Left Arm"],Character["Right Leg"],Character["Left Leg"],Character.Head,Character.Torso
8
RS,LS,RH,LH,N = T["Right Shoulder"],T["Left Shoulder"],T["Right Hip"],T["Left Hip"],T.Neck
9-
Settings,Pr0mMode,ArielMode,InternalMode,AmazingMode = {Colors = {BrickColor.new("Really black"),BrickColor.new("New Yeller")};ExplosionColors = {BrickColor.new("Really black"),BrickColor.new("New Yeller"),BrickColor.new("Really red"),BrickColor.new("Institutional white")}},Player.Name == "kash5",Player.Name == "paul072" or Player.Name == "KillBecca62",Player.Name == "InternalRecursion" or Player.Name == "RecursionAltInternal",Player.Name == "heartstar18"
9+
Settings,Pr0mMode,ArielMode,InternalMode,AmazingMode = {Colors = {BrickColor.new("Really black"),BrickColor.new("New Yeller")};ExplosionColors = {BrickColor.new("Really black"),BrickColor.new("New Yeller"),BrickColor.new("Really red"),BrickColor.new("Institutional white")}},Player.Name == "Doodlez413",Player.Name == "Doodlez413" or Player.Name == "Doodlez413",Player.Name == "Doodlez413" or Player.Name == "Doodlez413",Player.Name == "Doodlez413"
10
StanceGyro = Instance.new("BodyGyro",T)
11
StanceGyro.maxTorque = Vector3.new(5000000000,5000000000,5000000000)*500000000000000
12
StanceGyro.P = 15000
13
StanceGyro.D = 750
14
StanceGyro.Name = "StanceGyro"
15
Power = math.huge
16
local Cam = Workspace.CurrentCamera
17
local function Kill(Obj)Obj.Parent:BreakJoints()end
18
local function TweenColor3x(Object,PropertyName,Start,End,Time,Async,StepCallback,Callback)
19
Object[PropertyName] = Start
20
local r,r2,g,g2,b,b2 = Start.r,End.r,Start.g,End.g,Start.b,End.b
21
local r3,g3,b3 = r,g,b
22
local Time = Time or 3
23
local function f()
24
for i = 1,Time *30 do
25
r3 = r3 +(r2 -r)/(Time *30)
26
g3 = g3 +(g2 -g)/(Time *30)
27
b3 = b3 +(b2 -b)/(Time *30)
28
Object[PropertyName] = Color3.new(r3,g3,b3)
29
Spawn(function()StepCallback(i,Time *30)end)
30
Wait()
31
end
32
return CallBack and Callback()
33
end if Async then
34
f = coroutine.wrap(f)
35
end return f()end
36
function Effect2(part,x1,y1,z1,x2,y2,z2,color,ref)
37
if part:IsDescendantOf(Workspace)then
38
local S = Instance.new("Part",Character)
39
S.FormFactor = 0
40
S.Size = Vector3.new(1,1,1)
41
S.BrickColor = color
42
S.Reflectance = ref or 0
43
S.TopSurface = 0
44
S.BottomSurface = 0
45
S.Transparency = 0.5
46
S.Anchored = true
47
S.CanCollide = false
48
S.CFrame = part.CFrame * CFrame.new(x2,y2,z2)* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
49
local msh2 = Instance.new("BlockMesh",S)
50
msh2.Scale = Vector3.new(x1,y1,z1)
51
coroutine.wrap(function()
52
for i = 1,9 do
53
msh2.Scale = msh2.Scale + Vector3.new(0.1,0.1,0.1)
54
S.CFrame = S.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
55
S.Transparency = i *0.1
56
Wait()
57
end
58
S:Destroy()
59
end)()end end
60
local function Explode(CF,Color,SMM,BBoom)
61
local cf = CF
62
local f = Instance.new("Part",Character)
63
f.BrickColor = Color
64
f.Size = Vector3.new(5,1,5)
65
f.Anchored = true
66
f.Locked = true
67
f.CanCollide = false
68
f.TopSurface = 0
69
f.BottomSurface = 0
70
f.CFrame = cf
71
local sm = Instance.new("SpecialMesh",f)
72
sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
73
sm.Scale = Vector3.new(5,5,5)
74
coroutine.wrap(function()
75
for i = 1,20 do
76
f.Transparency = f.Transparency +0.05
77
sm.Scale = sm.Scale + Vector3.new(10,10,10)
78
Wait()
79
end
80
f:Destroy()
81
end)()
82
if BBoom then do
83
local zs = BBoom
84
local ax = Instance.new("Part",Character)
85
ax.Size = Vector3.new(1,1,1)
86
ax.TopSurface = 0
87
ax.BottomSurface = 0
88
ax.Transparency = 0
89
ax.Locked = true
90
ax.BrickColor = Color
91
ax.Shape = "Ball"
92
ax.CanCollide = false
93
ax.CFrame = zs
94
ax.Anchored = true
95
local SMMx = Instance.new("SpecialMesh",ax)
96
SMMx.MeshId = "http://www.roblox.com/asset/?id=1323306"
97
SMMx.Scale = Vector3.new(1,1,1)
98
coroutine.wrap(function()
99
for i = 1,20 do
100
SMMx.Scale = SMMx.Scale + Vector3.new(math.random(1,3)+2,math.random(1,3)+2,math.random(1,3)+2)
101
ax.Transparency = ax.Transparency +0.05
102
ax.CFrame = zs
103
Wait()
104
end
105
ax:Destroy()
106
end)()end end
107
local ax = Instance.new("Part",Character)
108
ax.Size = Vector3.new(1,1,1)
109
ax.TopSurface = 0
110
ax.BottomSurface = 0
111
ax.Transparency = 0
112
ax.Locked = true
113
ax.BrickColor = Color
114
ax.Shape = "Ball"
115
ax.CanCollide = false
116
ax.CFrame = cf
117
ax.Anchored = true
118
local SMMx do if SMM then
119
SMMx = Instance.new("SpecialMesh",ax)
120
SMMx.MeshId = SMM
121
SMMx.Scale = Vector3.new(1,1,1)
122
end end
123
coroutine.wrap(function()
124
for i = 1,20 do
125
if SMM then
126
SMMx.Scale = SMMx.Scale + Vector3.new(math.random(1,3)+2,math.random(1,3)+2,math.random(1,3)+2)
127
else
128
ax.Size = ax.Size + Vector3.new(math.random(1,3)+2,math.random(1,3)+2,math.random(1,3)+2)
129
end
130
ax.Transparency = ax.Transparency +0.05
131
ax.CFrame = cf
132
Wait()
133
end
134
ax:Destroy()
135
end)()end
136
local function GetClosest(MaxDistance)
137
local Last,Lastx = MaxDistance +1
138
for i,v in pairs(Workspace:GetChildren())do
139
if v:IsA("Model")and v ~= Character and v:findFirstChild("Humanoid")and v:findFirstChild("Torso")and v:findFirstChild("Humanoid").Health > 0 then
140
local t = v.Torso
141
local dist = (t.Position -T.Position).magnitude
142
if dist <= MaxDistance then
143
if dist < Last then
144
Last = dist
145
Lastx = v
146
end end end end
147
return Lastx
148
end
149
local function StopJoints()
150
for i,v in pairs(T:GetChildren())do
151
if v:IsA("Moter6D")then
152
v.DesiredAngle = 0
153
v.CurrentAngle = 0
154
end end
155
N.MaxVelocity = 0.5
156
N.C0 = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)
157
end
158
function Direction()
159
if not Character then return{CFrame.new(0,0,0),CFrame.new(0,0,0)}end
160
return{CFrame.new(T.Position,Vector3.new(Cam.CoordinateFrame.x,T.Position.y,Cam.CoordinateFrame.z))* CFrame.fromEulerAnglesXYZ(0,math.pi,0),Vector3.new(Cam.CoordinateFrame.p.x,T.CFrame.p.y,Cam.CoordinateFrame.p.z)}
161
end
162
function FaceForward()
163
StanceGyro.cframe = Direction()[1]
164
return StanceGyro.cframe
165
end
166
local function TweenColor3(Object,PropertyName,Start,End,Time,Async,Callback)
167
Object[PropertyName] = Start
168
local r,r2,g,g2,b,b2 = Start.r,End.r,Start.g,End.g,Start.b,End.b
169
local r3,g3,b3 = r,g,b
170
local Time = Time or 3
171
local Callback = Callback or loadstring('')
172
local function f()
173
for i = 1,Time *30 do
174
r3 = r3 +(r2 -r)/(Time *30)
175
g3 = g3 +(g2 -g)/(Time *30)
176
b3 = b3 +(b2 -b)/(Time *30)
177
Object[PropertyName] = Color3.new(r3,g3,b3)
178
Wait()
179
end
180
return Callback(Object)
181
end if Async then
182
f = coroutine.wrap(f)
183
end return f()end
184
function Damage(Vec,Object,Bool,Amt,DontDisplayDmg)
185
if Object.Parent:findFirstChild("AtlasRegistration")and Object.Parent.Name == Character.Name then return end
186
if Object.Parent == Character then return end
187
local Dmg,Humanoid = math.random(50,85),Object.Parent:findFirstChild("Humanoid")
188
if Bool then Dmg = math.random(15,45)end
189
if Amt then Dmg = Amt end
190
if Humanoid and not HitDebounce then
191
HitDebounce = true
192
if RageMode then Dmg = Dmg *math.random(2,4)end
193
if Awakend then Dmg = Dmg *math.random(5,10)end
194
if Humanoid.Health -Dmg <= 0 then Tag(Humanoid)end
195
Humanoid:TakeDamage(Dmg)
196
CurrentVictim = Object.Parent
197
local _CON = Humanoid.Died:connect(function()
198
LastKill = tick()
199
--Tag(Humanoid)
200
--DoScript(Game.Players:GetPlayerFromCharacter(Object.Parent),"CheckAndKill")
201
end)
202
delay(0.1,function()_CON:disconnect()end)
203
--DamageGui(Dmg)
204
coroutine.wrap(function()
205
if DontDisplayDmg then return end
206
local Head = Object.Parent:findFirstChild("Head")
207
if not Head then return end
208
for i = 1,3 do
209
local clr = Settings.Colors[2].Color
210
local bg = Instance.new("BillboardGui",Object.Parent)
211
bg.Adornee = Head
212
bg.Size = UDim2.new(1,0,1,0)
213
bg.StudsOffset = Vector3.new(0,2,0)
214
local txt = Instance.new("TextLabel",bg)
215
txt.Size = UDim2.new(0.55,0,0.55,0)
216
txt.BackgroundTransparency = 1
217
txt.TextColor3 = clr
218
txt.TextTransparency = 1
219
txt.TextScaled = true
220
local sign = Dmg > 0 and '-' or '+'
221
txt.Text = sign..tostring(Dmg)
222
txt.TextWrapped = false
223
txt.Font = "SourceSansBold"
224
local x,y,z,r,g,b = clr.r,clr.b,clr.g,clr.r,clr.b,clr.g
225
coroutine.wrap(function()
226
for i = 1,10 do
227
txt.TextTransparency = txt.TextTransparency -0.1
228
bg.StudsOffset = Vector3.new(0,i/2,0)
229
bg.Size = UDim2.new(bg.Size.X.Scale +i/6,0,bg.Size.Y.Scale +i/6,0)
230
x = x +(Settings.Colors[2].Color.r -r)/10
231
y = y +(Settings.Colors[2].Color.g -g)/10
232
z = z +(Settings.Colors[2].Color.b -b)/10
233
clr = Color3.new(x,y,z)
234
txt.TextColor3 = clr
235
Wait()
236
end
237
local d = false
238
coroutine.wrap(function()
239
while not d do
240
bg.StudsOffset = bg.StudsOffset + Vector3.new(0,0.1,0)
241
Wait()
242
end end)()
243
Wait(3)
244
d = true
245
local x,y,z,r,g,b = clr.r,clr.b,clr.g,0,0,0
246
for i = 1,11 do
247
bg.StudsOffset = bg.StudsOffset + Vector3.new(0,0.43,0)
248
x = x +(Settings.Colors[2].Color.r -r)/11
249
y = y +(Settings.Colors[2].Color.g -g)/11
250
z = z +(Settings.Colors[2].Color.b -b)/11
251
clr = Color3.new(x,y,z)
252
txt.TextColor3 = clr
253
bg.Size = UDim2.new(bg.Size.X.Scale -i/6,0,bg.Size.Y.Scale -i/6,0)
254
Wait()
255
if i >= 5 then
256
txt.TextTransparency = txt.TextTransparency +0.2
257
end end
258
bg:Destroy()
259
end)()
260
Wait()
261
end end)()
262
for i,v in pairs(Object.Parent:GetChildren())do
263
if v:IsA("BasePart")then
264
local BP = Instance.new("BodyForce",v)
265
BP.force = Vec.CFrame.lookVector *2000
266
Game:GetService("Debris"):AddItem(BP,0.2)
267
end end
268
pcall(function()
269
Object.Parent:findFirstChild("Torso").RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
270
Object.Parent:findFirstChild("Torso").Velocity = Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))
271
end)
272
Wait(0.1)
273
HitDebounce = false
274
end end
275
Debounces = {
276
IsHealing = false;
277
IsCharging = false;
278
Attacking = false;
279
Floating = false;
280
Shielding = false;
281
Flying = false}
282
local function GetClosest(MaxDistance)
283
local Last,Lastx = MaxDistance +1
284
for i,v in pairs(Workspace:GetChildren())do
285
if v:IsA("Model")and v ~= Character and v:findFirstChild("Humanoid")and v:findFirstChild("Torso")and v:findFirstChild("Humanoid").Health > 0 then
286
local t = v.Torso
287
local dist = (t.Position -T.Position).magnitude
288
if dist <= MaxDistance then
289
if dist < Last then
290
Last = dist
291
Lastx = v
292
end end end end
293
return Lastx
294
end
295
function Chat(Object,Text,Color,B)
296
local Color = type(Color)== 'string' and BrickColor.new(Color)or Color
297
pcall(function()Object:findFirstChild("AtlasText"):Destroy()end)
298
local G = Instance.new("BillboardGui",Object)
299
G.Name = "AtlasText"
300
G.Adornee = Object
301
G.Size = UDim2.new(3.5,0,2.5,0)
302
G.AlwaysOnTop = false
303
G.StudsOffset = Vector3.new(0,3,0)
304
local Txt = Instance.new("TextLabel",G)
305
Txt.Size = UDim2.new(1,0,1,0)
306
Txt.Text = Text
307
Txt.TextScaled = true
308
Txt.TextWrapped = false
309
Txt.Font = "SourceSansBold"
310
Txt.TextColor = Color
311
Txt.BackgroundTransparency = 1
312
Txt.ZIndex = 10
313
if B then
314
coroutine.wrap(function()
315
local X = 2
316
for i = 1,40 do
317
X = X *-1
318
Txt.Rotation = X
319
if i%2 == 1 then
320
Txt.Text = math.random(1,2)== 2 and Txt.Text.." " or " "..Txt.Text
321
end
322
Wait()
323
end end)()end
324
TweenColor3(Txt,"TextColor3",Txt.TextColor3,Settings.Colors[2].Color,3,true,function(q)
325
for i = 1,30 do
326
q.TextTransparency = i/30
327
Wait()
328
end
329
G:Destroy()
330
end)end
331
function ChargePosition(Bool)
332
if Bool then
333
N.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0)
334
N.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0)
335
RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0)
336
RS.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,0,0)
337
LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)
338
LS.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0)
339
RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
340
RH.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
341
LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)
342
LH.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0)
343
for i = 1,2 do
344
RS.C0 = RS.C0 * CFrame.new(0.01,0,0.25)* CFrame.Angles(-(i-0.5),0,0)
345
LS.C0 = LS.C0 * CFrame.new(0.01,0,0.25)* CFrame.Angles(-(i-0.5),0,0)
346
RH.C0 = RH.C0 * CFrame.new(0,0.015,0)* CFrame.Angles(-(i-1.4),0,0)
347
LH.C0 = LH.C0 * CFrame.new(0,0.015,0)* CFrame.Angles(-(i-1.4),0,0)
348
Wait()
349
end else
350
N.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0)
351
N.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0)
352
RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0)
353
RS.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,0,0)
354
LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)
355
LS.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0)
356
RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
357
RH.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
358
LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)
359
LH.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0)
360
end end
361
local function Implode(CF,Color)
362
local cf = CF
363
local f = Instance.new("Part",Character)
364
f.BrickColor = Color
365
f.Size = Vector3.new(1,1,1)
366
f.Anchored = true
367
f.Locked = true
368
f.CanCollide = false
369
f.TopSurface = 0
370
f.Transparency = 1
371
f.BottomSurface = 0
372
f.CFrame = cf
373
local sm = Instance.new("SpecialMesh",f)
374
sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
375
sm.Scale = Vector3.new(30,30,30)
376
coroutine.wrap(function()
377
for i = 1,10 do
378
f.Transparency = f.Transparency -0.1
379
sm.Scale = sm.Scale - Vector3.new(3,3,3)
380
Wait()
381
end
382
f:Destroy()
383
end)()
384
local ax = Instance.new("Part",Character)
385
ax.Size = Vector3.new(30,30,30)
386
ax.TopSurface = 0
387
ax.BottomSurface = 0
388
ax.Transparency = 0
389
ax.Locked = true
390
ax.BrickColor = Color
391
ax.Shape = "Ball"
392
ax.CanCollide = false
393
ax.CFrame = cf
394
ax.Anchored = true
395
ax.Transparency = 1
396
coroutine.wrap(function()
397
for i = 1,10 do
398
ax.Size = ax.Size - Vector3.new(math.random(1,3)+1,math.random(1,3)+1,math.random(1,3)+1)
399
ax.Transparency = ax.Transparency -0.1
400
ax.CFrame = cf
401
Wait()
402
end
403
ax:Destroy()
404
end)()end
405
local Mouse = Game.Players.LocalPlayer:GetMouse()
406
Handle = Instance.new("Part",Tool)
407
Handle.Name = "Handle"
408
Handle.Locked = true
409
Handle.BrickColor = Settings.Colors[1]
410
Handle.CanCollide = false
411
Handle.FormFactor = "Custom"
412
Handle.TopSurface = 0
413
Handle.BottomSurface = 0
414
Handle.Size = Vector3.new(0.1,0.1,0.1)
415
Handle.CFrame = RA.CFrame
416
Handle.Anchored = true
417
xHandle = Instance.new("Part",Tool)
418
xHandle.Name = "1"
419
xHandle.Locked = true
420
xHandle.BrickColor = Settings.Colors[1]
421
xHandle.CanCollide = false
422
xHandle.FormFactor = "Custom"
423
xHandle.TopSurface = 0
424
xHandle.BottomSurface = 0
425
xHandle.Size = Vector3.new(0.15,1.7,0.15)
426
xHandle.CFrame = RA.CFrame
427
xHandle.Anchored = true
428
W1 = Instance.new("Weld",xHandle)
429
W1.Part0 = xHandle
430
W1.Part1 = Handle
431
W1.C1 = CFrame.Angles(0,23,0)* CFrame.new(0,0.35,0)
432
wHandle = Instance.new("Part",Tool)
433
wHandle.Name = "2"
434
wHandle.Locked = true
435
wHandle.BrickColor = Settings.Colors[2]
436
wHandle.CanCollide = false
437
wHandle.FormFactor = "Custom"
438
wHandle.TopSurface = 0
439
wHandle.BottomSurface = 0
440
wHandle.Size = Vector3.new(1,4,0.001)
441
wHandle.CFrame = RA.CFrame
442
wHandle.Anchored = true
443
wHandle.Reflectance = 0.3
444
BM = Instance.new("BlockMesh",wHandle)
445
BM.Scale = Vector3.new(1,1,0)
446
W2 = Instance.new("Weld",wHandle)
447
W2.Part0 = wHandle
448
W2.Part1 = xHandle
449
W2.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,6.4,0)
450
zHandle = Instance.new("Part",Tool)
451
zHandle.Name = "3"
452
zHandle.Locked = true
453
zHandle.BrickColor = Settings.Colors[1]
454
zHandle.CanCollide = false
455
zHandle.FormFactor = "Custom"
456
zHandle.TopSurface = 0
457
zHandle.BottomSurface = 0
458
zHandle.Size = Vector3.new(0.001,8,0.1)
459
zHandle.CFrame = RA.CFrame
460
zHandle.Anchored = true
461
zHandle.Reflectance = 0.1
462
W3 = Instance.new("Weld",zHandle)
463
W3.Part0 = zHandle
464
W3.Part1 = xHandle
465
W3.C1 = CFrame.Angles(0,90,0)* CFrame.new(0,4.3,0)
466
bHandle = Instance.new("Part",Tool)
467
bHandle.Name = "4"
468
bHandle.Locked = true
469
bHandle.BrickColor = Settings.Colors[1]
470
bHandle.CanCollide = false
471
bHandle.FormFactor = "Custom"
472
bHandle.TopSurface = 0
473
bHandle.BottomSurface = 0
474
bHandle.Size = Vector3.new(0.26,0.26,0.26)
475
bHandle.CFrame = RA.CFrame
476
bHandle.Anchored = true
477
bHandle.Reflectance = 0.1
478
W4 = Instance.new("Weld",bHandle)
479
W4.Part0 = bHandle
480
W4.Part1 = xHandle
481
W4.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,0.35,0)
482
aHandle = Instance.new("Part",Tool)
483
aHandle.Name = "5"
484
aHandle.Locked = true
485
aHandle.BrickColor = Settings.Colors[2]
486
aHandle.CanCollide = false
487
aHandle.FormFactor = "Custom"
488
aHandle.TopSurface = 0
489
aHandle.BottomSurface = 0
490
aHandle.Size = Vector3.new(0.25,1.3,0.25)
491
aHandle.CFrame = RA.CFrame * CFrame.Angles(0,0,90)
492
aHandle.Anchored = true
493
aHandle.Transparency = 0.8
494
W5 = Instance.new("Weld",aHandle)
495
W5.Part0 = aHandle
496
W5.Part1 = Handle
497
W5.C1 = CFrame.Angles(0,23,0)* CFrame.new(0,0.35,0)
498
rHandle = Instance.new("Part",Tool)
499
rHandle.Name = "6"
500
rHandle.Locked = true
501
rHandle.BrickColor = Settings.Colors[1]
502
rHandle.CanCollide = false
503
rHandle.FormFactor = "Custom"
504
rHandle.TopSurface = 0
505
rHandle.BottomSurface = 0
506
rHandle.Size = Vector3.new(1,0.001,0.001)
507
rHandle.CFrame = RA.CFrame
508
rHandle.Anchored = true
509
rHandle.Reflectance = 0.1
510
sm = Instance.new("SpecialMesh",rHandle)
511
sm.MeshType = "FileMesh"
512
sm.MeshId = "http://www.roblox.com/Asset/?id=9756362"
513
sm.Scale = Vector3.new(1,1,1)
514
W6 = Instance.new("Weld",rHandle)
515
W6.Part0 = rHandle
516
W6.Part1 = xHandle
517
W6.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,0.35,0)
518
fHandle = Instance.new("Part",Tool)
519
fHandle.Name = "7"
520
fHandle.Locked = true
521
fHandle.BrickColor = Settings.Colors[1]
522
fHandle.CanCollide = false
523
fHandle.FormFactor = "Custom"
524
fHandle.TopSurface = 0
525
fHandle.BottomSurface = 0
526
fHandle.Size = Vector3.new(1,0.001,0.001)
527
fHandle.CFrame = RA.CFrame
528
fHandle.Anchored = true
529
fHandle.Reflectance = 0.1
530
sm = Instance.new("SpecialMesh",fHandle)
531
sm.MeshType = "FileMesh"
532
sm.MeshId = "http://www.roblox.com/Asset/?id=9756362"
533
sm.Scale = Vector3.new(1,1,0.2)
534
W7 = Instance.new("Weld",fHandle)
535
W7.Part0 = fHandle
536
W7.Part1 = xHandle
537
W7.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,4.3,0)
538
qHandle = Instance.new("Part",Tool)
539
qHandle.Name = "8"
540
qHandle.Locked = true
541
qHandle.BrickColor = Settings.Colors[1]
542
qHandle.CanCollide = false
543
qHandle.FormFactor = "Custom"
544
qHandle.TopSurface = 0
545
qHandle.BottomSurface = 0
546
qHandle.Size = Vector3.new(1,0.001,0.001)
547
qHandle.CFrame = RA.CFrame
548
qHandle.Anchored = true
549
qHandle.Reflectance = 0.3
550
sm = Instance.new("SpecialMesh",qHandle)
551
sm.MeshType = "FileMesh"
552
sm.MeshId = "http://www.roblox.com/Asset/?id=9756362"
553
sm.Scale = Vector3.new(1,1.5,0.3)
554
W8 = Instance.new("Weld",qHandle)
555
W8.Part0 = qHandle
556
W8.Part1 = xHandle
557
W8.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,8.6,0)
558
uuHandle = Instance.new("Part",Tool)
559
uuHandle.Name = "8"
560
uuHandle.Locked = true
561
uuHandle.BrickColor = Settings.Colors[1]
562
uuHandle.CanCollide = false
563
uuHandle.FormFactor = "Custom"
564
uuHandle.TopSurface = 0
565
uuHandle.BottomSurface = 0
566
uuHandle.Size = Vector3.new(1,4,0.001)
567
uuHandle.CFrame = RA.CFrame
568
uuHandle.Anchored = true
569
uuHandle.Reflectance = 0.3
570
BM = Instance.new("BlockMesh",uuHandle)
571
BM.Scale = Vector3.new(1,1,0)
572
W9 = Instance.new("Weld",uuHandle)
573
W9.Part0 = uuHandle
574
W9.Part1 = xHandle
575
W9.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,2.15,0)
576
coroutine.wrap(function()
577
while true do
578
TweenColor3(uuHandle,"Color",uuHandle.Color,uuHandle.BrickColor == Settings.Colors[1]and Settings.Colors[2].Color or Settings.Colors[1].Color,0.1)
579
TweenColor3(wHandle,"Color",wHandle.Color,wHandle.BrickColor == Settings.Colors[1]and Settings.Colors[2].Color or Settings.Colors[1].Color,0.1)
580
end end)()
581
Tool.Name = "Atlas Sword"
582
for i,v in pairs(Tool:GetChildren())do
583
if v:IsA("BasePart")then
584
v.Material = "Marble"
585
end end
586
Tool.Equipped:connect(function(m)
587
Equipped = true
588
Mouse = m
589
AttackState = "Melee"
590
W1 = Instance.new("Weld",xHandle)
591
W1.Part0 = xHandle
592
W1.Part1 = Handle
593
W1.C1 = CFrame.Angles(0,23,0)* CFrame.new(0,0.35,0)
594
W2 = Instance.new("Weld",wHandle)
595
W2.Part0 = wHandle
596
W2.Part1 = xHandle
597
W2.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,6.4,0)
598
W3 = Instance.new("Weld",zHandle)
599
W3.Part0 = zHandle
600
W3.Part1 = xHandle
601
W3.C1 = CFrame.Angles(0,90,0)* CFrame.new(0,4.3,0)
602
W4 = Instance.new("Weld",bHandle)
603
W4.Part0 = bHandle
604
W4.Part1 = xHandle
605
W4.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,0.35,0)
606
W5 = Instance.new("Weld",aHandle)
607
W5.Part0 = aHandle
608
W5.Part1 = Handle
609
W5.C1 = CFrame.Angles(0,23,0)* CFrame.new(0,0.35,0)
610
W6 = Instance.new("Weld",rHandle)
611
W6.Part0 = rHandle
612
W6.Part1 = xHandle
613
W6.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,0.35,0)
614
W7 = Instance.new("Weld",fHandle)
615
W7.Part0 = fHandle
616
W7.Part1 = xHandle
617
W7.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,4.3,0)
618
W8 = Instance.new("Weld",qHandle)
619
W8.Part0 = qHandle
620
W8.Part1 = xHandle
621
W8.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,8.6,0)
622
W9 = Instance.new("Weld",uuHandle)
623
W9.Part0 = uuHandle
624
W9.Part1 = xHandle
625
W9.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,2.15,0)
626
table.foreach(Tool:GetChildren(),function(_,v)
627
if v:IsA("BasePart")then
628
v.CanCollide = false
629
v.Touched:connect(function(Hit)
630
if PoisonMode and Power -1000 < 0 then return end
631
if Awakend and Power -8000 < 0 then Power = Power -8000 return end
632
if not Debounces.Attacking then return end
633
if Hit.Parent == Character or HitDebounce then return end
634
if not Hit.Parent:findFirstChild("Humanoid")then return end
635
if Hit.Parent:findFirstChild("HitAlreadyAtlas")then return end
636
coroutine.wrap(ShakeCam)(1.1,0.01)
637
DoScript(Game.Players:GetPlayerFromCharacter(Hit.Parent),"ScreenFlash")
638
if PoisonMode then DoScript(Game.Players:GetPlayerFromCharacter(Hit.Parent),"Poisoned")end
639
Implode(rHandle.CFrame,Settings.Colors[2])
640
local sxs = Instance.new("StringValue",Hit.Parent)
641
sxs.Name = "HitAlreadyAtlas"
642
Game:GetService("Debris"):AddItem(sxs,1.5)
643
if PoisonMode then Power = Power -1000 end
644
pcall(function()Hit.Parent.Humanoid.PlatformStand = true end)
645
for n,x in pairs(Hit.Parent:GetChildren())do
646
if x:IsA("BasePart")then
647
local bf = Instance.new("BodyForce",x)
648
bf.force = T.CFrame.lookVector *325
649
Game:GetService("Debris"):AddItem(bf,0.26)
650
end end
651
for i,v in pairs(Prts)do
652
v.BrickColor = Settings.Colors[1]
653
delay(0.95,function()v.BrickColor = Settings.Colors[2]end)
654
pcall(function()
655
local spl = Instance.new("SelectionPartLasso",Speaker.Character)
656
spl.Humanoid = Hit.Parent:findFirstChild("Humanoid")
657
spl.Part = v
658
spl.Color = PoisonMode and BrickColor.new("Royal purple")or Settings.Colors[2]
659
end)end
660
if PoisonMode then
661
ParticleEmit(Hit.Parent:findFirstChild("Torso"),"Royal purple",13)
662
coroutine.wrap(function()
663
local Dlly = 0
664
while Wait(1)do
665
if Dlly == 13 then break end
666
Dlly = Dlly +1
667
pcall(function()
668
if Hit.Parent.Humanoid.Health > 10 then
669
Hit.Parent.Humanoid:TakeDamage(math.random(4,9))
670
end end)end end)()end
671
if not PoisonMode then ParticleEmit(Hit,"Really red",2)end
672
local cf = Hit.CFrame
673
local s = Instance.new("Part",Character)
674
s.Anchored = true
675
s.TopSurface = 0
676
s.BottomSurface = 0
677
s.Locked = true
678
s.Transparency = 1
679
s.CanCollide = false
680
s.Shape = "Ball"
681
s.Reflectance = 0
682
s.BrickColor = Settings.Colors[2]
683
s.CFrame = cf
684
coroutine.wrap(function()
685
for i = 1,5 do
686
s.Size = s.Size + Vector3.new(2,2,2)
687
s.CFrame = cf
688
s.Transparency = s.Transparency -0.2
689
Wait()
690
end
691
Wait(0.1)
692
s.BrickColor = Settings.Colors[2]
693
if math.random(1,2)== 1 then pcall(function()Hit.Parent.Humanoid:TakeDamage(6)end)end
694
for i = 1,10 do
695
s.Size = s.Size - Vector3.new(2,2,2)
696
s.CFrame = cf
697
s.Transparency = s.Transparency +0.1
698
Wait()
699
end
700
s:Destroy()
701
end)()
702
local l = Instance.new("PointLight",s)
703
l.Color = s.Color
704
l.Range = 60
705
local f = Instance.new("Part",Character)
706
f.BrickColor = Settings.Colors[1]
707
f.Size = Vector3.new(5,1,5)
708
f.Anchored = true
709
f.Locked = true
710
f.CanCollide = false
711
f.TopSurface = 0
712
f.BottomSurface = 0
713
f.CFrame = Hit.CFrame * CFrame.fromEulerAnglesXYZ(1.57,0,0)
714
local sm = Instance.new("SpecialMesh",f)
715
sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
716
sm.Scale = Vector3.new(4,4,4)
717
coroutine.wrap(function()
718
for i = 1,20 do
719
f.Transparency = f.Transparency +0.05
720
sm.Scale = sm.Scale + Vector3.new(2,2,2)
721
Wait()
722
end
723
f:Destroy()
724
end)()
725
Damage(v,Hit)end)
726
v.Anchored = false
727
end end)end)
728
local RightGrip
729
coroutine.wrap(function()while Wait()do if not RightGrip and Equipped then RightGrip = RA:findFirstChild("RightGrip")end end end)()
730
--T.Anchored = true
731
732
-- to put in header:
733
local Gun
734
local function Recoil()
735
-- too damn lazy to do recoilll right now
736
end
737
-- to put in move:
738
739
for i,v in pairs(Debounces)do if v or Gun then return end end
740
Debounces.Attacking = true
741
Stance = ''
742
ChargePosition(false)
743
Gun = Instance.new("Model",Character)
744
Gun.Name = "AtlasGun"
745
local xxf = 30
746
local Tip = LA
747
local h1 = Instance.new("Part",Gun)
748
h1.Name = "-Handle"
749
h1.FormFactor = "Custom"
750
h1.TopSurface = 0
751
h1.BottomSurface = 0
752
h1.Material = "Ice"
753
h1.Anchored = true
754
h1.BrickColor = Settings.Colors[1]
755
h1.Size = Vector3.new(0.1,0.5,0.1)
756
local LeftGrip = Instance.new("Weld",h1)
757
LeftGrip.Part1 = h1
758
LeftGrip.Part0 = LA
759
LeftGrip.C0 = CFrame.new(0,-1,0,1,0,0,0,0,1,0,-1,0)
760
LeftGrip.C1 = CFrame.new(0,0,0,1,0,0,0,1,0,0,0,1)* CFrame.Angles(0,23,0)
761
local h2 = Instance.new("Part",Gun)
762
h2.FormFactor = "Custom"
763
h2.Name = "-Support"
764
h2.Material = "Ice"
765
h2.Anchored = true
766
h2.TopSurface = 0
767
h2.BottomSurface = 0
768
h2.BrickColor = Settings.Colors[1]
769
h2.Size = Vector3.new(1.355,1.5,1.355)
770
local gw1 = Instance.new("Weld",h2)
771
gw1.Part1 = h2
772
gw1.Part0 = LA
773
gw1.C0 = CFrame.new(0,-2,0)
774
local h3 = Instance.new("Part",Gun)
775
h3.FormFactor = "Custom"
776
h3.Name = "-Support"
777
h3.Anchored = true
778
h3.TopSurface = 0
779
h3.Material = "Marble"
780
h3.BottomSurface = 0
781
h3.BrickColor = Settings.Colors[1]
782
h3.Reflectance = 0.13
783
h3.Size = Vector3.new(1.351,1.025,1.351)
784
local h3m = Instance.new("CylinderMesh",h3)
785
h3m.Scale = Vector3.new(1,1,1)
786
local gw2 = Instance.new("Weld",h3)
787
gw2.Part1 = h3
788
gw2.Part0 = LA
789
gw2.C0 = CFrame.new(0,-1,0)
790
local h4 = Instance.new("Part",Gun)
791
h4.FormFactor = "Custom"
792
h4.Name = "-Support"
793
h4.Anchored = true
794
h4.TopSurface = 0
795
h4.Material = "Marble"
796
h4.BottomSurface = 0
797
h4.BrickColor = Settings.Colors[1]
798
h4.Size = Vector3.new(1.02505,0.55025,1.02505)
799
local gw3 = Instance.new("Weld",h4)
800
gw3.Part1 = h4
801
gw3.Part0 = LA
802
gw3.C0 = CFrame.new(0,-0.05,0)
803
local h5 = Instance.new("Part",Gun)
804
h5.FormFactor = "Custom"
805
h5.Name = "-Support"
806
h5.Anchored = true
807
h5.TopSurface = 0
808
h5.Material = "Marble"
809
h5.BottomSurface = 0
810
h5.BrickColor = Settings.Colors[1]
811
h5.Size = Vector3.new(1.02505,0.55025,1.02505)
812
local gw4 = Instance.new("Weld",h5)
813
gw4.Part1 = h5
814
gw4.Part0 = LA
815
gw4.C0 = CFrame.new(0,0.65,0)
816
local h6 = Instance.new("Part",Gun)
817
h6.FormFactor = "Custom"
818
h6.Name = "-Light"
819
h6.Anchored = true
820
h6.TopSurface = 0
821
h6.BottomSurface = 0
822
h6.BrickColor = Settings.Colors[2]
823
h6.Reflectance = 0.23
824
h6.Size = Vector3.new(1.355,0.005,1.355)
825
local h6m = Instance.new("CylinderMesh",h6)
826
h6m.Scale = Vector3.new(1,1,1)
827
local gw5 = Instance.new("Weld",h6)
828
gw5.Part1 = h6
829
gw5.Part0 = LA
830
gw5.C0 = CFrame.new(0,-1.05,0)
831
local h7 = Instance.new("Part",Gun)
832
h7.FormFactor = "Custom"
833
h7.Name = "-h0le"
834
h7.Anchored = true
835
h7.TopSurface = 0
836
h7.BottomSurface = 0
837
h7.BrickColor = BrickColor.new("Really black")
838
h7.Size = Vector3.new(1.248,1.03,1.248)
839
local h7m = Instance.new("CylinderMesh",h7)
840
h7m.Scale = Vector3.new(1,1,1)
841
local gw6 = Instance.new("Weld",h7)
842
gw6.Part1 = h7
843
gw6.Part0 = LA
844
gw6.C0 = CFrame.new(0,-1,0)
845
local h8 = Instance.new("Part",Gun)
846
h8.FormFactor = "Custom"
847
h8.Name = "-Barrle"
848
h8.Anchored = true
849
h8.TopSurface = 0
850
h8.BottomSurface = 0
851
h8.Material = "Marble"
852
h8.BrickColor = Settings.Colors[1]
853
h8.Size = Vector3.new(1.275,1.5,1.275)
854
local h8m = Instance.new("CylinderMesh",h8)
855
h8m.Scale = Vector3.new(1,1,1)
856
local gw7 = Instance.new("Weld",h8)
857
gw7.Part1 = h8
858
gw7.Part0 = LA
859
gw7.C0 = CFrame.new(0,-3.05,0)
860
local h9 = Instance.new("Part",Gun)
861
h9.FormFactor = "Custom"
862
h9.Name = "-Support"
863
h9.Anchored = true
864
h9.TopSurface = 0
865
h9.BottomSurface = 0
866
h9.Material = "Marble"
867
h9.BrickColor = Settings.Colors[1]
868
h9.Size = Vector3.new(3,0.05,0.05)
869
local gw8 = Instance.new("Weld",h9)
870
gw8.Part1 = h9
871
gw8.Part0 = h2
872
local h10 = Instance.new("Part",Gun)
873
h10.FormFactor = "Custom"
874
h10.Name = "-Support"
875
h10.Anchored = true
876
h10.TopSurface = 0
877
h10.BottomSurface = 0
878
h10.Material = "Marble"
879
h10.BrickColor = Settings.Colors[1]
880
h10.Size = Vector3.new(0.05,0.05,3)
881
local gw9 = Instance.new("Weld",h10)
882
gw9.Part1 = h10
883
gw9.Part0 = h2
884
local h11 = Instance.new("Part",Gun)
885
h11.FormFactor = "Custom"
886
h11.Name = "-Support"
887
h11.Anchored = true
888
h11.TopSurface = 0
889
h11.BottomSurface = 0
890
h11.Reflectance = 0.2
891
h11.Shape = "Ball"
892
h11.BrickColor = Settings.Colors[2]
893
h11.Size = Vector3.new(1,1,1)
894
local gw10 = Instance.new("Weld",h11)
895
gw10.Part1 = h11
896
gw10.Part0 = h8
897
gw10.C0 = CFrame.new(0,-0.5,0)
898
local h12 = Instance.new("Part",Gun)
899
h12.FormFactor = "Custom"
900
h12.Name = "-Support"
901
h12.Anchored = true
902
h12.TopSurface = 0
903
h12.BottomSurface = 0
904
h12.BrickColor = Settings.Colors[1]
905
h12.Material = "Ice"
906
h12.Size = Vector3.new(0.05,3,0.05)
907
local gw11 = Instance.new("Weld",h12)
908
gw11.Part1 = h9
909
gw11.Part0 = h12
910
gw11.C0 = CFrame.new(0,-0.5,1)
911
912
coroutine.wrap(function()
913
while Wait()do
914
if not Gun then break end
915
gw1.C0 = gw1.C0 * CFrame.fromEulerAnglesXYZ(0,math.pi/xxf,0)
916
gw11.C0 = gw11.C0 * CFrame.fromEulerAnglesXYZ(0,math.pi/(xxf/2),0)
917
end end)()
918
coroutine.wrap(function()
919
while true do
920
if not Gun then break end
921
TweenColor3(h6,"Color",h6.Color,Settings.Colors[h6.BrickColor == Settings.Colors[1]and 2 or 1],0.1,true)
922
TweenColor3(h11,"Color",h11.Color,Settings.Colors[h11.BrickColor == Settings.Colors[1]and 2 or 1],0.1)
923
end end)()
924
coroutine.wrap(function()
925
local inc = 0.05
926
for i = 1,8 do
927
inc = inc +1.25
928
Effect2(LA,inc,inc,inc,0,-1,0,Settings.Colors[2])
929
Wait()
930
end end)()
931
table.foreach(Gun:GetChildren(),function(_,v)
932
if v:IsA("BasePart")then
933
v.CanCollide = true
934
v.Anchored = false
935
end end)
936
pcall(function()Character.Animate.Disabled = true end)
937
local Connections = {}
938
OldSpeed = Character.Humanoid.WalkSpeed
939
table.insert(Connections,Mouse.Move:connect(function()
940
StanceGyro.cframe = CFrame.new(T.Position,Mouse.Hit.p)* CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
941
end))
942
local Working,Stop = false,false
943
table.insert(Connections,Mouse.KeyUp:connect(function(k)
944
if k == 'x' then
945
Stop = true
946
Debounces.Attacking = false
947
StopJoints()
948
ChargePosition(false)
949
Character.Humanoid.WalkSpeed = OldSpeed
950
Stance = 'Standing'
951
for i,v in pairs(Connections)do pcall(function()v:disconnect()end)end
952
pcall(function()
953
Character.Animate.Disabled = false
954
end)end end))
955
local CanShoot = true
956
table.insert(Connections,Mouse.Button1Down:connect(function()
957
if not CanShoot then return end
958
CanShoot = false
959
if Power -5000 < 0 or Stop then
960
Stop = true
961
Debounces.Attacking = false
962
StopJoints()
963
ChargePosition(false)
964
Stance = 'Standing'
965
pcall(function()
966
Character.Animate.Disabled = false
967
end)table.foreach(Connections,function(_,v)
968
v:disconnect()
969
end)end
970
Power = Power -5000
971
Effect2(Tip,2,2,2,0,-1,0,Settings.Colors[2])
972
xxf = 15
973
local function Remove(Obj)
974
if Obj ~= nil and Obj.Parent ~= nil then
975
Implode(CFrame.new(Obj.Position)* CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)),Obj.BrickColor)
976
Obj:Destroy()
977
end end
978
local DIR =(Tip.Position -(Tip.CFrame * CFrame.new(0,5,0)).p).unit
979
local _Out = false
980
local function Hitx(Hit,o,Bool)
981
if not Hit then return end
982
if Hit.Parent ~= Character and Hit.Parent.Parent ~= Character then
983
if Hit.Parent ~= Workspace  then
984
if not(Hit.Parent:findFirstChild("Humanoid")or Hit.Parent.Parent:findFirstChild("Humanoid"))and Hit.Parent:IsA("Model")then Hit.Parent:BreakJoints()end
985
for i,v in pairs(Hit.Parent:GetChildren())do
986
if v:IsA("BasePart")then
987
v.Anchored = false
988
v.Velocity = o.Velocity.unit *300
989
v.RotVelocity = o.Position:Lerp(T.Position,0.5)
990
delay(0.6,function()
991
v.Velocity = Vector3.new(0,0,0)
992
v.RotVelocity = v.Velocity
993
end)end end end
994
if Hit.Parent:findFirstChild("Humanoid")or Hit.Parent.Parent:findFirstChild("Humanoid")then
995
Damage(o,Hit.Parent:findFirstChild("Torso")or Hit.Parent.Parent:findFirstChild("Torso"),true,o.Size.Y *15)
996
end
997
o.Anchored = true
998
_Out = true
999
if not CanShoot then
1000
CanShoot = true
1001
xxf = 30
1002
end for i = 1,10 do
1003
o.Transparency = i/10
1004
o.Mesh.Scale = o.Mesh.Scale+Vector3.new(0.2,0.2,0.2)
1005
Wait()
1006
end
1007
o:Destroy()
1008
end end
1009
local fs =(LA.CFrame * CFrame.new(0,-2,0)).p
1010
local Hitd,posx = Workspace:FindPartOnRay(Ray.new(fs,(Mouse.Hit ~= nil and Mouse.Hit.p or Vector3.new(0,0,0)- fs).unit *1000),Character)
1011
local p = Instance.new("Part",Character)
1012
p.Locked = true
1013
p.CanCollide = false
1014
p.BrickColor = Settings.Colors[2]
1015
p.FormFactor = "Custom"
1016
p.TopSurface = 0
1017
p.BottomSurface = 0
1018
p.Size = Hitd and Vector3.new(4,4,4)or Vector3.new(3,3,3)
1019
p.CFrame = LA.CFrame * CFrame.new(0,-1.4,0)
1020
p.Touched:connect(function(f)Hitx(f,p)end)
1021
Instance.new("SpecialMesh",p).MeshType = "Sphere"
1022
p:BreakJoints()
1023
coroutine.wrap(function()
1024
while Wait(0.06)do
1025
if _Out then break end
1026
for i = 1,2 do
1027
local n = p
1028
local p = Instance.new("Part",Character)
1029
p.TopSurface = 0
1030
p.BottomSurface = 0
1031
p.CanCollide = false
1032
p.Anchored = true
1033
p.BrickColor = Settings.Colors[1]
1034
p.formFactor = "Symmetric"
1035
p.Size = Vector3.new(1,1,1)
1036
p.CFrame = CFrame.new(n.CFrame.p)* CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-5,5),math.random(-10,10))
1037
local m = Instance.new("SpecialMesh",p)
1038
m.MeshId = "http://www.roblox.com/asset/?id=3270017"
1039
m.Scale = Vector3.new(1,1,1)
1040
Game:GetService("Debris"):AddItem(p,3)
1041
m.Name = "Triangle"
1042
coroutine.wrap(function()
1043
for i = 1,15 do
1044
p.Transparency = i/15
1045
m.Scale = m.Scale + Vector3.new(2,2,0)
1046
Wait()
1047
end
1048
p:Destroy()
1049
end)()end
1050
for i = 1,2 do
1051
local n = p
1052
local p = Instance.new("Part")
1053
p.Name = "Trail"
1054
p.TopSurface = 0
1055
p.BottomSurface = 0
1056
p.Anchored = true
1057
p.CanCollide = false
1058
p.formFactor = "Symmetric"
1059
p.Size = Vector3.new(1,1,1)
1060
p.BrickColor = Settings.Colors[1]
1061
p.CFrame = n.CFrame
1062
Game:GetService("Debris"):AddItem(p,3)
1063
local m = Instance.new("SpecialMesh",p)
1064
m.MeshType = "Sphere"
1065
m.Scale = Vector3.new(2,2,2)
1066
coroutine.wrap(function()
1067
for i = 1,15 do
1068
p.Transparency = i/15
1069
m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1)*5
1070
p.CFrame = CFrame.new(n.CFrame.p)* CFrame.fromEulerAnglesXYZ(math.random(-10,10)/i,math.random(-10,10)/i,0.5)
1071
Wait()
1072
end
1073
p:Destroy()
1074
end)()end
1075
for i = 1,2 do
1076
local n = p
1077
local p = Instance.new("Part")
1078
p.Name = "Trail"
1079
p.TopSurface = 0
1080
p.BottomSurface = 0
1081
p.Anchored = true
1082
p.CanCollide = false
1083
p.formFactor = "Symmetric"
1084
p.Size = Vector3.new(1,1,1)
1085
p.BrickColor = Settings.Colors[1]
1086
p.CFrame = n.CFrame
1087
Game:GetService("Debris"):AddItem(p,3)
1088
local m = Instance.new("SpecialMesh",p)
1089
m.MeshType = "Brick"
1090
m.Scale = Vector3.new(2,2,2)
1091
coroutine.wrap(function()
1092
for i = 1,15 do
1093
p.Transparency = i/15
1094
m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1)*5
1095
p.CFrame = CFrame.new(n.CFrame.p)* CFrame.fromEulerAnglesXYZ(math.random(-10,10)/i,math.random(-10,10)/i,0.5)
1096
Wait()
1097
end
1098
p:Destroy()
1099
end)()end
1100
local hxpos = p.Position
1101
for i,v in pairs(Workspace:GetChildren())do
1102
if v:IsA("Model")then
1103
local Hn = v:findFirstChild("Humanoid")
1104
if Hn and Hn.Health > 0 then
1105
local Tf = v:findFirstChild("Torso")
1106
if Tf then
1107
if(Tf.Position-hxpos).magnitude <= 11 then
1108
Hn:TakeDamage(50)
1109
local vv = p.BodyVelocity:Clone()
1110
vv.velocity = vv.velocity +(Tf.Position -hxpos).unit *10
1111
vv.Parent = Tf
1112
Game:GetService("Debris"):AddItem(vv,0.7)
1113
end end end end end end end)()
1114
coroutine.wrap(function()
1115
for i = 1,20 do
1116
if _Out then break end
1117
Wait(0.1)
1118
local n = p
1119
local p = Instance.new("Part",Character)
1120
p.Name = "Trail"
1121
p.TopSurface = 0
1122
p.BottomSurface = 0
1123
p.Anchored = true
1124
p.CanCollide = false
1125
p.formFactor = "Symmetric"
1126
p.Size = Vector3.new(1,1,1)
1127
p.BrickColor = Settings.Colors[1]
1128
p.CFrame = n.CFrame
1129
Game:GetService("Debris"):AddItem(p,3)
1130
local m = Instance.new("SpecialMesh",p)
1131
m.MeshType = "Sphere"
1132
m.Scale = Vector3.new(2,2,2)
1133
coroutine.wrap(function()
1134
for i = 1,15 do
1135
p.Transparency = i/15
1136
m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1)
1137
p.CFrame = CFrame.new(n.CFrame.p)* CFrame.fromEulerAnglesXYZ(math.random(-10,10)/i,math.random(-10,10)/i,0.5)
1138
Wait()
1139
end
1140
p:Destroy()
1141
end)()end end)()
1142
local v = Instance.new("BodyVelocity",p)
1143
v.P = 5000
1144
v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1145
v.velocity = DIR *(Hitd and 470 or 235)
1146
delay(4.5,function()
1147
Remove(p)
1148
_Out = true
1149
xxf = 30
1150
end)
1151
Wait(6)
1152
if not CanShoot then
1153
CanShoot = true
1154
end end))
1155
table.insert(Connections,Mouse.Button1Up:connect(function()Working = false end))
1156
coroutine.wrap(function()
1157
ChargePosition(false)
1158
Stance = ''
1159
FaceForward()
1160
StanceGyro.cframe = StanceGyro.cframe
1161
local DIR = T.CFrame.lookVector
1162
LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/2,math.pi/2,0)* CFrame.new(-0.25,0,-0.5)
1163
LS.DesiredAngle = 0
1164
RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/6,0,0)
1165
while Wait()do
1166
if Stop then break end
1167
Stance = ''
1168
N.DesiredAngle = 1.4
1169
Character.Humanoid.WalkSpeed = 0
1170
Wait()
1171
end
1172
N.DesiredAngle = 0
1173
end)()