Advertisement
Guest User

Untitled

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