· 6 years ago · Feb 29, 2020, 01:42 AM
1
2PASTEBIN
3GO API TOOLS FAQ DEALS
4paste
5SIGN IN SIGN UP
6Public Pastes
7
8 Untitled23 sec ago
9 Untitled23 sec ago
10 UntitledJava | 28 sec ago
11 Untitled29 sec ago
12 UntitledHTML | 29 sec ago
13 After The SunderingHTML | 29 sec ago
14 AnnoveraR | 29 sec ago
15 Untitled36 sec ago
16
17SHARE
18TWEET
19Untitled
20a guest Aug 25th, 2017 82,420 Never
21Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
22rawdownloadcloneembedreportprint text 73.38 KB
23
24--When'sWaifu
25wait(0.2)
26print("Hey!!!")
27print("You Pervert!!!")
28local hoh = game:GetService"Players".LocalPlayer
29local char = hoh.Character
30local Head = char.Head
31 local LeftArm = char["Left Arm"]
32 local RightArm = char["Right Arm"]
33 local LeftLeg = char["Left Leg"]
34 local RightLeg = char["Right Leg"]
35mouse = hoh:GetMouse()
36local cam = game.Workspace.CurrentCamera
37local RootPart = char.HumanoidRootPart
38local RootJoint = RootPart.RootJoint
39 local Anim = "Idle"
40 local idle = 0
41 local Effects = {}
42 local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
43vt = Vector3.new
44local cf = CFrame.new
45local mr = math.rad
46local angles = CFrame.Angles
47local ud = UDim2.new
48local c3 = Color3.new
49 local velocity = RootPart.Velocity.y
50 local sine = 0
51 local change = 1
52 local grabbed = false
53 local cn = CFrame.new
54 local mr = math.rad
55 local angles = CFrame.Angles
56 local ud = UDim2.new
57 local c3 = Color3.new
58 local d = Instance.new('Model', char)
59 d.Name = "KKK"
60 attack = false
61 nak = false
62 disable = false
63 attacktype = 1
64 equipped = false
65 char.Humanoid.Animator.Parent = nil
66 char.Animate.Parent = nil
67 local newMotor = function(part0, part1, c0, c1)
68 local w = Instance.new("Motor", part0)
69 w.Part0 = part0
70 w.Part1 = part1
71 w.C0 = c0
72 w.C1 = c1
73 return w
74 end
75 clerp = function(a, b, t)
76
77 return a:lerp(b, t)
78 end
79
80 for i,v in pairs(char:children()) do
81 if v:IsA("Hat") then
82 v:Destroy()
83 end
84for i,v in pairs(char:children()) do
85 if v:IsA("Accessory") then
86 v:Destroy()
87 end
88for i,v in pairs(char:children()) do
89 if v:IsA("ShirtGraphic") then
90 v:Destroy()
91 end
92end
93end
94end
95
96ypcall(function()
97char.Torso.roblox:Remove()
98char.Shirt:Destroy()
99char.Pants:Destroy()
100char.Head.face:Destroy()
101shirt = Instance.new("Shirt", char)
102shirt.Name = "Shirt"
103Pants = Instance.new("Pants", char)
104Pants.Name = "Pants"
105face = Instance.new("Decal", char.Head)
106face.Name = "face"
107char.Shirt.ShirtTemplate = "rbxassetid://251988595"
108char.Pants.PantsTemplate = "rbxassetid://324421595"
109char.Head.face.Texture = "rbxassetid://648887959"
110end)
111function CreateSound(id, par, vol, pit)
112 coroutine.resume(coroutine.create(function()
113 local sou = Instance.new("Sound", par or workspace)
114 sou.Volume = vol
115 sou.Pitch = pit or 1
116 sou.SoundId = id
117 wait()
118 sou:play()
119 game:GetService("Debris"):AddItem(sou, 6)
120 end))
121end
122New = function(Object, Parent, Name, Data)
123 local Object = Instance.new(Object)
124 for Index, Value in pairs(Data or {}) do
125 Object[Index] = Value
126 end
127 Object.Parent = Parent
128 Object.Name = Name
129 return Object
130end
131
132
133 local co1 = 5
134 local co2 = 8
135 local co3 = 10
136 local co4 = 25
137 local cooldown1 = 0
138 local cooldown2 = 0
139 local cooldown3 = 0
140 local cooldown4 = 0
141 local skillcolorscheme = BrickColor.new("Navy blue").Color
142 local scrn = Instance.new("ScreenGui", hoh.PlayerGui)
143 makeframe = function(par, trans, pos, size, color)
144
145 local frame = Instance.new("Frame", par)
146 frame.BackgroundTransparency = trans
147 frame.BorderSizePixel = 0
148 frame.Position = pos
149 frame.Size = size
150 frame.BackgroundColor3 = color
151 return frame
152end
153
154 makelabel = function(par, text)
155
156 local label = Instance.new("TextLabel", par)
157 label.BackgroundTransparency = 1
158 label.Size = UDim2.new(1, 0, 1, 0)
159 label.Position = UDim2.new(0, 0, 0, 0)
160 label.TextColor3 = Color3.new(255, 255, 0)
161 label.TextStrokeTransparency = 0
162 label.FontSize = Enum.FontSize.Size32
163 label.Font = Enum.Font.SourceSansLight
164 label.BorderSizePixel = 0
165 label.TextScaled = true
166 label.Text = text
167end
168
169 framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
170 framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
171 framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
172 framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
173 bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
174 bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
175 bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
176 bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
177 text1 = Instance.new("TextLabel", framesk1)
178 text1.BackgroundTransparency = 1
179 text1.Size = UDim2.new(1, 0, 1, 0)
180 text1.Position = UDim2.new(0, 0, 0, 0)
181 text1.TextColor3 = Color3.new(255, 255, 0)
182 text1.TextStrokeTransparency = 0
183 text1.FontSize = Enum.FontSize.Size18
184 text1.Font = Enum.Font.SourceSansLight
185 text1.BorderSizePixel = 0
186 text1.TextScaled = true
187 text1.Text = "[Z]\n honk"
188 text2 = Instance.new("TextLabel", framesk2)
189 text2.BackgroundTransparency = 1
190 text2.Size = UDim2.new(1, 0, 1, 0)
191 text2.Position = UDim2.new(0, 0, 0, 0)
192 text2.TextColor3 = Color3.new(255, 255, 0)
193 text2.TextStrokeTransparency = 0
194 text2.FontSize = Enum.FontSize.Size18
195 text2.Font = Enum.Font.SourceSansLight
196 text2.BorderSizePixel = 0
197 text2.TextScaled = true
198 text2.Text = "[X]\n idk"
199 text3 = Instance.new("TextLabel", framesk3)
200 text3.BackgroundTransparency = 1
201 text3.Size = UDim2.new(1, 0, 1, 0)
202 text3.Position = UDim2.new(0, 0, 0, 0)
203 text3.TextColor3 = Color3.new(255, 255, 0)
204 text3.TextStrokeTransparency = 0
205 text3.FontSize = Enum.FontSize.Size18
206 text3.Font = Enum.Font.SourceSansLight
207 text3.BorderSizePixel = 0
208 text3.TextScaled = false
209 text3.Text = "[C]\n aaaaa"
210 text4 = Instance.new("TextLabel", framesk4)
211 text4.BackgroundTransparency = 1
212 text4.Size = UDim2.new(1, 0, 1, 0)
213 text4.Position = UDim2.new(0, 0, 0, 0)
214 text4.TextColor3 = Color3.new(255, 255, 0)
215 text4.TextStrokeTransparency = 0
216 text4.FontSize = Enum.FontSize.Size18
217 text4.Font = Enum.Font.SourceSansLight
218 text4.BorderSizePixel = 0
219 text4.TextScaled = true
220 text4.Text = "[V]\n kil me"
221
222 ArtificialHB = Instance.new("BindableEvent", hoh.PlayerGui)
223 ArtificialHB.Name = "Heartbeat"
224 hoh.PlayerGui:WaitForChild("Heartbeat")
225 frame = 0.033333333333333
226 tf = 0
227 allowframeloss = false
228 tossremainder = false
229 lastframe = tick()
230 hoh.PlayerGui.Heartbeat:Fire()
231 local gg = false
232 game:GetService("RunService").Heartbeat:connect(function(s, p)
233
234 if hoh.PlayerGui:FindFirstChild("Heartbeat") == nil then
235 gg = true
236 end
237 if gg == true then
238 return
239 end
240 tf = tf + s
241 if frame <= tf then
242 if allowframeloss then
243 hoh.PlayerGui.Heartbeat:Fire()
244 lastframe = tick()
245 else
246 for i = 1, math.floor(tf / frame) do
247 hoh.PlayerGui.Heartbeat:Fire()
248 end
249 lastframe = tick()
250 end
251 if tossremainder then
252 tf = 0
253 else
254 tf = tf - frame * math.floor(tf / frame)
255 end
256 end
257end
258 )
259 swait = function(num)
260
261 if num == 0 or num == nil then
262 ArtificialHB.Event:wait()
263 else
264 for i = 0, num do
265 ArtificialHB.Event:wait()
266 end
267 end
268end
269 local RbxUtility = LoadLibrary("RbxUtility")
270 local Create = RbxUtility.Create
271 RemoveOutlines = function(part)
272
273 part.TopSurface = 10
274end
275 CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
276
277 local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
278 RemoveOutlines(Part)
279 return Part
280end
281
282 CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
283
284 local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
285 if Mesh == "SpecialMesh" then
286 Msh.MeshType = MeshType
287 Msh.MeshId = MeshId
288 end
289 return Msh
290end
291
292 CreateWeld = function(Parent, Part0, Part1, C0, C1)
293
294 local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
295 return Weld
296end
297
298 CFuncs = {
299Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
300
301 local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
302 RemoveOutlines(Part)
303 return Part
304end
305}
306,
307Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
308
309 local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
310 if Mesh == "SpecialMesh" then
311 Msh.MeshType = MeshType
312 Msh.MeshId = MeshId
313 end
314 return Msh
315end
316}
317,
318Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
319
320 local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
321 if Mesh == "SpecialMesh" then
322 Msh.MeshType = MeshType
323 Msh.MeshId = MeshId
324 end
325 return Msh
326end
327}
328,
329Weld = {Create = function(Parent, Part0, Part1, C0, C1)
330
331 local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
332 return Weld
333end
334}
335,
336Sound = {Create = function(id, par, vol, pit)
337
338 coroutine.resume(coroutine.create(function()
339
340 local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
341 wait()
342 S:play()
343 game:GetService("Debris"):AddItem(S, 6)
344 end
345))
346end
347}
348,
349ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
350
351 local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
352 return fp
353end
354}
355}
356
357
358
359 rayCast = function(Position, Direction, Range, Ignore)
360
361 return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
362end
363
364 local GetNearest = function(obj, distance)
365
366 local last, lastx = distance + 1, nil
367 for i,v in pairs(workspace:GetChildren()) do
368 if v:IsA("Model") and v ~= char and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
369 local t = v.Torso
370 local dist = (t.Position - obj.Position).magnitude
371 if dist <= distance and dist < last then
372 last = dist
373 lastx = v
374 end
375 end
376 end
377 return lastx
378 end
379
380
381--[[armweld = Instance.new("Weld", char.Torso)
382armweld.C0 = CFrame.new(1.5, .5, 0)
383armweld.C1 = CFrame.new(0, .5, 0)
384armweld.Part0 = char.Torso
385armweld.Part1 = char["Right Arm"]]
386
387local Fhead = Instance.new("Part", char)
388Fhead.Name = "a"
389Fhead.Size = Vector3.new(2, 1, 1)
390Fhead.Transparency = 1
391Fhead.CanCollide = false
392M = Instance.new("SpecialMesh", Fhead)
393M.Scale = Vector3.new(1.26,1.26,1.26)
394Das = Instance.new("Decal", Fhead)
395Das.Texture = "rbxassetid://660774132"
396Das.Transparency = 1
397
398
399 local har1 = Instance.new("Part", char.Head)
400 har1.BrickColor = BrickColor.new("Brown")
401 har1.Name = "Hair"
402 har1.formFactor = 0
403 har1.Size = Vector3.new(0,-0.25,0)
404 har1.BottomSurface = 0
405 har1.TopSurface = 0
406 har1.CanCollide = false
407 Mesh = Instance.new("SpecialMesh",har1)
408 Mesh.MeshId = "http://www.roblox.com/asset/?id=13070796"
409 Mesh.TextureId = "http://www.roblox.com/asset/?id=13694600"
410 Mesh.Scale=Vector3.new(1.01, .99, 1.01)
411 local bWeld = Instance.new("Weld", char.Head)
412 bWeld.Part0 = char.Head
413 bWeld.Part1 = har1
414 bWeld.C1 = CFrame.new(0,.4,0)
415
416
417local main = Instance.new("Part", char.Torso)
418main.Size = Vector3.new(.1, .1, .1)
419main.BrickColor = BrickColor.new("White")
420main.TopSurface = "SmoothNoOutlines"
421main.Name = "asd"
422main.Transparency = 1
423main.CanCollide = false
424
425 local Handle = Instance.new("Part",d)
426 Handle.Size = Vector3.new(0.3, 1.8, 3)
427 Handle.Name = "Pan"
428 Handle:BreakJoints()
429 Handle.Anchored = false
430 Handle.Transparency = 1
431 Handle.CanCollide = false
432 Handle.Shape = "Block"
433 Handle.TopSurface = "SmoothNoOutlines"
434 Handle.BottomSurface = "SmoothNoOutlines"
435 ddd = Instance.new("SpecialMesh",Handle)
436 ddd.Scale=Vector3.new(2, 2, 2)
437 ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
438 ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
439 local Hitbox = Instance.new("Part",d)
440 Hitbox.Size = Vector3.new(0.3, 1.8, 3)
441 Hitbox.Name = "Hitbox"
442 Hitbox:BreakJoints()
443 Hitbox.Anchored = false
444 Hitbox.Transparency = 1
445 Hitbox.CanCollide = false
446 Hitbox.Shape = "Block"
447 Hitbox.TopSurface = "SmoothNoOutlines"
448 Hitbox.BottomSurface = "SmoothNoOutlines"
449 ddd = Instance.new("SpecialMesh",Handle)
450 ddd.Scale=Vector3.new(2, 2, 2)
451 ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
452 ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
453 local FakeHandle = Instance.new("Part",d)
454 FakeHandle.Size = Vector3.new(0.3, 1.9, 3)
455 FakeHandle.Name = "FakeHandle"
456 FakeHandle:BreakJoints()
457 FakeHandle.Anchored = false
458 FakeHandle.Transparency = 1
459 FakeHandle.CanCollide = false
460 FakeHandle.Shape = "Block"
461 FakeHandle.TopSurface = "SmoothNoOutlines"
462 FakeHandle.BottomSurface = "SmoothNoOutlines"
463 ddd = Instance.new("SpecialMesh",FakeHandle)
464 ddd.Scale=Vector3.new(2, 2, 2)
465 ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
466 ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
467
468
469
470local aWeld = Instance.new("Weld", char.Head)
471aWeld.Part0 = char.Head
472aWeld.Part1 = Fhead
473local aWeld = Instance.new("Weld", char.Torso)
474aWeld.Part0 = char.Torso
475aWeld.C1 = CFrame.new(0,1.2,.5)
476local aWeld = Instance.new("Weld", char.Torso)
477aWeld.Part0 = char.Torso
478aWeld.Part1 = A1
479aWeld.C1 = CFrame.new(.5,-.5,.5)
480local aWeld = Instance.new("Weld", char.Torso)
481aWeld.Part0 = char.Torso
482aWeld.Part1 = A2
483aWeld.C1 = CFrame.new(-.5,-.5,.5)
484local aWeld = Instance.new("Weld", char.Torso)
485aWeld.Part0 = char.Torso
486aWeld.Part1 = A3
487aWeld.C1 = CFrame.new(0,-1,.5)
488local aWeld = Instance.new("Weld", char.Torso)
489aWeld.Part0 = char.Torso
490aWeld.Part1 = A4
491aWeld.C1 = CFrame.new(.6,-1,0)
492local aWeld = Instance.new("Weld", char.Torso)
493aWeld.Part0 = char.Torso
494aWeld.Part1 = A5
495aWeld.C1 = CFrame.new(-.6,-1,0)
496local aWeld = Instance.new("Weld", char.Torso)
497aWeld.Part0 = char.Torso
498aWeld.Part1 = A6
499aWeld.C1 = CFrame.new(0,-1,-.42)
500local aWeld = Instance.new("Weld", char.Torso)
501aWeld.Part0 = char.Torso
502aWeld.Part1 = A7
503aWeld.C1 = CFrame.new(0,.6,0)
504local aWeld = Instance.new("Weld", char.Torso)
505aWeld.Part0 = char.Torso
506aWeld.Part1 = A8
507aWeld.C1 = CFrame.new(0,-1,-.55)
508local aWeld = Instance.new("Weld", char.Torso)
509aWeld.Part0 = char.Torso
510aWeld.Part1 = A9
511aWeld.C1 = CFrame.new(0,.6,-.55)
512local aWeld = Instance.new("Weld", char.Torso)
513aWeld.Part0 = char.Torso
514aWeld.Part1 = da
515aWeld.C1 = CFrame.new(0,.2,.5)
516local aWeld = Instance.new("Weld", char.Torso)
517aWeld.Part0 = char.Torso
518aWeld.Part1 = da1
519aWeld.C1 = CFrame.new(0,.2,.5)
520
521 Weld = Instance.new("Weld",Handle)
522 Weld.Part0 = Weld.Parent
523 Weld.Part1 = FakeHandle
524 Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
525 Weld = Instance.new("Weld",Hitbox)
526 Weld.Part0 = Weld.Parent
527 Weld.Part1 = FakeHandle
528 Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
529 FakeHandleWeld = Instance.new("Weld",FakeHandle)
530 FakeHandleWeld.Part0 = FakeHandle
531 FakeHandleWeld.Part1 = char["Right Arm"]
532 FakeHandleWeld.C0 = CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90))
533
534
535 local manWeld = Instance.new("Weld", char.Torso)
536 manWeld.Part0 = char.Torso
537 manWeld.Part1 = main
538 manWeld.C1 = CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90))
539 manWeld.C0 = CFrame.new(0,-0.4,0)--*CFrame.Angles(math.rad(90),0,0)
540
541 local cWeld = Instance.new("Weld", char.Torso)
542 cWeld.Part0 = main
543 --cWeld.C1 = CFrame.new(0,0,0)*CFrame.angles(0,0,0)
544-----
545 RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
546 NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
547 local RW = newMotor(char.Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
548 local LW = newMotor(char.Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
549 local RH = newMotor(char.Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
550 local LH = newMotor(char.Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
551 RootJoint.C1 = CFrame.new(0, 0, 0)
552 RootJoint.C0 = CFrame.new(0, 0, 0)
553 char.Torso.Neck.C1 = CFrame.new(0, 0, 0)
554 char.Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
555 local rarmc1 = RW.C1
556 local larmc1 = LW.C1
557 local rlegc1 = RH.C1
558 local llegc1 = LH.C1
559 local resetc1 = false
560 PlayAnimationFromTable = function(table, speed, bool)
561 RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
562 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, table[2], speed)
563 RW.C0 = clerp(RW.C0, table[3], speed)
564 LW.C0 = clerp(LW.C0, table[4], speed)
565 RH.C0 = clerp(RH.C0, table[5], speed)
566 LH.C0 = clerp(LH.C0, table[6], speed)
567 if bool == true and resetc1 == false then
568 resetc1 = true
569 RootJoint.C1 = RootJoint.C1
570 char.Torso.Neck.C1 = char.Torso.Neck.C1
571 RW.C1 = rarmc1
572 LW.C1 = larmc1
573 RH.C1 = rlegc1
574 LH.C1 = llegc1
575 end
576 end
577
578--
579 Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
580
581 if hit.Parent == nil then
582 return
583 end
584 local h = hit.Parent:FindFirstChild("Humanoid")
585 for _,v in pairs(hit.Parent:children()) do
586 if v:IsA("Humanoid") then
587 h = v
588 end
589 end
590 if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
591 if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
592 return
593 end
594 local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
595 game:GetService("Debris"):AddItem(c, 0.5)
596 if HitSound ~= nil and HitPitch ~= nil then
597 CreateSound(HitSound, hit, 1, HitPitch)
598 end
599 local Damage = math.random(minim, maxim)
600 local blocked = false
601 local block = hit.Parent:findFirstChild("Block")
602 if block ~= nil and block.className == "IntValue" and block.Value > 0 then
603 blocked = true
604 block.Value = block.Value - 1
605 print(block.Value)
606 end
607 if blocked == false then
608 h.Health = h.Health - Damage
609 ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
610 else
611 h.Health = h.Health - Damage / 2
612 ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
613 end
614 if Type == "Knockdown" then
615 local hum = hit.Parent.Humanoid
616 hum.PlatformStand = true
617 coroutine.resume(coroutine.create(function(HHumanoid)
618
619 swait(1)
620 HHumanoid.PlatformStand = false
621 end
622), hum)
623 local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
624 local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
625 local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
626 game:GetService("Debris"):AddItem(bodvol, 0.5)
627 game:GetService("Debris"):AddItem(rl, 0.5)
628 elseif Type == "Normal" then
629 local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
630 if knockback > 0 then
631 vp.Parent = hit.Parent.Torso
632 end
633 game:GetService("Debris"):AddItem(vp, 0.5)
634 elseif Type == "Up" then
635 local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
636 game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
637 local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
638 game:GetService("Debris"):AddItem(bodyVelocity, 1)
639 elseif Type == "Snare" then
640 local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
641 game:GetService("Debris"):AddItem(bp, 1)
642 elseif Type == "Freeze" then
643 local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
644 local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
645 hit.Parent.Torso.Anchored = true
646 coroutine.resume(coroutine.create(function(Part)
647
648 swait(1.5)
649 Part.Anchored = false
650 end
651), hit.Parent.Torso)
652 game:GetService("Debris"):AddItem(BodPos, 3)
653 game:GetService("Debris"):AddItem(BodGy, 3)
654 end
655 local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
656 game:GetService("Debris"):AddItem(debounce, Delay)
657 c = Instance.new("ObjectValue")
658 c.Name = "creator"
659 c.Value = hoh
660 c.Parent = h
661 game:GetService("Debris"):AddItem(c, 0.5)
662 end
663 end
664
665 ShowDamage = function(Pos, Text, Time, Color)
666
667 local Rate = 0.033333333333333
668 if not Pos then
669 local Pos = Vector3.new(0, 0, 0)
670 end
671 local Text = Text or ""
672 local Time = Time or 2
673 if not Color then
674 local Color = Color3.new(1, 1, 0)
675 end
676 local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
677 EffectPart.Anchored = true
678 local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
679 local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
680 game.Debris:AddItem(EffectPart, Time + 0.1)
681 EffectPart.Parent = game:GetService("Workspace")
682 delay(0, function()
683
684 local Frames = Time / Rate
685 for Frame = 1, Frames do
686 wait(Rate)
687 local Percent = Frame / Frames
688 EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
689 TextLabel.TextTransparency = Percent
690 end
691 if EffectPart and EffectPart.Parent then
692 EffectPart:Destroy()
693 end
694 end
695)
696end
697
698 MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
699
700 for _,c in pairs(workspace:children()) do
701 local hum = c:findFirstChild("Humanoid")
702 if hum ~= nil then
703 local head = c:findFirstChild("Torso")
704 if head ~= nil then
705 local targ = head.Position - Part.Position
706 local mag = targ.magnitude
707 if mag <= magni and c.Name ~= hoh.Name then
708 Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
709 end
710 end
711 end
712 end
713end
714
715 EffectModel = Instance.new("Model", char)
716 EffectModel.Name = "Effects"
717 Effects = {
718Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
719
720 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
721 prt.Anchored = true
722 prt.CFrame = cframe
723 local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
724 game:GetService("Debris"):AddItem(prt, 10)
725 if Type == 1 or Type == nil then
726 table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
727 else
728 if Type == 2 then
729 table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
730 end
731 end
732end
733}
734,
735Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
736
737 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
738 prt.Anchored = true
739 prt.CFrame = cframe
740 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
741 game:GetService("Debris"):AddItem(prt, 10)
742 table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
743end
744}
745,
746Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
747
748 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
749 prt.Anchored = true
750 prt.CFrame = cframe
751 local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
752 game:GetService("Debris"):AddItem(prt, 10)
753 table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
754end
755}
756,
757Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
758
759 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
760 prt.Anchored = true
761 prt.CFrame = cframe
762 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
763 game:GetService("Debris"):AddItem(prt, 10)
764 table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
765end
766}
767,
768Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
769
770 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
771 prt.Anchored = true
772 prt.CFrame = cframe
773 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
774 game:GetService("Debris"):AddItem(prt, 10)
775 table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
776end
777}
778,
779Break = {Create = function(brickcolor, cframe, x1, y1, z1)
780
781 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
782 prt.Anchored = true
783 prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
784 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
785 local num = math.random(10, 50) / 1000
786 game:GetService("Debris"):AddItem(prt, 10)
787 table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
788end
789}
790}
791 BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
792
793 local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
794 prt.Anchored = true
795 prt.CFrame = cframe
796 local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
797 game:GetService("Debris"):AddItem(prt, 10)
798 if Type == 1 or Type == nil then
799 table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
800 else
801 if Type == 2 then
802 table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
803 end
804 end
805end
806 Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
807
808 local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
809 prt.Anchored = true
810 prt.CFrame = cframe
811 prt.Material = "Neon"
812 local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
813 game:GetService("Debris"):AddItem(prt, 10)
814 coroutine.resume(coroutine.create(function(Part, Mesh)
815
816 for i = 0, 1, delay do
817 swait()
818 Part.Transparency = i
819 Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
820 end
821 Part.Parent = nil
822 end
823), prt, msh)
824end
825
826 shoottraildd = function(mouse, partt, SpreadAmount)
827
828 local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
829 local MainPos = partt.Position
830 local MainPos2 = mouse.Hit.p + SpreadVectors
831 local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
832 local speed = 15
833 local num = 20
834 coroutine.resume(coroutine.create(function()
835
836 repeat
837 swait()
838 local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
839 local mag = (MainPos - pos).magnitude
840 Laser(BrickColor.new("Bright red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
841 MainPos = MainPos + MouseLook.lookVector * speed
842 num = num - 1
843 MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
844 if hit ~= nil then
845 num = 0
846 local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
847 refpart.Anchored = true
848 refpart.CFrame = CFrame.new(pos)
849 game:GetService("Debris"):AddItem(refpart, 2)
850 end
851 do
852 if num <= 0 then
853 local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
854 refpart.Anchored = true
855 refpart.CFrame = CFrame.new(pos)
856 if hit ~= nil then
857 CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
858 BlockEffect(BrickColor.new("Br. yellowish orange"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
859 BlockEffect(BrickColor.new("Bright red"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.07)
860 MagniDamage(refpart, 15, 10, 15, 0, "Normal")
861 end
862 game:GetService("Debris"):AddItem(refpart, 0)
863 end
864 end
865 until num <= 0
866 end
867))
868end
869-----
870function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
871 local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
872 prt.Anchored = true
873 prt.CFrame = cframe
874 local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
875 game:GetService("Debris"):AddItem(prt, 10)
876 table.insert(Effects, {
877 prt,
878 "Cylinder",
879 delay,
880 x3,
881 y3,
882 z3,
883 msh
884 })
885end
886-----
887function AppearDisappear()
888 local ez = Instance.new("Part",char)
889 ez.Size = Vector3.new(1,1,1)
890 ez.Name = "a"
891 ez:BreakJoints()
892 ez.Anchored = false
893 ez.Transparency = 0
894 ez.CanCollide = false
895 ez.Shape = "Block"
896 ez.Material='Neon'
897 ez.TopSurface = "SmoothNoOutlines"
898 ez.BottomSurface = "SmoothNoOutlines"
899 ez.BrickColor = BrickColor.new("White")
900 ddd = Instance.new("SpecialMesh",ez)
901 ddd.MeshType="Sphere"
902 ddd.Scale=Vector3.new(6,6,6)
903 Weld = Instance.new("Weld",ez)
904 Weld.Part0 = Weld.Parent
905 Weld.Part1 = char.Torso
906 for a = 0, 1, .05 do
907 ddd.Scale = ddd.Scale + Vector3.new(.5, .5, .5)
908 ez.Transparency = ez.Transparency + .1
909 wait()
910 end
911 ez:Remove()
912end
913function AppearDisappear1()
914 Das.Transparency = 0
915char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
916char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=468148440"
917 CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
918end
919function AppearDisappear2()
920 Das.Transparency = 0
921char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
922char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=330970993"
923 CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
924end
925function equip()
926 Handle.Transparency = 0
927 local ez = Instance.new("Part",char)
928 ez.Size = Vector3.new(1,1,1)
929 ez.Name = "a"
930 ez:BreakJoints()
931 ez.Anchored = false
932 ez.Transparency = 0
933 ez.CanCollide = false
934 ez.Shape = "Block"
935 ez.Material='Neon'
936 ez.TopSurface = "SmoothNoOutlines"
937 ez.BottomSurface = "SmoothNoOutlines"
938 ez.BrickColor = BrickColor.new("New Yeller")
939 ddd = Instance.new("SpecialMesh",ez)
940 ddd.MeshType="Sphere"
941 ddd.Scale=Vector3.new(1,1,1)
942 Weld = Instance.new("Weld",ez)
943 Weld.Part0 = Weld.Parent
944 Weld.Part1 = Handle
945 CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
946 for a = 0, 1, .05 do--while wait() and ez and ez.Transparency <= 1 do
947 ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
948 ez.Transparency = ez.Transparency + .1
949 wait()
950 end
951 ez:Remove()
952end
953function unequip()
954 Handle.Transparency = 1
955 local ez = Instance.new("Part",char)
956 ez.Size = Vector3.new(1,1,1)
957 ez.Name = "a"
958 ez:BreakJoints()
959 ez.Anchored = false
960 ez.Transparency = 0
961 ez.CanCollide = false
962 ez.Shape = "Block"
963 ez.Material='Neon'
964 ez.TopSurface = "SmoothNoOutlines"
965 ez.BottomSurface = "SmoothNoOutlines"
966 ez.BrickColor = BrickColor.new("New Yeller")
967 ddd = Instance.new("SpecialMesh",ez)
968 ddd.MeshType="Sphere"
969 ddd.Scale=Vector3.new(1,1,1)
970 Weld = Instance.new("Weld",ez)
971 Weld.Part0 = Weld.Parent
972 Weld.Part1 = Handle
973 CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
974 for a = 0, 1, .05 do
975 ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
976 ez.Transparency = ez.Transparency + .1
977 wait()
978 end
979 ez:Remove()
980end
981attack1 = function()
982 attack = true
983 local con = Hitbox.Touched:connect(function(hit)
984
985 Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
986 end
987)
988 for i = 0, 1, 0.1 do
989 swait()
990 --PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.529917479, 0, -0.848049283, 0, 1, 0, 0.848049283, 0, 0.529917479), CFrame.new(0, 1.49999499, 0, 0.406736165, 0, 0.913545728, 0, 1, 0, -0.913545728, 0, 0.406736165), CFrame.new(1.35679102, 0.782658279, 0.0675592273, 0.707045317, -0.527684033, 0.470782787, 0.133834034, -0.553849995, -0.82178998, 0.694388449, 0.644049466, -0.320975006), CFrame.new(-1.69279337, 0.499999672, -0.79492861, 0.717408359, 0.691137791, 0.0874861553, -0.0527720191, 0.179133937, -0.982408345, -0.694651246, 0.700171173, 0.164984912), CFrame.new(0.641659617, -1.99999392, 0.125842437, 0.882947862, 0, -0.469471127, 0, 1, 0, 0.469471127, 0, 0.882947862), CFrame.new(-0.348587006, -1.99999392, -0.0133331716, 0.898793101, 0, 0.438373119, 0, 1, 0, -0.438373119, 0, 0.898793101)}, 0.3, false)
991 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
992 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
993 RW.C0 = clerp(RW.C0, CFrame.new(1.3, 1.6, -.6) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.3)
994 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
995 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
996 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
997
998 end
999 CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 1.5)
1000 for i = 0, 1, 0.1 do
1001 swait()
1002 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
1003 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1004 RW.C0 = clerp(RW.C0, CFrame.new(.9, -.1, -.8) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
1005 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1006 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1007 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1008
1009
1010 --PlayAnimationFromTable({CFrame.new(0.180807382, 0, 0.0999719128, 0.342022538, 0, 0.939691782, 0, 1, 0, -0.939691782, 0, 0.342022538), CFrame.new(0.0106580649, 1.49999499, -0.0643079877, 0.469472408, 0, -0.882947266, 0, 1, 0, 0.882947266, 0, 0.469472408), CFrame.new(1.83224225, 0.376015127, 0.0757035911, 0.135973215, -0.988979697, 0.0585707389, 0.0630049929, -0.0503679588, -0.996741474, 0.988707185, 0.139220387, 0.0554619655), CFrame.new(-0.541033506, 0.699999869, -0.891753554, 0.658596575, -0.726630569, 0.195598423, 0.0759940296, -0.194378868, -0.977978408, 0.74864924, 0.658957481, -0.072797671), CFrame.new(0.641663194, -1.99999392, 0.125834763, 0.406737477, 0, -0.913545191, 0, 1, 0, 0.913545191, 0, 0.406737477), CFrame.new(-0.590457141, -1.99999392, 0.164175183, 0.984808207, 0, -0.173646241, 0, 1, 0, 0.173646241, 0, 0.984808207)}, 0.3, false)
1011 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
1012 end
1013 con:disconnect()
1014 attack = false
1015end
1016attack2 = function()
1017 attack = true
1018 local con = Hitbox.Touched:connect(function(hit)
1019
1020 Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
1021 end
1022)
1023 for i = 0, 1, 0.1 do
1024 swait()
1025 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1026 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
1027 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1028 RW.C0 = clerp(RW.C0, CFrame.new(1.2, .75, -1) * angles(math.rad(110), -math.rad(80), math.rad(15)), 0.3)
1029 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1030 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1031 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1032 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
1033 end
1034 CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
1035 for i = 0, 1, 0.1 do
1036 swait()
1037 --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
1038 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
1039 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
1040 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1041 RW.C0 = clerp(RW.C0, CFrame.new(.3, .3, -.3) * angles(math.rad(40), math.rad(30), -math.rad(70)), 0.3)
1042 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1043 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1044 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1045
1046 end
1047 con:disconnect()
1048 attack = false
1049end
1050attack3 = function()
1051 attack = true
1052 local con = Hitbox.Touched:connect(function(hit)
1053
1054 Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
1055 end)
1056
1057 for i = 0, 1, 0.1 do
1058 swait()
1059 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1060 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.3)
1061 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1062 RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.3)
1063 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1064 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1065 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1066 end
1067 CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
1068 for i = 0, .2, 0.1 do
1069 swait()
1070 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1071 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
1072 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(90), math.rad(0)), 0.3)
1073 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1074 RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
1075 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1076 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1077 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1078 end
1079 for i = 0, .2, 0.1 do
1080 swait()
1081 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1082 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(180), math.rad(0)), 0.3)
1083 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1084 RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
1085 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1086 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1087 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1088 end
1089 for i = 0, .2, 0.1 do
1090 swait()
1091 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1092 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(270), math.rad(0)), 0.3)
1093 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1094 RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
1095 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1096 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1097 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1098 end
1099
1100
1101
1102
1103 for i = 0, 1, 0.1 do
1104 swait()
1105 --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
1106 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
1107 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(40), math.rad(0)), 0.3)
1108 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1109 RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(-math.rad(180), math.rad(0), math.rad(90)), 0.3)
1110 LW.C0 = clerp(LW.C0, CFrame.new(-2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
1111 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1112 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1113end
1114
1115 con:disconnect()
1116 attack = false
1117end
1118function kek1()
1119 attack = true
1120 Effects.Sphere.Create(BrickColor.new("New Yeller"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 6.5, 6.5, 6.5, 4, 4, 4, 0.07)
1121
1122 CFuncs.Sound.Create("http://www.roblox.com/asset?id=200633707", char.Torso, 0.8, 1.1)
1123
1124 local Aaaa = Instance.new("Part", RootPart)
1125 Aaaa.Size = Vector3.new(.1, .1, .1)
1126 Aaaa.BrickColor = BrickColor.new("White")
1127 Aaaa.Transparency = 1
1128 Aaaa.CanCollide = false
1129 local abbWeld = Instance.new("Weld", RootPart)
1130 abbWeld.Part0 = RootPart
1131 abbWeld.Part1 = Aaaa
1132 abbWeld.C1 = CFrame.new(0,0,9)
1133
1134 for i = 0, 2.5, 0.1 do
1135 swait()
1136 Effects.Ring.Create(BrickColor.new("Navy blue"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 1.5, 1.5, 0, 0.5, 0.5, 0, 0.07)
1137 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
1138 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.1)
1139 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1140 RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.1)
1141 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.1)
1142 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1143 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1144
1145 end
1146 for i = 0, 0.2, 0.1 do
1147 swait()
1148 --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
1149 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
1150 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
1151 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
1152 RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), -math.rad(5)), 0.3)
1153 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1154 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1155 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1156 end
1157 Effects.Sphere.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 2.5, 2.5, 2.5, 3.5, 3.5, 3.5, 0.07)
1158 Effects.Ring.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(0, 0, math.random(-3,3)), 2.5, 2.5, 2.5, 1, 1, 1, 0.07)
1159
1160 CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", Aaaa, 1, 1)
1161 CFuncs.Sound.Create("http://roblox.com/asset/?id=279675650", FakeHandle, 1, 1.1)
1162 local con = Aaaa.Touched:connect(function(hit)
1163 MagniDamage(Aaaa, 30, 30, 55, 4, "Knockdown")
1164 --Damagefunc(Hitbox, hit, 30, 60, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
1165 end
1166 )
1167 for i = 0, 1, 0.1 do
1168 swait()
1169 --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
1170 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
1171 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
1172 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
1173 RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1174 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
1175 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1176 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1177 end
1178 Aaaa:Remove()
1179 con:disconnect()
1180 attack = false
1181end
1182function kek2()
1183 attack = true
1184
1185
1186 for i = 0, 1, 0.1 do
1187 swait()
1188 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1189 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
1190 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
1191 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
1192 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1193 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1194 end
1195 CFuncs.Sound.Create("rbxassetid://169380505", RootPart, 0.8, 1.5)
1196 Effects.Cylinder.Create(BrickColor.new("New Yeller"), LeftArm.CFrame * angles(math.rad(2), 0, 0), 1, 9999, 1, 1, 1, 1, 0.07)
1197 for i = 0, 2, 0.1 do
1198 swait()
1199 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1200 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
1201 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
1202 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
1203 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1204 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1205 end
1206 CFuncs.Sound.Create("rbxassetid://169445602", RootPart, 1, 1.2)
1207 local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
1208 local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, char)
1209 if hit2 ~= nil then
1210 local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Navy blue"), "Effect", Vector3.new())
1211 d1.Anchored = true
1212 d1.CFrame = CFrame.new(pos2)
1213 MagniDamage(d1, 20, 10, 25, 5, "Snare")
1214 Effects.Cylinder.Create(BrickColor.new("New Yeller"), d1.CFrame * angles(0, 0, 0), 1, 9999, 1, 4, 1, 4, 0.07)
1215 local con = Hitbox.Touched:connect(function(hit)
1216 end)
1217 game:GetService("Debris"):AddItem(d1, 5)
1218 local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(100, 5, 100))
1219 local d2 = d1:Clone()
1220 d2.Parent = d1
1221 d2.CFrame = CFrame.new(d1.Position)
1222 d2.BrickColor = BrickColor.new("New Yeller")
1223 d2.Mesh.Scale = Vector3.new(0, 5, 0)
1224 table.insert(Effects, {d1, "QuadShot", d2, d2.Mesh, 0})
1225 end
1226 attack = false
1227
1228end
1229function kek3()
1230 cooldown1 = cooldown1 - 5
1231 local dacf = Handle.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
1232 local icepart1 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Ice", vt())
1233 icepart1.Anchored = true
1234 i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", vt(0, 0, 0), vt(5, 5, 5))
1235 icepart1.CFrame = dacf
1236 for i = 0, 1, 0.1 do
1237 swait()
1238 icepart1.CFrame = dacf
1239 end
1240 local cfinc = 99999
1241 icepart1.Transparency = 1
1242 CreateSound("rbxassetid://334325056", icepart1, 1, 1)
1243 game:GetService("Debris"):AddItem(icepart1, 1)
1244 local spread = vt((math.random(-1, 0) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + vt(0, -1, 0))).magnitude / 100
1245 local TheHit = mouse.Hit.p
1246 local MouseLook = cf((icepart1.Position + TheHit) / 2, TheHit + spread)
1247 local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1248 local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1249 local test1, dist1 = mouse.Hit.p, nil
1250 if target1 ~= nil then
1251 cfda = target1.Position + vt(math.random(-3000, 3000) / 100, 20, math.random(-3000, 3000) / 100)
1252 local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1253 local d1 = CreatePart(effect, "SmoothPlastic", 0, 0.5, BrickColor.new("White"), "Effect", vt())
1254 d1.Anchored = true
1255 d1.CFrame = cf(pos2)
1256 MagniDamage(d1, 10, 12, 15, -10, "Normal", "231917784")
1257 SphereEffect(BrickColor.new("White"), cf(pos2), 100, 100, 100, 10, 10, 10, 0.07)
1258 msh = CreateMesh("SpecialMesh", d1, "Sphere", "", vt(0, 0, 0), vt(80, 80, 80))
1259 d2 = d1:Clone()
1260 d2.Parent = d1
1261 d2.CFrame = cf(d1.Position)
1262 d2.BrickColor = BrickColor.new("Toothpaste")
1263 d2.Mesh.Scale = vt(0, 5, 0)
1264 table.insert(Effects, {
1265 d1,
1266 "SatelliteStrike",
1267 d2,
1268 d2.Mesh,
1269 0
1270 })
1271 end
1272end
1273
1274function kek4()
1275
1276end
1277 mouse.Button1Down:connect(function()
1278
1279 if attack == false and attacktype == 1 and equipped == true then
1280 attacktype = 2
1281 attack1()
1282 else
1283 if attack == false and attacktype == 2 and equipped == true then
1284 attacktype = 3
1285 attack2()
1286 else
1287 if attack == false and attacktype == 3 and equipped == true then
1288 attacktype = 1
1289 attack3()
1290 end
1291 end
1292 end
1293end
1294 )
1295
1296 updateskills = function()
1297
1298 if cooldown1 <= co1 then
1299 cooldown1 = cooldown1 + 0.033333333333333
1300 end
1301 if cooldown2 <= co2 then
1302 cooldown2 = cooldown2 + 0.033333333333333
1303 end
1304 if cooldown3 <= co3 then
1305 cooldown3 = cooldown3 + 0.033333333333333
1306 end
1307 if cooldown4 <= co4 then
1308 cooldown4 = cooldown4 + 0.033333333333333
1309 end
1310end
1311
1312--[[function onKeyDown(key)
1313if key == "u" then
1314if nak == false and disable == false then
1315 disable = true
1316 AppearDisappear1()
1317 AppearDisappear()
1318 nak = true
1319 wait(1)
1320 disable = false
1321elseif disable == false then
1322 AppearDisappear2()
1323 AppearDisappear()
1324
1325 nak = false
1326 wait(1)
1327 disable = false
1328end
1329end
1330
1331if key == "f" then
1332if equipped == false and disable == false then
1333 disable = true
1334 equipped = true
1335 equip()
1336 wait(1)
1337 disable = false
1338 elseif equipped == true and disable == false then
1339 disable = true
1340 unequip()
1341 equipped = false
1342 wait(1)
1343 disable = false
1344end
1345end]]
1346mouse.KeyDown:connect(function(k)
1347
1348 k = k:lower()
1349 if attack == false and equipped == true and k == "z" and co1 <= cooldown1 then
1350 cooldown1 = 0
1351 kek1()
1352 else
1353 if attack == false and equipped == true and k == "x" and co2 <= cooldown2 then
1354 cooldown2 = 0
1355 kek2()
1356 else
1357 if attack == false and equipped == true and k == "c" and co3 <= cooldown3 then
1358 cooldown3 = 0
1359 kek3()
1360 else
1361 if attack == false and k == "v" and co4 <= cooldown4 then
1362 cooldown4 = 0
1363 kek4()
1364 else
1365 if attack == false and k == "f" and equipped == false and disable == false then
1366
1367 disable = true
1368 equipped = true
1369 equip()
1370 wait(.5)
1371 disable = false
1372 else
1373 if k == "f" and equipped == true and disable == false then
1374 disable = true
1375 equipped = false
1376 unequip()
1377 wait(.5)
1378 disable = false
1379
1380
1381 else
1382 if k == "u" and nak == false and disable == false then
1383 disable = true
1384 AppearDisappear1()
1385 AppearDisappear()
1386 nak = true
1387 wait(.5)
1388 disable = false
1389 else
1390 if k == "u" and nak == true and disable == false then
1391 disable = true
1392 AppearDisappear2()
1393 AppearDisappear()
1394 nak = false
1395 wait(.5)
1396 disable = false
1397 end
1398 end
1399 end
1400 end
1401 end
1402 end
1403 end
1404 end
1405end)
1406
1407 while 1 do
1408 swait()
1409 updateskills()
1410 bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
1411 bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
1412 bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
1413 bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
1414 for i,v in pairs(char:GetChildren()) do
1415 if v:IsA("Part") then
1416 v.Material = "SmoothPlastic"
1417 else
1418 if v:IsA("Hat") then
1419 v:WaitForChild("Handle").Material = "SmoothPlastic"
1420 end
1421 end
1422 end
1423 Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
1424 velocity = RootPart.Velocity.y
1425 sine = sine + change
1426 local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
1427 if equipped == true or equipped == false then
1428 if 1 < RootPart.Velocity.y and hit == nil then
1429 Anim = "Jump"
1430 if attack == false then
1431 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(65),-math.rad(90)), 0.3)
1432 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.3,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1433 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1434 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1435 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
1436 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
1437 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
1438 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
1439 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
1440 end
1441 else
1442 if RootPart.Velocity.y < -1 and hit == nil then
1443 Anim = "Fall"
1444 if attack == false then
1445 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(15),-math.rad(90)), 0.3)
1446 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1447 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1448 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1449 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
1450 RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1451 LW.C0 = clerp(LW.C0, CFrame.new(-1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
1452 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
1453 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
1454 end
1455 else
1456 if Torsovelocity < 1 and hit ~= nil then
1457 Anim = "Idle"
1458 if attack == false then
1459 if equipped == true then
1460 change = 1
1461 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3)
1462 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1463 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1464 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), -math.rad(20), math.rad(0)), 0.3)
1465 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(5), math.rad(20), math.rad(0)), 0.3)
1466 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
1467 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
1468 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1469 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1470 else
1471 change = 1
1472 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3)
1473 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1474 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1475 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.06 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1476 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1477 RW.C0 = clerp(RW.C0, CFrame.new(0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), -math.rad(40)), 0.3)
1478 LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3)
1479 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1480 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1481
1482 end
1483 end
1484 else
1485 if 2 < Torsovelocity and hit ~= nil then
1486 Anim = "Walk"
1487 if attack == false then
1488 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90)), 0.3)
1489 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
1490 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
1491 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
1492 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
1493 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
1494 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
1495 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 1 * math.cos((sine) / 3)) * angles(math.rad(0 - 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
1496 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 1 * math.cos((sine) / 3)) * angles(math.rad(0 + 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
1497 end
1498 end
1499 end
1500 end
1501 end
1502 end
1503 if 0 < #Effects then
1504 for e = 1, #Effects do
1505 if Effects[e] ~= nil then
1506 local Thing = Effects[e]
1507 if Thing ~= nil then
1508 local Part = Thing[1]
1509 local Mode = Thing[2]
1510 local Delay = Thing[3]
1511 local IncX = Thing[4]
1512 local IncY = Thing[5]
1513 local IncZ = Thing[6]
1514 if Thing[1].Transparency <= 1 then
1515 if Thing[2] == "Block1" then
1516 Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1517 Mesh = Thing[1].Mesh
1518 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1519 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1520 else
1521 if Thing[2] == "Block2" then
1522 Thing[1].CFrame = Thing[1].CFrame
1523 Mesh = Thing[7]
1524 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1525 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1526 else
1527 if Thing[2] == "Cylinder" then
1528 Mesh = Thing[1].Mesh
1529 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1530 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1531 else
1532 if Thing[2] == "Blood" then
1533 Mesh = Thing[7]
1534 Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1535 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1536 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1537 else
1538 if Thing[2] == "Elec" then
1539 Mesh = Thing[1].Mesh
1540 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1541 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1542 else
1543 if Thing[2] == "Disappear" then
1544 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1545 else
1546 if Thing[2] == "Shatter" then
1547 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1548 Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1549 Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1550 Thing[6] = Thing[6] + Thing[5]
1551 else
1552 if Thing[2] == "QuadShot" then
1553 if Thing[5] < 100 then
1554 Thing[5] = Thing[5] + 2.5
1555 Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
1556 else
1557 refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
1558 refda.Anchored = true
1559 refda.CFrame = CFrame.new(Thing[1].Position)
1560 game:GetService("Debris"):AddItem(refda, 5)
1561 CFuncs.Sound.Create("rbxassetid://203691378", refda, 1, 1.2)
1562 CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
1563 --MagniDamage(refda, 40, 20, 50, BrickColor.new("Navy blue"), BrickColor.new("New Yeller"))
1564 MagniDamage(refda, 40, 20, 50, 50, "Freeze")
1565 Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(refda.Position), 3, 3, 3, 10, 10, 10, 0.05)
1566 Effects.Sphere.Create(BrickColor.new("Navy blue"), CFrame.new(refda.Position), 15, 15, 15, 10, 10, 10, 0.05)
1567 --Effects.Sphere.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06)
1568 Effects.Block.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06, 1)
1569 Effects.Wave.Create(BrickColor.new("New Yeller"), refda.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
1570 Thing[1].Parent = nil
1571 table.remove(Effects, e)
1572 end
1573 end
1574 end
1575 end
1576 end
1577 end
1578 end
1579 end
1580 end
1581 else
1582 Part.Parent = nil
1583 table.remove(Effects, e)
1584 end
1585 end
1586 end
1587 end
1588 end
1589
1590 end
1591
1592RAW Paste Data
1593--When'sWaifu
1594wait(0.2)
1595print("Hey!!!")
1596print("You Pervert!!!")
1597local hoh = game:GetService"Players".LocalPlayer
1598local char = hoh.Character
1599local Head = char.Head
1600 local LeftArm = char["Left Arm"]
1601 local RightArm = char["Right Arm"]
1602 local LeftLeg = char["Left Leg"]
1603 local RightLeg = char["Right Leg"]
1604mouse = hoh:GetMouse()
1605local cam = game.Workspace.CurrentCamera
1606local RootPart = char.HumanoidRootPart
1607local RootJoint = RootPart.RootJoint
1608 local Anim = "Idle"
1609 local idle = 0
1610 local Effects = {}
1611 local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
1612vt = Vector3.new
1613local cf = CFrame.new
1614local mr = math.rad
1615local angles = CFrame.Angles
1616local ud = UDim2.new
1617local c3 = Color3.new
1618 local velocity = RootPart.Velocity.y
1619 local sine = 0
1620 local change = 1
1621 local grabbed = false
1622 local cn = CFrame.new
1623 local mr = math.rad
1624 local angles = CFrame.Angles
1625 local ud = UDim2.new
1626 local c3 = Color3.new
1627 local d = Instance.new('Model', char)
1628 d.Name = "KKK"
1629 attack = false
1630 nak = false
1631 disable = false
1632 attacktype = 1
1633 equipped = false
1634 char.Humanoid.Animator.Parent = nil
1635 char.Animate.Parent = nil
1636 local newMotor = function(part0, part1, c0, c1)
1637 local w = Instance.new("Motor", part0)
1638 w.Part0 = part0
1639 w.Part1 = part1
1640 w.C0 = c0
1641 w.C1 = c1
1642 return w
1643 end
1644 clerp = function(a, b, t)
1645
1646 return a:lerp(b, t)
1647 end
1648
1649 for i,v in pairs(char:children()) do
1650 if v:IsA("Hat") then
1651 v:Destroy()
1652 end
1653for i,v in pairs(char:children()) do
1654 if v:IsA("Accessory") then
1655 v:Destroy()
1656 end
1657for i,v in pairs(char:children()) do
1658 if v:IsA("ShirtGraphic") then
1659 v:Destroy()
1660 end
1661end
1662end
1663end
1664
1665ypcall(function()
1666char.Torso.roblox:Remove()
1667char.Shirt:Destroy()
1668char.Pants:Destroy()
1669char.Head.face:Destroy()
1670shirt = Instance.new("Shirt", char)
1671shirt.Name = "Shirt"
1672Pants = Instance.new("Pants", char)
1673Pants.Name = "Pants"
1674face = Instance.new("Decal", char.Head)
1675face.Name = "face"
1676char.Shirt.ShirtTemplate = "rbxassetid://251988595"
1677char.Pants.PantsTemplate = "rbxassetid://324421595"
1678char.Head.face.Texture = "rbxassetid://648887959"
1679end)
1680function CreateSound(id, par, vol, pit)
1681 coroutine.resume(coroutine.create(function()
1682 local sou = Instance.new("Sound", par or workspace)
1683 sou.Volume = vol
1684 sou.Pitch = pit or 1
1685 sou.SoundId = id
1686 wait()
1687 sou:play()
1688 game:GetService("Debris"):AddItem(sou, 6)
1689 end))
1690end
1691New = function(Object, Parent, Name, Data)
1692 local Object = Instance.new(Object)
1693 for Index, Value in pairs(Data or {}) do
1694 Object[Index] = Value
1695 end
1696 Object.Parent = Parent
1697 Object.Name = Name
1698 return Object
1699end
1700
1701
1702 local co1 = 5
1703 local co2 = 8
1704 local co3 = 10
1705 local co4 = 25
1706 local cooldown1 = 0
1707 local cooldown2 = 0
1708 local cooldown3 = 0
1709 local cooldown4 = 0
1710 local skillcolorscheme = BrickColor.new("Navy blue").Color
1711 local scrn = Instance.new("ScreenGui", hoh.PlayerGui)
1712 makeframe = function(par, trans, pos, size, color)
1713
1714 local frame = Instance.new("Frame", par)
1715 frame.BackgroundTransparency = trans
1716 frame.BorderSizePixel = 0
1717 frame.Position = pos
1718 frame.Size = size
1719 frame.BackgroundColor3 = color
1720 return frame
1721end
1722
1723 makelabel = function(par, text)
1724
1725 local label = Instance.new("TextLabel", par)
1726 label.BackgroundTransparency = 1
1727 label.Size = UDim2.new(1, 0, 1, 0)
1728 label.Position = UDim2.new(0, 0, 0, 0)
1729 label.TextColor3 = Color3.new(255, 255, 0)
1730 label.TextStrokeTransparency = 0
1731 label.FontSize = Enum.FontSize.Size32
1732 label.Font = Enum.Font.SourceSansLight
1733 label.BorderSizePixel = 0
1734 label.TextScaled = true
1735 label.Text = text
1736end
1737
1738 framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
1739 framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
1740 framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
1741 framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
1742 bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
1743 bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
1744 bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
1745 bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
1746 text1 = Instance.new("TextLabel", framesk1)
1747 text1.BackgroundTransparency = 1
1748 text1.Size = UDim2.new(1, 0, 1, 0)
1749 text1.Position = UDim2.new(0, 0, 0, 0)
1750 text1.TextColor3 = Color3.new(255, 255, 0)
1751 text1.TextStrokeTransparency = 0
1752 text1.FontSize = Enum.FontSize.Size18
1753 text1.Font = Enum.Font.SourceSansLight
1754 text1.BorderSizePixel = 0
1755 text1.TextScaled = true
1756 text1.Text = "[Z]\n honk"
1757 text2 = Instance.new("TextLabel", framesk2)
1758 text2.BackgroundTransparency = 1
1759 text2.Size = UDim2.new(1, 0, 1, 0)
1760 text2.Position = UDim2.new(0, 0, 0, 0)
1761 text2.TextColor3 = Color3.new(255, 255, 0)
1762 text2.TextStrokeTransparency = 0
1763 text2.FontSize = Enum.FontSize.Size18
1764 text2.Font = Enum.Font.SourceSansLight
1765 text2.BorderSizePixel = 0
1766 text2.TextScaled = true
1767 text2.Text = "[X]\n idk"
1768 text3 = Instance.new("TextLabel", framesk3)
1769 text3.BackgroundTransparency = 1
1770 text3.Size = UDim2.new(1, 0, 1, 0)
1771 text3.Position = UDim2.new(0, 0, 0, 0)
1772 text3.TextColor3 = Color3.new(255, 255, 0)
1773 text3.TextStrokeTransparency = 0
1774 text3.FontSize = Enum.FontSize.Size18
1775 text3.Font = Enum.Font.SourceSansLight
1776 text3.BorderSizePixel = 0
1777 text3.TextScaled = false
1778 text3.Text = "[C]\n aaaaa"
1779 text4 = Instance.new("TextLabel", framesk4)
1780 text4.BackgroundTransparency = 1
1781 text4.Size = UDim2.new(1, 0, 1, 0)
1782 text4.Position = UDim2.new(0, 0, 0, 0)
1783 text4.TextColor3 = Color3.new(255, 255, 0)
1784 text4.TextStrokeTransparency = 0
1785 text4.FontSize = Enum.FontSize.Size18
1786 text4.Font = Enum.Font.SourceSansLight
1787 text4.BorderSizePixel = 0
1788 text4.TextScaled = true
1789 text4.Text = "[V]\n kil me"
1790
1791 ArtificialHB = Instance.new("BindableEvent", hoh.PlayerGui)
1792 ArtificialHB.Name = "Heartbeat"
1793 hoh.PlayerGui:WaitForChild("Heartbeat")
1794 frame = 0.033333333333333
1795 tf = 0
1796 allowframeloss = false
1797 tossremainder = false
1798 lastframe = tick()
1799 hoh.PlayerGui.Heartbeat:Fire()
1800 local gg = false
1801 game:GetService("RunService").Heartbeat:connect(function(s, p)
1802
1803 if hoh.PlayerGui:FindFirstChild("Heartbeat") == nil then
1804 gg = true
1805 end
1806 if gg == true then
1807 return
1808 end
1809 tf = tf + s
1810 if frame <= tf then
1811 if allowframeloss then
1812 hoh.PlayerGui.Heartbeat:Fire()
1813 lastframe = tick()
1814 else
1815 for i = 1, math.floor(tf / frame) do
1816 hoh.PlayerGui.Heartbeat:Fire()
1817 end
1818 lastframe = tick()
1819 end
1820 if tossremainder then
1821 tf = 0
1822 else
1823 tf = tf - frame * math.floor(tf / frame)
1824 end
1825 end
1826end
1827 )
1828 swait = function(num)
1829
1830 if num == 0 or num == nil then
1831 ArtificialHB.Event:wait()
1832 else
1833 for i = 0, num do
1834 ArtificialHB.Event:wait()
1835 end
1836 end
1837end
1838 local RbxUtility = LoadLibrary("RbxUtility")
1839 local Create = RbxUtility.Create
1840 RemoveOutlines = function(part)
1841
1842 part.TopSurface = 10
1843end
1844 CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1845
1846 local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
1847 RemoveOutlines(Part)
1848 return Part
1849end
1850
1851 CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1852
1853 local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
1854 if Mesh == "SpecialMesh" then
1855 Msh.MeshType = MeshType
1856 Msh.MeshId = MeshId
1857 end
1858 return Msh
1859end
1860
1861 CreateWeld = function(Parent, Part0, Part1, C0, C1)
1862
1863 local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
1864 return Weld
1865end
1866
1867 CFuncs = {
1868Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1869
1870 local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
1871 RemoveOutlines(Part)
1872 return Part
1873end
1874}
1875,
1876Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1877
1878 local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
1879 if Mesh == "SpecialMesh" then
1880 Msh.MeshType = MeshType
1881 Msh.MeshId = MeshId
1882 end
1883 return Msh
1884end
1885}
1886,
1887Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1888
1889 local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
1890 if Mesh == "SpecialMesh" then
1891 Msh.MeshType = MeshType
1892 Msh.MeshId = MeshId
1893 end
1894 return Msh
1895end
1896}
1897,
1898Weld = {Create = function(Parent, Part0, Part1, C0, C1)
1899
1900 local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
1901 return Weld
1902end
1903}
1904,
1905Sound = {Create = function(id, par, vol, pit)
1906
1907 coroutine.resume(coroutine.create(function()
1908
1909 local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
1910 wait()
1911 S:play()
1912 game:GetService("Debris"):AddItem(S, 6)
1913 end
1914))
1915end
1916}
1917,
1918ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1919
1920 local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
1921 return fp
1922end
1923}
1924}
1925
1926
1927
1928 rayCast = function(Position, Direction, Range, Ignore)
1929
1930 return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
1931end
1932
1933 local GetNearest = function(obj, distance)
1934
1935 local last, lastx = distance + 1, nil
1936 for i,v in pairs(workspace:GetChildren()) do
1937 if v:IsA("Model") and v ~= char and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
1938 local t = v.Torso
1939 local dist = (t.Position - obj.Position).magnitude
1940 if dist <= distance and dist < last then
1941 last = dist
1942 lastx = v
1943 end
1944 end
1945 end
1946 return lastx
1947 end
1948
1949
1950--[[armweld = Instance.new("Weld", char.Torso)
1951armweld.C0 = CFrame.new(1.5, .5, 0)
1952armweld.C1 = CFrame.new(0, .5, 0)
1953armweld.Part0 = char.Torso
1954armweld.Part1 = char["Right Arm"]]
1955
1956local Fhead = Instance.new("Part", char)
1957Fhead.Name = "a"
1958Fhead.Size = Vector3.new(2, 1, 1)
1959Fhead.Transparency = 1
1960Fhead.CanCollide = false
1961M = Instance.new("SpecialMesh", Fhead)
1962M.Scale = Vector3.new(1.26,1.26,1.26)
1963Das = Instance.new("Decal", Fhead)
1964Das.Texture = "rbxassetid://660774132"
1965Das.Transparency = 1
1966
1967
1968 local har1 = Instance.new("Part", char.Head)
1969 har1.BrickColor = BrickColor.new("Brown")
1970 har1.Name = "Hair"
1971 har1.formFactor = 0
1972 har1.Size = Vector3.new(0,-0.25,0)
1973 har1.BottomSurface = 0
1974 har1.TopSurface = 0
1975 har1.CanCollide = false
1976 Mesh = Instance.new("SpecialMesh",har1)
1977 Mesh.MeshId = "http://www.roblox.com/asset/?id=13070796"
1978 Mesh.TextureId = "http://www.roblox.com/asset/?id=13694600"
1979 Mesh.Scale=Vector3.new(1.01, .99, 1.01)
1980 local bWeld = Instance.new("Weld", char.Head)
1981 bWeld.Part0 = char.Head
1982 bWeld.Part1 = har1
1983 bWeld.C1 = CFrame.new(0,.4,0)
1984
1985
1986local main = Instance.new("Part", char.Torso)
1987main.Size = Vector3.new(.1, .1, .1)
1988main.BrickColor = BrickColor.new("White")
1989main.TopSurface = "SmoothNoOutlines"
1990main.Name = "asd"
1991main.Transparency = 1
1992main.CanCollide = false
1993
1994 local Handle = Instance.new("Part",d)
1995 Handle.Size = Vector3.new(0.3, 1.8, 3)
1996 Handle.Name = "Pan"
1997 Handle:BreakJoints()
1998 Handle.Anchored = false
1999 Handle.Transparency = 1
2000 Handle.CanCollide = false
2001 Handle.Shape = "Block"
2002 Handle.TopSurface = "SmoothNoOutlines"
2003 Handle.BottomSurface = "SmoothNoOutlines"
2004 ddd = Instance.new("SpecialMesh",Handle)
2005 ddd.Scale=Vector3.new(2, 2, 2)
2006 ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
2007 ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
2008 local Hitbox = Instance.new("Part",d)
2009 Hitbox.Size = Vector3.new(0.3, 1.8, 3)
2010 Hitbox.Name = "Hitbox"
2011 Hitbox:BreakJoints()
2012 Hitbox.Anchored = false
2013 Hitbox.Transparency = 1
2014 Hitbox.CanCollide = false
2015 Hitbox.Shape = "Block"
2016 Hitbox.TopSurface = "SmoothNoOutlines"
2017 Hitbox.BottomSurface = "SmoothNoOutlines"
2018 ddd = Instance.new("SpecialMesh",Handle)
2019 ddd.Scale=Vector3.new(2, 2, 2)
2020 ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
2021 ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
2022 local FakeHandle = Instance.new("Part",d)
2023 FakeHandle.Size = Vector3.new(0.3, 1.9, 3)
2024 FakeHandle.Name = "FakeHandle"
2025 FakeHandle:BreakJoints()
2026 FakeHandle.Anchored = false
2027 FakeHandle.Transparency = 1
2028 FakeHandle.CanCollide = false
2029 FakeHandle.Shape = "Block"
2030 FakeHandle.TopSurface = "SmoothNoOutlines"
2031 FakeHandle.BottomSurface = "SmoothNoOutlines"
2032 ddd = Instance.new("SpecialMesh",FakeHandle)
2033 ddd.Scale=Vector3.new(2, 2, 2)
2034 ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
2035 ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
2036
2037
2038
2039local aWeld = Instance.new("Weld", char.Head)
2040aWeld.Part0 = char.Head
2041aWeld.Part1 = Fhead
2042local aWeld = Instance.new("Weld", char.Torso)
2043aWeld.Part0 = char.Torso
2044aWeld.C1 = CFrame.new(0,1.2,.5)
2045local aWeld = Instance.new("Weld", char.Torso)
2046aWeld.Part0 = char.Torso
2047aWeld.Part1 = A1
2048aWeld.C1 = CFrame.new(.5,-.5,.5)
2049local aWeld = Instance.new("Weld", char.Torso)
2050aWeld.Part0 = char.Torso
2051aWeld.Part1 = A2
2052aWeld.C1 = CFrame.new(-.5,-.5,.5)
2053local aWeld = Instance.new("Weld", char.Torso)
2054aWeld.Part0 = char.Torso
2055aWeld.Part1 = A3
2056aWeld.C1 = CFrame.new(0,-1,.5)
2057local aWeld = Instance.new("Weld", char.Torso)
2058aWeld.Part0 = char.Torso
2059aWeld.Part1 = A4
2060aWeld.C1 = CFrame.new(.6,-1,0)
2061local aWeld = Instance.new("Weld", char.Torso)
2062aWeld.Part0 = char.Torso
2063aWeld.Part1 = A5
2064aWeld.C1 = CFrame.new(-.6,-1,0)
2065local aWeld = Instance.new("Weld", char.Torso)
2066aWeld.Part0 = char.Torso
2067aWeld.Part1 = A6
2068aWeld.C1 = CFrame.new(0,-1,-.42)
2069local aWeld = Instance.new("Weld", char.Torso)
2070aWeld.Part0 = char.Torso
2071aWeld.Part1 = A7
2072aWeld.C1 = CFrame.new(0,.6,0)
2073local aWeld = Instance.new("Weld", char.Torso)
2074aWeld.Part0 = char.Torso
2075aWeld.Part1 = A8
2076aWeld.C1 = CFrame.new(0,-1,-.55)
2077local aWeld = Instance.new("Weld", char.Torso)
2078aWeld.Part0 = char.Torso
2079aWeld.Part1 = A9
2080aWeld.C1 = CFrame.new(0,.6,-.55)
2081local aWeld = Instance.new("Weld", char.Torso)
2082aWeld.Part0 = char.Torso
2083aWeld.Part1 = da
2084aWeld.C1 = CFrame.new(0,.2,.5)
2085local aWeld = Instance.new("Weld", char.Torso)
2086aWeld.Part0 = char.Torso
2087aWeld.Part1 = da1
2088aWeld.C1 = CFrame.new(0,.2,.5)
2089
2090 Weld = Instance.new("Weld",Handle)
2091 Weld.Part0 = Weld.Parent
2092 Weld.Part1 = FakeHandle
2093 Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
2094 Weld = Instance.new("Weld",Hitbox)
2095 Weld.Part0 = Weld.Parent
2096 Weld.Part1 = FakeHandle
2097 Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
2098 FakeHandleWeld = Instance.new("Weld",FakeHandle)
2099 FakeHandleWeld.Part0 = FakeHandle
2100 FakeHandleWeld.Part1 = char["Right Arm"]
2101 FakeHandleWeld.C0 = CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90))
2102
2103
2104 local manWeld = Instance.new("Weld", char.Torso)
2105 manWeld.Part0 = char.Torso
2106 manWeld.Part1 = main
2107 manWeld.C1 = CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90))
2108 manWeld.C0 = CFrame.new(0,-0.4,0)--*CFrame.Angles(math.rad(90),0,0)
2109
2110 local cWeld = Instance.new("Weld", char.Torso)
2111 cWeld.Part0 = main
2112 --cWeld.C1 = CFrame.new(0,0,0)*CFrame.angles(0,0,0)
2113-----
2114 RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
2115 NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2116 local RW = newMotor(char.Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
2117 local LW = newMotor(char.Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
2118 local RH = newMotor(char.Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
2119 local LH = newMotor(char.Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
2120 RootJoint.C1 = CFrame.new(0, 0, 0)
2121 RootJoint.C0 = CFrame.new(0, 0, 0)
2122 char.Torso.Neck.C1 = CFrame.new(0, 0, 0)
2123 char.Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
2124 local rarmc1 = RW.C1
2125 local larmc1 = LW.C1
2126 local rlegc1 = RH.C1
2127 local llegc1 = LH.C1
2128 local resetc1 = false
2129 PlayAnimationFromTable = function(table, speed, bool)
2130 RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
2131 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, table[2], speed)
2132 RW.C0 = clerp(RW.C0, table[3], speed)
2133 LW.C0 = clerp(LW.C0, table[4], speed)
2134 RH.C0 = clerp(RH.C0, table[5], speed)
2135 LH.C0 = clerp(LH.C0, table[6], speed)
2136 if bool == true and resetc1 == false then
2137 resetc1 = true
2138 RootJoint.C1 = RootJoint.C1
2139 char.Torso.Neck.C1 = char.Torso.Neck.C1
2140 RW.C1 = rarmc1
2141 LW.C1 = larmc1
2142 RH.C1 = rlegc1
2143 LH.C1 = llegc1
2144 end
2145 end
2146
2147--
2148 Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2149
2150 if hit.Parent == nil then
2151 return
2152 end
2153 local h = hit.Parent:FindFirstChild("Humanoid")
2154 for _,v in pairs(hit.Parent:children()) do
2155 if v:IsA("Humanoid") then
2156 h = v
2157 end
2158 end
2159 if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
2160 if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
2161 return
2162 end
2163 local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
2164 game:GetService("Debris"):AddItem(c, 0.5)
2165 if HitSound ~= nil and HitPitch ~= nil then
2166 CreateSound(HitSound, hit, 1, HitPitch)
2167 end
2168 local Damage = math.random(minim, maxim)
2169 local blocked = false
2170 local block = hit.Parent:findFirstChild("Block")
2171 if block ~= nil and block.className == "IntValue" and block.Value > 0 then
2172 blocked = true
2173 block.Value = block.Value - 1
2174 print(block.Value)
2175 end
2176 if blocked == false then
2177 h.Health = h.Health - Damage
2178 ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2179 else
2180 h.Health = h.Health - Damage / 2
2181 ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2182 end
2183 if Type == "Knockdown" then
2184 local hum = hit.Parent.Humanoid
2185 hum.PlatformStand = true
2186 coroutine.resume(coroutine.create(function(HHumanoid)
2187
2188 swait(1)
2189 HHumanoid.PlatformStand = false
2190 end
2191), hum)
2192 local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
2193 local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
2194 local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
2195 game:GetService("Debris"):AddItem(bodvol, 0.5)
2196 game:GetService("Debris"):AddItem(rl, 0.5)
2197 elseif Type == "Normal" then
2198 local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
2199 if knockback > 0 then
2200 vp.Parent = hit.Parent.Torso
2201 end
2202 game:GetService("Debris"):AddItem(vp, 0.5)
2203 elseif Type == "Up" then
2204 local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
2205 game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2206 local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
2207 game:GetService("Debris"):AddItem(bodyVelocity, 1)
2208 elseif Type == "Snare" then
2209 local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
2210 game:GetService("Debris"):AddItem(bp, 1)
2211 elseif Type == "Freeze" then
2212 local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
2213 local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
2214 hit.Parent.Torso.Anchored = true
2215 coroutine.resume(coroutine.create(function(Part)
2216
2217 swait(1.5)
2218 Part.Anchored = false
2219 end
2220), hit.Parent.Torso)
2221 game:GetService("Debris"):AddItem(BodPos, 3)
2222 game:GetService("Debris"):AddItem(BodGy, 3)
2223 end
2224 local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
2225 game:GetService("Debris"):AddItem(debounce, Delay)
2226 c = Instance.new("ObjectValue")
2227 c.Name = "creator"
2228 c.Value = hoh
2229 c.Parent = h
2230 game:GetService("Debris"):AddItem(c, 0.5)
2231 end
2232 end
2233
2234 ShowDamage = function(Pos, Text, Time, Color)
2235
2236 local Rate = 0.033333333333333
2237 if not Pos then
2238 local Pos = Vector3.new(0, 0, 0)
2239 end
2240 local Text = Text or ""
2241 local Time = Time or 2
2242 if not Color then
2243 local Color = Color3.new(1, 1, 0)
2244 end
2245 local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2246 EffectPart.Anchored = true
2247 local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
2248 local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
2249 game.Debris:AddItem(EffectPart, Time + 0.1)
2250 EffectPart.Parent = game:GetService("Workspace")
2251 delay(0, function()
2252
2253 local Frames = Time / Rate
2254 for Frame = 1, Frames do
2255 wait(Rate)
2256 local Percent = Frame / Frames
2257 EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2258 TextLabel.TextTransparency = Percent
2259 end
2260 if EffectPart and EffectPart.Parent then
2261 EffectPart:Destroy()
2262 end
2263 end
2264)
2265end
2266
2267 MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
2268
2269 for _,c in pairs(workspace:children()) do
2270 local hum = c:findFirstChild("Humanoid")
2271 if hum ~= nil then
2272 local head = c:findFirstChild("Torso")
2273 if head ~= nil then
2274 local targ = head.Position - Part.Position
2275 local mag = targ.magnitude
2276 if mag <= magni and c.Name ~= hoh.Name then
2277 Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
2278 end
2279 end
2280 end
2281 end
2282end
2283
2284 EffectModel = Instance.new("Model", char)
2285 EffectModel.Name = "Effects"
2286 Effects = {
2287Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
2288
2289 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2290 prt.Anchored = true
2291 prt.CFrame = cframe
2292 local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2293 game:GetService("Debris"):AddItem(prt, 10)
2294 if Type == 1 or Type == nil then
2295 table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
2296 else
2297 if Type == 2 then
2298 table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
2299 end
2300 end
2301end
2302}
2303,
2304Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2305
2306 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2307 prt.Anchored = true
2308 prt.CFrame = cframe
2309 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2310 game:GetService("Debris"):AddItem(prt, 10)
2311 table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
2312end
2313}
2314,
2315Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2316
2317 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2318 prt.Anchored = true
2319 prt.CFrame = cframe
2320 local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2321 game:GetService("Debris"):AddItem(prt, 10)
2322 table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
2323end
2324}
2325,
2326Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2327
2328 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2329 prt.Anchored = true
2330 prt.CFrame = cframe
2331 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2332 game:GetService("Debris"):AddItem(prt, 10)
2333 table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
2334end
2335}
2336,
2337Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2338
2339 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2340 prt.Anchored = true
2341 prt.CFrame = cframe
2342 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2343 game:GetService("Debris"):AddItem(prt, 10)
2344 table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
2345end
2346}
2347,
2348Break = {Create = function(brickcolor, cframe, x1, y1, z1)
2349
2350 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
2351 prt.Anchored = true
2352 prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2353 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2354 local num = math.random(10, 50) / 1000
2355 game:GetService("Debris"):AddItem(prt, 10)
2356 table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
2357end
2358}
2359}
2360 BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
2361
2362 local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2363 prt.Anchored = true
2364 prt.CFrame = cframe
2365 local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2366 game:GetService("Debris"):AddItem(prt, 10)
2367 if Type == 1 or Type == nil then
2368 table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
2369 else
2370 if Type == 2 then
2371 table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
2372 end
2373 end
2374end
2375 Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2376
2377 local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
2378 prt.Anchored = true
2379 prt.CFrame = cframe
2380 prt.Material = "Neon"
2381 local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2382 game:GetService("Debris"):AddItem(prt, 10)
2383 coroutine.resume(coroutine.create(function(Part, Mesh)
2384
2385 for i = 0, 1, delay do
2386 swait()
2387 Part.Transparency = i
2388 Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
2389 end
2390 Part.Parent = nil
2391 end
2392), prt, msh)
2393end
2394
2395 shoottraildd = function(mouse, partt, SpreadAmount)
2396
2397 local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
2398 local MainPos = partt.Position
2399 local MainPos2 = mouse.Hit.p + SpreadVectors
2400 local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
2401 local speed = 15
2402 local num = 20
2403 coroutine.resume(coroutine.create(function()
2404
2405 repeat
2406 swait()
2407 local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
2408 local mag = (MainPos - pos).magnitude
2409 Laser(BrickColor.new("Bright red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
2410 MainPos = MainPos + MouseLook.lookVector * speed
2411 num = num - 1
2412 MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
2413 if hit ~= nil then
2414 num = 0
2415 local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
2416 refpart.Anchored = true
2417 refpart.CFrame = CFrame.new(pos)
2418 game:GetService("Debris"):AddItem(refpart, 2)
2419 end
2420 do
2421 if num <= 0 then
2422 local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
2423 refpart.Anchored = true
2424 refpart.CFrame = CFrame.new(pos)
2425 if hit ~= nil then
2426 CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
2427 BlockEffect(BrickColor.new("Br. yellowish orange"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
2428 BlockEffect(BrickColor.new("Bright red"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.07)
2429 MagniDamage(refpart, 15, 10, 15, 0, "Normal")
2430 end
2431 game:GetService("Debris"):AddItem(refpart, 0)
2432 end
2433 end
2434 until num <= 0
2435 end
2436))
2437end
2438-----
2439function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2440 local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2441 prt.Anchored = true
2442 prt.CFrame = cframe
2443 local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2444 game:GetService("Debris"):AddItem(prt, 10)
2445 table.insert(Effects, {
2446 prt,
2447 "Cylinder",
2448 delay,
2449 x3,
2450 y3,
2451 z3,
2452 msh
2453 })
2454end
2455-----
2456function AppearDisappear()
2457 local ez = Instance.new("Part",char)
2458 ez.Size = Vector3.new(1,1,1)
2459 ez.Name = "a"
2460 ez:BreakJoints()
2461 ez.Anchored = false
2462 ez.Transparency = 0
2463 ez.CanCollide = false
2464 ez.Shape = "Block"
2465 ez.Material='Neon'
2466 ez.TopSurface = "SmoothNoOutlines"
2467 ez.BottomSurface = "SmoothNoOutlines"
2468 ez.BrickColor = BrickColor.new("White")
2469 ddd = Instance.new("SpecialMesh",ez)
2470 ddd.MeshType="Sphere"
2471 ddd.Scale=Vector3.new(6,6,6)
2472 Weld = Instance.new("Weld",ez)
2473 Weld.Part0 = Weld.Parent
2474 Weld.Part1 = char.Torso
2475 for a = 0, 1, .05 do
2476 ddd.Scale = ddd.Scale + Vector3.new(.5, .5, .5)
2477 ez.Transparency = ez.Transparency + .1
2478 wait()
2479 end
2480 ez:Remove()
2481end
2482function AppearDisappear1()
2483 Das.Transparency = 0
2484char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
2485char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=468148440"
2486 CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
2487end
2488function AppearDisappear2()
2489 Das.Transparency = 0
2490char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
2491char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=330970993"
2492 CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
2493end
2494function equip()
2495 Handle.Transparency = 0
2496 local ez = Instance.new("Part",char)
2497 ez.Size = Vector3.new(1,1,1)
2498 ez.Name = "a"
2499 ez:BreakJoints()
2500 ez.Anchored = false
2501 ez.Transparency = 0
2502 ez.CanCollide = false
2503 ez.Shape = "Block"
2504 ez.Material='Neon'
2505 ez.TopSurface = "SmoothNoOutlines"
2506 ez.BottomSurface = "SmoothNoOutlines"
2507 ez.BrickColor = BrickColor.new("New Yeller")
2508 ddd = Instance.new("SpecialMesh",ez)
2509 ddd.MeshType="Sphere"
2510 ddd.Scale=Vector3.new(1,1,1)
2511 Weld = Instance.new("Weld",ez)
2512 Weld.Part0 = Weld.Parent
2513 Weld.Part1 = Handle
2514 CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
2515 for a = 0, 1, .05 do--while wait() and ez and ez.Transparency <= 1 do
2516 ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
2517 ez.Transparency = ez.Transparency + .1
2518 wait()
2519 end
2520 ez:Remove()
2521end
2522function unequip()
2523 Handle.Transparency = 1
2524 local ez = Instance.new("Part",char)
2525 ez.Size = Vector3.new(1,1,1)
2526 ez.Name = "a"
2527 ez:BreakJoints()
2528 ez.Anchored = false
2529 ez.Transparency = 0
2530 ez.CanCollide = false
2531 ez.Shape = "Block"
2532 ez.Material='Neon'
2533 ez.TopSurface = "SmoothNoOutlines"
2534 ez.BottomSurface = "SmoothNoOutlines"
2535 ez.BrickColor = BrickColor.new("New Yeller")
2536 ddd = Instance.new("SpecialMesh",ez)
2537 ddd.MeshType="Sphere"
2538 ddd.Scale=Vector3.new(1,1,1)
2539 Weld = Instance.new("Weld",ez)
2540 Weld.Part0 = Weld.Parent
2541 Weld.Part1 = Handle
2542 CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
2543 for a = 0, 1, .05 do
2544 ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
2545 ez.Transparency = ez.Transparency + .1
2546 wait()
2547 end
2548 ez:Remove()
2549end
2550attack1 = function()
2551 attack = true
2552 local con = Hitbox.Touched:connect(function(hit)
2553
2554 Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
2555 end
2556)
2557 for i = 0, 1, 0.1 do
2558 swait()
2559 --PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.529917479, 0, -0.848049283, 0, 1, 0, 0.848049283, 0, 0.529917479), CFrame.new(0, 1.49999499, 0, 0.406736165, 0, 0.913545728, 0, 1, 0, -0.913545728, 0, 0.406736165), CFrame.new(1.35679102, 0.782658279, 0.0675592273, 0.707045317, -0.527684033, 0.470782787, 0.133834034, -0.553849995, -0.82178998, 0.694388449, 0.644049466, -0.320975006), CFrame.new(-1.69279337, 0.499999672, -0.79492861, 0.717408359, 0.691137791, 0.0874861553, -0.0527720191, 0.179133937, -0.982408345, -0.694651246, 0.700171173, 0.164984912), CFrame.new(0.641659617, -1.99999392, 0.125842437, 0.882947862, 0, -0.469471127, 0, 1, 0, 0.469471127, 0, 0.882947862), CFrame.new(-0.348587006, -1.99999392, -0.0133331716, 0.898793101, 0, 0.438373119, 0, 1, 0, -0.438373119, 0, 0.898793101)}, 0.3, false)
2560 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
2561 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2562 RW.C0 = clerp(RW.C0, CFrame.new(1.3, 1.6, -.6) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.3)
2563 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2564 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2565 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2566
2567 end
2568 CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 1.5)
2569 for i = 0, 1, 0.1 do
2570 swait()
2571 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
2572 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2573 RW.C0 = clerp(RW.C0, CFrame.new(.9, -.1, -.8) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
2574 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2575 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2576 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2577
2578
2579 --PlayAnimationFromTable({CFrame.new(0.180807382, 0, 0.0999719128, 0.342022538, 0, 0.939691782, 0, 1, 0, -0.939691782, 0, 0.342022538), CFrame.new(0.0106580649, 1.49999499, -0.0643079877, 0.469472408, 0, -0.882947266, 0, 1, 0, 0.882947266, 0, 0.469472408), CFrame.new(1.83224225, 0.376015127, 0.0757035911, 0.135973215, -0.988979697, 0.0585707389, 0.0630049929, -0.0503679588, -0.996741474, 0.988707185, 0.139220387, 0.0554619655), CFrame.new(-0.541033506, 0.699999869, -0.891753554, 0.658596575, -0.726630569, 0.195598423, 0.0759940296, -0.194378868, -0.977978408, 0.74864924, 0.658957481, -0.072797671), CFrame.new(0.641663194, -1.99999392, 0.125834763, 0.406737477, 0, -0.913545191, 0, 1, 0, 0.913545191, 0, 0.406737477), CFrame.new(-0.590457141, -1.99999392, 0.164175183, 0.984808207, 0, -0.173646241, 0, 1, 0, 0.173646241, 0, 0.984808207)}, 0.3, false)
2580 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
2581 end
2582 con:disconnect()
2583 attack = false
2584end
2585attack2 = function()
2586 attack = true
2587 local con = Hitbox.Touched:connect(function(hit)
2588
2589 Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
2590 end
2591)
2592 for i = 0, 1, 0.1 do
2593 swait()
2594 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
2595 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
2596 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2597 RW.C0 = clerp(RW.C0, CFrame.new(1.2, .75, -1) * angles(math.rad(110), -math.rad(80), math.rad(15)), 0.3)
2598 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2599 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2600 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2601 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
2602 end
2603 CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
2604 for i = 0, 1, 0.1 do
2605 swait()
2606 --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
2607 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
2608 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
2609 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2610 RW.C0 = clerp(RW.C0, CFrame.new(.3, .3, -.3) * angles(math.rad(40), math.rad(30), -math.rad(70)), 0.3)
2611 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2612 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2613 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2614
2615 end
2616 con:disconnect()
2617 attack = false
2618end
2619attack3 = function()
2620 attack = true
2621 local con = Hitbox.Touched:connect(function(hit)
2622
2623 Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
2624 end)
2625
2626 for i = 0, 1, 0.1 do
2627 swait()
2628 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
2629 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.3)
2630 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2631 RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.3)
2632 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2633 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2634 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2635 end
2636 CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
2637 for i = 0, .2, 0.1 do
2638 swait()
2639 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
2640 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
2641 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(90), math.rad(0)), 0.3)
2642 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2643 RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
2644 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2645 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2646 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2647 end
2648 for i = 0, .2, 0.1 do
2649 swait()
2650 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
2651 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(180), math.rad(0)), 0.3)
2652 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2653 RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
2654 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2655 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2656 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2657 end
2658 for i = 0, .2, 0.1 do
2659 swait()
2660 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
2661 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(270), math.rad(0)), 0.3)
2662 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2663 RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
2664 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2665 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2666 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2667 end
2668
2669
2670
2671
2672 for i = 0, 1, 0.1 do
2673 swait()
2674 --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
2675 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
2676 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(40), math.rad(0)), 0.3)
2677 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2678 RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(-math.rad(180), math.rad(0), math.rad(90)), 0.3)
2679 LW.C0 = clerp(LW.C0, CFrame.new(-2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
2680 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2681 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2682end
2683
2684 con:disconnect()
2685 attack = false
2686end
2687function kek1()
2688 attack = true
2689 Effects.Sphere.Create(BrickColor.new("New Yeller"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 6.5, 6.5, 6.5, 4, 4, 4, 0.07)
2690
2691 CFuncs.Sound.Create("http://www.roblox.com/asset?id=200633707", char.Torso, 0.8, 1.1)
2692
2693 local Aaaa = Instance.new("Part", RootPart)
2694 Aaaa.Size = Vector3.new(.1, .1, .1)
2695 Aaaa.BrickColor = BrickColor.new("White")
2696 Aaaa.Transparency = 1
2697 Aaaa.CanCollide = false
2698 local abbWeld = Instance.new("Weld", RootPart)
2699 abbWeld.Part0 = RootPart
2700 abbWeld.Part1 = Aaaa
2701 abbWeld.C1 = CFrame.new(0,0,9)
2702
2703 for i = 0, 2.5, 0.1 do
2704 swait()
2705 Effects.Ring.Create(BrickColor.new("Navy blue"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 1.5, 1.5, 0, 0.5, 0.5, 0, 0.07)
2706 --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
2707 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.1)
2708 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2709 RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.1)
2710 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.1)
2711 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2712 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2713
2714 end
2715 for i = 0, 0.2, 0.1 do
2716 swait()
2717 --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
2718 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
2719 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
2720 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
2721 RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), -math.rad(5)), 0.3)
2722 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2723 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2724 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2725 end
2726 Effects.Sphere.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 2.5, 2.5, 2.5, 3.5, 3.5, 3.5, 0.07)
2727 Effects.Ring.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(0, 0, math.random(-3,3)), 2.5, 2.5, 2.5, 1, 1, 1, 0.07)
2728
2729 CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", Aaaa, 1, 1)
2730 CFuncs.Sound.Create("http://roblox.com/asset/?id=279675650", FakeHandle, 1, 1.1)
2731 local con = Aaaa.Touched:connect(function(hit)
2732 MagniDamage(Aaaa, 30, 30, 55, 4, "Knockdown")
2733 --Damagefunc(Hitbox, hit, 30, 60, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
2734 end
2735 )
2736 for i = 0, 1, 0.1 do
2737 swait()
2738 --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
2739 --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
2740 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
2741 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
2742 RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
2743 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2744 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2745 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2746 end
2747 Aaaa:Remove()
2748 con:disconnect()
2749 attack = false
2750end
2751function kek2()
2752 attack = true
2753
2754
2755 for i = 0, 1, 0.1 do
2756 swait()
2757 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2758 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
2759 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
2760 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
2761 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2762 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2763 end
2764 CFuncs.Sound.Create("rbxassetid://169380505", RootPart, 0.8, 1.5)
2765 Effects.Cylinder.Create(BrickColor.new("New Yeller"), LeftArm.CFrame * angles(math.rad(2), 0, 0), 1, 9999, 1, 1, 1, 1, 0.07)
2766 for i = 0, 2, 0.1 do
2767 swait()
2768 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2769 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
2770 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
2771 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
2772 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2773 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2774 end
2775 CFuncs.Sound.Create("rbxassetid://169445602", RootPart, 1, 1.2)
2776 local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
2777 local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, char)
2778 if hit2 ~= nil then
2779 local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Navy blue"), "Effect", Vector3.new())
2780 d1.Anchored = true
2781 d1.CFrame = CFrame.new(pos2)
2782 MagniDamage(d1, 20, 10, 25, 5, "Snare")
2783 Effects.Cylinder.Create(BrickColor.new("New Yeller"), d1.CFrame * angles(0, 0, 0), 1, 9999, 1, 4, 1, 4, 0.07)
2784 local con = Hitbox.Touched:connect(function(hit)
2785 end)
2786 game:GetService("Debris"):AddItem(d1, 5)
2787 local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(100, 5, 100))
2788 local d2 = d1:Clone()
2789 d2.Parent = d1
2790 d2.CFrame = CFrame.new(d1.Position)
2791 d2.BrickColor = BrickColor.new("New Yeller")
2792 d2.Mesh.Scale = Vector3.new(0, 5, 0)
2793 table.insert(Effects, {d1, "QuadShot", d2, d2.Mesh, 0})
2794 end
2795 attack = false
2796
2797end
2798function kek3()
2799 cooldown1 = cooldown1 - 5
2800 local dacf = Handle.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
2801 local icepart1 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Ice", vt())
2802 icepart1.Anchored = true
2803 i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", vt(0, 0, 0), vt(5, 5, 5))
2804 icepart1.CFrame = dacf
2805 for i = 0, 1, 0.1 do
2806 swait()
2807 icepart1.CFrame = dacf
2808 end
2809 local cfinc = 99999
2810 icepart1.Transparency = 1
2811 CreateSound("rbxassetid://334325056", icepart1, 1, 1)
2812 game:GetService("Debris"):AddItem(icepart1, 1)
2813 local spread = vt((math.random(-1, 0) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + vt(0, -1, 0))).magnitude / 100
2814 local TheHit = mouse.Hit.p
2815 local MouseLook = cf((icepart1.Position + TheHit) / 2, TheHit + spread)
2816 local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
2817 local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
2818 local test1, dist1 = mouse.Hit.p, nil
2819 if target1 ~= nil then
2820 cfda = target1.Position + vt(math.random(-3000, 3000) / 100, 20, math.random(-3000, 3000) / 100)
2821 local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
2822 local d1 = CreatePart(effect, "SmoothPlastic", 0, 0.5, BrickColor.new("White"), "Effect", vt())
2823 d1.Anchored = true
2824 d1.CFrame = cf(pos2)
2825 MagniDamage(d1, 10, 12, 15, -10, "Normal", "231917784")
2826 SphereEffect(BrickColor.new("White"), cf(pos2), 100, 100, 100, 10, 10, 10, 0.07)
2827 msh = CreateMesh("SpecialMesh", d1, "Sphere", "", vt(0, 0, 0), vt(80, 80, 80))
2828 d2 = d1:Clone()
2829 d2.Parent = d1
2830 d2.CFrame = cf(d1.Position)
2831 d2.BrickColor = BrickColor.new("Toothpaste")
2832 d2.Mesh.Scale = vt(0, 5, 0)
2833 table.insert(Effects, {
2834 d1,
2835 "SatelliteStrike",
2836 d2,
2837 d2.Mesh,
2838 0
2839 })
2840 end
2841end
2842
2843function kek4()
2844
2845end
2846 mouse.Button1Down:connect(function()
2847
2848 if attack == false and attacktype == 1 and equipped == true then
2849 attacktype = 2
2850 attack1()
2851 else
2852 if attack == false and attacktype == 2 and equipped == true then
2853 attacktype = 3
2854 attack2()
2855 else
2856 if attack == false and attacktype == 3 and equipped == true then
2857 attacktype = 1
2858 attack3()
2859 end
2860 end
2861 end
2862end
2863 )
2864
2865 updateskills = function()
2866
2867 if cooldown1 <= co1 then
2868 cooldown1 = cooldown1 + 0.033333333333333
2869 end
2870 if cooldown2 <= co2 then
2871 cooldown2 = cooldown2 + 0.033333333333333
2872 end
2873 if cooldown3 <= co3 then
2874 cooldown3 = cooldown3 + 0.033333333333333
2875 end
2876 if cooldown4 <= co4 then
2877 cooldown4 = cooldown4 + 0.033333333333333
2878 end
2879end
2880
2881--[[function onKeyDown(key)
2882if key == "u" then
2883if nak == false and disable == false then
2884 disable = true
2885 AppearDisappear1()
2886 AppearDisappear()
2887 nak = true
2888 wait(1)
2889 disable = false
2890elseif disable == false then
2891 AppearDisappear2()
2892 AppearDisappear()
2893
2894 nak = false
2895 wait(1)
2896 disable = false
2897end
2898end
2899
2900if key == "f" then
2901if equipped == false and disable == false then
2902 disable = true
2903 equipped = true
2904 equip()
2905 wait(1)
2906 disable = false
2907 elseif equipped == true and disable == false then
2908 disable = true
2909 unequip()
2910 equipped = false
2911 wait(1)
2912 disable = false
2913end
2914end]]
2915mouse.KeyDown:connect(function(k)
2916
2917 k = k:lower()
2918 if attack == false and equipped == true and k == "z" and co1 <= cooldown1 then
2919 cooldown1 = 0
2920 kek1()
2921 else
2922 if attack == false and equipped == true and k == "x" and co2 <= cooldown2 then
2923 cooldown2 = 0
2924 kek2()
2925 else
2926 if attack == false and equipped == true and k == "c" and co3 <= cooldown3 then
2927 cooldown3 = 0
2928 kek3()
2929 else
2930 if attack == false and k == "v" and co4 <= cooldown4 then
2931 cooldown4 = 0
2932 kek4()
2933 else
2934 if attack == false and k == "f" and equipped == false and disable == false then
2935
2936 disable = true
2937 equipped = true
2938 equip()
2939 wait(.5)
2940 disable = false
2941 else
2942 if k == "f" and equipped == true and disable == false then
2943 disable = true
2944 equipped = false
2945 unequip()
2946 wait(.5)
2947 disable = false
2948
2949
2950 else
2951 if k == "u" and nak == false and disable == false then
2952 disable = true
2953 AppearDisappear1()
2954 AppearDisappear()
2955 nak = true
2956 wait(.5)
2957 disable = false
2958 else
2959 if k == "u" and nak == true and disable == false then
2960 disable = true
2961 AppearDisappear2()
2962 AppearDisappear()
2963 nak = false
2964 wait(.5)
2965 disable = false
2966 end
2967 end
2968 end
2969 end
2970 end
2971 end
2972 end
2973 end
2974end)
2975
2976 while 1 do
2977 swait()
2978 updateskills()
2979 bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
2980 bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
2981 bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
2982 bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
2983 for i,v in pairs(char:GetChildren()) do
2984 if v:IsA("Part") then
2985 v.Material = "SmoothPlastic"
2986 else
2987 if v:IsA("Hat") then
2988 v:WaitForChild("Handle").Material = "SmoothPlastic"
2989 end
2990 end
2991 end
2992 Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
2993 velocity = RootPart.Velocity.y
2994 sine = sine + change
2995 local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
2996 if equipped == true or equipped == false then
2997 if 1 < RootPart.Velocity.y and hit == nil then
2998 Anim = "Jump"
2999 if attack == false then
3000 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(65),-math.rad(90)), 0.3)
3001 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.3,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
3002 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
3003 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
3004 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
3005 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
3006 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
3007 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
3008 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
3009 end
3010 else
3011 if RootPart.Velocity.y < -1 and hit == nil then
3012 Anim = "Fall"
3013 if attack == false then
3014 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(15),-math.rad(90)), 0.3)
3015 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
3016 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
3017 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
3018 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
3019 RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
3020 LW.C0 = clerp(LW.C0, CFrame.new(-1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
3021 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
3022 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
3023 end
3024 else
3025 if Torsovelocity < 1 and hit ~= nil then
3026 Anim = "Idle"
3027 if attack == false then
3028 if equipped == true then
3029 change = 1
3030 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3)
3031 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
3032 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
3033 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), -math.rad(20), math.rad(0)), 0.3)
3034 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(5), math.rad(20), math.rad(0)), 0.3)
3035 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
3036 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
3037 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
3038 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
3039 else
3040 change = 1
3041 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3)
3042 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
3043 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
3044 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.06 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
3045 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
3046 RW.C0 = clerp(RW.C0, CFrame.new(0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), -math.rad(40)), 0.3)
3047 LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3)
3048 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
3049 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
3050
3051 end
3052 end
3053 else
3054 if 2 < Torsovelocity and hit ~= nil then
3055 Anim = "Walk"
3056 if attack == false then
3057 manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90)), 0.3)
3058 manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
3059 FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
3060 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
3061 char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
3062 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
3063 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
3064 RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 1 * math.cos((sine) / 3)) * angles(math.rad(0 - 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
3065 LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 1 * math.cos((sine) / 3)) * angles(math.rad(0 + 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
3066 end
3067 end
3068 end
3069 end
3070 end
3071 end
3072 if 0 < #Effects then
3073 for e = 1, #Effects do
3074 if Effects[e] ~= nil then
3075 local Thing = Effects[e]
3076 if Thing ~= nil then
3077 local Part = Thing[1]
3078 local Mode = Thing[2]
3079 local Delay = Thing[3]
3080 local IncX = Thing[4]
3081 local IncY = Thing[5]
3082 local IncZ = Thing[6]
3083 if Thing[1].Transparency <= 1 then
3084 if Thing[2] == "Block1" then
3085 Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3086 Mesh = Thing[1].Mesh
3087 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3088 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3089 else
3090 if Thing[2] == "Block2" then
3091 Thing[1].CFrame = Thing[1].CFrame
3092 Mesh = Thing[7]
3093 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3094 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3095 else
3096 if Thing[2] == "Cylinder" then
3097 Mesh = Thing[1].Mesh
3098 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3099 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3100 else
3101 if Thing[2] == "Blood" then
3102 Mesh = Thing[7]
3103 Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
3104 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3105 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3106 else
3107 if Thing[2] == "Elec" then
3108 Mesh = Thing[1].Mesh
3109 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
3110 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3111 else
3112 if Thing[2] == "Disappear" then
3113 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3114 else
3115 if Thing[2] == "Shatter" then
3116 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3117 Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
3118 Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
3119 Thing[6] = Thing[6] + Thing[5]
3120 else
3121 if Thing[2] == "QuadShot" then
3122 if Thing[5] < 100 then
3123 Thing[5] = Thing[5] + 2.5
3124 Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
3125 else
3126 refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
3127 refda.Anchored = true
3128 refda.CFrame = CFrame.new(Thing[1].Position)
3129 game:GetService("Debris"):AddItem(refda, 5)
3130 CFuncs.Sound.Create("rbxassetid://203691378", refda, 1, 1.2)
3131 CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
3132 --MagniDamage(refda, 40, 20, 50, BrickColor.new("Navy blue"), BrickColor.new("New Yeller"))
3133 MagniDamage(refda, 40, 20, 50, 50, "Freeze")
3134 Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(refda.Position), 3, 3, 3, 10, 10, 10, 0.05)
3135 Effects.Sphere.Create(BrickColor.new("Navy blue"), CFrame.new(refda.Position), 15, 15, 15, 10, 10, 10, 0.05)
3136 --Effects.Sphere.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06)
3137 Effects.Block.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06, 1)
3138 Effects.Wave.Create(BrickColor.new("New Yeller"), refda.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
3139 Thing[1].Parent = nil
3140 table.remove(Effects, e)
3141 end
3142 end
3143 end
3144 end
3145 end
3146 end
3147 end
3148 end
3149 end
3150 else
3151 Part.Parent = nil
3152 table.remove(Effects, e)
3153 end
3154 end
3155 end
3156 end
3157 end
3158end
3159We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
3160Not a member of Pastebin yet?
3161Sign Up, it unlocks many cool features!
3162
3163create new paste / dealsnew! / syntax languages / archive / faq / tools / night mode / api / scraping api
3164privacy statement / cookies policy / terms of service / security disclosure / dmca / contact
3165
3166By using Pastebin.com you agree to our cookies policy to enhance your experience.
3167Site design & logo © 2020 Pastebin; user contributions (pastes) licensed under cc by-sa 3.0 -- FavPNG -- Dedicated Server Hosting by Steadfast
3168Top