View difference between Paste ID: Qm55aQrz and uyxae9GW
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end
3
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
do print("Execute the c00l Kidd stuff - datlol 2016")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(),Button2Up=c(),Button2Down=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;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")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 typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u 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 rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},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")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
6
7
id = "388774"
8
game.Players.LocalPlayer.CharacterAppearance = "https://api.roblox.com/v1.1/avatar-fetch/?placeId=0&userId=" .. id
9
10
wait(4)
11
Player=game:GetService("Players").LocalPlayer
12
Character=Player.Character 
13
PlayerGui=Player.PlayerGui
14
Backpack=Player.Backpack 
15
Torso=Character.Torso 
16
Head=Character.Head 
17
Humanoid=Character.Humanoid
18
m=Instance.new('Model',Character)
19
LeftArm=Character["Left Arm"] 
20
LeftLeg=Character["Left Leg"] 
21
RightArm=Character["Right Arm"] 
22
RightLeg=Character["Right Leg"] 
23
LS=Torso["Left Shoulder"] 
24
LH=Torso["Left Hip"] 
25
RS=Torso["Right Shoulder"] 
26
RH=Torso["Right Hip"] 
27
Face = Head.face
28
Neck=Torso.Neck
29
it=Instance.new
30
attacktype=1
31
vt=Vector3.new
32
cf=CFrame.new
33
euler=CFrame.fromEulerAnglesXYZ
34
angles=CFrame.Angles
35
cloaked=false
36
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
37
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
38
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
39
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
40
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
41
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
42
RootPart=Character.HumanoidRootPart
43
RootJoint=RootPart.RootJoint
44
RootCF=euler(-1.57,0,3.14)
45
attack = false 
46
attackdebounce = false 
47
deb=false
48
equipped=true
49
hand=false
50
MMouse=nil
51
combo=0
52
mana=0
53
trispeed=.2
54
attackmode='none'
55
local idle=0
56
local Anim="Idle"
57
local Effects={}
58
local gun=false
59
local shoot=false
60
player=nil 
61
mana=0
62
63
mouse=Player:GetMouse()
64
--save shoulders 
65
RSH, LSH=nil, nil 
66
--welds 
67
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
68
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
69
LH=Torso["Left Hip"]
70
RH=Torso["Right Hip"]
71
TorsoColor=Torso.BrickColor
72
function NoOutline(Part)
73
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
74
end
75
player=Player 
76
ch=Character
77
RSH=ch.Torso["Right Shoulder"] 
78
LSH=ch.Torso["Left Shoulder"] 
79
-- 
80
RSH.Parent=nil 
81
LSH.Parent=nil 
82
-- 
83
RW.Name="Right Shoulder"
84
RW.Part0=ch.Torso 
85
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
86
RW.C1=cf(0, 0.5, 0) 
87
RW.Part1=ch["Right Arm"] 
88
RW.Parent=ch.Torso 
89
-- 
90
LW.Name="Left Shoulder"
91
LW.Part0=ch.Torso 
92
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
93
LW.C1=cf(0, 0.5, 0) 
94
LW.Part1=ch["Left Arm"] 
95
LW.Parent=ch.Torso 
96
97
        Player=game:GetService('Players').LocalPlayer
98
        Character=Player.Character
99
        Mouse=Player:GetMouse()
100
        m=Instance.new('Model',Character)
101
102
103
        local function weldBetween(a, b)
104
            local weldd = Instance.new("ManualWeld")
105
            weldd.Part0 = a
106
            weldd.Part1 = b
107
            weldd.C0 = CFrame.new()
108
            weldd.C1 = b.CFrame:inverse() * a.CFrame
109
            weldd.Parent = a
110
            return weldd
111
        end
112
        
113
        function swait(num)
114
    if num==0 or num==nil then
115
    game:service'RunService'.Stepped:wait(0)
116
    else
117
    for i=0,num do
118
    game:service'RunService'.Stepped:wait(0)
119
    end
120
    end
121
            end
122
        
123
        function nooutline(part)
124
                part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
125
        end
126
        
127
        function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
128
                local fp=it("Part")
129
                fp.formFactor=formfactor
130
                fp.Parent=parent
131
                fp.Reflectance=reflectance
132
                fp.Transparency=transparency
133
                fp.CanCollide=false
134
                fp.Locked=true
135
                fp.BrickColor=BrickColor.new(tostring(brickcolor))
136
                fp.Name=name
137
                fp.Size=size
138
                fp.Position=Character.Torso.Position
139
                nooutline(fp)
140
                fp.Material=material
141
                fp:BreakJoints()
142
                return fp
143
        end
144
        
145
        function mesh(Mesh,part,meshtype,meshid,offset,scale)
146
                local mesh=it(Mesh)
147
                mesh.Parent=part
148
                if Mesh=="SpecialMesh" then
149
                        mesh.MeshType=meshtype
150
                        mesh.MeshId=meshid
151
                end
152
                mesh.Offset=offset
153
                mesh.Scale=scale
154
                return mesh
155
        end
156
        
157
        function weld(parent,part0,part1,c0,c1)
158
                local weld=it("Weld")
159
                weld.Parent=parent
160
                weld.Part0=part0
161
                weld.Part1=part1
162
                weld.C0=c0
163
                weld.C1=c1
164
                return weld
165
        end
166
        
167
        
168
local function CFrameFromTopBack(at, top, back)
169
local right = top:Cross(back)
170
return CFrame.new(at.x, at.y, at.z,
171
right.x, top.x, back.x,
172
right.y, top.y, back.y,
173
right.z, top.z, back.z)
174
end
175
176
function Triangle(a, b, c)
177
local edg1 = (c-a):Dot((b-a).unit)
178
local edg2 = (a-b):Dot((c-b).unit)
179
local edg3 = (b-c):Dot((a-c).unit)
180
if edg1 <= (b-a).magnitude and edg1 >= 0 then
181
a, b, c = a, b, c
182
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
183
a, b, c = b, c, a
184
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
185
a, b, c = c, a, b
186
else
187
assert(false, "unreachable")
188
end
189
 
190
local len1 = (c-a):Dot((b-a).unit)
191
local len2 = (b-a).magnitude - len1
192
local width = (a + (b-a).unit*len1 - c).magnitude
193
 
194
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
195
 
196
local list = {}
197
198
local TrailColor = ("Dark grey")
199
 
200
if len1 > 0.01 then
201
local w1 = Instance.new('WedgePart', m)
202
game:GetService("Debris"):AddItem(w1,5)
203
w1.Material = "SmoothPlastic"
204
w1.FormFactor = 'Custom'
205
w1.BrickColor = BrickColor.new(TrailColor)
206
w1.Transparency = 0
207
w1.Reflectance = 0
208
w1.Material = "SmoothPlastic"
209
w1.CanCollide = false
210
NoOutline(w1)
211
local sz = Vector3.new(0.2, width, len1)
212
w1.Size = sz
213
local sp = Instance.new("SpecialMesh",w1)
214
sp.MeshType = "Wedge"
215
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
216
w1:BreakJoints()
217
w1.Anchored = true
218
w1.Parent = workspace
219
w1.Transparency = 0.7
220
table.insert(Effects,{w1,"Disappear",.01})
221
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
222
table.insert(list,w1)
223
end
224
 
225
if len2 > 0.01 then
226
local w2 = Instance.new('WedgePart', m)
227
game:GetService("Debris"):AddItem(w2,5)
228
w2.Material = "SmoothPlastic"
229
w2.FormFactor = 'Custom'
230
w2.BrickColor = BrickColor.new(TrailColor)
231
w2.Transparency = 0
232
w2.Reflectance = 0
233
w2.Material = "SmoothPlastic"
234
w2.CanCollide = false
235
NoOutline(w2)
236
local sz = Vector3.new(0.2, width, len2)
237
w2.Size = sz
238
local sp = Instance.new("SpecialMesh",w2)
239
sp.MeshType = "Wedge"
240
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
241
w2:BreakJoints()
242
w2.Anchored = true
243
w2.Parent = workspace
244
w2.Transparency = 0.7
245
table.insert(Effects,{w2,"Disappear",.01})
246
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
247
table.insert(list,w2)
248
end
249
return unpack(list)
250
end
251
        
252
        
253
so = function(id,par,vol,pit) 
254
coroutine.resume(coroutine.create(function()
255
local sou = Instance.new("Sound",par or workspace)
256
sou.Volume=vol
257
sou.Pitch=pit or 1
258
sou.SoundId=id
259
swait() 
260
sou:play() 
261
game:GetService("Debris"):AddItem(sou,6)
262
end))
263
end
264
 
265
function clerp(a,b,t) 
266
local qa = {QuaternionFromCFrame(a)}
267
local qb = {QuaternionFromCFrame(b)} 
268
local ax, ay, az = a.x, a.y, a.z 
269
local bx, by, bz = b.x, b.y, b.z
270
local _t = 1-t
271
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
272
end 
273
 
274
function QuaternionFromCFrame(cf) 
275
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
276
local trace = m00 + m11 + m22 
277
if trace > 0 then 
278
local s = math.sqrt(1 + trace) 
279
local recip = 0.5/s 
280
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
281
else 
282
local i = 0 
283
if m11 > m00 then
284
i = 1
285
end
286
if m22 > (i == 0 and m00 or m11) then 
287
i = 2 
288
end 
289
if i == 0 then 
290
local s = math.sqrt(m00-m11-m22+1) 
291
local recip = 0.5/s 
292
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
293
elseif i == 1 then 
294
local s = math.sqrt(m11-m22-m00+1) 
295
local recip = 0.5/s 
296
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
297
elseif i == 2 then 
298
local s = math.sqrt(m22-m00-m11+1) 
299
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
300
end 
301
end 
302
end
303
 
304
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
305
local xs, ys, zs = x + x, y + y, z + z 
306
local wx, wy, wz = w*xs, w*ys, w*zs 
307
local xx = x*xs 
308
local xy = x*ys 
309
local xz = x*zs 
310
local yy = y*ys 
311
local yz = y*zs 
312
local zz = z*zs 
313
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
314
end
315
 
316
function QuaternionSlerp(a, b, t) 
317
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
318
local startInterp, finishInterp; 
319
if cosTheta >= 0.0001 then 
320
if (1 - cosTheta) > 0.0001 then 
321
local theta = math.acos(cosTheta) 
322
local invSinTheta = 1/math.sin(theta) 
323
startInterp = math.sin((1-t)*theta)*invSinTheta 
324
finishInterp = math.sin(t*theta)*invSinTheta  
325
else 
326
startInterp = 1-t 
327
finishInterp = t 
328
end 
329
else 
330
if (1+cosTheta) > 0.0001 then 
331
local theta = math.acos(-cosTheta) 
332
local invSinTheta = 1/math.sin(theta) 
333
startInterp = math.sin((t-1)*theta)*invSinTheta 
334
finishInterp = math.sin(t*theta)*invSinTheta 
335
else 
336
startInterp = t-1 
337
finishInterp = t 
338
end 
339
end 
340
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
341
end
342
343
--Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
344
345
346
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
347
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
348
end 
349
350
Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
351
        if hit.Parent==nil then
352
                return
353
        end
354
        h=hit.Parent:FindFirstChild("Humanoid")
355
        for _,v in pairs(hit.Parent:children()) do
356
        if v:IsA("Humanoid") then
357
        h=v
358
        end
359
        end
360
        if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
361
        h=hit.Parent.Parent:FindFirstChild("Humanoid")
362
        end
363
        if hit.Parent.className=="Hat" then
364
        hit=hit.Parent.Parent:findFirstChild("Head")
365
        end
366
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
367
        if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
368
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
369
                        return
370
                end]]
371
--                        hs(hit,1.2) 
372
                        c=Instance.new("ObjectValue")
373
                        c.Name="creator"
374
                        c.Value=game:service("Players").LocalPlayer
375
                        c.Parent=h
376
                        game:GetService("Debris"):AddItem(c,.5)
377
                Damage=math.random(minim,maxim)
378
--                h:TakeDamage(Damage)
379
                blocked=false
380
                block=hit.Parent:findFirstChild("Block")
381
                if block~=nil then
382
                print(block.className)
383
                if block.className=="NumberValue" then
384
                if block.Value>0 then
385
                blocked=true
386
                if decreaseblock==nil then
387
                block.Value=block.Value-1
388
                end
389
                end
390
                end
391
                if block.className=="IntValue" then
392
                if block.Value>0 then
393
                blocked=true
394
                if decreaseblock~=nil then
395
                block.Value=block.Value-1
396
                end
397
                end
398
                end
399
                end
400
                if blocked==false then
401
--                h:TakeDamage(Damage)
402
                h.Health=h.Health-Damage
403
                showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
404
                else
405
                h.Health=h.Health-(Damage/2)
406
                showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
407
                end
408
                if Type=="Knockdown" then
409
                hum=hit.Parent.Humanoid
410
hum.PlatformStand=true
411
coroutine.resume(coroutine.create(function(HHumanoid)
412
swait(1)
413
HHumanoid.PlatformStand=false
414
end),hum)
415
                local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
416
--hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
417
local bodvol=Instance.new("BodyVelocity")
418
bodvol.velocity=angle*knockback
419
bodvol.P=5000
420
bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
421
bodvol.Parent=hit
422
rl=Instance.new("BodyAngularVelocity")
423
rl.P=3000
424
rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
425
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
426
rl.Parent=hit
427
game:GetService("Debris"):AddItem(bodvol,.5)
428
game:GetService("Debris"):AddItem(rl,.5)
429
                elseif Type=="Normal" then
430
                vp=Instance.new("BodyVelocity")
431
                vp.P=500
432
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
433
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
434
                if KnockbackType==1 then
435
                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
436
                elseif KnockbackType==2 then
437
                vp.velocity=Property.CFrame.lookVector*knockback
438
                end
439
                if knockback>0 then
440
                        vp.Parent=hit.Parent.Torso
441
                end
442
                game:GetService("Debris"):AddItem(vp,.5)
443
                elseif Type=="Up" then
444
                local bodyVelocity=Instance.new("BodyVelocity")
445
                bodyVelocity.velocity=vt(0,60,0)
446
                bodyVelocity.P=5000
447
                bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
448
                bodyVelocity.Parent=hit
449
                game:GetService("Debris"):AddItem(bodyVelocity,1)
450
                rl=Instance.new("BodyAngularVelocity")
451
                rl.P=3000
452
                rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
453
                rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
454
                rl.Parent=hit
455
                game:GetService("Debris"):AddItem(rl,.5)
456
                elseif Type=="Snare" then
457
                bp=Instance.new("BodyPosition")
458
                bp.P=2000
459
                bp.D=100
460
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
461
                bp.position=hit.Parent.Torso.Position
462
                bp.Parent=hit.Parent.Torso
463
                game:GetService("Debris"):AddItem(bp,1)
464
                elseif Type=="Target" then
465
                if Targetting==false then
466
                ZTarget=hit.Parent.Torso
467
                coroutine.resume(coroutine.create(function(Part) 
468
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
469
                swait(5)
470
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
471
                end),ZTarget)
472
                TargHum=ZTarget.Parent:findFirstChild("Humanoid")
473
                targetgui=Instance.new("BillboardGui")
474
                targetgui.Parent=ZTarget
475
                targetgui.Size=UDim2.new(10,100,10,100)
476
                targ=Instance.new("ImageLabel")
477
                targ.Parent=targetgui
478
                targ.BackgroundTransparency=1
479
                targ.Image="rbxassetid://4834067"
480
                targ.Size=UDim2.new(1,0,1,0)
481
                cam.CameraType="Scriptable"
482
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
483
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
484
                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
485
                Targetting=true
486
                RocketTarget=ZTarget
487
                for i=1,Property do
488
                --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
489
                if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
490
                swait()
491
                end
492
                --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
493
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
494
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
495
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
496
                end
497
                Targetting=false
498
                RocketTarget=nil
499
                targetgui.Parent=nil
500
                cam.CameraType="Custom"
501
                end
502
                end
503
                        debounce=Instance.new("BoolValue")
504
                        debounce.Name="DebounceHit"
505
                        debounce.Parent=hit.Parent
506
                        debounce.Value=true
507
                        game:GetService("Debris"):AddItem(debounce,Delay)
508
                        c=Instance.new("ObjectValue")
509
                        c.Name="creator"
510
                        c.Value=Player
511
                        c.Parent=h
512
                        game:GetService("Debris"):AddItem(c,.5)
513
                CRIT=false
514
                hitDeb=true
515
                AttackPos=6
516
        end
517
end
518
 
519
showDamage=function(Char,Dealt,du,Color)
520
        m=Instance.new("Model")
521
        m.Name=tostring(Dealt)
522
        h=Instance.new("Humanoid")
523
        h.Health=0
524
        h.MaxHealth=0
525
        h.Parent=m
526
        c=Instance.new("Part")
527
        c.Transparency=0
528
        c.BrickColor=Color
529
        c.Name="Head"
530
        c.TopSurface=0
531
        c.BottomSurface=0
532
        c.formFactor="Plate"
533
        c.Size=Vector3.new(1,.4,1)
534
        ms=Instance.new("CylinderMesh")
535
        ms.Scale=Vector3.new(.8,.8,.8)
536
        if CRIT==true then
537
                ms.Scale=Vector3.new(1,1.25,1)
538
        end
539
        ms.Parent=c
540
        c.Reflectance=0
541
        Instance.new("BodyGyro").Parent=c
542
        c.Parent=m
543
        if Char:findFirstChild("Head")~=nil then
544
        c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
545
        elseif Char.Parent:findFirstChild("Head")~=nil then
546
        c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
547
        end
548
        f=Instance.new("BodyPosition")
549
        f.P=2000
550
        f.D=100
551
        f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
552
        f.position=c.Position+Vector3.new(0,3,0)
553
        f.Parent=c
554
        game:GetService("Debris"):AddItem(m,.5+du)
555
        c.CanCollide=false
556
        m.Parent=workspace
557
        c.CanCollide=false
558
end
559
560
VestHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,".","Handle",Vector3.new(2.01999998, 1.39999998, 1.01999998))
561
handleweld=weld(m,Character["Torso"],VestHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-005, 0.300115585, 3.05175781e-005, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642))
562
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
563
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, 0.200000286, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
564
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
565
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
566
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000152587891, -0.999994516, -0.200134277, -4.47035475e-008, 0, 0.999999642, 0, 1, 0, -0.999999642, 0, -4.4703544e-008))
567
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
568
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
569
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700012207, -1.00999117, 1.52587891e-005, 0.999999046, 0, 0, 0, 1, 0, 0, 0, 0.999999046))
570
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
571
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699127197, -1.00999379, 0.000549316406, 0.999997914, 6.38506317e-005, -2.78951497e-015, -6.38804122e-005, 1.00000012, 2.10474918e-015, 2.78942159e-015, 1.39239913e-015, 0.999997854))
572
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
573
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609390259, 0.811340332, -0.0999908447, 3.08029073e-018, -2.69585922e-014, -0.999999642, -0.999999642, -6.39334685e-005, -1.35697087e-018, -6.39334467e-005, 1, -2.6958582e-014))
574
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
575
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
576
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609359741, -0.788131714, -0.0999910831, 3.06354694e-018, -2.34616979e-014, -0.999999642, -0.999999642, -6.39629943e-005, -1.56279636e-018, -6.39629725e-005, 1, -2.34616895e-014))
577
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
578
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
579
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609375, 0.0116882324, -0.0999908447, 3.06355067e-018, -2.34617301e-014, -0.999999642, -0.999999642, -6.39631544e-005, -1.56279822e-018, -6.39631326e-005, 1, -2.34617217e-014))
580
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
581
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
582
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609313965, -0.388046265, -0.0999908447, 3.0635486e-018, -2.34617301e-014, -0.999998927, -0.999998927, -6.39631544e-005, -1.56279719e-018, -6.39630889e-005, 1, -2.34617047e-014))
583
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
584
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
585
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609329224, 0.411483765, -0.0999908447, 3.08028867e-018, -2.69585922e-014, -0.999998927, -0.999998927, -6.39334685e-005, -1.35696984e-018, -6.3933403e-005, 1, -2.69585617e-014))
586
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
587
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
588
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000305175781, -0.800010204, 0.89906311, -4.47035724e-008, 6.26018334e-015, 0.999997854, -8.34552054e-008, 1.00000012, -5.15634779e-015, -0.999997914, -5.35364961e-008, -4.47035653e-008))
589
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
590
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
591
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, -0.99998498, -0.199783325, -4.47038211e-008, -2.85946115e-012, -0.999997854, -6.3955762e-005, 1.00000012, 1.77753083e-015, 0.999997914, 6.39259815e-005, -4.47038175e-008))
592
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
593
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 3.79999971, 0.200000003))
594
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356018066, -0.311279297, -0.609542847, 0.865768671, 0.500441432, 0, -0.5004403, 0.865770638, 3.55271241e-015, 3.55271241e-015, 3.02253882e-015, 0.999997854))
595
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
596
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
597
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -0.799995899, 0.900177002, 1.49011559e-008, 0, -0.999995232, 0, 1, 0, 0.999995232, 0, 1.49011559e-008))
598
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
599
FlagLogo=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","FlagLogo",Vector3.new(3, 1.99999988, 0.200000003))
600
FlagLogoweld=weld(m,VestHandle,FlagLogo,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14234924, -3.41108704, -0.610244751, 0.865850091, 0.500302911, -3.55240239e-015, -0.500302792, 0.865850449, 9.79956736e-019, 3.07633938e-015, 1.77642947e-015, 0.999999642))
601
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
602
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356628418, -2.31108093, -0.620269775, 0.865850091, 0.500302911, 7.10581953e-015, -0.500302792, 0.865850449, 9.79956736e-019, 6.15238443e-015, 3.55382075e-015, 0.999999642))
603
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
604
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
605
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.354736328, -4.51108551, -0.620117188, 0.865849495, 0.500302911, 1.77640292e-014, -0.500302434, 0.865850449, 9.79956115e-019, 9.22842142e-015, 5.33121097e-015, 0.999998927))
606
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
607
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.400000006, 1.99999964, 0.200000003))
608
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356216431, -3.41107178, -0.610137939, 0.865848899, 0.500302911, 1.77639292e-014, -0.500302076, 0.865850449, 9.79955495e-019, 1.53807173e-014, 8.88612016e-015, 0.999998212))
609
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
610
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
611
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356292725, 1.6887207, -0.619628906, 0.865768075, 0.500441432, 0, -0.500439942, 0.865770638, 3.55270987e-015, 3.55270987e-015, 3.02253882e-015, 0.999997139))
612
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
613
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
614
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.589828491, 0.808547974, -0.0999956131, -3.90798369e-014, 8.06646416e-017, -0.999997854, -0.999997914, -6.36497934e-005, 3.90798369e-014, -6.36795739e-005, 1.00000012, 3.58011901e-015))
615
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
616
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Green","Part",Vector3.new(1, 0.76000005, 0.600000024))
617
Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, -0.399998188, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
618
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
619
handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 1.4000001))
620
handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, -1.10011411, -1.52587891e-005, 0.999999404, -4.47034765e-008, 0, -4.47034836e-008, -0.999999285, 0, 0, 0, -1))
621
mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=74322546",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
622
local Decal1 = Instance.new("Decal",FlagLogo)
623
Decal1.Texture = "http://www.roblox.com/asset/?id=536171037"
624
Decal1.Face = "Front"
625
local Decal2 = Instance.new("Decal",FlagLogo)
626
Decal2.Texture = "http://www.roblox.com/asset/?id=536171037"
627
Decal2.Face = "Back"
628
Humanoid.WalkSpeed = 55
629
630
function ALLAHUAKBAR()
631
attack = true
632
local speak = {"PRAISE ALLAH 38294847948238424892428498342429482482984 TIMES A DAY ALLAHUAKBAR"}
633
local colors = {"Green","Green","Green"} -- The only 3 colors, adding more will error.
634
local chat = game:GetService("Chat")
635
chat:Chat(Head,speak[math.random(1,#speak)], colors[math.random(1,3)] )
636
for i = 0,1,0.05 do
637
swait()
638
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
639
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
640
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
641
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
642
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
643
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
644
end
645
for i = 0,1,0.05 do
646
swait()
647
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
648
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
649
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(50)), 0.3)
650
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
651
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
652
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
653
end
654
for i = 1,20 do
655
--so("http://roblox.com/asset/?id=197815953",workspace,1,1) 
656
so("rbxassetid://134854740",Torso,1,1.3) 
657
so("rbxassetid://247893371",workspace,1,1)
658
so("rbxassetid://137994058",Torso,1,1) 
659
so("rbxassetid://165969964",Torso,1,1) 
660
local S = Instance.new("Explosion",workspace)
661
S.Position = Torso.Position
662
S.BlastPressure = 90
663
S.BlastRadius = 95
664
S.ExplosionType = 3
665
end
666
attack = false
667
end
668
669
mouse.Button1Down:connect(function()
670
ALLAHUAKBAR()
671
end)
672
673
mouse.KeyDown:connect(function(k)
674
        k=k:lower()
675
        
676
end)
677
678
679
local sine = 0
680
local change = 1
681
local val = 0
682
683
while true do
684
swait()
685
sine = sine + change
686
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
687
local velderp=RootPart.Velocity.y
688
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
689
if equipped==true or equipped==false then
690
if attack==false then
691
idle=idle+1
692
else
693
idle=0
694
end
695
if idle>=500 then
696
if attack==false then
697
--Sheath()
698
end
699
end
700
if RootPart.Velocity.y > 1 and hitfloor==nil then 
701
Anim="Jump"
702
if attack==false then
703
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
704
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
705
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
706
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
707
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
708
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
709
end
710
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
711
Anim="Fall"
712
if attack==false then
713
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
714
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
715
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
716
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
717
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
718
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
719
end
720
elseif torvel<1 and hitfloor~=nil then
721
Anim="Idle"
722
if attack==false then
723
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(10)),.3)
724
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
725
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
726
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
727
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
728
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
729
end
730
elseif torvel>2 and hitfloor~=nil then
731
Anim="Walk"
732
if attack==false then
733
change=3
734
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
735
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
736
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50*math.cos(sine/20)), math.rad(0), math.rad(10)), 0.3)
737
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50*math.cos(sine/20)), math.rad(0), math.rad(-10)), 0.3)
738
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
739
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
740
end
741
end
742
end
743
if #Effects>0 then
744
--table.insert(Effects,{prt,"Block1",delay})
745
for e=1,#Effects do
746
if Effects[e]~=nil then
747
--for j=1,#Effects[e] do
748
local Thing=Effects[e]
749
if Thing~=nil then
750
local Part=Thing[1]
751
local Mode=Thing[2]
752
local Delay=Thing[3]
753
local IncX=Thing[4]
754
local IncY=Thing[5]
755
local IncZ=Thing[6]
756
if Thing[1].Transparency<=1 then
757
if Thing[2]=="Block1" then
758
Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
759
Mesh=Thing[1].Mesh
760
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
761
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
762
elseif Thing[2]=="Cylinder" then
763
Mesh=Thing[1].Mesh
764
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
765
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
766
elseif Thing[2]=="Blood" then
767
Mesh=Thing[7]
768
Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
769
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
770
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
771
elseif Thing[2]=="Elec" then
772
Mesh=Thing[1].Mesh
773
Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
774
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
775
elseif Thing[2]=="Disappear" then
776
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
777
end
778
else
779
Part.Parent=nil
780
table.remove(Effects,e)
781
end
782
end
783
--end
784-
end
784+
785
end
786
end
787
end
788
print("PRAISE ALLAH 706 TIMES A DAY!!!!! ALLAHUAKBAR")