View difference between Paste ID: RP2cEKZN and L1zKU9wE
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
6
7
8
---This script was made by trollmon123
9
---My ALT account is TheDevilPro1234
10
---Discord trollmon123#7368
11
---This script was based from the anime Naruto
12
---Aka Naruto's dad.
13
script:remove()
14
local Player = game.Players.localPlayer
15
local Character = Player.Character
16
local Humanoid = Character.Humanoid
17
local Mouse = Player:GetMouse()
18
local LeftArm = Character["Left Arm"]
19
local RightArm = Character["Right Arm"]
20
local LeftLeg = Character["Left Leg"]
21
local RightLeg = Character["Right Leg"]
22
local Head = Character.Head
23
local Torso = Character.Torso
24
local Camera = game.Workspace.CurrentCamera
25
local RootPart = Character.HumanoidRootPart
26
local RootJoint = RootPart.RootJoint
27
local Pause = false
28
local attack = false
29
local LOL = false
30
local Anim = 'Idle'
31
script:remove()
32
local attacktype = 1
33
local delays = false
34
local play = true
35
local targetted = nil
36
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
37
local velocity = RootPart.Velocity.y
38
local sine = 0
39
local change = 1
40
local doe = 0
41
local hitted = false
42
local Create = LoadLibrary("RbxUtility").Create
43
local SGui = Instance.new("ScreenGui",Player.PlayerGui)
44
local ZZZ = BrickColor.new("Pastel brown")
45
local Mus = Instance.new("Sound",Torso)
46
local ZZA = false
47
Mus.SoundId = "rbxassetid://301521246"
48
Mus.Volume = math.huge
49
Mus.Looped = true
50
Mus.MaxDistance = 120
51
Mus.Pitch = 1
52
Mus:play()
53
Character.Shirt.ShirtTemplate = "rbxassetid://552558255"
54
Character.Pants.PantsTemplate = "rbxassetid://1062766205"
55
Head.face.Texture = "rbxassetid://858823098"
56
local Hair = Instance.new("Part",Character)
57
Hair.Size = Vector3.new(1,1,1)
58
Hair.CanCollide = false
59
local Hair2 = Instance.new("SpecialMesh",Hair)
60
Hair2.MeshId = "rbxassetid://1184401733"
61
Hair2.TextureId = "rbxassetid://1184401765"
62
Hair2.Scale = Vector3.new(0.6,0.5,0.6)
63
local Hair3 = Instance.new("Weld",Hair)
64
Hair3.Part0 = Head
65
Hair3.Part1 = Hair
66
Hair3.C0 = CFrame.new(0,0.5,0.2)*CFrame.Angles(0,0,0)
67
local Kun = Instance.new("Part",Character)
68
Kun.Size = Vector3.new(0.1,0.1,0.1)
69
Kun.CanCollide = false
70
local Kun2 = Instance.new("SpecialMesh",Kun)
71
Kun2.MeshId = "rbxassetid://1184404045"
72
Kun2.TextureId = "rbxassetid://1184404058"
73
Kun2.Scale = Vector3.new(0.4,0.4,0.4)
74
local Kun3 = Instance.new("Weld",Kun)
75
Kun3.Part0 = RightArm
76
Kun3.Part1 = Kun
77
local At1 = Instance.new("Attachment",Torso) 
78
At1.Axis = Vector3.new(1,0,0)
79
local At2 = Instance.new("Attachment",Head)
80
At1.Axis = Vector3.new(1,0,0)
81
local Trail = Instance.new("Trail",Torso)
82
Trail.TextureLength = 1
83
Trail.Lifetime = 1
84
Trail.Attachment0 = At1
85
Trail.Attachment1 = At2
86
Trail.Transparency  = NumberSequence.new(0,1)
87
Trail.Enabled = false
88
Trail.Color = ColorSequence.new(Color3.fromRGB(252, 255, 30),Color3.fromRGB(158, 255, 106),Color3.fromRGB(252, 255, 30))
89
Kun3.C0 = CFrame.new(1,-1.1,0)*CFrame.Angles(0,1.55,0)
90
local Bill = Instance.new("BillboardGui", Character)
91
Bill.Adornee = Character.Head
92
Bill.Name = "_status"
93
Bill.Size = UDim2.new(2, 0, 1.2, 0)
94
Bill.StudsOffset = Vector3.new(-9, 8, 0)
95
local Text = Instance.new("TextLabel", Bill)
96
Text.Size = UDim2.new(10, 0, 7, 0)
97
Text.FontSize = "Size24"
98
Text.TextScaled = true
99
Text.TextTransparency = 0
100
Text.BackgroundTransparency = 1 
101
Text.TextTransparency = 0
102
Text.TextStrokeTransparency = 0
103
Text.Font = "SciFi"
104
Text.TextColor3 = Color3.fromRGB(233, 236, 39)
105
Text.TextStrokeColor3 = Color3.new(255,255,255)
106
Text.Text = "MINATO NAMIKAZIE"
107
local Img = Instance.new("ImageLabel",SGui)
108
Img.Image = "rbxassetid://92867469"
109
Img.Size = UDim2.new(0,200,0,200)
110
Img.BackgroundTransparency = 1
111
Img.Position = UDim2.new(0,1120,0,240)
112
Init = Instance.new("TextLabel",SGui)
113
Init.Size = UDim2.new(0,300,0,30)
114
Init.Position = UDim2.new(0,1060,0,200)
115
Init.BackgroundTransparency = 0.4
116
Init.BackgroundColor3 = Color3.fromRGB(231, 87, 58)
117
Init.Text = "Made by trollmon123"
118
Init.TextSize = 30
119
Init.Font = "SciFi"
120
Init.TextColor3 = Color3.new(0,0,0)
121
Mov2 = Instance.new("TextLabel",SGui)
122
Mov2.Size = UDim2.new(0,300,0,30)
123
Mov2.Position = UDim2.new(0,1060,0,450)
124
Mov2.BackgroundTransparency = 0.4
125
Mov2.BackgroundColor3 = Color3.fromRGB(233, 236, 39)
126
Mov2.Text = "(Click) Melee "
127
Mov2.TextSize = 30
128
Mov2.Font = "SciFi"
129
Mov2.TextColor3 = Color3.new(255,255,255)
130
Mov3 = Instance.new("TextLabel",SGui)
131
Mov3.Size = UDim2.new(0,300,0,30)
132
Mov3.Position = UDim2.new(0,1060,0,500)
133
Mov3.BackgroundTransparency = 0.4
134
Mov3.BackgroundColor3 = Color3.fromRGB(233, 236, 39)
135
Mov3.Text = "(E) Kunai teleport"
136
Mov3.TextSize = 30
137
Mov3.Font = "SciFi"
138
Mov3.TextColor3 = Color3.new(255,255,255)
139
Mov4 = Instance.new("TextLabel",SGui)
140
Mov4.Size = UDim2.new(0,300,0,30)
141
Mov4.Position = UDim2.new(0,1060,0,550)
142
Mov4.BackgroundTransparency = 0.4
143
Mov4.BackgroundColor3 = Color3.fromRGB(233, 236, 39)
144
Mov4.Text = "(R) Rasengan"
145
Mov4.TextSize = 30
146
Mov4.Font = "SciFi"
147
Mov4.TextColor3 = Color3.new(255,255,255)
148
Mov5 = Instance.new("TextLabel",SGui)
149
Mov5.Size = UDim2.new(0,300,0,30)
150
Mov5.Position = UDim2.new(0,1060,0,600)
151
Mov5.BackgroundTransparency = 0.4
152
Mov5.BackgroundColor3 = Color3.fromRGB(233, 236, 39)
153
Mov5.Text = "(Q)The Yellow Flash(ULT)"
154
Mov5.TextSize = 30
155
Mov5.Font = "SciFi"
156
Mov5.TextColor3 = Color3.new(255,255,255)
157
for i,v in pairs(Character.Head:children()) do
158
    if v:IsA("Sound") then
159
        v:Destroy()
160
    end
161
end
162
for i,v in pairs(Character:children()) do
163
    if v:IsA("Hat") then
164
        v:Destroy()
165
    end
166
end
167
for i,v in pairs(Character:children()) do
168
    if v:IsA("Accessory") then
169
        v:Destroy()
170
    end
171
end
172
for i,v in pairs(Character:children()) do
173
    if v:IsA("Hair") then
174
        v:Destroy()
175
    end
176
end
177
Humanoid.WalkSpeed = 30
178
Humanoid.Animator.Parent = nil
179
Character.Animate.Parent = nil
180
ROW = function(out, trans, s, wt, t, ang, plus)
181
for i = 1, 360, 360/t do
182
local c = Instance.new("Part", game.Workspace)
183
c.FormFactor = 3
184
c.TopSurface = 0
185
c.BottomSurface = 0
186
c.Size = s
187
c.Anchored = true
188
c.CanCollide = wt
189
c.Material= "Slate"
190
c.Transparency = trans
191
c.BrickColor = BrickColor.new("Dark orange")
192
c.CFrame = CFrame.new(Torso.CFrame.x,0,Torso.CFrame.z) * CFrame.Angles(0, math.rad(i +  plus), 0) *     CFrame.new(0, 0, out) * ang
193
c.Locked=true
194
game.Debris:AddItem(c,15)
195
end
196
end
197
198
local newMotor = function(part0, part1, c0, c1)
199
	local w = Create('Motor'){
200
		Parent = part0,
201
		Part0 = part0,
202
		Part1 = part1,
203
		C0 = c0,
204
		C1 = c1,
205
	}
206
	return w
207
end
208
function clerp(a, b, t)
209
	return a:lerp(b, t)
210
end
211
212
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
213
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
214
215
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
216
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
217
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
218
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
219
RootJoint.C1 = CFrame.new(0, 0, 0)
220
RootJoint.C0 = CFrame.new(0, 0, 0)
221
Torso.Neck.C1 = CFrame.new(0, 0, 0)
222
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
223
224
local rarmc1 = RW.C1
225
local larmc1 = LW.C1
226
local rlegc1 = RH.C1
227
local llegc1 = LH.C1
228
229
local resetc1 = false
230
231
function PlayAnimationFromTable(table, speed, bool)
232
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
233
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
234
	RW.C0 = clerp(RW.C0, table[3], speed) 
235
	LW.C0 = clerp(LW.C0, table[4], speed) 
236
	RH.C0 = clerp(RH.C0, table[5], speed) 
237
	LH.C0 = clerp(LH.C0, table[6], speed) 
238
	if bool == true then
239
		if resetc1 == false then
240
			resetc1 = true
241
			RootJoint.C1 = RootJoint.C1
242
			Torso.Neck.C1 = Torso.Neck.C1
243
			RW.C1 = rarmc1
244
			LW.C1 = larmc1
245
			RH.C1 = rlegc1
246
			LH.C1 = llegc1
247
		end
248
	end
249
end
250
251
ArtificialHB = Create("BindableEvent", script){
252
	Parent = script,
253
	Name = "Heartbeat",
254
}
255
256
script:WaitForChild("Heartbeat")
257
258
frame = 1 / 30
259
tf = 0
260
allowframeloss = false
261
tossremainder = false
262
lastframe = tick()
263
script.Heartbeat:Fire()
264
265
game:GetService("RunService").Heartbeat:connect(function(s, p)
266
	tf = tf + s
267
	if tf >= frame then
268
		if allowframeloss then
269
			script.Heartbeat:Fire()
270
			lastframe = tick()
271
		else
272
			for i = 1, math.floor(tf / frame) do
273
				script.Heartbeat:Fire()
274
			end
275
			lastframe = tick()
276
		end
277
		if tossremainder then
278
			tf = 0
279
		else
280
			tf = tf - frame * math.floor(tf / frame)
281
		end
282
	end
283
end)
284
285
function swait(num)
286
	if num == 0 or num == nil then
287
		ArtificialHB.Event:wait()
288
	else
289
		for i = 0, num do
290
			ArtificialHB.Event:wait()
291
		end
292
	end
293
end
294
295
296
297
Mouse.Button1Down:connect(function()
298
	if attack == false and attacktype == 1 then
299
		Hit()
300
		attacktype = 2
301
	elseif attack == false and attacktype == 2 then
302
		Hit2()
303
		attacktype = 1
304
	end
305
end)
306
Mouse.KeyDown:connect(function(key)
307
	if key == "e" then
308
		KT()
309
	end
310
	if key == "r" then
311
		Rasen()
312
	end
313
	if key == "q" then
314
		Ult()
315
	end
316
end)
317
318
function Ult()
319
	if not D then D = true
320
		Pause = true
321
		for i = 0,0.5,0.1 do
322
		swait()
323
		PlayAnimationFromTable({
324
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.3, 0), 
325
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.3, 0), 
326
         CFrame.new(1,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,-0.7), 
327
         CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), 
328
         CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), 
329
         CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), 
330
		}, .5, false)
331
		end
332
		Kun.Transparency = 1
333
		local HB = Instance.new("Part",Character)
334
		HB.Size = Vector3.new(2,2,2)
335
		HB.CanCollide = false
336
		HB.CFrame = RightArm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0)
337
		local HB2 = Instance.new("SpecialMesh",HB)
338
		HB2.MeshId = "rbxassetid://1184404045"
339
		HB2.TextureId = "rbxassetid://1184404058"
340
		HB2.Scale = Vector3.new(0.5,0.5,0.5)
341
		local Fl = Instance.new("BodyVelocity",HB)
342
		Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
343
		Fl.velocity = RootPart.CFrame.lookVector*300
344
		HB.Touched:connect(function(hit)
345
			if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
346
				ZZA = true
347
				if ZZA == true then
348
				HB:remove()
349
				Pause = true
350
				hit.Parent.Humanoid.WalkSpeed = 0
351
				hit.Parent.Humanoid.JumpPower = 0
352
				Humanoid.WalkSpeed = 0
353
				Humanoid.JumpPower = 0
354
				hit.Parent.HumanoidRootPart.Anchored = true
355
				local Sou = Instance.new("Sound",Torso)
356
				Sou.SoundId = "rbxassetid://1105039884"
357
				Sou.Pitch = 1
358
				Sou.Volume = 12
359
				Sou.Looped = false
360
				Sou:play()
361
				local C = Instance.new("Part",Torso)
362
				C.Size = Vector3.new(0.1,0.1,0.1)
363
				C.BrickColor = BrickColor.new("Royal blue")
364
				C.Material = "Neon"
365
				C.CanCollide = false
366
				local C2 = Instance.new("SpecialMesh",C)
367
				C2.MeshType = "Sphere"
368
				C2.Scale = Vector3.new(0.1,0.1,0.1)
369
				local C3 = Instance.new("Weld",C)
370
				C3.Part0 = RightArm
371
				C3.Part1 = C
372
				C3.C0 = CFrame.new(0,-1.1,0)
373
				local FlA = Instance.new("ParticleEmitter",C)
374
				FlA.Texture = "rbxassetid://374933037"
375
				FlA.Size = NumberSequence.new(2)
376
				FlA.Rotation = NumberRange.new(-100, 100)
377
				FlA.RotSpeed = NumberRange.new(-100, 100)
378
				FlA.Transparency = NumberSequence.new(0,1)
379
				FlA.Speed = NumberRange.new(0)
380
				FlA.Lifetime = NumberRange.new(0.3)
381
				FlA.LockedToPart = true
382
				FlA.Rate = 11111
383
				local DlA = Instance.new("ParticleEmitter",C)
384
				DlA.Texture = "rbxassetid://375814631"
385
				DlA.Size = NumberSequence.new(2,0)
386
				DlA.Rotation = NumberRange.new(-100, 100)
387
				DlA.RotSpeed = NumberRange.new(-100, 100)
388
				DlA.Transparency = NumberSequence.new(0,1)
389
				DlA.Speed = NumberRange.new(0)
390
				DlA.LockedToPart = true
391
				DlA.Lifetime = NumberRange.new(0.3)
392
				DlA.Rate = 100
393
				local FFA = Instance.new("ParticleEmitter",C)
394
				FFA.Texture = "rbxassetid://1471463945"
395
				FFA.Size = NumberSequence.new(3,0)
396
				FFA.Rotation = NumberRange.new(-100, 100)
397
				FFA.RotSpeed = NumberRange.new(-100, 100)
398
				FFA.Transparency = NumberSequence.new(0,1)
399
				FFA.Speed = NumberRange.new(0)
400
				FFA.LockedToPart = true
401
				FFA.Lifetime = NumberRange.new(0.3)
402
				FFA.Rate = 50
403
				RootPart.Anchored = true
404
				RootPart.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,27,0)*CFrame.Angles(0,0,0)
405
				for i = 0,1.2,0.1 do
406
				swait()
407
				PlayAnimationFromTable({
408
		         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1.55, 0, 0), 
409
		         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
410
		         CFrame.new(1.5,0.5,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.5), 
411
		         CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), 
412
		         CFrame.new(0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
413
         		 CFrame.new(-0.5,-2,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), 
414
				}, .5, false)
415
				end
416
				RootPart.Anchored = false
417
				local Fle = Instance.new("BodyPosition",RootPart)
418
				Fle.maxForce = Vector3.new(math.huge,math.huge,math.huge)
419
				Fle.P = 3000
420
       	 			Fle.D = 300
421
				Fle.position = hit.Parent.HumanoidRootPart.Position
422
				wait(0.5)
423
				Fle:remove()
424
				hit.Parent.Humanoid:TakeDamage(300)
425
				local Ef = Instance.new("Part",Torso)
426
				Ef.Size = Vector3.new(1,1,1)
427
				Ef.CanCollide = false
428
				Ef.Anchored = true
429
				Ef.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)
430
				Ef.Material = "Neon"
431
				Ef.BrickColor = BrickColor.new("Toothpaste")
432
				local Ef2 = Instance.new("SpecialMesh",Ef)
433
				Ef2.MeshType = "Sphere"
434
				Ef2.Scale = Vector3.new(1,1,1)
435
				local Rin = Instance.new("Part",Torso)
436
				Rin.Size = Vector3.new(1,1,1)
437
				Rin.Material = "Neon"
438
				Rin.BrickColor = BrickColor.new("White")
439
				Rin.CanCollide = false
440
				Rin.Transparency = 0
441
				Rin.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.56,0,0)
442
				Rin.Anchored = true
443
				local Rin2 = Instance.new("SpecialMesh",Rin)
444
				Rin2.MeshId = "rbxassetid://3270017"
445
				Rin2.Scale = Vector3.new(1,1,0.1)
446
				local Bla = Instance.new("Part",Torso)
447
				Bla.Size = Vector3.new(1,1,1)
448
				Bla.BrickColor = BrickColor.new("White")
449
				Bla.CanCollide = false
450
				Bla.Anchored = true
451
				Bla.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
452
				local Bla2 = Instance.new("SpecialMesh",Bla)
453
				Bla2.MeshId = "rbxassetid://20329976"
454
				Bla2.Scale = Vector3.new(1,1,1)
455
				local TOA = Instance.new("Part",Torso)
456
				TOA.Size = Vector3.new(1,1,1)
457
				TOA.BrickColor = BrickColor.new("White")
458
				TOA.CanCollide = false
459
				TOA.Anchored = true
460
				TOA.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
461
				local TOA2 = Instance.new("SpecialMesh",TOA)
462
				TOA2.MeshId = "rbxassetid://1051557"
463
				TOA2.Scale = Vector3.new(1,1,1)
464
				local FCZ = Instance.new("Sound",Torso)
465
				FCZ.SoundId = "rbxassetid://165969964"
466
				FCZ.Volume = math.huge
467
				FCZ.Pitch = 1
468
				FCZ.Looped = false
469
				FCZ:Play()
470
				ROW(20, 0, Vector3.new(30,30,7), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad    (math.random(-30,30))), 0)
471
				ROW(30, 0, Vector3.new(50,50,7), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad    (math.random(-30,30))), 0)
472
				coroutine.resume(coroutine.create(function()
473
				for i = 1,1000 do
474
					TOA2.Scale = TOA2.Scale + Vector3.new(0.6,0.6,0.6)
475
					TOA.Transparency = TOA.Transparency + 0.002
476
					TOA.CFrame = TOA.CFrame*CFrame.new(0,0.3,0)*CFrame.Angles(0,0.3,0)
477
					Bla.CFrame = Bla.CFrame*CFrame.new(0,0.3,0)*CFrame.Angles(0,0.3,0)
478
					Bla2.Scale = Bla2.Scale + Vector3.new(0.7,0.7,0.7)
479
					Bla.Transparency = Bla.Transparency + 0.002
480
					Ef2.Scale = Ef2.Scale + Vector3.new(0.4,0.4,0.4)
481
					Ef.Transparency = Ef.Transparency + 0.002
482
					Rin2.Scale = Rin2.Scale + Vector3.new(0.6,0.6,0)
483
					Rin.Transparency = Rin.Transparency + 0.002
484
					game:GetService("RunService").RenderStepped:wait()
485
				end
486
				end))
487
				for i = 0,1.2,0.1 do
488
				swait()
489
				PlayAnimationFromTable({
490
		         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1.55, 0, 0), 
491
		         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
492
		         CFrame.new(1.4,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,-0.1), 
493
		         CFrame.new(-1.5,0,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), 
494
		         CFrame.new(0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
495
         		 CFrame.new(-0.5,-2,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), 
496
				}, .5, false)
497
				end
498
				Pause = false
499
				FlA.Enabled = false
500
				DlA.Enabled = false
501
				FFA.Enabled = false
502
				Kun.Transparency = 0
503
				Humanoid.WalkSpeed = 30
504
				Humanoid.JumpPower = 50
505
				wait(3)
506
				C:remove()
507
				end
508
			end
509
		end)
510
		for i = 0,0.5,0.1 do
511
		swait()
512
		PlayAnimationFromTable({
513
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.7, 0), 
514
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.7, 0), 
515
         CFrame.new(1.9,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.7), 
516
         CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), 
517
         CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), 
518
         CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), 
519
		}, .5, false)
520
		end
521
		if ZZA == false then
522
		Pause = false
523
		end
524
		wait(2)
525
		D = false
526
	end
527
end
528
function Rasen()
529
	if not D then D = true
530
		Pause = true
531
		for i = 0,1.2,0.1 do
532
		swait()
533
		PlayAnimationFromTable({
534
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.7, 0), 
535
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.7, 0), 
536
         CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4,0,0), 
537
         CFrame.new(-1.7,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.6), 
538
         CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), 
539
         CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), 
540
		}, .5, false)
541
		end
542
		local Sou = Instance.new("Sound",Torso)
543
		Sou.SoundId = "rbxassetid://1105039884"
544
		Sou.Pitch = 1
545
		Sou.Volume = 12
546
		Sou.Looped = false
547
		Sou:play()
548
		local HB = Instance.new("Part",Character)
549
		HB.Size = Vector3.new(1,1,1)
550
		HB.CanCollide = false
551
		HB.Transparency = 1
552
		local HB2 = Instance.new("Weld",HB)
553
		HB2.Part0 = LeftArm
554
		HB2.Part1 = HB
555
		HB2.C0 = CFrame.new(0,-1.1,0)
556
		local C = Instance.new("Part",Torso)
557
		C.Size = Vector3.new(0.1,0.1,0.1)
558
		C.BrickColor = BrickColor.new("Royal blue")
559
		C.Material = "Neon"
560
		C.CanCollide = false
561
		local C2 = Instance.new("SpecialMesh",C)
562
		C2.MeshType = "Sphere"
563
		C2.Scale = Vector3.new(0.1,0.1,0.1)
564
		local C3 = Instance.new("Weld",C)
565
		C3.Part0 = LeftArm
566
		C3.Part1 = C
567
		C3.C0 = CFrame.new(0,-1.1,0)
568
		local FlA = Instance.new("ParticleEmitter",C)
569
		FlA.Texture = "rbxassetid://374933037"
570
		FlA.Size = NumberSequence.new(2)
571
		FlA.Rotation = NumberRange.new(-100, 100)
572
		FlA.RotSpeed = NumberRange.new(-100, 100)
573
		FlA.Transparency = NumberSequence.new(0,1)
574
		FlA.Speed = NumberRange.new(0)
575
		FlA.Lifetime = NumberRange.new(0.3)
576
		FlA.LockedToPart = true
577
		FlA.Rate = 11111
578
		local DlA = Instance.new("ParticleEmitter",C)
579
		DlA.Texture = "rbxassetid://375814631"
580
		DlA.Size = NumberSequence.new(2,0)
581
		DlA.Rotation = NumberRange.new(-100, 100)
582
		DlA.RotSpeed = NumberRange.new(-100, 100)
583
		DlA.Transparency = NumberSequence.new(0,1)
584
		DlA.Speed = NumberRange.new(0)
585
		DlA.LockedToPart = true
586
		DlA.Lifetime = NumberRange.new(0.3)
587
		DlA.Rate = 100
588
		local FFA = Instance.new("ParticleEmitter",C)
589
		FFA.Texture = "rbxassetid://1471463945"
590
		FFA.Size = NumberSequence.new(3,0)
591
		FFA.Rotation = NumberRange.new(-100, 100)
592
		FFA.RotSpeed = NumberRange.new(-100, 100)
593
		FFA.Transparency = NumberSequence.new(0,1)
594
		FFA.Speed = NumberRange.new(0)
595
		FFA.LockedToPart = true
596
		FFA.Lifetime = NumberRange.new(0.3)
597
		FFA.Rate = 50
598
		wait(1.5)
599
		HB.Touched:connect(function(hit)
600
			if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
601
				HB:remove()
602
				Fl.velocity = RootPart.CFrame.lookVector*0
603
				local Im = Instance.new("Sound",hit.Parent.Head)
604
				Im.SoundId = "rbxassetid://1291549808"
605
				Im.Volume = math.huge
606
				Im.Looped = false
607
				Im.Pitch = 1 
608
				Im:play()
609
				local Ef = Instance.new("Part",hit.Parent)
610
				Ef.Size = Vector3.new(1,1,1)
611
				Ef.CanCollide = false
612
				Ef.Anchored = true
613
				Ef.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)
614
				Ef.Material = "Neon"
615
				Ef.BrickColor = BrickColor.new("Toothpaste")
616
				local Ef2 = Instance.new("SpecialMesh",Ef)
617
				Ef2.MeshType = "Sphere"
618
				Ef2.Scale = Vector3.new(1,1,1)
619
				local Rin = Instance.new("Part",hit.Parent)
620
				Rin.Size = Vector3.new(1,1,1)
621
				Rin.Material = "Neon"
622
				Rin.BrickColor = BrickColor.new("White")
623
				Rin.CanCollide = false
624
				Rin.Transparency = 0
625
				Rin.CFrame = hit.Parent.HumanoidRootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.56,0,0)
626
				Rin.Anchored = true
627
				local Rin2 = Instance.new("SpecialMesh",Rin)
628
				Rin2.MeshId = "rbxassetid://3270017"
629
				Rin2.Scale = Vector3.new(1,1,0.1)
630
				coroutine.resume(coroutine.create(function()
631
				for i = 1,130 do
632
					Ef2.Scale = Ef2.Scale + Vector3.new(1,1,1)
633
					Ef.Transparency = Ef.Transparency + 0.009
634
					Rin2.Scale = Rin2.Scale + Vector3.new(1.2,1.2,0)
635
					Rin.Transparency = Rin.Transparency + 0.009
636
					game:GetService("RunService").RenderStepped:wait()
637
				end
638
				Rin:remove()
639
				Ef:remove()
640
				end))
641
				hit.Parent.Humanoid:TakeDamage(60)
642
				hit.Parent.Humanoid.Sit = true
643
				local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
644
				Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
645
				Fl.velocity = RootPart.CFrame.lookVector*120
646
				wait(0.2)
647
				Fl:remove()
648
			end
649
		end)
650
		Fl = Instance.new("BodyVelocity",Torso)
651
		Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
652
		Fl.velocity = RootPart.CFrame.lookVector*180
653
		for i = 0,1.2,0.1 do
654
		swait()
655
		PlayAnimationFromTable({
656
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), 
657
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0), 
658
         CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,0), 
659
         CFrame.new(-1.5,0.6,-0.8) * CFrame.new(0, 0, 0) * CFrame.Angles(2, 0, 0), 
660
         CFrame.new(0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
661
         CFrame.new(-0.5,-2,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), 
662
		}, .5, false)
663
		end
664
		wait(1)
665
		Fl.velocity = RootPart.CFrame.lookVector*0
666
		Fl:remove()
667
		DlA.Enabled = false
668
		FlA.Enabled = false
669
		FFA.Enabled = false
670
		HB:remove()
671
		Pause = false
672
		Sou:remove()
673
		wait(1)
674
		D = false
675
	end
676
end
677
678
function KT()
679
	if not D then D = true
680
		Pause = true
681
		for i = 0,0.5,0.1 do
682
		swait()
683
		PlayAnimationFromTable({
684
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.3, 0), 
685
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.3, 0), 
686
         CFrame.new(1,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,-0.7), 
687
         CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), 
688
         CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), 
689
         CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), 
690
		}, .5, false)
691
		end
692
		Kun.Transparency = 1
693
		local Kan = Instance.new("Part",RightArm)
694
		Kan.Size = Vector3.new(0.1,0.1,0.1)
695
		Kan.CanCollide = false
696
		Kan.CFrame = RightArm.CFrame*CFrame.new(0,-1.1,0)*CFrame.Angles(0,1.55,0)
697
		local Kan2 = Instance.new("SpecialMesh",Kan)
698
		Kan2.MeshId = "rbxassetid://1184404045"
699
		Kan2.TextureId = "rbxassetid://1184404058"
700
		Kan2.Scale = Vector3.new(0.5,0.5,0.5)
701
		local Fl = Instance.new("BodyVelocity",Kan)
702
		Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
703
		Fl.velocity = Mouse.hit.lookVector*300
704
		Kan.Touched:connect(function()
705
			if hitted == false then
706
				hitted = true
707
				Kan.Anchored = true
708
				Trail.Enabled = true
709
				local S = Instance.new("Sound",Character.Torso)
710
				S.Volume = 1212
711
				S.Looped = false
712
				S.Pitch = 1
713
				S.SoundId = "rbxassetid://588277987"
714
				S:play()
715
				local Lim = Instance.new("Part",Torso)
716
				Lim.Size = Vector3.new(1,1,1)
717
				Lim.Material = "Neon"
718
				Lim.BrickColor = BrickColor.new("White")
719
				Lim.CanCollide = false
720
				Lim.CFrame = RootPart.CFrame*CFrame.new(0,-1.9,0)*CFrame.Angles(0,0,0)
721
				Lim.Anchored = true
722
				local Lim2 = Instance.new("SpecialMesh",Lim)
723
				Lim2.MeshId = "rbxassetid://489415447"
724
				Lim2.Scale = Vector3.new(1,1,1)
725
				local Dim = Instance.new("Part",Torso)
726
				Dim.Size = Vector3.new(1,1,1)
727
				Dim.Material = "Neon"
728
				Dim.BrickColor = BrickColor.new("White")
729
				Dim.CanCollide = false
730
				Dim.CFrame = RootPart.CFrame*CFrame.new(0,-1.9,0)*CFrame.Angles(0,0,0)
731
				Dim.Anchored = true
732
				local Dim2 = Instance.new("SpecialMesh",Dim)
733
				Dim2.MeshId = "rbxassetid://489415447"
734
				Dim2.Scale = Vector3.new(1,1,1)
735
				coroutine.resume(coroutine.create(function()
736
				for i = 1,200 do
737
					Lim2.Scale = Lim2.Scale + Vector3.new(0.1,0.1,0.1)
738
					Lim.Transparency = Lim.Transparency + 0.009
739
					Lim.CFrame = Lim.CFrame*CFrame.Angles(0,0.3,0)
740
					Dim2.Scale = Dim2.Scale + Vector3.new(0.2,0.2,0.2)
741
					Dim.Transparency = Dim.Transparency + 0.009
742
					Dim.CFrame = Dim.CFrame*CFrame.Angles(0,-0.3,0)
743
					game:GetService("RunService").RenderStepped:wait()
744
				end
745
				Lim:remove()
746
				end))
747
				wait(0.005)
748
				Kun.Transparency = 0
749
				coroutine.resume(coroutine.create(function()
750
				wait(0.6)
751
				Trail.Enabled = false
752
				end))
753
				RootPart.CFrame = Kan.CFrame*CFrame.new(0,-9,0)*CFrame.Angles(0,0,-1.55)
754
				hitted = false
755
				Kan:remove()
756
			end
757
		end)
758
		for i = 0,0.5,0.1 do
759
		swait()
760
		PlayAnimationFromTable({
761
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.7, 0), 
762
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.7, 0), 
763
         CFrame.new(1.9,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.7), 
764
         CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), 
765
         CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1), 
766
         CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), 
767
		}, .5, false)
768
		end
769
		Pause = false
770
		wait(0.5)
771
		D = false
772
	end
773
end
774
function Hit()
775
	if not D then D = true
776
		Pause = true
777
		for i = 0,0.5,0.1 do
778
		swait()
779
		PlayAnimationFromTable({
780
         CFrame.new(0,0,0) * CFrame.new(0, -0.2, 0) * CFrame.Angles(-0.2, -0.6, 0), 
781
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0.6, 0), 
782
         CFrame.new(1.7,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.7), 
783
         CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, 0, 0), 
784
         CFrame.new(0.9,-1.8,0) * CFrame.new(0, 0, -0.2) *CFrame.Angles(0.2,0,0)* CFrame.Angles(-0.8, 0, 0.5), 
785
         CFrame.new(-0.5,-1.8,-0.3) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0.2, 0, 0), 
786
		}, .5, false)
787
		end
788
		local HB = Instance.new("Part",Character)
789
		HB.Size = Vector3.new(2,2,2)
790
		HB.CanCollide = false
791
		HB.Transparency = 1
792
		local HB2 = Instance.new("Weld",HB)
793
		HB2.Part0 = RightArm
794
		HB2.Part1 = HB
795
		HB2.C0 = CFrame.new(0,-1.3,0)
796
		local F = Instance.new("Sound",Character.Torso)
797
		F.SoundId = "rbxassetid://358509727"
798
		F.Volume = 11
799
		F.Looped = false
800
		F.Pitch = 1
801
		F:play()
802
		HB.Touched:connect(function(hit)
803
			if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
804
				HB:remove()
805
				hit.Parent.Humanoid:TakeDamage(20)
806
				local S = Instance.new("Sound",hit.Parent)
807
				S.SoundId = "rbxassetid://566593606"
808
				S.Pitch = 1
809
				S.Looped = false
810
				S.Volume = 11
811
				S:play()
812
				local Fl = Instance.new("BodyVelocity",hit.Parent.HumanoidRootPart)
813
				Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
814
				Fl.velocity = RootPart.CFrame.lookVector*15
815
				wait(0.1)
816
				Fl:remove()
817
			end
818
		end)
819
		for i = 0,0.5,0.1 do
820
		swait()
821
		PlayAnimationFromTable({
822
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.6, 0), 
823
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.6, 0), 
824
         CFrame.new(0.7,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,-0.7), 
825
         CFrame.new(-1.5,0,0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4, 0, 0), 
826
         CFrame.new(0.5,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), 
827
         CFrame.new(-0.5,-1.8,-0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
828
		}, .5, false)
829
		Kun3.C0 = clerp(Kun3.C0,CFrame.new(0.3,-1.7,0)*CFrame.Angles(0,1.55,0)*CFrame.Angles(1.55,0,0),.3)
830
		end
831
		Pause = false
832
		wait(0.1)
833
		HB:remove()
834
		D = false 
835
	end
836
end
837
838
function Hit2()
839
	if not D then D = true
840
		Pause = true
841
		for i = 0,0.5,0.1 do
842
		swait()
843
		PlayAnimationFromTable({
844
         CFrame.new(0,0,0) * CFrame.new(0, -0.2, 0) * CFrame.Angles(-0.2, 0.6, 0), 
845
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, -0.6, 0), 
846
         CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2,0,0), 
847
         CFrame.new(-1.7,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0.7), 
848
         CFrame.new(0.9,-1.8,0) * CFrame.new(0, 0, -0.2) *CFrame.Angles(0.2,0,0)* CFrame.Angles(-0.8, 0, 0.5), 
849
         CFrame.new(-0.5,-1.8,-0.3) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0.2, 0, 0), 
850
		}, .5, false)
851
		end
852
		local HB = Instance.new("Part",Character)
853
		HB.Size = Vector3.new(1,1,1)
854
		HB.CanCollide = false
855
		HB.Transparency = 1
856
		local HB2 = Instance.new("Weld",HB)
857
		HB2.Part0 = LeftArm
858
		HB2.Part1 = HB
859
		HB2.C0 = CFrame.new(0,-1.1,0)
860
		local F = Instance.new("Sound",Character.Torso)
861
		F.SoundId = "rbxassetid://908217684"
862
		F.Volume = 11
863
		F.Looped = false
864
		F.Pitch = 1
865
		F:play()
866
		HB.Touched:connect(function(hit)
867
			if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
868
				HB:remove()
869
				hit.Parent.Humanoid:TakeDamage(13)
870
				local S = Instance.new("Sound",hit.Parent)
871
				S.SoundId = "rbxassetid://936700628"
872
				S.Pitch = 1
873
				S.Looped = false
874
				S.Volume = 11
875
				S:play()
876
				local Fl = Instance.new("BodyVelocity",hit.Parent.HumanoidRootPart)
877
				Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
878
				Fl.velocity = RootPart.CFrame.lookVector*15
879
				wait(0.1)
880
				Fl:remove()
881
			end
882
		end)
883
		for i = 0,0.5,0.1 do
884
		swait()
885
		PlayAnimationFromTable({
886
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.6, 0), 
887
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.6, 0), 
888
         CFrame.new(1.5,0,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4,0,0), 
889
         CFrame.new(-1.2,0.5,-1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.2), 
890
         CFrame.new(0.5,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0), 
891
         CFrame.new(-0.5,-1.8,-0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
892
		}, .5, false)
893
		Kun3.C0 = clerp(Kun3.C0,CFrame.new(1,-1.1,0)*CFrame.Angles(0,1.55,0),.3)
894
		end
895
		Pause = false
896
		wait(0.1)
897
		HB:remove()
898
		D = false
899
	end
900
end
901
New = function(Object, Parent, Name, Data)
902
	local Object = Instance.new(Object)
903
	for Index, Value in pairs(Data or {}) do
904
		Object[Index] = Value
905
	end
906
	Object.Parent = Parent
907
	Object.Name = Name
908
	return Object
909
end
910
function rayCast(Position, Direction, Range, Ignore)
911
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
912
end 
913
914
915
916
917
coroutine.wrap(function()
918
while 1 do
919
swait()
920
if doe <= 360 then
921
	doe = doe + 2
922
else
923
	doe = 0
924
end
925
end
926
end)()
927
while true do
928
	swait()
929
	RightArm.BrickColor = ZZZ
930
	LeftArm.BrickColor = ZZZ
931
	Torso.BrickColor = ZZZ
932
	RightLeg.BrickColor = ZZZ
933
	LeftLeg.BrickColor = ZZZ
934
	Head.BrickColor = ZZZ
935
	for i, v in pairs(Character:GetChildren()) do
936
		if v:IsA("Part") then
937
			v.Material = "SmoothPlastic"
938
		elseif v:IsA("Accessory") then
939
			v:WaitForChild("Handle").Material = "SmoothPlastic"
940
		end
941
	end
942
943
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
944
	velocity = RootPart.Velocity.y
945
	sine = sine + change
946
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
947
		if RootPart.Velocity.y > 1 and hit == nil then 
948
			Anim = "Jump"
949
			if Pause == false then
950
		PlayAnimationFromTable({
951
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso, 
952
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
953
         CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),  --- RightArm
954
         CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm 
955
         CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
956
         CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
957
		}, .3, false)
958
					end
959
		elseif RootPart.Velocity.y < -1 and hit == nil then 
960
			Anim = "Fall"
961
			if Pause == false then
962
		PlayAnimationFromTable({
963
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso, 
964
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
965
         CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),  --- RightArm
966
         CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm 
967
         CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
968
         CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
969
		}, .3, false)
970
					end
971
		elseif Torsovelocity < 1 and hit ~= nil then
972
			Anim = "Idle"
973
			if Pause == false then
974
				change = 1
975
		PlayAnimationFromTable({
976
         CFrame.new(0,0,0) * CFrame.new(0, 0-.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 1, 0), -- Torso, 
977
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0), ----- Head
978
         CFrame.new(1,0.5,-0.5) * CFrame.new(0,0, 0) * CFrame.Angles(1.55,0,-0.5),  --- RightArm
979
         CFrame.new(-1.6,0,0) * CFrame.new(0,  0-.1*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, -0.1),--LeftArm 
980
         CFrame.new(0.5,-1.6,-0.3) * CFrame.new(0, 0-.1*math.sin(tick()*2), 0)* CFrame.Angles(-0.5, 0, 0), --RightLeg
981
         CFrame.new(-0.5,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0), --LeftLeg
982
		}, .3, false)
983
		Kun3.C0 = clerp(Kun3.C0,CFrame.new(1,-1.1,0)*CFrame.Angles(0,1.55,0),.3)
984
			end
985
		elseif Torsovelocity > 2 and hit ~= nil then
986
			Anim = "Walk"
987
			if Pause == false then
988
		PlayAnimationFromTable({		
989
           CFrame.new(0,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*26), 0) * CFrame.Angles(-0.5, 0, 0+RootPart.RotVelocity.Y/33), -- Torso, 
990
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0+RootPart.RotVelocity.Y/20, 0), ----- Head
991
         CFrame.new(1.5,0.5,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-1.11,0,0),  --- RightArm
992
         CFrame.new(-1.5,0.5,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-1.11, 0, 0),--LeftArm 
993
        CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .9 * math.cos((sine) / 2)) * CFrame.Angles(0-1*math.cos((sine) / 2),0,0)*CFrame.Angles(math.rad(0 - 40 * math.cos((sine) / 2)), 0, 0-RootPart.RotVelocity.Y/33), 
994
         CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .9 * math.cos((sine) / 2)) * CFrame.Angles(0+1*math.cos((sine) / 2),0,0)*CFrame.Angles(math.rad(0 + 40 * math.cos((sine) / 2)), 0, 0-RootPart.RotVelocity.Y/33), 
995
		}, .3, false)
996
		Kun3.C0 = clerp(Kun3.C0,CFrame.new(1,-1.1,0)*CFrame.Angles(0,1.55,0),.3)
997
			end
998
		end
999
end