Advertisement
squidingtin

test

Mar 26th, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --When'sWaifu
  2. wait(0.2)
  3. print("Hey!!!")
  4. print("You Pervert!!!")
  5. local hoh = game:GetService"Players".LocalPlayer
  6. local char = hoh.Character
  7. local Head = char.Head
  8. local LeftArm = char["Left Arm"]
  9. local RightArm = char["Right Arm"]
  10. local LeftLeg = char["Left Leg"]
  11. local RightLeg = char["Right Leg"]
  12. mouse = hoh:GetMouse()
  13. local cam = game.Workspace.CurrentCamera
  14. local RootPart = char.HumanoidRootPart
  15. local RootJoint = RootPart.RootJoint
  16. local Anim = "Idle"
  17. local idle = 0
  18. local Effects = {}
  19. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  20. vt = Vector3.new
  21. local cf = CFrame.new
  22. local mr = math.rad
  23. local angles = CFrame.Angles
  24. local ud = UDim2.new
  25. local c3 = Color3.new
  26. local velocity = RootPart.Velocity.y
  27. local sine = 0
  28. local change = 1
  29. local grabbed = false
  30. local cn = CFrame.new
  31. local mr = math.rad
  32. local angles = CFrame.Angles
  33. local ud = UDim2.new
  34. local c3 = Color3.new
  35. local d = Instance.new('Model', char)
  36. d.Name = "KKK"
  37. attack = false
  38. nak = false
  39. disable = false
  40. attacktype = 1
  41. equipped = false
  42. char.Humanoid.Animator.Parent = nil
  43. char.Animate.Parent = nil
  44. local newMotor = function(part0, part1, c0, c1)
  45. local w = Instance.new("Motor", part0)
  46. w.Part0 = part0
  47. w.Part1 = part1
  48. w.C0 = c0
  49. w.C1 = c1
  50. return w
  51. end
  52. clerp = function(a, b, t)
  53.  
  54. return a:lerp(b, t)
  55. end
  56.  
  57. function CreateSound(id, par, vol, pit)
  58. coroutine.resume(coroutine.create(function()
  59. local sou = Instance.new("Sound", par or workspace)
  60. sou.Volume = vol
  61. sou.Pitch = pit or 1
  62. sou.SoundId = id
  63. wait()
  64. sou:play()
  65. game:GetService("Debris"):AddItem(sou, 6)
  66. end))
  67. end
  68. New = function(Object, Parent, Name, Data)
  69. local Object = Instance.new(Object)
  70. for Index, Value in pairs(Data or {}) do
  71. Object[Index] = Value
  72. end
  73. Object.Parent = Parent
  74. Object.Name = Name
  75. return Object
  76. end
  77.  
  78.  
  79. local co1 = 5
  80. local co2 = 8
  81. local co3 = 10
  82. local co4 = 25
  83. local cooldown1 = 0
  84. local cooldown2 = 0
  85. local cooldown3 = 0
  86. local cooldown4 = 0
  87. local skillcolorscheme = BrickColor.new("Navy blue").Color
  88. local scrn = Instance.new("ScreenGui", hoh.PlayerGui)
  89. makeframe = function(par, trans, pos, size, color)
  90.  
  91. local frame = Instance.new("Frame", par)
  92. frame.BackgroundTransparency = trans
  93. frame.BorderSizePixel = 0
  94. frame.Position = pos
  95. frame.Size = size
  96. frame.BackgroundColor3 = color
  97. return frame
  98. end
  99.  
  100. makelabel = function(par, text)
  101.  
  102. local label = Instance.new("TextLabel", par)
  103. label.BackgroundTransparency = 1
  104. label.Size = UDim2.new(1, 0, 1, 0)
  105. label.Position = UDim2.new(0, 0, 0, 0)
  106. label.TextColor3 = Color3.new(255, 255, 0)
  107. label.TextStrokeTransparency = 0
  108. label.FontSize = Enum.FontSize.Size32
  109. label.Font = Enum.Font.SourceSansLight
  110. label.BorderSizePixel = 0
  111. label.TextScaled = true
  112. label.Text = text
  113. end
  114.  
  115. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  116. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  117. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  118. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  119. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  120. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  121. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  122. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  123. text1 = Instance.new("TextLabel", framesk1)
  124. text1.BackgroundTransparency = 1
  125. text1.Size = UDim2.new(1, 0, 1, 0)
  126. text1.Position = UDim2.new(0, 0, 0, 0)
  127. text1.TextColor3 = Color3.new(255, 255, 0)
  128. text1.TextStrokeTransparency = 0
  129. text1.FontSize = Enum.FontSize.Size18
  130. text1.Font = Enum.Font.SourceSansLight
  131. text1.BorderSizePixel = 0
  132. text1.TextScaled = true
  133. text1.Text = "[Z]\n honk"
  134. text2 = Instance.new("TextLabel", framesk2)
  135. text2.BackgroundTransparency = 1
  136. text2.Size = UDim2.new(1, 0, 1, 0)
  137. text2.Position = UDim2.new(0, 0, 0, 0)
  138. text2.TextColor3 = Color3.new(255, 255, 0)
  139. text2.TextStrokeTransparency = 0
  140. text2.FontSize = Enum.FontSize.Size18
  141. text2.Font = Enum.Font.SourceSansLight
  142. text2.BorderSizePixel = 0
  143. text2.TextScaled = true
  144. text2.Text = "[X]\n idk"
  145. text3 = Instance.new("TextLabel", framesk3)
  146. text3.BackgroundTransparency = 1
  147. text3.Size = UDim2.new(1, 0, 1, 0)
  148. text3.Position = UDim2.new(0, 0, 0, 0)
  149. text3.TextColor3 = Color3.new(255, 255, 0)
  150. text3.TextStrokeTransparency = 0
  151. text3.FontSize = Enum.FontSize.Size18
  152. text3.Font = Enum.Font.SourceSansLight
  153. text3.BorderSizePixel = 0
  154. text3.TextScaled = false
  155. text3.Text = "[C]\n aaaaa"
  156. text4 = Instance.new("TextLabel", framesk4)
  157. text4.BackgroundTransparency = 1
  158. text4.Size = UDim2.new(1, 0, 1, 0)
  159. text4.Position = UDim2.new(0, 0, 0, 0)
  160. text4.TextColor3 = Color3.new(255, 255, 0)
  161. text4.TextStrokeTransparency = 0
  162. text4.FontSize = Enum.FontSize.Size18
  163. text4.Font = Enum.Font.SourceSansLight
  164. text4.BorderSizePixel = 0
  165. text4.TextScaled = true
  166. text4.Text = "[V]\n kil me"
  167.  
  168. ArtificialHB = Instance.new("BindableEvent", hoh.PlayerGui)
  169. ArtificialHB.Name = "Heartbeat"
  170. hoh.PlayerGui:WaitForChild("Heartbeat")
  171. frame = 0.033333333333333
  172. tf = 0
  173. allowframeloss = false
  174. tossremainder = false
  175. lastframe = tick()
  176. hoh.PlayerGui.Heartbeat:Fire()
  177. local gg = false
  178. game:GetService("RunService").Heartbeat:connect(function(s, p)
  179.  
  180. if hoh.PlayerGui:FindFirstChild("Heartbeat") == nil then
  181. gg = true
  182. end
  183. if gg == true then
  184. return
  185. end
  186. tf = tf + s
  187. if frame <= tf then
  188. if allowframeloss then
  189. hoh.PlayerGui.Heartbeat:Fire()
  190. lastframe = tick()
  191. else
  192. for i = 1, math.floor(tf / frame) do
  193. hoh.PlayerGui.Heartbeat:Fire()
  194. end
  195. lastframe = tick()
  196. end
  197. if tossremainder then
  198. tf = 0
  199. else
  200. tf = tf - frame * math.floor(tf / frame)
  201. end
  202. end
  203. end
  204. )
  205. swait = function(num)
  206.  
  207. if num == 0 or num == nil then
  208. ArtificialHB.Event:wait()
  209. else
  210. for i = 0, num do
  211. ArtificialHB.Event:wait()
  212. end
  213. end
  214. end
  215. local RbxUtility = LoadLibrary("RbxUtility")
  216. local Create = RbxUtility.Create
  217. RemoveOutlines = function(part)
  218.  
  219. part.TopSurface = 10
  220. end
  221. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  222.  
  223. 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})
  224. RemoveOutlines(Part)
  225. return Part
  226. end
  227.  
  228. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  229.  
  230. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  231. if Mesh == "SpecialMesh" then
  232. Msh.MeshType = MeshType
  233. Msh.MeshId = MeshId
  234. end
  235. return Msh
  236. end
  237.  
  238. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  239.  
  240. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  241. return Weld
  242. end
  243.  
  244. CFuncs = {
  245. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  246.  
  247. 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})
  248. RemoveOutlines(Part)
  249. return Part
  250. end
  251. }
  252. ,
  253. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  254.  
  255. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  256. if Mesh == "SpecialMesh" then
  257. Msh.MeshType = MeshType
  258. Msh.MeshId = MeshId
  259. end
  260. return Msh
  261. end
  262. }
  263. ,
  264. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  265.  
  266. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  267. if Mesh == "SpecialMesh" then
  268. Msh.MeshType = MeshType
  269. Msh.MeshId = MeshId
  270. end
  271. return Msh
  272. end
  273. }
  274. ,
  275. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  276.  
  277. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  278. return Weld
  279. end
  280. }
  281. ,
  282. Sound = {Create = function(id, par, vol, pit)
  283.  
  284. coroutine.resume(coroutine.create(function()
  285.  
  286. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
  287. wait()
  288. S:play()
  289. game:GetService("Debris"):AddItem(S, 6)
  290. end
  291. ))
  292. end
  293. }
  294. ,
  295. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  296.  
  297. 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})
  298. return fp
  299. end
  300. }
  301. }
  302.  
  303.  
  304.  
  305. rayCast = function(Position, Direction, Range, Ignore)
  306.  
  307. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  308. end
  309.  
  310. local GetNearest = function(obj, distance)
  311.  
  312. local last, lastx = distance + 1, nil
  313. for i,v in pairs(workspace:GetChildren()) do
  314. if v:IsA("Model") and v ~= char and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  315. local t = v.Torso
  316. local dist = (t.Position - obj.Position).magnitude
  317. if dist <= distance and dist < last then
  318. last = dist
  319. lastx = v
  320. end
  321. end
  322. end
  323. return lastx
  324. end
  325.  
  326.  
  327. --[[armweld = Instance.new("Weld", char.Torso)
  328. armweld.C0 = CFrame.new(1.5, .5, 0)
  329. armweld.C1 = CFrame.new(0, .5, 0)
  330. armweld.Part0 = char.Torso
  331. armweld.Part1 = char["Right Arm"]]
  332.  
  333. local Fhead = Instance.new("Part", char)
  334. Fhead.Name = "a"
  335. Fhead.Size = Vector3.new(2, 1, 1)
  336. Fhead.Transparency = 1
  337. Fhead.CanCollide = false
  338. M = Instance.new("SpecialMesh", Fhead)
  339. M.Scale = Vector3.new(1.26,1.26,1.26)
  340. Das = Instance.new("Decal", Fhead)
  341. Das.Texture = "rbxassetid://660774132"
  342. Das.Transparency = 1
  343. local main = Instance.new("Part", char.Torso)
  344. main.Size = Vector3.new(.1, .1, .1)
  345. main.BrickColor = BrickColor.new("White")
  346. main.TopSurface = "SmoothNoOutlines"
  347. main.Name = "asd"
  348. main.Transparency = 1
  349. main.CanCollide = false
  350.  
  351. local Handle = Instance.new("Part",d)
  352. Handle.Size = Vector3.new(0.3, 1.8, 3)
  353. Handle.Name = "Pan"
  354. Handle:BreakJoints()
  355. Handle.Anchored = false
  356. Handle.Transparency = 1
  357. Handle.CanCollide = false
  358. Handle.Shape = "Block"
  359. Handle.TopSurface = "SmoothNoOutlines"
  360. Handle.BottomSurface = "SmoothNoOutlines"
  361. ddd = Instance.new("SpecialMesh",Handle)
  362. ddd.Scale=Vector3.new(2, 2, 2)
  363. ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
  364. ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
  365. local Hitbox = Instance.new("Part",d)
  366. Hitbox.Size = Vector3.new(0.3, 1.8, 3)
  367. Hitbox.Name = "Hitbox"
  368. Hitbox:BreakJoints()
  369. Hitbox.Anchored = false
  370. Hitbox.Transparency = 1
  371. Hitbox.CanCollide = false
  372. Hitbox.Shape = "Block"
  373. Hitbox.TopSurface = "SmoothNoOutlines"
  374. Hitbox.BottomSurface = "SmoothNoOutlines"
  375. ddd = Instance.new("SpecialMesh",Handle)
  376. ddd.Scale=Vector3.new(2, 2, 2)
  377. ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
  378. ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
  379. local FakeHandle = Instance.new("Part",d)
  380. FakeHandle.Size = Vector3.new(0.3, 1.9, 3)
  381. FakeHandle.Name = "FakeHandle"
  382. FakeHandle:BreakJoints()
  383. FakeHandle.Anchored = false
  384. FakeHandle.Transparency = 1
  385. FakeHandle.CanCollide = false
  386. FakeHandle.Shape = "Block"
  387. FakeHandle.TopSurface = "SmoothNoOutlines"
  388. FakeHandle.BottomSurface = "SmoothNoOutlines"
  389. ddd = Instance.new("SpecialMesh",FakeHandle)
  390. ddd.Scale=Vector3.new(2, 2, 2)
  391. ddd.MeshId = "http://www.roblox.com/asset/?id=11820238"
  392. ddd.TextureId = "http://www.roblox.com/asset/?id=11820143"
  393.  
  394.  
  395.  
  396. local aWeld = Instance.new("Weld", char.Head)
  397. aWeld.Part0 = char.Head
  398. aWeld.Part1 = Fhead
  399. local aWeld = Instance.new("Weld", char.Torso)
  400. aWeld.Part0 = char.Torso
  401. aWeld.C1 = CFrame.new(0,1.2,.5)
  402. local aWeld = Instance.new("Weld", char.Torso)
  403. aWeld.Part0 = char.Torso
  404. aWeld.Part1 = A1
  405. aWeld.C1 = CFrame.new(.5,-.5,.5)
  406. local aWeld = Instance.new("Weld", char.Torso)
  407. aWeld.Part0 = char.Torso
  408. aWeld.Part1 = A2
  409. aWeld.C1 = CFrame.new(-.5,-.5,.5)
  410. local aWeld = Instance.new("Weld", char.Torso)
  411. aWeld.Part0 = char.Torso
  412. aWeld.Part1 = A3
  413. aWeld.C1 = CFrame.new(0,-1,.5)
  414. local aWeld = Instance.new("Weld", char.Torso)
  415. aWeld.Part0 = char.Torso
  416. aWeld.Part1 = A4
  417. aWeld.C1 = CFrame.new(.6,-1,0)
  418. local aWeld = Instance.new("Weld", char.Torso)
  419. aWeld.Part0 = char.Torso
  420. aWeld.Part1 = A5
  421. aWeld.C1 = CFrame.new(-.6,-1,0)
  422. local aWeld = Instance.new("Weld", char.Torso)
  423. aWeld.Part0 = char.Torso
  424. aWeld.Part1 = A6
  425. aWeld.C1 = CFrame.new(0,-1,-.42)
  426. local aWeld = Instance.new("Weld", char.Torso)
  427. aWeld.Part0 = char.Torso
  428. aWeld.Part1 = A7
  429. aWeld.C1 = CFrame.new(0,.6,0)
  430. local aWeld = Instance.new("Weld", char.Torso)
  431. aWeld.Part0 = char.Torso
  432. aWeld.Part1 = A8
  433. aWeld.C1 = CFrame.new(0,-1,-.55)
  434. local aWeld = Instance.new("Weld", char.Torso)
  435. aWeld.Part0 = char.Torso
  436. aWeld.Part1 = A9
  437. aWeld.C1 = CFrame.new(0,.6,-.55)
  438. local aWeld = Instance.new("Weld", char.Torso)
  439. aWeld.Part0 = char.Torso
  440. aWeld.Part1 = da
  441. aWeld.C1 = CFrame.new(0,.2,.5)
  442. local aWeld = Instance.new("Weld", char.Torso)
  443. aWeld.Part0 = char.Torso
  444. aWeld.Part1 = da1
  445. aWeld.C1 = CFrame.new(0,.2,.5)
  446.  
  447. Weld = Instance.new("Weld",Handle)
  448. Weld.Part0 = Weld.Parent
  449. Weld.Part1 = FakeHandle
  450. Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
  451. Weld = Instance.new("Weld",Hitbox)
  452. Weld.Part0 = Weld.Parent
  453. Weld.Part1 = FakeHandle
  454. Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0))
  455. FakeHandleWeld = Instance.new("Weld",FakeHandle)
  456. FakeHandleWeld.Part0 = FakeHandle
  457. FakeHandleWeld.Part1 = char["Right Arm"]
  458. FakeHandleWeld.C0 = CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90))
  459.  
  460.  
  461. local manWeld = Instance.new("Weld", char.Torso)
  462. manWeld.Part0 = char.Torso
  463. manWeld.Part1 = main
  464. manWeld.C1 = CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90))
  465. manWeld.C0 = CFrame.new(0,-0.4,0)--*CFrame.Angles(math.rad(90),0,0)
  466.  
  467. local cWeld = Instance.new("Weld", char.Torso)
  468. cWeld.Part0 = main
  469. --cWeld.C1 = CFrame.new(0,0,0)*CFrame.angles(0,0,0)
  470. -----
  471. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  472. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  473. local RW = newMotor(char.Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  474. local LW = newMotor(char.Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  475. local RH = newMotor(char.Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  476. local LH = newMotor(char.Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  477. RootJoint.C1 = CFrame.new(0, 0, 0)
  478. RootJoint.C0 = CFrame.new(0, 0, 0)
  479. char.Torso.Neck.C1 = CFrame.new(0, 0, 0)
  480. char.Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  481. local rarmc1 = RW.C1
  482. local larmc1 = LW.C1
  483. local rlegc1 = RH.C1
  484. local llegc1 = LH.C1
  485. local resetc1 = false
  486. PlayAnimationFromTable = function(table, speed, bool)
  487. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  488. char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, table[2], speed)
  489. RW.C0 = clerp(RW.C0, table[3], speed)
  490. LW.C0 = clerp(LW.C0, table[4], speed)
  491. RH.C0 = clerp(RH.C0, table[5], speed)
  492. LH.C0 = clerp(LH.C0, table[6], speed)
  493. if bool == true and resetc1 == false then
  494. resetc1 = true
  495. RootJoint.C1 = RootJoint.C1
  496. char.Torso.Neck.C1 = char.Torso.Neck.C1
  497. RW.C1 = rarmc1
  498. LW.C1 = larmc1
  499. RH.C1 = rlegc1
  500. LH.C1 = llegc1
  501. end
  502. end
  503.  
  504. --
  505. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  506.  
  507. if hit.Parent == nil then
  508. return
  509. end
  510. local h = hit.Parent:FindFirstChild("Humanoid")
  511. for _,v in pairs(hit.Parent:children()) do
  512. if v:IsA("Humanoid") then
  513. h = v
  514. end
  515. end
  516. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  517. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  518. return
  519. end
  520. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  521. game:GetService("Debris"):AddItem(c, 0.5)
  522. if HitSound ~= nil and HitPitch ~= nil then
  523. CreateSound(HitSound, hit, 1, HitPitch)
  524. end
  525. local Damage = math.random(minim, maxim)
  526. local blocked = false
  527. local block = hit.Parent:findFirstChild("Block")
  528. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  529. blocked = true
  530. block.Value = block.Value - 1
  531. print(block.Value)
  532. end
  533. if blocked == false then
  534. h.Health = h.Health - Damage
  535. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  536. else
  537. h.Health = h.Health - Damage / 2
  538. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  539. end
  540. if Type == "Knockdown" then
  541. local hum = hit.Parent.Humanoid
  542. hum.PlatformStand = true
  543. coroutine.resume(coroutine.create(function(HHumanoid)
  544.  
  545. swait(1)
  546. HHumanoid.PlatformStand = false
  547. end
  548. ), hum)
  549. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  550. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  551. 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})
  552. game:GetService("Debris"):AddItem(bodvol, 0.5)
  553. game:GetService("Debris"):AddItem(rl, 0.5)
  554. elseif Type == "Normal" then
  555. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  556. if knockback > 0 then
  557. vp.Parent = hit.Parent.Torso
  558. end
  559. game:GetService("Debris"):AddItem(vp, 0.5)
  560. elseif Type == "Up" then
  561. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  562. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  563. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  564. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  565. elseif Type == "Snare" then
  566. 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})
  567. game:GetService("Debris"):AddItem(bp, 1)
  568. elseif Type == "Freeze" then
  569. 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})
  570. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  571. hit.Parent.Torso.Anchored = true
  572. coroutine.resume(coroutine.create(function(Part)
  573.  
  574. swait(1.5)
  575. Part.Anchored = false
  576. end
  577. ), hit.Parent.Torso)
  578. game:GetService("Debris"):AddItem(BodPos, 3)
  579. game:GetService("Debris"):AddItem(BodGy, 3)
  580. end
  581. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  582. game:GetService("Debris"):AddItem(debounce, Delay)
  583. c = Instance.new("ObjectValue")
  584. c.Name = "creator"
  585. c.Value = hoh
  586. c.Parent = h
  587. game:GetService("Debris"):AddItem(c, 0.5)
  588. end
  589. end
  590.  
  591. ShowDamage = function(Pos, Text, Time, Color)
  592.  
  593. local Rate = 0.033333333333333
  594. if not Pos then
  595. local Pos = Vector3.new(0, 0, 0)
  596. end
  597. local Text = Text or ""
  598. local Time = Time or 2
  599. if not Color then
  600. local Color = Color3.new(1, 1, 0)
  601. end
  602. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  603. EffectPart.Anchored = true
  604. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  605. 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})
  606. game.Debris:AddItem(EffectPart, Time + 0.1)
  607. EffectPart.Parent = game:GetService("Workspace")
  608. delay(0, function()
  609.  
  610. local Frames = Time / Rate
  611. for Frame = 1, Frames do
  612. wait(Rate)
  613. local Percent = Frame / Frames
  614. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  615. TextLabel.TextTransparency = Percent
  616. end
  617. if EffectPart and EffectPart.Parent then
  618. EffectPart:Destroy()
  619. end
  620. end
  621. )
  622. end
  623.  
  624. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  625.  
  626. for _,c in pairs(workspace:children()) do
  627. local hum = c:findFirstChild("Humanoid")
  628. if hum ~= nil then
  629. local head = c:findFirstChild("Torso")
  630. if head ~= nil then
  631. local targ = head.Position - Part.Position
  632. local mag = targ.magnitude
  633. if mag <= magni and c.Name ~= hoh.Name then
  634. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  635. end
  636. end
  637. end
  638. end
  639. end
  640.  
  641. EffectModel = Instance.new("Model", char)
  642. EffectModel.Name = "Effects"
  643. Effects = {
  644. Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  645.  
  646. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  647. prt.Anchored = true
  648. prt.CFrame = cframe
  649. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  650. game:GetService("Debris"):AddItem(prt, 10)
  651. if Type == 1 or Type == nil then
  652. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  653. else
  654. if Type == 2 then
  655. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  656. end
  657. end
  658. end
  659. }
  660. ,
  661. Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  662.  
  663. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  664. prt.Anchored = true
  665. prt.CFrame = cframe
  666. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  667. game:GetService("Debris"):AddItem(prt, 10)
  668. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  669. end
  670. }
  671. ,
  672. Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  673.  
  674. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  675. prt.Anchored = true
  676. prt.CFrame = cframe
  677. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  678. game:GetService("Debris"):AddItem(prt, 10)
  679. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  680. end
  681. }
  682. ,
  683. Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  684.  
  685. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  686. prt.Anchored = true
  687. prt.CFrame = cframe
  688. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  689. game:GetService("Debris"):AddItem(prt, 10)
  690. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  691. end
  692. }
  693. ,
  694. Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  695.  
  696. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  697. prt.Anchored = true
  698. prt.CFrame = cframe
  699. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  700. game:GetService("Debris"):AddItem(prt, 10)
  701. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  702. end
  703. }
  704. ,
  705. Break = {Create = function(brickcolor, cframe, x1, y1, z1)
  706.  
  707. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  708. prt.Anchored = true
  709. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  710. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  711. local num = math.random(10, 50) / 1000
  712. game:GetService("Debris"):AddItem(prt, 10)
  713. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  714. end
  715. }
  716. }
  717. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  718.  
  719. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  720. prt.Anchored = true
  721. prt.CFrame = cframe
  722. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  723. game:GetService("Debris"):AddItem(prt, 10)
  724. if Type == 1 or Type == nil then
  725. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  726. else
  727. if Type == 2 then
  728. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  729. end
  730. end
  731. end
  732. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  733.  
  734. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  735. prt.Anchored = true
  736. prt.CFrame = cframe
  737. prt.Material = "Neon"
  738. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  739. game:GetService("Debris"):AddItem(prt, 10)
  740. coroutine.resume(coroutine.create(function(Part, Mesh)
  741.  
  742. for i = 0, 1, delay do
  743. swait()
  744. Part.Transparency = i
  745. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  746. end
  747. Part.Parent = nil
  748. end
  749. ), prt, msh)
  750. end
  751.  
  752. shoottraildd = function(mouse, partt, SpreadAmount)
  753.  
  754. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  755. local MainPos = partt.Position
  756. local MainPos2 = mouse.Hit.p + SpreadVectors
  757. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  758. local speed = 15
  759. local num = 20
  760. coroutine.resume(coroutine.create(function()
  761.  
  762. repeat
  763. swait()
  764. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  765. local mag = (MainPos - pos).magnitude
  766. 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)
  767. MainPos = MainPos + MouseLook.lookVector * speed
  768. num = num - 1
  769. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  770. if hit ~= nil then
  771. num = 0
  772. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  773. refpart.Anchored = true
  774. refpart.CFrame = CFrame.new(pos)
  775. game:GetService("Debris"):AddItem(refpart, 2)
  776. end
  777. do
  778. if num <= 0 then
  779. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  780. refpart.Anchored = true
  781. refpart.CFrame = CFrame.new(pos)
  782. if hit ~= nil then
  783. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  784. BlockEffect(BrickColor.new("Br. yellowish orange"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  785. BlockEffect(BrickColor.new("Bright red"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.07)
  786. MagniDamage(refpart, 15, 10, 15, 0, "Normal")
  787. end
  788. game:GetService("Debris"):AddItem(refpart, 0)
  789. end
  790. end
  791. until num <= 0
  792. end
  793. ))
  794. end
  795. -----
  796. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  797. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  798. prt.Anchored = true
  799. prt.CFrame = cframe
  800. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  801. game:GetService("Debris"):AddItem(prt, 10)
  802. table.insert(Effects, {
  803. prt,
  804. "Cylinder",
  805. delay,
  806. x3,
  807. y3,
  808. z3,
  809. msh
  810. })
  811. end
  812. -----
  813. function AppearDisappear()
  814. local ez = Instance.new("Part",char)
  815. ez.Size = Vector3.new(1,1,1)
  816. ez.Name = "a"
  817. ez:BreakJoints()
  818. ez.Anchored = false
  819. ez.Transparency = 0
  820. ez.CanCollide = false
  821. ez.Shape = "Block"
  822. ez.Material='Neon'
  823. ez.TopSurface = "SmoothNoOutlines"
  824. ez.BottomSurface = "SmoothNoOutlines"
  825. ez.BrickColor = BrickColor.new("White")
  826. ddd = Instance.new("SpecialMesh",ez)
  827. ddd.MeshType="Sphere"
  828. ddd.Scale=Vector3.new(6,6,6)
  829. Weld = Instance.new("Weld",ez)
  830. Weld.Part0 = Weld.Parent
  831. Weld.Part1 = char.Torso
  832. for a = 0, 1, .05 do
  833. ddd.Scale = ddd.Scale + Vector3.new(.5, .5, .5)
  834. ez.Transparency = ez.Transparency + .1
  835. wait()
  836. end
  837. ez:Remove()
  838. end
  839. function AppearDisappear1()
  840. Das.Transparency = 0
  841. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
  842. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=468148440"
  843. CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
  844. end
  845. function AppearDisappear2()
  846. Das.Transparency = 0
  847. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=582878615"
  848. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=330970993"
  849. CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
  850. end
  851. function equip()
  852. Handle.Transparency = 0
  853. local ez = Instance.new("Part",char)
  854. ez.Size = Vector3.new(1,1,1)
  855. ez.Name = "a"
  856. ez:BreakJoints()
  857. ez.Anchored = false
  858. ez.Transparency = 0
  859. ez.CanCollide = false
  860. ez.Shape = "Block"
  861. ez.Material='Neon'
  862. ez.TopSurface = "SmoothNoOutlines"
  863. ez.BottomSurface = "SmoothNoOutlines"
  864. ez.BrickColor = BrickColor.new("New Yeller")
  865. ddd = Instance.new("SpecialMesh",ez)
  866. ddd.MeshType="Sphere"
  867. ddd.Scale=Vector3.new(1,1,1)
  868. Weld = Instance.new("Weld",ez)
  869. Weld.Part0 = Weld.Parent
  870. Weld.Part1 = Handle
  871. CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
  872. for a = 0, 1, .05 do--while wait() and ez and ez.Transparency <= 1 do
  873. ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
  874. ez.Transparency = ez.Transparency + .1
  875. wait()
  876. end
  877. ez:Remove()
  878. end
  879. function unequip()
  880. Handle.Transparency = 1
  881. local ez = Instance.new("Part",char)
  882. ez.Size = Vector3.new(1,1,1)
  883. ez.Name = "a"
  884. ez:BreakJoints()
  885. ez.Anchored = false
  886. ez.Transparency = 0
  887. ez.CanCollide = false
  888. ez.Shape = "Block"
  889. ez.Material='Neon'
  890. ez.TopSurface = "SmoothNoOutlines"
  891. ez.BottomSurface = "SmoothNoOutlines"
  892. ez.BrickColor = BrickColor.new("New Yeller")
  893. ddd = Instance.new("SpecialMesh",ez)
  894. ddd.MeshType="Sphere"
  895. ddd.Scale=Vector3.new(1,1,1)
  896. Weld = Instance.new("Weld",ez)
  897. Weld.Part0 = Weld.Parent
  898. Weld.Part1 = Handle
  899. CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
  900. for a = 0, 1, .05 do
  901. ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1)
  902. ez.Transparency = ez.Transparency + .1
  903. wait()
  904. end
  905. ez:Remove()
  906. end
  907. attack1 = function()
  908. attack = true
  909. local con = Hitbox.Touched:connect(function(hit)
  910.  
  911. Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  912. end
  913. )
  914. for i = 0, 1, 0.1 do
  915. swait()
  916. --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)
  917. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
  918. 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)
  919. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 1.6, -.6) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.3)
  920. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  921. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  922. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  923.  
  924. end
  925. CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 1.5)
  926. for i = 0, 1, 0.1 do
  927. swait()
  928. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  929. 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)
  930. RW.C0 = clerp(RW.C0, CFrame.new(.9, -.1, -.8) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  931. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  932. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  933. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  934.  
  935.  
  936. --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)
  937. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
  938. end
  939. con:disconnect()
  940. attack = false
  941. end
  942. attack2 = function()
  943. attack = true
  944. local con = Hitbox.Touched:connect(function(hit)
  945.  
  946. Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  947. end
  948. )
  949. for i = 0, 1, 0.1 do
  950. swait()
  951. --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)
  952. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
  953. 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)
  954. RW.C0 = clerp(RW.C0, CFrame.new(1.2, .75, -1) * angles(math.rad(110), -math.rad(80), math.rad(15)), 0.3)
  955. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  956. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  957. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  958. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
  959. end
  960. CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
  961. for i = 0, 1, 0.1 do
  962. swait()
  963. --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)
  964. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3)
  965. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  966. 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)
  967. RW.C0 = clerp(RW.C0, CFrame.new(.3, .3, -.3) * angles(math.rad(40), math.rad(30), -math.rad(70)), 0.3)
  968. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  969. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  970. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  971.  
  972. end
  973. con:disconnect()
  974. attack = false
  975. end
  976. attack3 = function()
  977. attack = true
  978. local con = Hitbox.Touched:connect(function(hit)
  979.  
  980. Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  981. end)
  982.  
  983. for i = 0, 1, 0.1 do
  984. swait()
  985. --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)
  986. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.3)
  987. 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)
  988. RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.3)
  989. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  990. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  991. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  992. end
  993. CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
  994. for i = 0, .2, 0.1 do
  995. swait()
  996. --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)
  997. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
  998. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(90), math.rad(0)), 0.3)
  999. 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)
  1000. RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
  1001. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1002. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1003. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1004. end
  1005. for i = 0, .2, 0.1 do
  1006. swait()
  1007. --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)
  1008. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(180), math.rad(0)), 0.3)
  1009. 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)
  1010. RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
  1011. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1012. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1013. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1014. end
  1015. for i = 0, .2, 0.1 do
  1016. swait()
  1017. --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)
  1018. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(270), math.rad(0)), 0.3)
  1019. 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)
  1020. RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3)
  1021. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1022. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1023. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1024. end
  1025.  
  1026.  
  1027.  
  1028.  
  1029. for i = 0, 1, 0.1 do
  1030. swait()
  1031. --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)
  1032. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
  1033. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(40), math.rad(0)), 0.3)
  1034. 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)
  1035. RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(-math.rad(180), math.rad(0), math.rad(90)), 0.3)
  1036. LW.C0 = clerp(LW.C0, CFrame.new(-2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1037. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1038. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1039. end
  1040.  
  1041. con:disconnect()
  1042. attack = false
  1043. end
  1044. function kek1()
  1045. attack = true
  1046. 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)
  1047.  
  1048. CFuncs.Sound.Create("http://www.roblox.com/asset?id=200633707", char.Torso, 0.8, 1.1)
  1049.  
  1050. local Aaaa = Instance.new("Part", RootPart)
  1051. Aaaa.Size = Vector3.new(.1, .1, .1)
  1052. Aaaa.BrickColor = BrickColor.new("White")
  1053. Aaaa.Transparency = 1
  1054. Aaaa.CanCollide = false
  1055. local abbWeld = Instance.new("Weld", RootPart)
  1056. abbWeld.Part0 = RootPart
  1057. abbWeld.Part1 = Aaaa
  1058. abbWeld.C1 = CFrame.new(0,0,9)
  1059.  
  1060. for i = 0, 2.5, 0.1 do
  1061. swait()
  1062. 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)
  1063. --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)
  1064. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.1)
  1065. 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)
  1066. RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.1)
  1067. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.1)
  1068. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1069. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1070.  
  1071. end
  1072. for i = 0, 0.2, 0.1 do
  1073. swait()
  1074. --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)
  1075. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
  1076. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
  1077. 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)
  1078. RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), -math.rad(5)), 0.3)
  1079. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1080. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1081. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1082. end
  1083. 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)
  1084. 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)
  1085.  
  1086. CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", Aaaa, 1, 1)
  1087. CFuncs.Sound.Create("http://roblox.com/asset/?id=279675650", FakeHandle, 1, 1.1)
  1088. local con = Aaaa.Touched:connect(function(hit)
  1089. MagniDamage(Aaaa, 30, 30, 55, 4, "Knockdown")
  1090. --Damagefunc(Hitbox, hit, 30, 60, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1091. end
  1092. )
  1093. for i = 0, 1, 0.1 do
  1094. swait()
  1095. --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)
  1096. --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3)
  1097. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3)
  1098. 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)
  1099. RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1100. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1101. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1102. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1103. end
  1104. Aaaa:Remove()
  1105. con:disconnect()
  1106. attack = false
  1107. end
  1108. function kek2()
  1109. attack = true
  1110.  
  1111.  
  1112. for i = 0, 1, 0.1 do
  1113. swait()
  1114. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1115. 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)
  1116. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1117. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
  1118. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1119. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1120. end
  1121. CFuncs.Sound.Create("rbxassetid://169380505", RootPart, 0.8, 1.5)
  1122. Effects.Cylinder.Create(BrickColor.new("New Yeller"), LeftArm.CFrame * angles(math.rad(2), 0, 0), 1, 9999, 1, 1, 1, 1, 0.07)
  1123. for i = 0, 2, 0.1 do
  1124. swait()
  1125. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1126. 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)
  1127. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1128. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3)
  1129. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1130. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1131. end
  1132. CFuncs.Sound.Create("rbxassetid://169445602", RootPart, 1, 1.2)
  1133. local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
  1134. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, char)
  1135. if hit2 ~= nil then
  1136. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Navy blue"), "Effect", Vector3.new())
  1137. d1.Anchored = true
  1138. d1.CFrame = CFrame.new(pos2)
  1139. MagniDamage(d1, 20, 10, 25, 5, "Snare")
  1140. Effects.Cylinder.Create(BrickColor.new("New Yeller"), d1.CFrame * angles(0, 0, 0), 1, 9999, 1, 4, 1, 4, 0.07)
  1141. local con = Hitbox.Touched:connect(function(hit)
  1142. end)
  1143. game:GetService("Debris"):AddItem(d1, 5)
  1144. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(100, 5, 100))
  1145. local d2 = d1:Clone()
  1146. d2.Parent = d1
  1147. d2.CFrame = CFrame.new(d1.Position)
  1148. d2.BrickColor = BrickColor.new("New Yeller")
  1149. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1150. table.insert(Effects, {d1, "QuadShot", d2, d2.Mesh, 0})
  1151. end
  1152. attack = false
  1153.  
  1154. end
  1155. function kek3()
  1156. cooldown1 = cooldown1 - 5
  1157. local dacf = Handle.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
  1158. local icepart1 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Ice", vt())
  1159. icepart1.Anchored = true
  1160. i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", vt(0, 0, 0), vt(5, 5, 5))
  1161. icepart1.CFrame = dacf
  1162. for i = 0, 1, 0.1 do
  1163. swait()
  1164. icepart1.CFrame = dacf
  1165. end
  1166. local cfinc = 99999
  1167. icepart1.Transparency = 1
  1168. CreateSound("rbxassetid://334325056", icepart1, 1, 1)
  1169. game:GetService("Debris"):AddItem(icepart1, 1)
  1170. 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
  1171. local TheHit = mouse.Hit.p
  1172. local MouseLook = cf((icepart1.Position + TheHit) / 2, TheHit + spread)
  1173. local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1174. local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1175. local test1, dist1 = mouse.Hit.p, nil
  1176. if target1 ~= nil then
  1177. cfda = target1.Position + vt(math.random(-3000, 3000) / 100, 20, math.random(-3000, 3000) / 100)
  1178. local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1179. local d1 = CreatePart(effect, "SmoothPlastic", 0, 0.5, BrickColor.new("White"), "Effect", vt())
  1180. d1.Anchored = true
  1181. d1.CFrame = cf(pos2)
  1182. MagniDamage(d1, 10, 12, 15, -10, "Normal", "231917784")
  1183. SphereEffect(BrickColor.new("White"), cf(pos2), 100, 100, 100, 10, 10, 10, 0.07)
  1184. msh = CreateMesh("SpecialMesh", d1, "Sphere", "", vt(0, 0, 0), vt(80, 80, 80))
  1185. d2 = d1:Clone()
  1186. d2.Parent = d1
  1187. d2.CFrame = cf(d1.Position)
  1188. d2.BrickColor = BrickColor.new("Toothpaste")
  1189. d2.Mesh.Scale = vt(0, 5, 0)
  1190. table.insert(Effects, {
  1191. d1,
  1192. "SatelliteStrike",
  1193. d2,
  1194. d2.Mesh,
  1195. 0
  1196. })
  1197. end
  1198. end
  1199.  
  1200. function kek4()
  1201.  
  1202. end
  1203. mouse.Button1Down:connect(function()
  1204.  
  1205. if attack == false and attacktype == 1 and equipped == true then
  1206. attacktype = 2
  1207. attack1()
  1208. else
  1209. if attack == false and attacktype == 2 and equipped == true then
  1210. attacktype = 3
  1211. attack2()
  1212. else
  1213. if attack == false and attacktype == 3 and equipped == true then
  1214. attacktype = 1
  1215. attack3()
  1216. end
  1217. end
  1218. end
  1219. end
  1220. )
  1221.  
  1222. updateskills = function()
  1223.  
  1224. if cooldown1 <= co1 then
  1225. cooldown1 = cooldown1 + 0.033333333333333
  1226. end
  1227. if cooldown2 <= co2 then
  1228. cooldown2 = cooldown2 + 0.033333333333333
  1229. end
  1230. if cooldown3 <= co3 then
  1231. cooldown3 = cooldown3 + 0.033333333333333
  1232. end
  1233. if cooldown4 <= co4 then
  1234. cooldown4 = cooldown4 + 0.033333333333333
  1235. end
  1236. end
  1237.  
  1238. --[[function onKeyDown(key)
  1239. if key == "u" then
  1240. if nak == false and disable == false then
  1241. disable = true
  1242. AppearDisappear1()
  1243. AppearDisappear()
  1244. nak = true
  1245. wait(1)
  1246. disable = false
  1247. elseif disable == false then
  1248. AppearDisappear2()
  1249. AppearDisappear()
  1250.  
  1251. nak = false
  1252. wait(1)
  1253. disable = false
  1254. end
  1255. end
  1256.  
  1257. if key == "f" then
  1258. if equipped == false and disable == false then
  1259. disable = true
  1260. equipped = true
  1261. equip()
  1262. wait(1)
  1263. disable = false
  1264. elseif equipped == true and disable == false then
  1265. disable = true
  1266. unequip()
  1267. equipped = false
  1268. wait(1)
  1269. disable = false
  1270. end
  1271. end]]
  1272. mouse.KeyDown:connect(function(k)
  1273.  
  1274. k = k:lower()
  1275. if attack == false and equipped == true and k == "z" and co1 <= cooldown1 then
  1276. cooldown1 = 0
  1277. kek1()
  1278. else
  1279. if attack == false and equipped == true and k == "x" and co2 <= cooldown2 then
  1280. cooldown2 = 0
  1281. kek2()
  1282. else
  1283. if attack == false and equipped == true and k == "c" and co3 <= cooldown3 then
  1284. cooldown3 = 0
  1285. kek3()
  1286. else
  1287. if attack == false and k == "v" and co4 <= cooldown4 then
  1288. cooldown4 = 0
  1289. kek4()
  1290. else
  1291. if attack == false and k == "f" and equipped == false and disable == false then
  1292.  
  1293. disable = true
  1294. equipped = true
  1295. equip()
  1296. wait(.5)
  1297. disable = false
  1298. else
  1299. if k == "f" and equipped == true and disable == false then
  1300. disable = true
  1301. equipped = false
  1302. unequip()
  1303. wait(.5)
  1304. disable = false
  1305.  
  1306.  
  1307. else
  1308. if k == "u" and nak == false and disable == false then
  1309. disable = true
  1310. AppearDisappear1()
  1311. AppearDisappear()
  1312. nak = true
  1313. wait(.5)
  1314. disable = false
  1315. else
  1316. if k == "u" and nak == true and disable == false then
  1317. disable = true
  1318. AppearDisappear2()
  1319. AppearDisappear()
  1320. nak = false
  1321. wait(.5)
  1322. disable = false
  1323. end
  1324. end
  1325. end
  1326. end
  1327. end
  1328. end
  1329. end
  1330. end
  1331. end)
  1332.  
  1333. while 1 do
  1334. swait()
  1335. updateskills()
  1336. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1337. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1338. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1339. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1340. for i,v in pairs(char:GetChildren()) do
  1341. if v:IsA("Part") then
  1342. v.Material = "SmoothPlastic"
  1343. else
  1344. if v:IsA("Hat") then
  1345. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1346. end
  1347. end
  1348. end
  1349. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1350. velocity = RootPart.Velocity.y
  1351. sine = sine + change
  1352. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1353. if equipped == true or equipped == false then
  1354. if 1 < RootPart.Velocity.y and hit == nil then
  1355. Anim = "Jump"
  1356. if attack == false then
  1357. manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(65),-math.rad(90)), 0.3)
  1358. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.3,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1359. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1360. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1361. 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)
  1362. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1363. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1364. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
  1365. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
  1366. end
  1367. else
  1368. if RootPart.Velocity.y < -1 and hit == nil then
  1369. Anim = "Fall"
  1370. if attack == false then
  1371. manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(15),-math.rad(90)), 0.3)
  1372. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1373. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1374. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1375. 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)
  1376. RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1377. LW.C0 = clerp(LW.C0, CFrame.new(-1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1378. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1379. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1380. end
  1381. else
  1382. if Torsovelocity < 1 and hit ~= nil then
  1383. Anim = "Idle"
  1384. if attack == false then
  1385. if equipped == true then
  1386. change = 1
  1387. 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)
  1388. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1389. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1390. 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)
  1391. 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)
  1392. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1393. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1394. 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)
  1395. 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)
  1396. else
  1397. change = 1
  1398. 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)
  1399. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1400. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1401. 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)
  1402. 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)
  1403. 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)
  1404. 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)
  1405. 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)
  1406. 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)
  1407.  
  1408. end
  1409. end
  1410. else
  1411. if 2 < Torsovelocity and hit ~= nil then
  1412. Anim = "Walk"
  1413. if attack == false then
  1414. manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90)), 0.3)
  1415. manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3)
  1416. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3)
  1417. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1418. 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)
  1419. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1420. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1421. 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)
  1422. 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)
  1423. end
  1424. end
  1425. end
  1426. end
  1427. end
  1428. end
  1429. if 0 < #Effects then
  1430. for e = 1, #Effects do
  1431. if Effects[e] ~= nil then
  1432. local Thing = Effects[e]
  1433. if Thing ~= nil then
  1434. local Part = Thing[1]
  1435. local Mode = Thing[2]
  1436. local Delay = Thing[3]
  1437. local IncX = Thing[4]
  1438. local IncY = Thing[5]
  1439. local IncZ = Thing[6]
  1440. if Thing[1].Transparency <= 1 then
  1441. if Thing[2] == "Block1" then
  1442. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1443. Mesh = Thing[1].Mesh
  1444. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1445. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1446. else
  1447. if Thing[2] == "Block2" then
  1448. Thing[1].CFrame = Thing[1].CFrame
  1449. Mesh = Thing[7]
  1450. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1451. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1452. else
  1453. if Thing[2] == "Cylinder" then
  1454. Mesh = Thing[1].Mesh
  1455. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1456. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1457. else
  1458. if Thing[2] == "Blood" then
  1459. Mesh = Thing[7]
  1460. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1461. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1462. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1463. else
  1464. if Thing[2] == "Elec" then
  1465. Mesh = Thing[1].Mesh
  1466. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1467. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1468. else
  1469. if Thing[2] == "Disappear" then
  1470. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1471. else
  1472. if Thing[2] == "Shatter" then
  1473. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1474. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1475. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1476. Thing[6] = Thing[6] + Thing[5]
  1477. else
  1478. if Thing[2] == "QuadShot" then
  1479. if Thing[5] < 100 then
  1480. Thing[5] = Thing[5] + 2.5
  1481. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  1482. else
  1483. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1484. refda.Anchored = true
  1485. refda.CFrame = CFrame.new(Thing[1].Position)
  1486. game:GetService("Debris"):AddItem(refda, 5)
  1487. CFuncs.Sound.Create("rbxassetid://203691378", refda, 1, 1.2)
  1488. CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
  1489. --MagniDamage(refda, 40, 20, 50, BrickColor.new("Navy blue"), BrickColor.new("New Yeller"))
  1490. MagniDamage(refda, 40, 20, 50, 50, "Freeze")
  1491. Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(refda.Position), 3, 3, 3, 10, 10, 10, 0.05)
  1492. Effects.Sphere.Create(BrickColor.new("Navy blue"), CFrame.new(refda.Position), 15, 15, 15, 10, 10, 10, 0.05)
  1493. --Effects.Sphere.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06)
  1494. Effects.Block.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06, 1)
  1495. Effects.Wave.Create(BrickColor.new("New Yeller"), refda.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
  1496. Thing[1].Parent = nil
  1497. table.remove(Effects, e)
  1498. end
  1499. end
  1500. end
  1501. end
  1502. end
  1503. end
  1504. end
  1505. end
  1506. end
  1507. else
  1508. Part.Parent = nil
  1509. table.remove(Effects, e)
  1510. end
  1511. end
  1512. end
  1513. end
  1514. end
  1515. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement