Advertisement
Plug_RBLX

Untitled

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