Advertisement
Christoffer07700Extr

Hot Thing

Oct 15th, 2019
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.06 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. vPlayer=game.Players.LocalPlayer
  146.  
  147. char = vPlayer.Character
  148. local Anim = "Idle"
  149. tor = char.Torso
  150. mouse=vPlayer:GetMouse()
  151. regroup=false
  152. pi=math.pi
  153. rad=math.rad
  154. cf=CFrame.new
  155. ca=CFrame.Angles
  156. local p = game.Players.LocalPlayer
  157. local char = p.Character
  158. Character = char
  159. local BC = char["Body Colors"]
  160. BC.HeadColor = BrickColor.new("White")
  161. BC.LeftArmColor = BrickColor.new("White")
  162. BC.LeftLegColor = BrickColor.new("White")
  163. BC.RightArmColor = BrickColor.new("White")
  164. BC.RightLegColor = BrickColor.new("White")
  165. BC.TorsoColor = BrickColor.new("Deep orange")
  166. local mouse = p:GetMouse()
  167. local larm = char["Left Arm"]
  168. cf = CFrame.new
  169. local rarm = char["Right Arm"]
  170. local lleg = char["Left Leg"]
  171. local rleg = char["Right Leg"]
  172. Player=game:GetService("Players").LocalPlayer
  173. Character=Player.Character
  174. PlayerGui=Player.PlayerGui
  175. Backpack=Player.Backpack
  176. Torso=Character.Torso
  177. Head=Character.Head
  178. Humanoid=Character.Humanoid
  179. m=Instance.new('Model',Character)
  180. LeftArm=Character["Left Arm"]
  181. LeftLeg=Character["Left Leg"]
  182. RightArm=Character["Right Arm"]
  183. RightLeg=Character["Right Leg"]
  184. LS=Torso["Left Shoulder"]
  185. LH=Torso["Left Hip"]
  186. RS=Torso["Right Shoulder"]
  187. RH=Torso["Right Hip"]
  188. Face = Head.face
  189. Neck=Torso.Neck
  190. local torso = char.Torso
  191. vt = Vector3.new
  192. for i,v in pairs(char:children()) do
  193. if v:IsA("Shirt") then
  194. v:Destroy()
  195. end
  196. end
  197. for i,v in pairs(char:children()) do
  198. if v:IsA("Pants") then
  199. v:Destroy()
  200. end
  201. end
  202. char.Head.face.Transparency = 1
  203. char.Head.face.Texture = "http://www.roblox.com/asset/?id=0"
  204. mo=Instance.new("Model",tor)
  205. mo.Name="Boobs"
  206. function cp(parent,color,size,transparency,anchored,cancollide)
  207. local newp=Instance.new("Part",parent)
  208. newp.TopSurface='Smooth'
  209. newp.BottomSurface='Smooth'
  210. newp.FormFactor="Custom"
  211. newp.BrickColor=BrickColor.new(color)
  212. newp.Size=size
  213. newp.Anchored=anchored
  214. newp.CanCollide=cancollide
  215. newp.Transparency=transparency
  216. newp.Material="SmoothPlastic"
  217. newp:BreakJoints()
  218. return newp
  219. end
  220. function weld(p0,p1,c0)
  221. local w=Instance.new("Weld",p0)w.Part0=p0
  222. w.Part1=p1 w.C1=c0
  223. return w
  224. end
  225. cm = function(par,num,x,y,z)
  226. local msh = 0
  227. if num == 1 then msh = Instance.new("CylinderMesh",par)
  228. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  229. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  230. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  231. end
  232. msh.Scale=Vector3.new(x,y,z)
  233. return msh
  234. end
  235. Tween = function(Weld, Stop, Step,a)
  236. ypcall(function()local func = function()
  237. local Start = Weld.C1 local X1, Y1, Z1 = Start:toEulerAnglesXYZ()
  238. local Stop = Stop local X2, Y2, Z2 = Stop:toEulerAnglesXYZ()
  239. Spawn(function()
  240. for i = 0, 1, Step or 0 do wait()
  241. Weld.C1 = cf( (Start.p.X * (1 - i)) + (Stop.p.X * i),(Start.p.Y * (1 - i)) + (Stop.p.Y * i),(Start.p.Z * (1 - i)) + (Stop.p.Z * i)) * ca((X1 * (1 - i)) + (X2 * i), (Y1 * (1 - i)) + (Y2 * i),(Z1 * (1 - i)) + (Z2 * i) )
  242. end
  243. Weld.C1 = Stop
  244. end)
  245. end
  246. if a then
  247. coroutine.wrap(func)()
  248. else func()
  249. end
  250. end)
  251. end
  252. function jiggle()
  253. Tween(b1w,cf(.46,.75,-.65)*ca(rad(75),rad(-25),0),.1)
  254. Tween(b2w,cf(-.46,.75,-.65)*ca(rad(75),rad(25),0),.1)
  255. wait(.3)
  256. Tween(b1w,cf(.46,.6,-.65)*ca(rad(5),rad(-5),0),.1)
  257. Tween(b2w,cf(-.46,.6,-.65)*ca(rad(5),rad(5),0),.1)
  258. wait(.3)
  259. end
  260. function jiggle2()
  261. Tween(b1w,cf(.46,.75,-.65)*ca(rad(75),rad(-25),0),.1)
  262. Tween(b2w,cf(-.46,.75,-.65)*ca(rad(75),rad(25),0),.1)
  263. wait(.3)
  264. Tween(b1w,cf(.46,.6,-.65)*ca(rad(5),rad(-5),0),.1)
  265. Tween(b2w,cf(-.46,.6,-.65)*ca(rad(5),rad(5),0),.1)
  266. wait(.3)
  267. end
  268. function jiggle3()
  269. Tween(b1w,cf(.46,.55,-.55)*ca(rad(40),rad(-25),0),.1)
  270. Tween(b2w,cf(-.46,.5,-.5)*ca(rad(5),rad(5),0),.1)
  271. wait(.3)
  272. Tween(b1w,cf(.46,.5,-.5)*ca(rad(5),rad(-5),0),.1)
  273. Tween(b2w,cf(-.46,.55,-.55)*ca(rad(40),rad(25),0),.1)
  274. wait(.3)
  275. end
  276. b1=cp(mo,tor.BrickColor.Color,Vector3.new(1,1,1),0,false,false)
  277. cm(b1,2,1*1.275,1*1.275,1.1*1.45)
  278. b1w=weld(b1,tor,cf(.46,.5,-.5))
  279. b2=cp(mo,tor.BrickColor.Color,Vector3.new(1,1,1),0,false,false)
  280. cm(b2,2,1*1.275,1*1.275,1.1*1.45)
  281. b2w=weld(b2,tor,cf(-.46,.5,-.5))
  282. p=cp(mo,char.Head.BrickColor.Color,Vector3.new(1,1,1),0,false,false)
  283. cm(p,2,.6*1.85,.6*1.85,.6*1.75)
  284. weld(p,b1,cf(-0.1,0.1,-0.125))
  285. p=cp(mo,char.Head.BrickColor.Color,Vector3.new(1,1,1),0,false,false)
  286. cm(p,2,.6*1.85,.6*1.85,.6*1.75)
  287. weld(p,b2,cf(0.1,0.1,-0.125))
  288. p=cp(mo,char.Head.BrickColor.Color,Vector3.new(.1,.1,.1),0,false,false)
  289. weld(p,tor,cf(0,.9,-0.401))
  290. mouse.KeyDown:connect(function(k)
  291. if string.byte(k) == 48 then
  292. char.Humanoid.WalkSpeed = 25
  293. end
  294. end)
  295. mouse.KeyUp:connect(function(k)
  296. if string.byte(k) == 48 then
  297. char.Humanoid.WalkSpeed = 16
  298. regroup=true
  299. end
  300. end)
  301. spawn(function()
  302. while wait() do
  303. if regroup==true then
  304. wait(.3)
  305. Tween(b1w,cf(.46,.5,-.5)*ca(0,rad(-5),0),.1)
  306. Tween(b2w,cf(-.46,.5,-.5)*ca(0,rad(-5),0),.1)
  307. regroup=false
  308. end
  309. if char.Humanoid.jump==true then
  310. wait(.1)
  311. jiggle()
  312. elseif Vector3.new(tor.Velocity.x, 0, tor.Velocity.z).magnitude > 2 then
  313. if char.Humanoid.WalkSpeed==16 then
  314. jiggle2()
  315. else
  316. jiggle3()
  317. end
  318. end
  319. end
  320. end)
  321.  
  322. paly = game.Players.LocalPlayer
  323. Player = game:GetService("Players").LocalPlayer
  324. p = game.Players.LocalPlayer
  325. char = paly.Character
  326. vt = Vector3.new
  327. rarm = char["Right Arm"]
  328. hed = char.Head
  329. local randomquote = 0
  330. larm = char["Left Arm"]
  331. rleg = char["Right Leg"]
  332. lleg = char["Left Leg"]
  333. local maincolor = BrickColor.random()
  334. local effolemode = false
  335. local wrathmode = false
  336. local noobmode = false
  337. local randomname = "???"
  338. local randomnamefem = "???"
  339. local randomchanger = 6
  340. if paly.Name == "NoobyGames12" then
  341. randomchanger = 6
  342. end
  343. if randomchanger == 6 then
  344. randomnamefem = ""
  345. effolemode = true
  346. maincolor = BrickColor.new("Deep orange")
  347.  
  348. local torsmesh = Instance.new("CharacterMesh", char)
  349. torsmesh.BodyPart = "Torso"
  350. torsmesh.MeshId = "48112070"
  351.  
  352. for i,v in pairs(char:children()) do
  353. if v:IsA("Hat") then
  354. v:Destroy()
  355. end
  356. end
  357. for i,v in pairs(char:children()) do
  358. if v:IsA("Accessory") then
  359. v:Destroy()
  360. end
  361. end
  362. for i,v in pairs(char:children()) do
  363. if v:IsA("Shirt") then
  364. v:Destroy()
  365. end
  366. end
  367. for i,v in pairs(char:children()) do
  368. if v:IsA("Pants") then
  369. v:Destroy()
  370. end
  371. end
  372.  
  373. local eye12 = Instance.new("Part")
  374. eye12.Parent = char
  375. eye12.Size = Vector3.new(0.2, 0.2, 0.2)
  376. eye12.Archivable = true
  377. eye12.Transparency = 0
  378. eye12.Shape = "Ball"
  379. eye12.BrickColor = maincolor
  380. eye12.Material = "Neon"
  381. eye12.CanCollide = false
  382. local mesha = Instance.new("SpecialMesh",eye12)
  383. mesha.MeshType = "Sphere"
  384. mesha.Scale = Vector3.new(0.5, 1.25, 1)
  385. local weld1en2 = Instance.new("Weld")
  386. weld1en2.Parent = hed
  387. weld1en2.Part0 = hed
  388. weld1en2.Part1 = eye12
  389. weld1en2.C1 = CFrame.new(0.115, -0.19, 0.5475)
  390. local eye1 = Instance.new("Part")
  391. eye1.Parent = char
  392. eye1.Size = Vector3.new(0.2, 0.2, 0.2)
  393. eye1.Archivable = true
  394. eye1.Transparency = 0
  395. eye1.Shape = "Ball"
  396. eye1.BrickColor = maincolor
  397. eye1.Material = "Neon"
  398. eye1.CanCollide = false
  399. local mesh = Instance.new("SpecialMesh",eye1)
  400. mesh.MeshType = "Sphere"
  401. mesh.Scale = Vector3.new(0.5, 1.25, 1)
  402. local weld1en = Instance.new("Weld")
  403. weld1en.Parent = hed
  404. weld1en.Part0 = hed
  405. weld1en.Part1 = eye1
  406. weld1en.C1 = CFrame.new(-0.115, -0.19, 0.5475)
  407.  
  408. local mo = Instance.new("Part")
  409. mo.Parent = char
  410. mo.Size = Vector3.new(0.2, 0.2, 0.2)
  411. mo.Archivable = true
  412. mo.Transparency = 0
  413. mo.Shape = "Ball"
  414. mo.BrickColor = BrickColor.new("Really black")
  415. mo.Material = "SmoothPlastic"
  416. mo.CanCollide = false
  417. local meshn = Instance.new("SpecialMesh",mo)
  418. meshn.MeshType = "Sphere"
  419. meshn.Scale = Vector3.new(0.25,0.25,0.25)
  420. local weld1en = Instance.new("Weld")
  421. weld1en.Parent = hed
  422. weld1en.Part0 = hed
  423. weld1en.Part1 = mo
  424. weld1en.C1 = CFrame.new(0, 0.1, 0.595)
  425.  
  426. waitval = 5
  427. game:service'RunService'.RenderStepped:connect(function()
  428. waitval = waitval + 5
  429. wait(waitval)
  430. for i = 0, 9 do
  431. wait()
  432. mesh.Scale = mesh.Scale - Vector3.new(0,0.15,0)
  433. mesha.Scale = mesha.Scale - Vector3.new(0,0.15,0)
  434. end
  435. for i = 0, 9 do
  436. wait()
  437. mesh.Scale = mesh.Scale + Vector3.new(0,0.15,0)
  438. mesha.Scale = mesha.Scale + Vector3.new(0,0.15,0)
  439. end
  440. end)
  441.  
  442. Reaper3 = Instance.new("Model")
  443. Reaper3.Parent = Player.Character
  444. Reaper3.Name = "Reaper3"
  445. rh3 = Instance.new("Part")
  446. rh3.Parent = Reaper3
  447. rh3.BrickColor = BrickColor.new("Really black")
  448. rh3.Locked = true
  449. rh3.CanCollide = false
  450. mesh3 = Instance.new("SpecialMesh")
  451. rh3.formFactor = "Symmetric"
  452. mesh3.MeshType = "FileMesh"
  453. mesh3.MeshId = "http://www.roblox.com/asset/?id=101176852"
  454. mesh3.Parent = rh3
  455. local weld3 = Instance.new("Weld")
  456. weld3.Parent = rh3
  457. rh3.Transparency = 0
  458. weld3.Part0 = rh3
  459. weld3.Part1 = Player.Character.Head
  460. weld3.C0 = CFrame.new(0, -1.23, 0)*CFrame.Angles(0, 0, 0)
  461.  
  462. Reaper4 = Instance.new("Model")
  463. Reaper4.Parent = Player.Character
  464. Reaper4.Name = "Reaper4"
  465. rh4 = Instance.new("Part")
  466. rh4.Parent = Reaper4
  467. rh4.BrickColor = maincolor
  468. rh4.Locked = true
  469. rh4.CanCollide = false
  470. mesh4 = Instance.new("SpecialMesh")
  471. rh4.formFactor = "Symmetric"
  472. mesh4.MeshType = "FileMesh"
  473. mesh4.MeshId = "http://www.roblox.com/asset/?id=164382853"
  474. mesh4.Parent = rh4
  475. mesh4.VertexColor = Vector3.new(1,0.5,0)
  476. mesh4.TextureId = "rbxassetid://269748808"
  477. local weld4 = Instance.new("Weld")
  478. weld4.Parent = rh4
  479. rh4.Transparency = 0
  480. weld4.Part0 = rh4
  481. weld4.Part1 = Player.Character.Head
  482. weld4.C0 = CFrame.new(0.05, 0.5, -0.05)*CFrame.Angles(0, 0, 0)
  483. end
  484.  
  485. p = game.Players.LocalPlayer
  486. char = p.Character
  487. torso = char.Torso
  488. neck = char.Torso.Neck
  489.  
  490. Player=game:GetService("Players").LocalPlayer
  491. Character=Player.Character
  492. PlayerGui=Player.PlayerGui
  493. Backpack=Player.Backpack
  494. Torso=Character.Torso
  495. Head=Character.Head
  496. Humanoid=Character.Humanoid
  497. LeftArm=Character["Left Arm"]
  498. LeftLeg=Character["Left Leg"]
  499. RightArm=Character["Right Arm"]
  500. RightLeg=Character["Right Leg"]
  501. cam=game.Workspace.CurrentCamera
  502. LS=Torso["Left Shoulder"]
  503. LH=Torso["Left Hip"]
  504. RS=Torso["Right Shoulder"]
  505. RH=Torso["Right Hip"]
  506. Face = Head.face
  507. Neck=Torso.Neck
  508. it=Instance.new
  509. attacktype=1
  510. vt=Vector3.new
  511. cf=CFrame.new
  512. euler=CFrame.fromEulerAnglesXYZ
  513. angles=CFrame.Angles
  514. cloaked=false
  515. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  516. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  517. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  518. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  519. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  520. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  521. RootPart=Character.HumanoidRootPart
  522. RootJoint=RootPart.RootJoint
  523. RootCF=euler(-1.57,0,3.14)
  524. attack = false
  525. bounce=false
  526. cooldown=false
  527. deeznuts=false
  528. attackdebounce = false
  529. deb=false
  530. equipped=true
  531. hand=false
  532. MMouse=nil
  533. combo=0
  534. mana=0
  535. trispeed=.2
  536. attackmode='none'
  537. local idle=0
  538. local Anim="Idle"
  539. local Effects={}
  540. local gun=false
  541. local shoot=false
  542. player=nil
  543. mana=0
  544. cam = workspace.CurrentCamera
  545. ZTarget = nil
  546. RocketTarget = nil
  547. local m = Instance.new("Model",Character)
  548. m.Name = "WeaponModel"
  549.  
  550. mouse=Player:GetMouse()
  551. --save shoulders
  552. RSH, LSH=nil, nil
  553. --welds
  554. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  555. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  556. LH=Torso["Left Hip"]
  557. RH=Torso["Right Hip"]
  558. TorsoColor=Torso.BrickColor
  559. function NoOutline(Part)
  560. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  561. end
  562. player=Player
  563. ch=Character
  564. RSH=ch.Torso["Right Shoulder"]
  565. LSH=ch.Torso["Left Shoulder"]
  566. --
  567. RSH.Parent=nil
  568. LSH.Parent=nil
  569. --
  570. RW.Name="Right Shoulder"
  571. RW.Part0=ch.Torso
  572. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  573. RW.C1=cf(0, 0.5, 0)
  574. RW.Part1=ch["Right Arm"]
  575. RW.Parent=ch.Torso
  576. --
  577. LW.Name="Left Shoulder"
  578. LW.Part0=ch.Torso
  579. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  580. LW.C1=cf(0, 0.5, 0)
  581. LW.Part1=ch["Left Arm"]
  582. LW.Parent=ch.Torso
  583.  
  584. function swait(num)
  585. if num==0 or num==nil then
  586. game:service'RunService'.Heartbeat:wait(0)
  587. else
  588. for i=0,num do
  589. game:service'RunService'.Heartbeat:wait(0)
  590. end
  591. end
  592. end
  593.  
  594.  
  595. local Player = game.Players.localPlayer
  596. local Character = Player.Character
  597. local red = 255
  598. local green = 255
  599. local blue = 255
  600. local Humanoid = Character.Humanoid
  601. local mouse = Player:GetMouse()
  602. local m = Instance.new("Model", Character)
  603. m.Name = "WeaponModel"
  604. local LeftArm = Character["Left Arm"]
  605. local RightArm = Character["Right Arm"]
  606. local LeftLeg = Character["Left Leg"]
  607. local RightLeg = Character["Right Leg"]
  608. local Head = Character.Head
  609. local Torso = Character.Torso
  610. local cam = game.Workspace.CurrentCamera
  611. local RootPart = Character.HumanoidRootPart
  612. local RootJoint = RootPart.RootJoint
  613. local equipped = false
  614. local attack = false
  615. local Anim = "Idle"
  616. local idle = 0
  617. local attacktype = 1
  618. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  619. local velocity = RootPart.Velocity.y
  620. local sine = 0
  621. local change = 1
  622. local grabbed = false
  623. local cn = CFrame.new
  624. local mr = math.rad
  625. local angles = CFrame.Angles
  626. local ud = UDim2.new
  627. local c3 = Color3.new
  628. local lim = 0
  629. local st = 0
  630. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  631. local attacktype = 1
  632. local ZTarget, RocketTarget = nil, nil
  633. local euler = CFrame.fromEulerAnglesXYZ
  634. function clerp(a,b,t)
  635. local qa = {QuaternionFromCFrame(a)}
  636. local qb = {QuaternionFromCFrame(b)}
  637. local ax, ay, az = a.x, a.y, a.z
  638. local bx, by, bz = b.x, b.y, b.z
  639. local _t = 1-t
  640. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  641. end
  642.  
  643. function QuaternionFromCFrame(cf)
  644. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  645. local trace = m00 + m11 + m22
  646. if trace > 0 then
  647. local s = math.sqrt(1 + trace)
  648. local recip = 0.5/s
  649. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  650. else
  651. local i = 0
  652. if m11 > m00 then
  653. i = 1
  654. end
  655. if m22 > (i == 0 and m00 or m11) then
  656. i = 2
  657. end
  658. if i == 0 then
  659. local s = math.sqrt(m00-m11-m22+1)
  660. local recip = 0.5/s
  661. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  662. elseif i == 1 then
  663. local s = math.sqrt(m11-m22-m00+1)
  664. local recip = 0.5/s
  665. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  666. elseif i == 2 then
  667. local s = math.sqrt(m22-m00-m11+1)
  668. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  669. end
  670. end
  671. end
  672.  
  673. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  674. local xs, ys, zs = x + x, y + y, z + z
  675. local wx, wy, wz = w*xs, w*ys, w*zs
  676. local xx = x*xs
  677. local xy = x*ys
  678. local xz = x*zs
  679. local yy = y*ys
  680. local yz = y*zs
  681. local zz = z*zs
  682. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  683. end
  684.  
  685. function QuaternionSlerp(a, b, t)
  686. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  687. local startInterp, finishInterp;
  688. if cosTheta >= 0.0001 then
  689. if (1 - cosTheta) > 0.0001 then
  690. local theta = math.acos(cosTheta)
  691. local invSinTheta = 1/math.sin(theta)
  692. startInterp = math.sin((1-t)*theta)*invSinTheta
  693. finishInterp = math.sin(t*theta)*invSinTheta
  694. else
  695. startInterp = 1-t
  696. finishInterp = t
  697. end
  698. else
  699. if (1+cosTheta) > 0.0001 then
  700. local theta = math.acos(-cosTheta)
  701. local invSinTheta = 1/math.sin(theta)
  702. startInterp = math.sin((t-1)*theta)*invSinTheta
  703. finishInterp = math.sin(t*theta)*invSinTheta
  704. else
  705. startInterp = t-1
  706. finishInterp = t
  707. end
  708. end
  709. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  710. end
  711. rayCast = function(Position, Direction, Range, Ignore)
  712. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  713. end
  714. local v = game.Players.localPlayer
  715. local torso = v.Character.Torso
  716.  
  717. plr = game.Players.LocalPlayer
  718. char = game.Players.LocalPlayer.Character
  719. hum = game.Players.LocalPlayer.Character.Humanoid
  720. t = game.Players.LocalPlayer.Character.Torso
  721. h = game.Players.LocalPlayer.Character.Head
  722. ra = game.Players.LocalPlayer.Character["Right Arm"]
  723. la = game.Players.LocalPlayer.Character["Left Arm"]
  724. rl = game.Players.LocalPlayer.Character["Right Leg"]
  725. ll = game.Players.LocalPlayer.Character["Left Leg"]
  726. tors = Character.Torso
  727. lleg = Character["Left Leg"]
  728. root = Character.HumanoidRootPart
  729. hed = Character.Head
  730. rleg = Character["Right Leg"]
  731. rarm = Character["Right Arm"]
  732. larm = Character["Left Arm"]
  733. bsize1 = NumberSequenceKeypoint.new(3,3,3)
  734. bsize2 = NumberSequenceKeypoint.new(10,10,10)
  735. local Effects = {}
  736. attack = false
  737. local attacking = false
  738. vt = Vector3.new
  739. bc = BrickColor.new
  740. br = BrickColor.random
  741. it = Instance.new
  742. cf = CFrame.new
  743. euler = CFrame.fromEulerAnglesXYZ
  744. angles = CFrame.Angles
  745. matr = math.random
  746. local colororg = BrickColor.new("Dark indigo") -- set color u like
  747. local meshtype = "Sphere" -- only for specialmesh
  748. mouse = plr:GetMouse()
  749.  
  750.  
  751. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  752. if hit.Parent==nil then
  753. return
  754. end
  755. h=hit.Parent:FindFirstChild("Humanoid")
  756. for _,v in pairs(hit.Parent:children()) do
  757. if v:IsA("Humanoid") then
  758. h=v
  759. end
  760. end
  761. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  762. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  763. end
  764. if hit.Parent.className=="Hat" then
  765. hit=hit.Parent.Parent:findFirstChild("Head")
  766. end
  767. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  768. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  769. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  770. return
  771. end]]
  772. -- hs(hit,1.2)
  773. c=Instance.new("ObjectValue")
  774. c.Name="creator"
  775. c.Value=game:service("Players").LocalPlayer
  776. c.Parent=h
  777. game:GetService("Debris"):AddItem(c,.5)
  778. Damage=math.random(minim,maxim)
  779. -- h:TakeDamage(Damage)
  780. blocked=false
  781. block=hit.Parent:findFirstChild("Block")
  782. if block~=nil then
  783. print(block.className)
  784. if block.className=="NumberValue" then
  785. if block.Value>0 then
  786. blocked=true
  787. if decreaseblock==nil then
  788. block.Value=block.Value-1
  789. end
  790. end
  791. end
  792. if block.className=="IntValue" then
  793. if block.Value>0 then
  794. blocked=true
  795. if decreaseblock~=nil then
  796. block.Value=block.Value-1
  797. end
  798. end
  799. end
  800. end
  801. if blocked==false then
  802. -- h:TakeDamage(Damage)
  803. h.Health=h.Health-Damage
  804. showDamage(hit.Parent,Damage,3,TorsoColor)
  805. else
  806. h.Health=h.Health-(Damage/2)
  807. showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright blue"))
  808. end
  809. if Type=="Knockdown" then
  810. hum=hit.Parent.Humanoid
  811. hum.PlatformStand=true
  812. coroutine.resume(coroutine.create(function(HHumanoid)
  813. swait(1)
  814. HHumanoid.PlatformStand=false
  815. end),hum)
  816. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  817. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  818. local bodvol=Instance.new("BodyVelocity")
  819. bodvol.velocity=angle*knockback
  820. bodvol.P=5000
  821. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  822. bodvol.Parent=hit
  823. rl=Instance.new("BodyAngularVelocity")
  824. rl.P=3000
  825. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  826. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  827. rl.Parent=hit
  828. game:GetService("Debris"):AddItem(bodvol,.5)
  829. game:GetService("Debris"):AddItem(rl,.5)
  830. elseif Type=="Normal" then
  831. vp=Instance.new("BodyVelocity")
  832. vp.P=500
  833. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  834. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  835. if KnockbackType==1 then
  836. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  837. elseif KnockbackType==2 then
  838. vp.velocity=Property.CFrame.lookVector*knockback
  839. end
  840. if knockback>0 then
  841. vp.Parent=hit.Parent.Torso
  842. end
  843. game:GetService("Debris"):AddItem(vp,.5)
  844. elseif Type=="Up" then
  845. local bodyVelocity=Instance.new("BodyVelocity")
  846. bodyVelocity.velocity=vt(0,10,0)
  847. bodyVelocity.P=1000
  848. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  849. bodyVelocity.Parent=hit
  850. game:GetService("Debris"):AddItem(bodyVelocity,1)
  851. rl=Instance.new("BodyAngularVelocity")
  852. rl.P=3000
  853. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  854. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  855. rl.Parent=hit
  856. game:GetService("Debris"):AddItem(rl,.5)
  857. elseif Type=="Snare" then
  858. bp=Instance.new("BodyPosition")
  859. bp.P=2000
  860. bp.D=100
  861. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  862. bp.position=hit.Parent.Torso.Position
  863. bp.Parent=hit.Parent.Torso
  864. game:GetService("Debris"):AddItem(bp,1)
  865. elseif Type=="Target" then
  866. if Targetting==false then
  867. ZTarget=hit.Parent.Torso
  868. coroutine.resume(coroutine.create(function(Part)
  869. swait(5)
  870. end),ZTarget)
  871. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  872. targetgui=Instance.new("BillboardGui")
  873. targetgui.Parent=ZTarget
  874. targetgui.Size=UDim2.new(10,100,10,100)
  875. targ=Instance.new("ImageLabel")
  876. targ.Parent=targetgui
  877. targ.BackgroundTransparency=1
  878. targ.Image="rbxassetid://4834067"
  879. targ.Size=UDim2.new(1,0,1,0)
  880. cam.CameraType="Scriptable"
  881. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  882. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  883. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  884. Targetting=true
  885. RocketTarget=ZTarget
  886. for i=1,Property do
  887. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  888. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  889. swait()
  890. end
  891. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  892. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  893. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  894. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  895. end
  896. Targetting=false
  897. RocketTarget=nil
  898. targetgui.Parent=nil
  899. cam.CameraType="Custom"
  900. end
  901. end
  902. debounce=Instance.new("BoolValue")
  903. debounce.Name="DebounceHit"
  904. debounce.Parent=hit.Parent
  905. debounce.Value=true
  906. game:GetService("Debris"):AddItem(debounce,Delay)
  907. c=Instance.new("ObjectValue")
  908. c.Name="creator"
  909. c.Value=Player
  910. c.Parent=h
  911. game:GetService("Debris"):AddItem(c,.5)
  912. CRIT=false
  913. hitDeb=true
  914. AttackPos=6
  915. end
  916. end
  917.  
  918. showDamage=function(Char,Dealt,du,Color)
  919. m=Instance.new("Model")
  920. m.Name=""
  921. h=Instance.new("Humanoid")
  922. h.Health=0
  923. h.MaxHealth=0
  924. h.Parent=m
  925. c=Instance.new("Part")
  926. c.Transparency=0
  927. c.Material = "Neon"
  928. c.BrickColor=bc("Bright red")
  929. c.Name="Head"
  930. c.TopSurface=0
  931. c.BottomSurface=0
  932. CV="Hot pink"
  933.  
  934. local txt = Instance.new("BillboardGui", c)
  935. txt.Adornee = c
  936. txt.Name = "_status"
  937. txt.Size = UDim2.new(2, 0, 1.2, 0)
  938. txt.StudsOffset = Vector3.new(-9, 8, 0)
  939. local text = Instance.new("TextLabel", txt)
  940. text.Size = UDim2.new(10, 0, 7, 0)
  941. text.FontSize = "Size24"
  942. text.TextScaled = true
  943. text.TextTransparency = 0
  944. text.BackgroundTransparency = 1
  945. text.TextTransparency = 0
  946. text.TextStrokeTransparency = 0
  947. if Dealt < 12 then
  948. text.Font = "Highway"
  949. elseif Dealt < 20 then
  950. text.Font = "SourceSansBold"
  951. elseif Dealt >= 20 then
  952. text.Font = "Fantasy"
  953. end
  954. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  955. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  956. v=Instance.new("Part")
  957. v.Name = "ColorBrick"
  958. v.Parent=c
  959. v.FormFactor="Symmetric"
  960. v.Anchored=true
  961. v.CanCollide=false
  962. v.BottomSurface="Smooth"
  963. v.TopSurface="Smooth"
  964. v.Size=Vector3.new(10,5,3)
  965. v.Transparency=1
  966. v.CFrame=c.CFrame
  967. v.BrickColor=BrickColor.new(CV)
  968. v.Transparency=1
  969. if Dealt < 12 then
  970. text.TextColor3 = BrickColor.new("White").Color
  971. elseif Dealt < 20 then
  972. text.TextColor3 = BrickColor.new("Bright yellow").Color
  973. elseif Dealt >= 20 then
  974. text.TextColor3 = BrickColor.new("Really red").Color
  975. end
  976. v.Shape="Block"
  977. text.Text = tostring(Dealt).. "!"
  978. local dam = Instance.new("Sound",c)
  979. local rndm=math.random(1,#hitsounds)
  980. local r=rndm
  981. dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r]
  982. dam.Volume = 1.25
  983. dam.Pitch = 1
  984. dam:Play()
  985. c.formFactor="Plate"
  986. c.Transparency = 1
  987. c.Size=Vector3.new(1,.4,1)
  988. ms=Instance.new("CylinderMesh")
  989. ms.Scale=Vector3.new(.8,.8,.8)
  990. if CRIT==true then
  991. ms.Scale=Vector3.new(1,1.25,1)
  992. end
  993. ms.Parent=c
  994. c.Reflectance=0
  995. Instance.new("BodyGyro").Parent=c
  996. c.Parent=m
  997. if Char:findFirstChild("Head")~=nil then
  998. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  999. elseif Char.Parent:findFirstChild("Head")~=nil then
  1000. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1001. end
  1002. f=Instance.new("BodyPosition")
  1003. f.P=2000
  1004. f.D=100
  1005. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1006. f.position=c.Position+Vector3.new(0,3,0)
  1007. f.Parent=c
  1008. game:GetService("Debris"):AddItem(m,.5+du)
  1009. c.CanCollide=false
  1010. m.Parent=workspace
  1011. c.CanCollide=false
  1012. wait(1)
  1013. for l = 0, 9 do
  1014. text.TextTransparency = text.TextTransparency + 0.1
  1015. text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1
  1016. wait()
  1017. end
  1018. end
  1019.  
  1020. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  1021. local gui = it(GuiType)
  1022. gui.Parent = parent
  1023. gui.Text = text
  1024. gui.BackgroundTransparency = backtrans
  1025. gui.BackgroundColor3 = backcol
  1026. gui.SizeConstraint = "RelativeXY"
  1027. gui.TextXAlignment = "Center"
  1028. gui.TextYAlignment = "Center"
  1029. gui.Position = pos
  1030. gui.Size = size
  1031. gui.Font = "SourceSans"
  1032. gui.FontSize = "Size14"
  1033. gui.TextWrapped = false
  1034. gui.TextStrokeTransparency = 0
  1035. gui.TextColor = BrickColor.new("White")
  1036. return gui
  1037. end
  1038.  
  1039. local mana = 249
  1040. ---- GUI set
  1041. local basgui = it("GuiMain")
  1042. basgui.Parent = Player.PlayerGui
  1043. basgui.Name = "CooldownsGUI"
  1044. local basframe = it("Frame")
  1045. basframe.Parent = basgui
  1046. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  1047. basframe.BackgroundTransparency = 1
  1048. basframe.BorderColor3 = Color3.new(17, 17, 17)
  1049. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  1050. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  1051. local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright orange").Color, UDim2.new(-0.15, 0, -0.175, 0), UDim2.new(0.45, 0, 0.35, 0))
  1052. basicgui.ZIndex = 2
  1053. basicgui.Font = "Highway"
  1054. basicgui.BackgroundTransparency = 0.5
  1055. basicgui.BorderSizePixel = 0.65
  1056. basicgui.TextScaled = true
  1057. basicgui.Text = "(Z)\nHotshot"
  1058. basicgui.TextSize = 24
  1059. local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright orange").Color, UDim2.new(0.35, 0, -0.175, 0), UDim2.new(0.45, 0, 0.35, 0))
  1060. basicgui2.ZIndex = 2
  1061. basicgui2.Font = "Highway"
  1062. basicgui2.BackgroundTransparency = 0.5
  1063. basicgui2.BorderSizePixel = 0.65
  1064. basicgui2.TextScaled = true
  1065. basicgui2.Text = "(X)\nBlazing Dash"
  1066. basicgui2.TextSize = 24
  1067. local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright orange").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  1068. basicgui3.ZIndex = 2
  1069. basicgui3.Font = "Highway"
  1070. basicgui3.BackgroundTransparency = 0.5
  1071. basicgui3.BorderSizePixel = 0.65
  1072. basicgui3.TextScaled = true
  1073. basicgui3.Text = "(C)\nBlazing Boomrang"
  1074. basicgui3.TextSize = 24
  1075. local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright orange").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  1076. basicgui4.ZIndex = 2
  1077. basicgui4.Font = "Highway"
  1078. basicgui4.BackgroundTransparency = 0.5
  1079. basicgui4.BorderSizePixel = 0.65
  1080. basicgui4.TextScaled = true
  1081. basicgui4.Text = "(V)\nDying Star"
  1082. basicgui4.TextSize = 24
  1083.  
  1084. local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0))
  1085. healthg.ZIndex = 2
  1086. healthg.Font = "Highway"
  1087. healthg.BackgroundTransparency = 0.5
  1088. healthg.BorderSizePixel = 0.65
  1089. healthg.TextScaled = true
  1090. healthg.Text = "health"
  1091. healthg.TextSize = 24
  1092.  
  1093. local manag = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright blue").Color, UDim2.new(-0.15, 0, -0.35, 0), UDim2.new(0.95, 0, 0.15, 0))
  1094. manag.ZIndex = 2
  1095. manag.Font = "Highway"
  1096. manag.BackgroundTransparency = 0.5
  1097. manag.BorderSizePixel = 0.65
  1098. manag.TextScaled = true
  1099. manag.Text = "health"
  1100. manag.TextSize = 24
  1101.  
  1102. ---------------- Weapon model
  1103.  
  1104. local handle = Instance.new("Part")
  1105. handle.Parent = Character
  1106. handle.Size = Vector3.new(1,1,1)
  1107. handle.Archivable = true
  1108. handle.Transparency = 0.99
  1109. handle.BrickColor = BrickColor.new("White")
  1110. handle.Material = "Neon"
  1111. local handlmesh = Instance.new("BlockMesh",handle)
  1112. handlmesh.Scale = Vector3.new(1,1,1)
  1113. local handleweld = Instance.new("Weld")
  1114. handleweld.Parent = handle
  1115. handleweld.Part0 = torso
  1116. handleweld.Part1 = handle
  1117. handleweld.C1 = CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1118. local par = Instance.new("Part")
  1119. par.Parent = Character
  1120. par.Size = Vector3.new(0.2,0.2,0.2)
  1121. par.Archivable = true
  1122. par.Transparency = 0
  1123. par.BrickColor = BrickColor.new("Really black")
  1124. par.Material = "Metal"
  1125. local parmesh = Instance.new("SpecialMesh",par)
  1126. parmesh.MeshType = "FileMesh"
  1127. parmesh.MeshId = "http://www.roblox.com/asset?id=156292343"
  1128. parmesh.Scale = Vector3.new(5,5,5)
  1129. local weld12 = Instance.new("Weld")
  1130. weld12.Parent = par
  1131. weld12.Part0 = handle
  1132. weld12.Part1 = par
  1133. weld12.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1134. local par2 = Instance.new("Part")
  1135. par2.Parent = Character
  1136. par2.Size = Vector3.new(0.2,0.2,0.2)
  1137. par2.Archivable = true
  1138. par2.Transparency = 0
  1139. par2.BrickColor = BrickColor.new("Really black")
  1140. par2.Material = "Metal"
  1141. local parmesh2 = Instance.new("SpecialMesh",par2)
  1142. parmesh2.MeshType = "FileMesh"
  1143. parmesh2.MeshId = "http://www.roblox.com/asset?id=156292343"
  1144. parmesh2.Scale = Vector3.new(5.25,5.25,4.75)
  1145. parmesh2.VertexColor = Vector3.new(1,0.5,0)
  1146. parmesh2.TextureId = "rbxassetid://269748808"
  1147. local weld13 = Instance.new("Weld")
  1148. weld13.Parent = par2
  1149. weld13.Part0 = handle
  1150. weld13.Part1 = par2
  1151. weld13.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1152. local par3 = Instance.new("Part")
  1153. par3.Parent = Character
  1154. par3.Size = Vector3.new(0.2,0.2,0.2)
  1155. par3.Archivable = true
  1156. par3.Transparency = 0
  1157. par3.BrickColor = BrickColor.new("Really black")
  1158. par3.Material = "Metal"
  1159. local parmesh3 = Instance.new("SpecialMesh",par3)
  1160. parmesh3.MeshType = "FileMesh"
  1161. parmesh3.MeshId = "http://www.roblox.com/asset?id=156292343"
  1162. parmesh3.Scale = Vector3.new(5.65,5.65,4.25)
  1163. parmesh3.VertexColor = Vector3.new(1,0.75,0.25)
  1164. parmesh3.TextureId = "rbxassetid://269748808"
  1165. local weld14 = Instance.new("Weld")
  1166. weld14.Parent = par3
  1167. weld14.Part0 = handle
  1168. weld14.Part1 = par3
  1169. weld14.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1170. local par4 = Instance.new("Part")
  1171. par4.Parent = Character
  1172. par4.Size = Vector3.new(0.2,0.2,0.2)
  1173. par4.Archivable = true
  1174. par4.Transparency = 0
  1175. par4.BrickColor = BrickColor.new("Really black")
  1176. par4.Material = "Metal"
  1177. local parmesh4 = Instance.new("SpecialMesh",par4)
  1178. parmesh4.MeshType = "FileMesh"
  1179. parmesh4.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1180. parmesh4.Scale = Vector3.new(4.5,4.5,1.25)
  1181. parmesh4.VertexColor = Vector3.new(1,0.75,0)
  1182. parmesh4.TextureId = "rbxassetid://269748808"
  1183. local weld15 = Instance.new("Weld")
  1184. weld15.Parent = par4
  1185. weld15.Part0 = handle
  1186. weld15.Part1 = par4
  1187. weld15.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1188. local par4a = Instance.new("Part")
  1189. par4a.Parent = Character
  1190. par4a.Size = Vector3.new(0.2,0.2,0.2)
  1191. par4a.Archivable = true
  1192. par4a.Transparency = 0
  1193. par4a.BrickColor = BrickColor.new("Really black")
  1194. par4a.Material = "Metal"
  1195. local parmesh4a = Instance.new("SpecialMesh",par4a)
  1196. parmesh4a.MeshType = "FileMesh"
  1197. parmesh4a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1198. parmesh4a.Scale = Vector3.new(1.25,7.5,1)
  1199. parmesh4a.VertexColor = Vector3.new(1,0.5,0)
  1200. parmesh4a.TextureId = "rbxassetid://269748808"
  1201. local weld15a = Instance.new("Weld")
  1202. weld15a.Parent = par4a
  1203. weld15a.Part0 = par4
  1204. weld15a.Part1 = par4a
  1205. weld15a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1206. local par4b = Instance.new("Part")
  1207. par4b.Parent = Character
  1208. par4b.Size = Vector3.new(0.2,0.2,0.2)
  1209. par4b.Archivable = true
  1210. par4b.Transparency = 0
  1211. par4b.BrickColor = BrickColor.new("Really black")
  1212. par4b.Material = "Metal"
  1213. local parmesh4b = Instance.new("SpecialMesh",par4b)
  1214. parmesh4b.MeshType = "FileMesh"
  1215. parmesh4b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1216. parmesh4b.Scale = Vector3.new(7.5,1.25,1)
  1217. parmesh4b.VertexColor = Vector3.new(1,0.5,0)
  1218. parmesh4b.TextureId = "rbxassetid://269748808"
  1219. local weld15b = Instance.new("Weld")
  1220. weld15b.Parent = par4b
  1221. weld15b.Part0 = par4
  1222. weld15b.Part1 = par4b
  1223. weld15b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1224. local par5 = Instance.new("Part")
  1225. par5.Parent = Character
  1226. par5.Size = Vector3.new(0.2,0.2,0.2)
  1227. par5.Archivable = true
  1228. par5.Transparency = 0
  1229. par5.BrickColor = BrickColor.new("Really black")
  1230. par5.Material = "Metal"
  1231. local parmesh5 = Instance.new("SpecialMesh",par5)
  1232. parmesh5.MeshType = "FileMesh"
  1233. parmesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1234. parmesh5.Scale = Vector3.new(1,1,0.75)
  1235. parmesh5.VertexColor = Vector3.new(1,0.75,0)
  1236. parmesh5.TextureId = "rbxassetid://269748808"
  1237. local weld16 = Instance.new("Weld")
  1238. weld16.Parent = par5
  1239. weld16.Part0 = handle
  1240. weld16.Part1 = par5
  1241. weld16.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1242. local par5a = Instance.new("Part")
  1243. par5a.Parent = Character
  1244. par5a.Size = Vector3.new(0.2,0.2,0.2)
  1245. par5a.Archivable = true
  1246. par5a.Transparency = 0
  1247. par5a.BrickColor = BrickColor.new("Really black")
  1248. par5a.Material = "Metal"
  1249. local parmesh5a = Instance.new("SpecialMesh",par5a)
  1250. parmesh5a.MeshType = "FileMesh"
  1251. parmesh5a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1252. parmesh5a.Scale = Vector3.new(3,0.75,0.5)
  1253. parmesh5a.VertexColor = Vector3.new(1,0.5,0)
  1254. parmesh5a.TextureId = "rbxassetid://269748808"
  1255. local weld16a = Instance.new("Weld")
  1256. weld16a.Parent = par5a
  1257. weld16a.Part0 = par5
  1258. weld16a.Part1 = par5a
  1259. weld16a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1260. local par5b = Instance.new("Part")
  1261. par5b.Parent = Character
  1262. par5b.Size = Vector3.new(0.2,0.2,0.2)
  1263. par5b.Archivable = true
  1264. par5b.Transparency = 0
  1265. par5b.BrickColor = BrickColor.new("Really black")
  1266. par5b.Material = "Metal"
  1267. local parmesh5b = Instance.new("SpecialMesh",par5b)
  1268. parmesh5b.MeshType = "FileMesh"
  1269. parmesh5b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1270. parmesh5b.Scale = Vector3.new(0.75,3,0.5)
  1271. parmesh5b.VertexColor = Vector3.new(1,0.5,0)
  1272. parmesh5b.TextureId = "rbxassetid://269748808"
  1273. local weld16b = Instance.new("Weld")
  1274. weld16b.Parent = par5b
  1275. weld16b.Part0 = par5
  1276. weld16b.Part1 = par5b
  1277. weld16b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1278. local par6 = Instance.new("Part")
  1279. par6.Parent = Character
  1280. par6.Size = Vector3.new(0.2,0.2,0.2)
  1281. par6.Archivable = true
  1282. par6.Transparency = 0
  1283. par6.BrickColor = BrickColor.new("Really black")
  1284. par6.Material = "Metal"
  1285. local parmesh6 = Instance.new("SpecialMesh",par6)
  1286. parmesh6.MeshType = "FileMesh"
  1287. parmesh6.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1288. parmesh6.Scale = Vector3.new(1.65,1.65,0.115)
  1289. parmesh6.VertexColor = Vector3.new(1,0.35,0)
  1290. parmesh6.TextureId = "rbxassetid://269748808"
  1291. local weld17 = Instance.new("Weld")
  1292. weld17.Parent = par6
  1293. weld17.Part0 = handle
  1294. weld17.Part1 = par6
  1295. weld17.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1296. local par6a = Instance.new("Part")
  1297. par6a.Parent = Character
  1298. par6a.Size = Vector3.new(0.2,0.2,0.2)
  1299. par6a.Archivable = true
  1300. par6a.Transparency = 0
  1301. par6a.BrickColor = BrickColor.new("Really black")
  1302. par6a.Material = "Metal"
  1303. local parmesh6a = Instance.new("SpecialMesh",par6a)
  1304. parmesh6a.MeshType = "FileMesh"
  1305. parmesh6a.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1306. parmesh6a.Scale = Vector3.new(7.5,0.95,0.115)
  1307. parmesh6a.VertexColor = Vector3.new(1,0.35,0)
  1308. parmesh6a.TextureId = "rbxassetid://269748808"
  1309. local weld17a = Instance.new("Weld")
  1310. weld17a.Parent = par6a
  1311. weld17a.Part0 = par6
  1312. weld17a.Part1 = par6a
  1313. weld17a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(45))
  1314. local par6b = Instance.new("Part")
  1315. par6b.Parent = Character
  1316. par6b.Size = Vector3.new(0.2,0.2,0.2)
  1317. par6b.Archivable = true
  1318. par6b.Transparency = 0
  1319. par6b.BrickColor = BrickColor.new("Really black")
  1320. par6b.Material = "Metal"
  1321. local parmesh6b = Instance.new("SpecialMesh",par6b)
  1322. parmesh6b.MeshType = "FileMesh"
  1323. parmesh6b.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1324. parmesh6b.Scale = Vector3.new(7.5,0.95,0.115)
  1325. parmesh6b.VertexColor = Vector3.new(1,0.35,0)
  1326. parmesh6b.TextureId = "rbxassetid://269748808"
  1327. local weld17b = Instance.new("Weld")
  1328. weld17b.Parent = par6b
  1329. weld17b.Part0 = par6
  1330. weld17b.Part1 = par6b
  1331. weld17b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45))
  1332. local par7 = Instance.new("Part")
  1333. par7.Parent = Character
  1334. par7.Size = Vector3.new(0.2,0.2,0.2)
  1335. par7.Archivable = true
  1336. par7.Transparency = 0
  1337. par7.BrickColor = BrickColor.new("Really black")
  1338. par7.Material = "Metal"
  1339. local parmesh7 = Instance.new("SpecialMesh",par7)
  1340. parmesh7.MeshType = "FileMesh"
  1341. parmesh7.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1342. parmesh7.Scale = Vector3.new(4.375,4.375,2.15)
  1343. local weld18 = Instance.new("Weld")
  1344. weld18.Parent = par7
  1345. weld18.Part0 = handle
  1346. weld18.Part1 = par7
  1347. weld18.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1348. local par8 = Instance.new("Part")
  1349. par8.Parent = Character
  1350. par8.Size = Vector3.new(0.2,0.2,0.2)
  1351. par8.Archivable = true
  1352. par8.Transparency = 0
  1353. par8.BrickColor = BrickColor.new("Really black")
  1354. par8.Material = "Metal"
  1355. local parmesh8 = Instance.new("SpecialMesh",par8)
  1356. parmesh8.MeshType = "FileMesh"
  1357. parmesh8.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1358. parmesh8.Scale = Vector3.new(4.365,4.365,2.165)
  1359. parmesh8.VertexColor = Vector3.new(1,0.25,0)
  1360. parmesh8.TextureId = "rbxassetid://269748808"
  1361. local weld19 = Instance.new("Weld")
  1362. weld19.Parent = par8
  1363. weld19.Part0 = handle
  1364. weld19.Part1 = par8
  1365. weld19.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1366. ----- lol
  1367. handle.CanCollide = false
  1368. par.CanCollide = false
  1369. par2.CanCollide = false
  1370. par3.CanCollide = false
  1371. par4.CanCollide = false
  1372. par4a.CanCollide = false
  1373. par4b.CanCollide = false
  1374. par5.CanCollide = false
  1375. par5a.CanCollide = false
  1376. par5b.CanCollide = false
  1377. par6.CanCollide = false
  1378. par6a.CanCollide = false
  1379. par6b.CanCollide = false
  1380. par7.CanCollide = false
  1381. par8.CanCollide = false
  1382. ----
  1383.  
  1384. function attackone()
  1385. attack = true
  1386. handleweld.Part0 = rarm
  1387. for i = 0,2,0.1 do
  1388. swait()
  1389. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1390. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1391. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50 - 2.5 * math.cos(sine / 32))), 0.3)
  1392. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1393. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 2.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1394. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1395. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1396. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1397. end
  1398. local slas = Instance.new("Sound",handle)
  1399. slas.SoundId = "rbxassetid://199145095"
  1400. slas.Volume = 1.75
  1401. slas.Pitch = 1
  1402. slas:Play()
  1403. local hit = handle.Touched:connect(function(hit)
  1404. Damagefunc(hit,5,6,5,"Normal",root,.2,1)
  1405. end)
  1406. for i = 0,1,0.1 do
  1407. swait()
  1408. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1409. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  1410. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  1411. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1412. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1413. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1414. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1415. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1416. end
  1417. attack = false
  1418. hit:disconnect()
  1419. wait(3)
  1420. slas:Destroy()
  1421. end
  1422.  
  1423. function attacktwo()
  1424. attack = true
  1425. handleweld.Part0 = rarm
  1426. for i = 0,2,0.1 do
  1427. swait()
  1428. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1429. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1430. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(90), math.rad(50 - 2.5 * math.cos(sine / 32))), 0.3)
  1431. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1432. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 2.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1433. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1434. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1435. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1436. end
  1437. local slas = Instance.new("Sound",handle)
  1438. slas.SoundId = "rbxassetid://199145095"
  1439. slas.Volume = 1.75
  1440. slas.Pitch = 0.9
  1441. slas:Play()
  1442. local hit = handle.Touched:connect(function(hit)
  1443. Damagefunc(hit,5,6,5,"Normal",root,.2,1)
  1444. end)
  1445. for i = 0,1,0.5 do
  1446. swait()
  1447. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1448. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1449. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  1450. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1451. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 10, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1452. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1453. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1454. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1455. end
  1456. for i = 0,1,0.5 do
  1457. swait()
  1458. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1459. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1460. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  1461. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1462. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 15, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
  1463. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1464. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1465. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1466. end
  1467. for i = 0,1,0.5 do
  1468. swait()
  1469. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1470. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1471. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  1472. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1473. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 20, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
  1474. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1475. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1476. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1477. end
  1478. for i = 0,3,0.5 do
  1479. swait()
  1480. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1481. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1482. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  1483. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1484. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 25, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
  1485. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1486. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1487. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1488. end
  1489. attack = false
  1490. hit:disconnect()
  1491. wait(3)
  1492. slas:Destroy()
  1493. end
  1494.  
  1495. function attackthree()
  1496. attack = true
  1497. handleweld.Part0 = rarm
  1498. for i = 0,2,0.1 do
  1499. swait()
  1500. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1501. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1502. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-50 - 2.5 * math.cos(sine / 32))), 0.3)
  1503. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1504. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1505. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1506. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1507. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1508. end
  1509. local hit = handle.Touched:connect(function(hit)
  1510. Damagefunc(hit,5,6,5,"Normal",root,.2,1)
  1511. end)
  1512. local slas = Instance.new("Sound",handle)
  1513. slas.SoundId = "rbxassetid://199145095"
  1514. slas.Volume = 1.75
  1515. slas.Pitch = 0.95
  1516. slas:Play()
  1517. for i = 0,2,0.1 do
  1518. swait()
  1519. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(75)),.3)
  1520. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-75)),.3)
  1521. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(75 - 2.5 * math.cos(sine / 32))), 0.3)
  1522. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1523. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 7.5) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  1524. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1525. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1526. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1527. end
  1528. slas:Destroy()
  1529. attack = false
  1530. hit:disconnect()
  1531. end
  1532.  
  1533. function attackfour()
  1534. attack = true
  1535. handleweld.Part0 = rarm
  1536. local tra = Instance.new("ParticleEmitter",handle)
  1537. tra.Texture = "rbxassetid://296874871"
  1538. tra.LightEmission = 0.95
  1539. tra.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1540. tra.Rate = 1000
  1541. tra.Lifetime = NumberRange.new(0.25)
  1542. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  1543. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.85,0)})
  1544. tra.Speed = NumberRange.new(0)
  1545. tra.Rotation = NumberRange.new(-500,500)
  1546. tra.VelocitySpread = 90000
  1547. tra.LockedToPart = true
  1548. tra.RotSpeed = NumberRange.new(-500,500)
  1549. for i = 0,5,0.1 do
  1550. swait()
  1551. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1552. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1553. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-50 - 2.5 * math.cos(sine / 32))), 0.3)
  1554. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1555. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1556. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1557. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1558. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1559. end
  1560. local traz = Instance.new("ParticleEmitter",handle)
  1561. traz.Texture = "rbxassetid://296874871"
  1562. traz.LightEmission = 0.95
  1563. traz.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1564. traz.Rate = 1000000
  1565. traz.Lifetime = NumberRange.new(0.5)
  1566. traz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,15,0)})
  1567. traz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1568. traz.Speed = NumberRange.new(50)
  1569. traz.Rotation = NumberRange.new(-500,500)
  1570. traz.VelocitySpread = 90000
  1571. traz.RotSpeed = NumberRange.new(-500,500)
  1572. local sa = Instance.new("Sound",handle)
  1573. sa.SoundId = "rbxassetid://519795084"
  1574. sa.Volume = 1.25
  1575. sa.Pitch = 1.5
  1576. sa:Play()
  1577. tra.Rate = 0
  1578. local lb = Instance.new("Part")
  1579. lb.Parent = char
  1580. lb.Material = "Neon"
  1581. lb.Color = Color3.new(1,0.5,0)
  1582. lb.CanCollide = false
  1583. lb.Shape = "Ball"
  1584. lb.CFrame = handle.CFrame
  1585. lb.Anchored = true
  1586. lb.Size = vt(3,3,3)
  1587. local thing = Instance.new("SpecialMesh",lb)
  1588. thing.MeshType = meshtype
  1589. lb.Touched:connect(function(hit)
  1590. Damagefunc(hit,7,8,5,"Normal",root,.2,1)
  1591. end)
  1592. lb.Anchored = false
  1593. local trail = Instance.new("ParticleEmitter",lb)
  1594. trail.Texture = "rbxassetid://296874871"
  1595. trail.LightEmission = 0.95
  1596. trail.Color = ColorSequence.new(lb.BrickColor.Color)
  1597. trail.Rate = 10000
  1598. trail.Lifetime = NumberRange.new(1.5)
  1599. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1600. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.95,0),NumberSequenceKeypoint.new(1,1,0)})
  1601. trail.Speed = NumberRange.new(0,0)
  1602. trail.Rotation = NumberRange.new(-500,500)
  1603. trail.RotSpeed = NumberRange.new(-500,500)
  1604. local bv = Instance.new("BodyVelocity")
  1605. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1606. bv.velocity = mouse.Hit.lookVector *175
  1607. bv.Parent = lb
  1608. traz.Rate = 0
  1609. for i = 0,1,0.1 do
  1610. swait()
  1611. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.5,0)* angles(math.rad(0),math.rad(0),math.rad(-85)),.3)
  1612. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(85)),.3)
  1613. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(25 - 2.5 * math.cos(sine / 32))), 0.3)
  1614. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1615. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1616. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1617. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1618. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1619. end
  1620. attack = false
  1621. wait(10)
  1622. traz:Destroy()
  1623. tra:Destroy()
  1624. sa:Destroy()
  1625. lb:Destroy()
  1626. end
  1627. hold = false
  1628.  
  1629. function do1()
  1630. attack = true
  1631. handleweld.Part0 = rarm
  1632. local tra = Instance.new("ParticleEmitter",handle)
  1633. tra.Texture = "rbxassetid://296874871"
  1634. tra.LightEmission = 0.95
  1635. tra.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1636. tra.Rate = 1000
  1637. tra.Lifetime = NumberRange.new(0.25)
  1638. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  1639. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.85,0)})
  1640. tra.Speed = NumberRange.new(0)
  1641. tra.Rotation = NumberRange.new(-500,500)
  1642. tra.VelocitySpread = 90000
  1643. tra.LockedToPart = true
  1644. tra.RotSpeed = NumberRange.new(-500,500)
  1645. while true do
  1646. swait()
  1647. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1648. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1649. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-50 - 2.5 * math.cos(sine / 32))), 0.3)
  1650. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50 + 2.5 * math.cos(sine / 32))), 0.3)
  1651. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1652. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1653. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1654. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1655. if hold == false then
  1656. break
  1657. end
  1658. end
  1659. local traz = Instance.new("ParticleEmitter",handle)
  1660. traz.Texture = "rbxassetid://296874871"
  1661. traz.LightEmission = 0.95
  1662. traz.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1663. traz.Rate = 1000000
  1664. traz.Lifetime = NumberRange.new(0.5)
  1665. traz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,15,0)})
  1666. traz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1667. traz.Speed = NumberRange.new(50)
  1668. traz.Rotation = NumberRange.new(-500,500)
  1669. traz.VelocitySpread = 90000
  1670. traz.RotSpeed = NumberRange.new(-500,500)
  1671. local sa = Instance.new("Sound",handle)
  1672. sa.SoundId = "rbxassetid://519795084"
  1673. sa.Volume = 1.25
  1674. sa.Pitch = 1.15
  1675. sa:Play()
  1676. tra.Rate = 0
  1677. local lb = Instance.new("Part")
  1678. lb.Parent = char
  1679. lb.Material = "Neon"
  1680. lb.Color = Color3.new(1,0.5,0)
  1681. lb.CanCollide = false
  1682. lb.Shape = "Ball"
  1683. lb.CFrame = handle.CFrame
  1684. lb.Anchored = true
  1685. lb.Size = vt(7.5,7.5,7.5)
  1686. local thing = Instance.new("SpecialMesh",lb)
  1687. thing.MeshType = meshtype
  1688. lb.Touched:connect(function(hit)
  1689. Damagefunc(hit,10,15,5,"Normal",root,.2,1)
  1690. end)
  1691. lb.Anchored = false
  1692. local trail = Instance.new("ParticleEmitter",lb)
  1693. trail.Texture = "rbxassetid://296874871"
  1694. trail.LightEmission = 0.95
  1695. trail.Color = ColorSequence.new(lb.BrickColor.Color)
  1696. trail.Rate = 10000
  1697. trail.Lifetime = NumberRange.new(1.5)
  1698. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1699. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.95,0),NumberSequenceKeypoint.new(1,1,0)})
  1700. trail.Speed = NumberRange.new(0,0)
  1701. trail.Rotation = NumberRange.new(-500,500)
  1702. trail.RotSpeed = NumberRange.new(-500,500)
  1703. local bv = Instance.new("BodyVelocity")
  1704. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1705. bv.velocity = mouse.Hit.lookVector *175
  1706. bv.Parent = lb
  1707. traz.Rate = 0
  1708. for i = 0,1,0.1 do
  1709. swait()
  1710. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.5,0)* angles(math.rad(0),math.rad(0),math.rad(-85)),.3)
  1711. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(85)),.3)
  1712. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(25 - 2.5 * math.cos(sine / 32))), 0.3)
  1713. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1714. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1715. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1716. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1717. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1718. end
  1719. attack = false
  1720. wait(10)
  1721. traz:Destroy()
  1722. tra:Destroy()
  1723. sa:Destroy()
  1724. lb:Destroy()
  1725. end
  1726.  
  1727. function do2()
  1728. attack = true
  1729. handleweld.Part0 = rarm
  1730. for i = 0,2,0.1 do
  1731. swait()
  1732. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1733. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1734. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-50 - 2.5 * math.cos(sine / 32))), 0.3)
  1735. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1736. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1737. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1738. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1739. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1740. end
  1741. local traz2 = Instance.new("ParticleEmitter",handle)
  1742. traz2.Texture = "rbxassetid://296874871"
  1743. traz2.LightEmission = 0.95
  1744. traz2.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1745. traz2.Rate = 1000000
  1746. traz2.Lifetime = NumberRange.new(1)
  1747. traz2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,50,0)})
  1748. traz2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1749. traz2.Speed = NumberRange.new(25,50)
  1750. traz2.Rotation = NumberRange.new(-500,500)
  1751. traz2.VelocitySpread = 90000
  1752. traz2.RotSpeed = NumberRange.new(-500,500)
  1753. local traz = Instance.new("ParticleEmitter",handle)
  1754. traz.Texture = "rbxassetid://296874871"
  1755. traz.LightEmission = 0.95
  1756. traz.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1757. traz.Rate = 1000000
  1758. traz.Lifetime = NumberRange.new(0.5)
  1759. traz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,15,0)})
  1760. traz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1761. traz.Speed = NumberRange.new(0)
  1762. traz.Rotation = NumberRange.new(-500,500)
  1763. traz.VelocitySpread = 90000
  1764. traz.RotSpeed = NumberRange.new(-500,500)
  1765. root.Velocity = root.CFrame.lookVector*250
  1766. local hit = handle.Touched:connect(function(hit)
  1767. Damagefunc(hit,10,14,5,"Normal",root,.2,1)
  1768. end)
  1769. local slas = Instance.new("Sound",handle)
  1770. slas.SoundId = "rbxassetid://412756170"
  1771. slas.Volume = 2.5
  1772. slas.Pitch = 0.75
  1773. slas:Play()
  1774. wait(0.05)
  1775. traz2.Rate = 0
  1776. for i = 0,3.5,0.1 do
  1777. swait()
  1778. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(75)),.3)
  1779. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-75)),.3)
  1780. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(75 - 2.5 * math.cos(sine / 32))), 0.3)
  1781. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1782. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 7.5) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  1783. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1784. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1785. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1786. end
  1787. traz.Rate = 0
  1788. attack = false
  1789. hit:disconnect()
  1790. wait(10)
  1791. traz2:Destroy()
  1792. traz:Destroy()
  1793. slas:Destroy()
  1794. end
  1795.  
  1796. function do3()
  1797. attack = true
  1798. local van = 1
  1799. for i = 0,3,0.1 do
  1800. swait()
  1801. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1802. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1803. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1804. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1805. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, -3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1806. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1807. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1808. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1809. end
  1810. local slas = Instance.new("Sound",handle)
  1811. slas.SoundId = "rbxassetid://412756170"
  1812. slas.Volume = 2.5
  1813. slas.Pitch = 0.75
  1814. slas:Play()
  1815. local traz = Instance.new("ParticleEmitter",handle)
  1816. traz.Texture = "rbxassetid://296874871"
  1817. traz.LightEmission = 0.95
  1818. traz.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1819. traz.Rate = 1000000
  1820. traz.Lifetime = NumberRange.new(0.5)
  1821. traz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,10,0)})
  1822. traz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  1823. traz.Speed = NumberRange.new(0)
  1824. traz.Rotation = NumberRange.new(-500,500)
  1825. traz.VelocitySpread = 90000
  1826. traz.RotSpeed = NumberRange.new(-500,500)
  1827. local hit = handle.Touched:connect(function(hit)
  1828. Damagefunc(hit,19,25,5,"Normal",root,.2,1)
  1829. end)
  1830. for i = 0,3,0.1 do
  1831. swait()
  1832. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1833. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1834. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1835. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1836. handleweld.C1 = clerp(handleweld.C1, CFrame.new(75, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1837. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1838. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1839. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1840. end
  1841. for i = 0,1,0.5 do
  1842. swait()
  1843. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1844. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1845. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1846. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1847. handleweld.C1 = clerp(handleweld.C1, CFrame.new(50, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1848. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1849. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1850. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1851. end
  1852. for i = 0,1,0.5 do
  1853. swait()
  1854. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1855. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1856. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1857. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1858. handleweld.C1 = clerp(handleweld.C1, CFrame.new(25, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1859. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1860. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1861. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1862. end
  1863. for i = 0,5,0.1 do
  1864. swait()
  1865. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1866. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1867. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1868. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1869. handleweld.C1 = clerp(handleweld.C1, CFrame.new(5, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1870. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1871. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1872. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1873. end
  1874. hit:disconnect()
  1875. traz.Rate = 0
  1876. attack = false
  1877. wait(5)
  1878. traz:Destroy()
  1879. slas:Destroy()
  1880. end
  1881.  
  1882. function DeleteParent(parent)
  1883. for i,v in pairs(parent:children()) do
  1884. if v:IsA("Part") then
  1885. v:Destroy()
  1886. end
  1887. end
  1888. end
  1889.  
  1890. function do4()
  1891. attack = true
  1892. hum.WalkSpeed = 0
  1893. local van = 1
  1894. local lba = Instance.new("Part")
  1895. local slas = Instance.new("Sound",lba)
  1896. slas.SoundId = "rbxassetid://137463716"
  1897. slas.Volume = 1.5
  1898. slas.Pitch = 0.25
  1899. slas:Play()
  1900. local slas2 = Instance.new("Sound",lba)
  1901. slas2.SoundId = "rbxassetid://342793847"
  1902. slas2.Volume = 1.5
  1903. slas2.Pitch = 0.5
  1904. slas2:Play()
  1905. lba.Parent = char
  1906. lba.Material = "Neon"
  1907. lba.BrickColor = BrickColor.new("Persimmon")
  1908. lba.CanCollide = false
  1909. lba.Shape = "Ball"
  1910. lba.CFrame = handle.CFrame
  1911. lba.Anchored = true
  1912. lba.Size = vt(1,1,1)
  1913. local thing = Instance.new("SpecialMesh",lba)
  1914. thing.MeshType = meshtype
  1915. for i = 0,50,0.1 do
  1916. swait()
  1917. van = van + 0.05
  1918. thing.Scale = thing.Scale + vt(0.085,0.085,0.085)
  1919. lba.CFrame = handle.CFrame + vt(0,van,0)
  1920. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1921. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1922. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1923. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1924. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, -3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1925. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1926. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1927. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1928. end
  1929. for z = 0, 9 do
  1930. for i = 0, 24 do
  1931. thing.Scale = thing.Scale - vt(0.15,0.15,0.15)
  1932. local lb = Instance.new("Part")
  1933. lb.Parent = handle
  1934. lb.Material = "Neon"
  1935. lb.BrickColor = BrickColor.new("Persimmon")
  1936. lb.CanCollide = false
  1937. lb.Shape = "Ball"
  1938. lb.CFrame = lba.CFrame
  1939. lb.Anchored = false
  1940. lb.Size = vt(5,5,5)
  1941. lb.CFrame = lba.CFrame
  1942. local bv = Instance.new("BodyVelocity")
  1943. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1944. bv.velocity = vt(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1945. bv.Parent = lb
  1946. local sound = it("Sound",lb)
  1947. sound.Volume = 0.5
  1948. sound.SoundId = "rbxassetid://178452221"
  1949. sound.Pitch = 0.5
  1950. sound:Play()
  1951. lb.Touched:connect(function(hit)
  1952. Damagefunc(hit,20,30,5,"Normal",root,.2,1)
  1953. end)
  1954. wait()
  1955. end
  1956. end
  1957. lba:Destroy()
  1958. hum.WalkSpeed = 16
  1959. attack = false
  1960. wait(10)
  1961. DeleteParent(handle)
  1962. end
  1963.  
  1964. attackcombo = 0
  1965.  
  1966. mouse.Button1Down:connect(function()
  1967. if hold == false then
  1968. if attack == false and attackcombo == 0 then
  1969. attackcombo = 1
  1970. attackone()
  1971. elseif attack == false and attackcombo == 1 then
  1972. attackcombo = 2
  1973. attacktwo()
  1974. elseif attack == false and attackcombo == 2 then
  1975. attackcombo = 3
  1976. attackthree()
  1977. elseif attack == false and attackcombo == 3 then
  1978. attackcombo = 0
  1979. attackfour()
  1980. end
  1981. end
  1982. if attack == true and hold == true then
  1983. hold = false
  1984. end
  1985. end)
  1986.  
  1987. mouse.KeyDown:connect(function(key)
  1988. if key == "z" and attack == false and hold == false and mana >= 25 then
  1989. hold = true
  1990. mana = mana - 25
  1991. do1()
  1992. end
  1993. if key == "x" and attack == false and mana >= 40 then
  1994. mana = mana - 40
  1995. do2()
  1996. end
  1997. if key == "c" and attack == false and mana >= 60 then
  1998. mana = mana - 60
  1999. do3()
  2000. end
  2001. if key == "v" and attack == false and mana >= 100 then
  2002. mana = mana - 100
  2003. do4()
  2004. end
  2005. end)
  2006.  
  2007. game:GetService("RunService").Stepped:connect(function()
  2008. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2009. velocity = RootPart.Velocity.y
  2010. sine = sine + change
  2011. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2012. if equipped == true or equipped == false then
  2013. healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth)
  2014. manag.Text = "Mana: " ..math.floor(mana)
  2015. if mana <= 250 then
  2016. mana = mana + 0.25
  2017. end
  2018. if RootPart.Velocity.y > 1 and hit == nil then
  2019. Anim = "Jump"
  2020. if attack == false then
  2021. handleweld.Part0 = torso
  2022. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2023. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2024. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3)
  2025. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
  2026. RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  2027. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(30),math.rad(0),math.rad(25)),.3)
  2028. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2029. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  2030. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  2031. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  2032. end
  2033. else
  2034. if RootPart.Velocity.y < -1 and hit == nil then
  2035. Anim = "Fall"
  2036. if attack == false then
  2037. handleweld.Part0 = torso
  2038. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2039. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2040. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3)
  2041. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  2042. RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  2043. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(30),math.rad(0),math.rad(25)),.3)
  2044. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2045. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  2046. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  2047. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  2048. end
  2049. else
  2050. if Torsovelocity < 1 and hit ~= nil then
  2051. Anim = "Idle"
  2052. if attack == false then
  2053. change = 1
  2054. handleweld.Part0 = torso
  2055. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  2056. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(10),math.rad(-30)),.3)
  2057. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0.15) * angles(math.rad(-15), math.rad(0), math.rad(-30 - 5 * math.cos(sine / 32))), 0.3)
  2058. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.25, 0.15) * angles(math.rad(-15), math.rad(0), math.rad(30 + 5 * math.cos(sine / 32))), 0.3)
  2059. RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  2060. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(30),math.rad(0),math.rad(25)),.3)
  2061. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2062. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  2063. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  2064. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  2065. end
  2066. else
  2067. if Torsovelocity > 2 and hit ~= nil then
  2068. Anim = "Walk"
  2069. if attack == false then
  2070. handleweld.Part0 = torso
  2071. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 2.5))* angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  2072. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2073. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0 + 45 * math.cos(sine / 5)), math.rad(0), math.rad(10)), 0.3)
  2074. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3)
  2075. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2076. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2077. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2078. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  2079. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  2080. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  2081. end
  2082. end
  2083. end
  2084. end
  2085. end
  2086. end
  2087. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement