Advertisement
Finnegan5

aussie 2

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