JacksoMykalJunior

War Hammer [FE]

Mar 3rd, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 133.82 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  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 = owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  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. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88.  
  89.  
  90. --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: YOU DONT GOT TO CHANGE NOTHING! JUST MAKE THIS LOCAL AND RUN IT
  91.  
  92.  
  93. Ancor = game:GetService("Players")
  94.  
  95. me = owner
  96. char = me.Character
  97. Modelname = "Warhammah"
  98. Toolname = "Warhammar"
  99. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  100. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  101. selected = false
  102. effectOn = false
  103. Hurt = false
  104. Leghurt = false
  105. Deb = true
  106. LegDeb = true
  107. Able = true
  108. Resting = false
  109. RestingAnim = false
  110. AbleG = true
  111. Prop = {Damage = 62, Legdmg = 50, AS = 90, ShockDMG = 50, Rage = 1000000, RageIncome = 1, MaxRage = 1000000}
  112. Prop.AS = Prop.AS/300
  113. Cam = workspace.CurrentCamera
  114.  
  115. ToolIcon = "http://www.roblox.com/asset/?id=49192762"
  116. MouseIc = "http://www.roblox.com/asset/?id=49192792"
  117. MouseDo = "http://www.roblox.com/asset/?id=49192819"
  118.  
  119. Add = {
  120. Sphere = function(P)
  121. local m = Instance.new("SpecialMesh",P)
  122. m.MeshType = "Sphere"
  123. return m
  124. end,
  125. BF = function(P)
  126. local bf = Instance.new("BodyForce",P)
  127. bf.force = Vector3.new(0, P:GetMass()*187, 0)
  128. return bf
  129. end,
  130. BP = function(P)
  131. local bp = Instance.new("BodyPosition",P)
  132. bp.maxForce = Vector3.new(math.huge, 0, math.huge)
  133. bp.P = 14000
  134. return bp
  135. end,
  136. BG = function(P)
  137. local bg = Instance.new("BodyGyro",P)
  138. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  139. bg.P = 14000
  140. return bg
  141. end,
  142. Mesh = function(P, ID, x, y, z)
  143. local m = Instance.new("SpecialMesh")
  144. m.MeshId = ID
  145. m.Scale = Vector3.new(x, y, z)
  146. m.Parent = P
  147. return m
  148. end,
  149. Sound = function(P, ID, vol, pitch)
  150. local s = Instance.new("Sound")
  151. s.SoundId = ID
  152. s.Volume = vol
  153. s.Pitch = pitch
  154. s.Parent = P
  155. return s
  156. end
  157. }
  158.  
  159. function find(tab, arg)
  160. local ah = nil
  161. for i,v in pairs(tab) do
  162. if v == arg then
  163. ah = v
  164. end
  165. end
  166. return ah
  167. end
  168.  
  169. function getAllParts(from)
  170. local t = {}
  171. function getParts(where)
  172. for i, v in pairs(where:children()) do
  173. if v:IsA("BasePart") then
  174. if v.Parent ~= char and v.Parent.Parent ~= char then
  175. table.insert(t, v)
  176. end
  177. end
  178. getParts(v)
  179. end
  180. end
  181. getParts(workspace)
  182. return t
  183. end
  184.  
  185. function RayCast(pos1, pos2, maxDist, forward)
  186. local list = getAllParts(workspace)
  187. local pos0 = pos1
  188. for dist = 1, maxDist, forward do
  189. pos0 = (CFrame.new(pos1, pos2) * CFrame.new(0, 0, -dist)).p
  190. for _, v in pairs(list) do
  191. local pos3 = v.CFrame:pointToObjectSpace(pos0)
  192. local s = v.Size
  193. if pos3.x > -(s.x/2) and pos3.x < (s.x/2) and pos3.y > -(s.y/2) and pos3.y < (s.y/2) and pos3.z > -(s.z/2) and pos3.x < (s.z/2) and v.CanCollide and v:GetMass() > 14 then
  194. return pos0, v
  195. end
  196. end
  197. end
  198. return pos0, nil
  199. end
  200.  
  201. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  202. local p = Instance.new("Part")
  203. p.formFactor = "Custom"
  204. p.Anchored = Anchor
  205. p.CanCollide = Collide
  206. p.Transparency = Tran
  207. p.Reflectance = Ref
  208. p.BrickColor = BrickColor.new(Color)
  209. for _, Surf in pairs(Surfaces) do
  210. p[Surf] = "Smooth"
  211. end
  212. p.Size = Vector3.new(X, Y, Z)
  213. if Break then
  214. p:BreakJoints()
  215. else p:MakeJoints() end
  216. p.Parent = Parent
  217. p.Locked = true
  218. return p
  219. end
  220.  
  221. function Weld(p0, p1, x, y, z, a, b, c)
  222. local w = Instance.new("Weld")
  223. w.Parent = p0
  224. w.Part0 = p0
  225. w.Part1 = p1
  226. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
  227. return w
  228. end
  229.  
  230. function ComputePos(pos1, pos2)
  231. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  232. return CFrame.new(pos1, pos3)
  233. end
  234.  
  235. function getHumanoid(c)
  236. local h = nil
  237. for i,v in pairs(c:children()) do
  238. if v:IsA("Humanoid") and c ~= char then
  239. if v.Health > 0 then
  240. h = v
  241. end
  242. end
  243. end
  244. return h
  245. end
  246.  
  247. for i,v in pairs(char:children()) do
  248. if v.Name == Modelname then
  249. v:remove()
  250. end
  251. end
  252.  
  253. pcall(function() me.PlayerGui:findFirstChild("RaigMeter",true):remove() end)
  254.  
  255. Sc = Instance.new("ScreenGui",me:findFirstChild("PlayerGui"))
  256. Sc.Name = "RaigMeter"
  257.  
  258. Fr = Instance.new("Frame",Sc)
  259. Fr.Size = UDim2.new(0, 250, 0, 28)
  260. Fr.Position = UDim2.new(0.5, -125, 0, 5)
  261. Fr.BackgroundColor3 = Color3.new(0.8, 0.3, 0.1)
  262.  
  263. Met = Instance.new("Frame", Fr)
  264. Met.Size = UDim2.new(1, -10, 1, -6)
  265. Met.Position = UDim2.new(0, 5, 0, 3)
  266. Met.BackgroundColor3 = Color3.new(0, 0, 0)
  267. Met.BorderSizePixel = 0
  268.  
  269. Meter = Instance.new("ImageLabel", Met)
  270. Meter.Size = UDim2.new(Prop.Rage/Prop.MaxRage, 0, 1, -2)
  271. Meter.Position = UDim2.new(0, 0, 0, 1)
  272. Meter.Image = "http://www.roblox.com/asset/?id=48965808"
  273. Meter.BorderSizePixel = 0
  274. Meter.BackgroundColor3 = Color3.new(1, 0.6, 0.1)
  275.  
  276. Tx = Instance.new("TextLabel", Met)
  277. Tx.Size = UDim2.new(0, 0, 1, 0)
  278. Tx.Position = UDim2.new(0, 5, 0, 0)
  279. Tx.Text = Prop.Rage.." / "..Prop.MaxRage
  280. Tx.Font = "ArialBold"
  281. Tx.FontSize = "Size18"
  282. Tx.BackgroundTransparency = 1
  283. Tx.TextColor3 = Color3.new(1, 0, 0)
  284. Tx.TextXAlignment = "Left"
  285.  
  286. laast = Prop.Rage
  287. coroutine.resume(coroutine.create(function()
  288. while true do
  289. wait()
  290. if Prop.Rage > Prop.MaxRage then Prop.Rage = Prop.MaxRage end
  291. if laast ~= Prop.Rage then
  292. Meter.Size = UDim2.new(Prop.Rage/Prop.MaxRage, 0, 1, -2)
  293. laast = Prop.Rage
  294. Tx.Text = Prop.Rage.." / "..Prop.MaxRage
  295. end
  296. end
  297. end))
  298.  
  299. torso = char.Torso
  300. neck = torso.Neck
  301. hum = char.Humanoid
  302. Rarm = char["Right Arm"]
  303. Larm = char["Left Arm"]
  304. Rleg = char["Right Leg"]
  305. Lleg = char["Left Leg"]
  306.  
  307. hc = Instance.new("Humanoid")
  308. hc.Health = 0
  309. hc.MaxHealth = 0
  310.  
  311. slash = Add.Sound(nil, "rbxasset://sounds//swordslash.wav", 0.9, 0.8)
  312. hitsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2801263", 0.7, 0.6)
  313. charge = Add.Sound(nil, "http://www.roblox.com/asset/?id=2101137", 0.8, 0.65)
  314. boom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2691586", 0.8, 0.3)
  315. smashsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2692806", 0.8, 0.35)
  316. boomboom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2760979", 1, 0.18)
  317. equip = Add.Sound(nil, "rbxasset://sounds\\unsheath.wav", 0.6, 0.7)
  318.  
  319. function PlaySound(sound, pitch)
  320. local s = sound:clone()
  321. if pitch ~= nil then
  322. if tonumber(pitch) then
  323. s.Pitch = tonumber(pitch)
  324. end
  325. end
  326. s.Parent = torso
  327. s.PlayOnRemove = true
  328. coroutine.resume(coroutine.create(function()
  329. wait()
  330. s:remove()
  331. end))
  332. end
  333.  
  334. Mo = Instance.new("Model")
  335. Mo.Name = Modelname
  336.  
  337. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  338. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  339. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  340. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  341.  
  342. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  343. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  344. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  345. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  346.  
  347. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  348. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  349. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  350. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  351.  
  352. HB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1, true)
  353. HBW = Weld(Rarm, HB, 0, 1, 0, 0, 0, 0)
  354. HW = Weld(HB, nil, 0, -1.3, 0, math.pi/2, 0, 0)
  355.  
  356. TH = Weld(torso, nil, -0.8, 0.1, 0, 0, math.pi/2, math.rad(-140))
  357.  
  358. RAWStand, LAWStand, RLWStand, LLWStand, HWStand = nil
  359.  
  360. handle = Part(Mo, false, false, 0, 0, "Bright red", 0.4, 5, 0.4, true)
  361. handle.Name = "Handle"
  362. Instance.new("SpecialMesh",handle)
  363.  
  364. maintip = Part(Mo, false, false, 1, 0, "Bright yellow", 0.6, 0.5, 0.6, true)
  365. Weld(handle, maintip, 0, -1.8, 0, 0, 0, 0)
  366.  
  367. DMGParts = {}
  368.  
  369. for i = 0, 135, 45 do
  370. local tip = Part(Mo, false, false, 0, 0, "Really black", 0.54, 1.3, 2.2, true)
  371. Instance.new("BlockMesh",tip)
  372. Weld(maintip, tip, 0, 0, 0, 0, 0, math.rad(i))
  373. table.insert(DMGParts, tip)
  374. for a = -0.9, 0.9, 1.8 do
  375. for x = 0, math.pi, math.pi do
  376. local spike = Part(Mo, false, false, 0, 0, "Really black", 0.3, 0.5, 0.3, true)
  377. local w = Weld(tip, spike, 0, 0, 0, 0, 0, 0)
  378. w.C0 = CFrame.new(0, 0, a) * CFrame.Angles(x, 0, 0)
  379. w.C1 = CFrame.new(0, -1, 0)
  380. Add.Mesh(spike, "http://www.roblox.com/asset/?id=1033714", 0.14, 1, 0.14)
  381. local trim = Part(Mo, false, false, 0, 0, "Bright red", 0.67, 0.1, 0.5, true)
  382. local w2 = Weld(tip, trim, 0, 0, 0, 0, 0, 0)
  383. w2.C0 = CFrame.new(0, 0, a) * CFrame.Angles(x, 0, 0)
  384. w2.C1 = CFrame.new(0, -0.58, 0)
  385. end
  386. end
  387. end
  388.  
  389. spiketip = Part(Mo, false, false, 0, 0.2, "Really black", 0.3, 0.8, 0.3, true)
  390. Weld(handle, spiketip, 0, -3.1, 0, 0, 0, 0)
  391. Add.Mesh(spiketip, "http://www.roblox.com/asset/?id=1033714", 0.17, 2, 0.17)
  392.  
  393. table.insert(DMGParts, spiketip)
  394.  
  395. local handletip1 = Part(Mo, false, false, 0, 0.2, "Bright red", 0.5, 0.5, 0.5, true)
  396. local w1 = Weld(handle, handletip1, 0, 0, 0, 0, 0, 0)
  397. w1.C0 = CFrame.new(0, -2.6, 0)
  398. Add.Mesh(handletip1, "http://www.roblox.com/asset/?id=9756362", 0.85, 0.75, 0.85)
  399.  
  400. local handletip2 = Part(Mo, false, false, 0, 0.2, "Really black", 0.5, 0.5, 0.5, true)
  401. Weld(handletip1, handletip2, 0, 0, 0, 0, math.rad(45), 0)
  402. Add.Mesh(handletip2, "http://www.roblox.com/asset/?id=9756362", 0.95, 0.5, 0.95)
  403.  
  404.  
  405. Mo.Parent = char
  406. TH.Part1 = handle
  407.  
  408. function showdmg(dmg, p, pos)
  409. local mo = Instance.new("Model")
  410. mo.Name = dmg
  411. local pa = Part(mo, false, true, 0, 0, "Bright red", 0.8, 0.3, 0.8, true)
  412. pa.CFrame = CFrame.new(p.Position) * CFrame.new(0, pos, 0)
  413. pa.Name = "Head"
  414. local hah = hc:clone()
  415. hah.Parent = mo
  416. local bp = Add.BP(pa)
  417. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  418. bp.position = p.Position + Vector3.new(0, 3+pos, 0)
  419. Add.BG(pa)
  420. coroutine.resume(coroutine.create(function()
  421. wait()
  422. mo.Parent = workspace
  423. wait(1.4)
  424. mo:remove()
  425. end))
  426. end
  427.  
  428.  
  429. function damage(hum, p, num, dm1, dm2)
  430. local dmg = math.random(dm1, dm2)
  431. hum.Health = hum.Health - dmg
  432. showdmg(dmg, p, num)
  433. return dmg
  434. end
  435.  
  436. function brickdamage(hit)
  437. local h = getHumanoid(hit.Parent)
  438. if h ~= nil and Hurt and Deb then
  439. Deb = false
  440. local dmg = damage(h, maintip, 0, Prop.Damage/4, Prop.Damage)
  441. PlaySound(hitsound)
  442. Prop.Rage = math.floor(Prop.Rage + (dmg*Prop.RageIncome))
  443. wait(0.3)
  444. Deb = true
  445. end
  446. end
  447.  
  448. function legdamage(hit)
  449. local h = getHumanoid(hit.Parent)
  450. if h ~= nil and Leghurt and LegDeb then
  451. LegDeb = false
  452. local dmg = damage(h, Rleg, 0, Prop.Legdmg/2, Prop.Legdmg)
  453. PlaySound(hitsound)
  454. Prop.Rage = math.floor(Prop.Rage + (dmg*Prop.RageIncome))
  455. coroutine.resume(coroutine.create(function()
  456. local haha = math.random(1,3)
  457. if haha == 1 then
  458. h.PlatformStand = true
  459. wait()
  460. local ps = getAllParts(h.Parent)
  461. for i, v in pairs(ps) do
  462. if v.Anchored == false then
  463. v.Velocity = CFrame.new(handle.Position, v.Position).lookVector * 40
  464. v.RotVelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  465. end
  466. end
  467. wait(0.8)
  468. h.PlatformStand = false
  469. end
  470. end))
  471. wait(0.2)
  472. LegDeb = true
  473. end
  474. end
  475.  
  476. for i, v in pairs({Rleg, Lleg}) do
  477. v.Touched:connect(legdamage)
  478. end
  479.  
  480. for i,v in pairs(DMGParts) do
  481. v.Touched:connect(brickdamage)
  482. end
  483.  
  484. if script.Parent.className ~= "HopperBin" then
  485. h = Instance.new("HopperBin",me.Backpack)
  486. h.Name = Toolname
  487. h.TextureId = ToolIcon
  488. script.Parent = h
  489. end
  490.  
  491. bin = script.Parent
  492.  
  493. function StartEffect(part)
  494. effectOn = true
  495. local lastPoint = part.Position
  496. coroutine.resume(coroutine.create(function()
  497. while effectOn do
  498. wait()
  499. local point = CFrame.new(lastPoint, part.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  500. local mag = (lastPoint - part.Position).magnitude
  501. local p = Part(workspace, true, false, 0.1, 0, "Really black", 1, 1, 1, true)
  502. local m = Instance.new("SpecialMesh",p)
  503. p.CFrame = point * CFrame.new(0, mag/2, 0)
  504. m.Scale = Vector3.new(1.2, mag+0.6, 1.2)
  505. lastPoint = part.Position
  506. coroutine.resume(coroutine.create(function() for i = 0.1, 1, 0.9/5 do wait() p.Transparency = i end p:remove() end))
  507. end
  508. end))
  509. end
  510.  
  511. function EndEffect()
  512. effectOn = false
  513. end
  514.  
  515. function detach(bool)
  516. LLW.C0 = CFrame.new(0, 0, 0)
  517. RLW.C0 = CFrame.new(0, 0, 0)
  518. LAW.C0 = CFrame.new(0,0,0)
  519. RAW.C0 = CFrame.new(0, 0, 0)
  520. if bool then
  521. LLW.Part1 = nil
  522. RLW.Part1 = nil
  523. RAW.Part1 = nil
  524. LAW.Part1 = nil
  525. end
  526. end
  527.  
  528. function attach()
  529. RAW.Part1 = Rarm
  530. LAW.Part1 = Larm
  531. RLW.Part1 = Rleg
  532. LLW.Part1 = Lleg
  533. end
  534.  
  535. function normal()
  536. neck.C0 = necko
  537. RAW.C0 = RAWStand
  538. LAW.C0 = LAWStand
  539. RLW.C0 = RLWStand
  540. LLW.C0 = LLWStand
  541. RAW.C1 = CFrame.new(0, 0.5, 0)
  542. LAW.C1 = CFrame.new(0, 0.5, 0)
  543. RLW.C1 = CFrame.new(0, 0.8, 0)
  544. LLW.C1 = CFrame.new(0, 0.8, 0)
  545. HW.C0 = HWStand
  546. end
  547.  
  548. function idleanim()
  549. attach()
  550. for i = 0, 10, 10/22 do
  551. RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(i), 0)
  552. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-i), 0, 0)
  553. RLW.C0 = RLWStand * CFrame.Angles(math.rad(i/8), 0, math.rad(-i/6))
  554. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-i/8), 0, math.rad(i/6))
  555. neck.C0 = necko * CFrame.Angles(math.rad(-i/2), 0, 0)
  556. if selected == false or torso.Velocity.magnitude > 2 or Able == false or RestingAnim == true then break end
  557. wait()
  558. end
  559. wait()
  560. for i = 10, 0, -10/29 do
  561. RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(i), 0)
  562. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-i), 0, 0)
  563. RLW.C0 = RLWStand * CFrame.Angles(math.rad(i/8), 0, math.rad(-i/6))
  564. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-i/8), 0, math.rad(i/6))
  565. neck.C0 = necko * CFrame.Angles(math.rad(-i/2), 0, 0)
  566. if selected == false or torso.Velocity.magnitude > 2 or Able == false or RestingAnim == true then break end
  567. wait()
  568. end
  569. normal()
  570. end
  571.  
  572. function runanim()
  573. RLW.Part1 = nil
  574. LLW.Part1 = nil
  575. end
  576.  
  577. coroutine.resume(coroutine.create(function()
  578. while true do
  579. wait()
  580. if selected and Able == true and RestingAnim == false then
  581. if torso.Velocity.magnitude < 2 then
  582. idleanim()
  583. wait()
  584. else
  585. runanim()
  586. wait()
  587. end
  588. end
  589. end
  590. end))
  591.  
  592. function selectanim()
  593. if RestingAnim == false and Able == true then
  594. local ah = CFrame.Angles(0, 0, math.rad(90))
  595. RAW.Part1 = Rarm
  596. for i = 0, 270, 270/5 do
  597. RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
  598. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i/5))
  599. wait()
  600. end
  601. HW.C0 = ah
  602. HW.Part1 = handle
  603. TH.Part1 = nil
  604. PlaySound(equip)
  605. for i = 270, 70, -200/13 do
  606. RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
  607. neck.C0 = necko * CFrame.Angles(math.rad((i-270)/7), 0, math.rad(-i/5))
  608. wait()
  609. end
  610. attach()
  611. for i = 70, 120, 50/8 do
  612. local asd = i-70
  613. RAW.C0 = CFrame.new(-(i-70)/240, 0, -i/500) * CFrame.Angles(math.rad(70), math.rad(70/4+(i-70)), math.rad(-(i-70)/4))
  614. LAW.C0 = CFrame.Angles(math.rad(asd*1.5), 0, math.rad(asd/2)) * CFrame.new(asd/100, -asd/70, 0)
  615. HW.C0 = ah * CFrame.Angles(0, 0, math.rad(-asd*1.8))
  616. neck.C0 = necko * CFrame.Angles(math.rad(-200/7+(asd/2)), 0, math.rad(-70/5+(asd/5)))
  617. RLW.C0 = CFrame.Angles(0, 0, math.rad(asd/4))
  618. LLW.C0 = CFrame.Angles(0, 0, math.rad(-asd/4))
  619. wait()
  620. end
  621. if RAWStand == nil then
  622. RAWStand = RAW.C0
  623. LAWStand = LAW.C0
  624. RLWStand = RLW.C0
  625. LLWStand = LLW.C0
  626. HWStand = HW.C0
  627. end
  628. normal()
  629. end
  630. end
  631.  
  632. function deselanim()
  633. if RestingAnim == false and Able == true then
  634. local ah = CFrame.Angles(0, 0, math.rad(90))
  635. for i = 120, 70, -50/8 do
  636. local asd = i-70
  637. RAW.C0 = CFrame.new(-(i-70)/240, 0, -i/500) * CFrame.Angles(math.rad(70), math.rad(70/4+(i-70)), math.rad(-(i-70)/4))
  638. LAW.C0 = CFrame.Angles(math.rad(asd*1.5), 0, math.rad(asd/2)) * CFrame.new(asd/100, -asd/70, 0)
  639. HW.C0 = ah * CFrame.Angles(0, 0, math.rad(-asd*1.8))
  640. neck.C0 = necko * CFrame.Angles(math.rad(-200/7+(asd/2)), 0, math.rad(-70/5+(asd/5)))
  641. RLW.C0 = CFrame.Angles(0, 0, math.rad(asd/4))
  642. LLW.C0 = CFrame.Angles(0, 0, math.rad(-asd/4))
  643. wait()
  644. end
  645. LLW.Part1 = nil
  646. RLW.Part1 = nil
  647. LAW.Part1 = nil
  648. for i = 70, 270, 200/13 do
  649. RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
  650. neck.C0 = necko * CFrame.Angles(math.rad((i-270)/7), 0, math.rad(-i/5))
  651. wait()
  652. end
  653. HW.C0 = ah
  654. HW.Part1 = nil
  655. TH.Part1 = handle
  656. for i = 270, 0, -270/6 do
  657. RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
  658. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i/5))
  659. wait()
  660. end
  661. neck.C0 = necko
  662. detach(true)
  663. end
  664. end
  665.  
  666. function smash(mouse)
  667. attach()
  668. local mouseHit = mouse
  669. local Orig = torso.CFrame
  670. local bg = Add.BG(torso)
  671. local bp = Add.BP(torso)
  672. bp.position = Orig.p
  673. local CF = ComputePos(Orig.p, mouseHit)
  674. local CF2 = CF
  675. bg.cframe = CF2
  676. PlaySound(slash)
  677. for i = 0, 1, Prop.AS*1.1 do
  678. RAW.C0 = RAWStand * CFrame.Angles(math.rad(80*i), 0, math.rad(45*i)) * CFrame.new(0, -0.4*i, 0)
  679. LAW.C0 = LAWStand * CFrame.Angles(math.rad(75*i), 0, math.rad(40*i)) * CFrame.new(0, -0.5*i, 0)
  680. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20*i), math.rad(16*i), math.rad(-8*i))
  681. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30*i), math.rad(-16*i), math.rad(8*i))
  682. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(30*i))
  683. neck.C0 = necko * CFrame.Angles(math.rad(-35*i), 0, math.rad(-10*i))
  684. wait()
  685. end
  686. bp.position = CF * CFrame.new(0, 0, -1.1).p
  687. StartEffect(maintip)
  688. Hurt = true
  689. for i = 0, 1, Prop.AS*1.5 do
  690. RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-150*i), math.rad(-45*i), math.rad(45-140*i)) * CFrame.new(0, -0.4, 0)
  691. LAW.C0 = LAWStand * CFrame.Angles(math.rad(75-180*i), math.rad(80*i), math.rad(40-20*i)) * CFrame.new(0, -0.5, 0)
  692. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-50*i), math.rad(16-16*i), math.rad(-8+8*i))
  693. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30+40*i), math.rad(-16+16*i), math.rad(8-8*i))
  694. HW.C0 = HWStand * CFrame.Angles(math.rad(-48*i), 0, math.rad(30))
  695. neck.C0 = necko * CFrame.Angles(math.rad(-35+75*i), 0, math.rad(-10+26*i))
  696. wait()
  697. end
  698. Hurt = false
  699. EndEffect()
  700. PlaySound(smashsound)
  701. bp.position = CF * CFrame.new(0, 0, -1.9).p
  702. for i = 0, 1, Prop.AS do
  703. RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-150+80*i), math.rad(-45+45*i), math.rad(45-140+95*i)) * CFrame.new(0, -0.4+0.4*i, 0)
  704. LAW.C0 = LAWStand * CFrame.Angles(math.rad(75-180+105*i), math.rad(80-80*i), math.rad(20-20*i)) * CFrame.new(0, -0.5+0.5*i, 0)
  705. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-50+30*i), 0, 0)
  706. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30+40-10*i), 0, 0)
  707. HW.C0 = HWStand * CFrame.Angles(math.rad(-48+48*i), 0, math.rad(30-30*i))
  708. neck.C0 = necko * CFrame.Angles(math.rad(-35+75-40*i), 0, math.rad(-10+26-16*i))
  709. wait()
  710. end
  711. normal()
  712. bg:remove()
  713. bp:remove()
  714. end
  715.  
  716. function swing(mouse)
  717. attach()
  718. local mouseHit = mouse
  719. local Orig = torso.CFrame
  720. local bg = Add.BG(torso)
  721. local bp = Add.BP(torso)
  722. bp.position = Orig.p
  723. local CF = ComputePos(Orig.p, mouseHit)
  724. local CF2 = CF
  725. bg.cframe = CF2
  726. PlaySound(slash)
  727. for i = 0, 1, Prop.AS*1.5 do
  728. RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(-140*i), 0) * CFrame.new(0, 0, 0)
  729. LAW.C0 = LAWStand * CFrame.Angles(math.rad(25*i), 0, math.rad(20*i)) * CFrame.new(0, -0.4*i, 0)
  730. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20*i), 0, 0)
  731. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10*i), 0, 0)
  732. HW.C0 = HWStand * CFrame.Angles(0, math.rad(-10*i), 0)
  733. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50*i))
  734. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-40*i), 0)
  735. wait()
  736. end
  737. Hurt = true
  738. StartEffect(maintip)
  739. for i = 0, 1, Prop.AS*1.3 do
  740. RAW.C0 = RAWStand * CFrame.Angles(math.rad(70*i), math.rad(-140), 0) * CFrame.new(0, -0.9*i, 0)
  741. LAW.C0 = LAWStand * CFrame.Angles(math.rad(25), 0, math.rad(20-100*i)) * CFrame.new(0, -0.4+0.6*i, 0)
  742. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20), 0, 0)
  743. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10), 0, 0)
  744. HW.C0 = HWStand * CFrame.Angles(math.rad(-70*i), math.rad(-15), 0) * CFrame.new(0, 0, -0.9*i)
  745. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50+90*i))
  746. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-40+80*i), 0)
  747. wait()
  748. end
  749. EndEffect()
  750. Hurt = false
  751. for i = 0, 1, Prop.AS*0.8 do
  752. RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-70*i), math.rad(-140+140*i), 0) * CFrame.new(0, -0.9+0.9*i, 0)
  753. LAW.C0 = LAWStand * CFrame.Angles(math.rad(25-25*i), 0, math.rad(20-100+80*i)) * CFrame.new(0, -0.4+0.6-0.2*i, 0)
  754. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-20*i), 0, 0)
  755. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10+10*i), 0, 0)
  756. HW.C0 = HWStand * CFrame.Angles(math.rad(-70+70*i), math.rad(-15+15*i), 0) * CFrame.new(0, 0, -0.9+0.9*i)
  757. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50+90-40*i))
  758. bg.cframe = CF2 * CFrame.Angles(0, math.rad(40-40*i), 0)
  759. wait()
  760. end
  761. normal()
  762. bg:remove()
  763. bp:remove()
  764. end
  765.  
  766. function stab(mouse)
  767. attach()
  768. local mouseHit = mouse
  769. local Orig = torso.CFrame
  770. local bg = Add.BG(torso)
  771. local bp = Add.BP(torso)
  772. bp.position = Orig.p
  773. local CF = ComputePos(Orig.p, mouseHit)
  774. local CF2 = CF
  775. bg.cframe = CF2
  776. PlaySound(slash)
  777. for i = 0, 1, Prop.AS do
  778. RAW.C0 = RAWStand * CFrame.new(0, 0.6*i, 0) * CFrame.Angles(math.rad(-60*i), math.rad(-40*i), math.rad(-30*i)) * CFrame.new(-0.45*i, 0, 0)
  779. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50*i), 0, math.rad(40*i)) * CFrame.new(0, -0.6*i, 0)
  780. RLW.C0 = RLWStand * CFrame.Angles(math.rad(3*i), math.rad(20*i), math.rad(-10*i))
  781. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3*i), math.rad(-20*i), math.rad(10*i))
  782. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1*i)
  783. neck.C0 = necko * CFrame.Angles(math.rad(25*i), 0, math.rad(-45*i))
  784. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30*i), 0)
  785. wait()
  786. end
  787. StartEffect(maintip)
  788. Hurt = true
  789. bp.position = CF * CFrame.new(0, 0, -0.6).p
  790. for i = 0, 1, Prop.AS*1.5 do
  791. RAW.C0 = RAWStand * CFrame.new(0, 0.6-0.8*i, 0) * CFrame.Angles(math.rad(-60+100*i), math.rad(-40), math.rad(-30+70*i)) * CFrame.new(-0.45, 0, 0)
  792. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50+60*i), 0, math.rad(40-30*i)) * CFrame.new(0, -0.6-0.4*i, 0)
  793. RLW.C0 = RLWStand * CFrame.Angles(math.rad(3-18*i), math.rad(20-40*i), math.rad(-10+20*i))
  794. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3+18*i), math.rad(-20+40*i), math.rad(10-20*i))
  795. HW.C0 = HWStand * CFrame.Angles(math.rad(-70*i), 0, 0) * CFrame.new(0, 0, 1-1.4*i)
  796. neck.C0 = necko * CFrame.Angles(math.rad(25-20*i), 0, math.rad(-45+35*i))
  797. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30+45*i), 0)
  798. wait()
  799. end
  800. Hurt = false
  801. EndEffect()
  802. bp.position = CF.p
  803. for i = 0, 1, Prop.AS*1.1 do
  804. RAW.C0 = RAWStand * CFrame.new(0, 0.6-0.8+0.2*i, 0) * CFrame.Angles(math.rad(-60+100-40*i), math.rad(-40+40*i), math.rad(-30+70-40*i)) * CFrame.new(-0.45+0.45*i, 0, 0)
  805. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50+60-10*i), 0, math.rad(40-30-10*i)) * CFrame.new(0, -0.6-0.4+1*i, 0)
  806. RLW.C0 = RLWStand * CFrame.Angles(math.rad(3-18+15*i), math.rad(20-40+20*i), math.rad(-10+20-10*i))
  807. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3+18-15*i), math.rad(-20+40-20*i), math.rad(10-20+10*i))
  808. HW.C0 = HWStand * CFrame.Angles(math.rad(-70+70*i), 0, 0) * CFrame.new(0, 0, 1-1.4+0.4*i)
  809. neck.C0 = necko * CFrame.Angles(math.rad(5-5*i), 0, math.rad(-10+10*i))
  810. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30+45-15*i), 0)
  811. wait()
  812. end
  813. normal()
  814. bg:remove()
  815. bp:remove()
  816. end
  817.  
  818. function epicsmashfunc(hit)
  819. local ch = hit.Parent
  820. local h = getHumanoid(ch)
  821. local t, head = ch:findFirstChild("Torso"), ch:findFirstChild("Head")
  822. return h, t, head
  823. end
  824.  
  825. function epicsmash(mouse)
  826. if Prop.Rage >= 50 then
  827. attach()
  828. local mouseHit = mouse
  829. local Orig = torso.CFrame
  830. local bg = Add.BG(torso)
  831. local bp = Add.BP(torso)
  832. bp.position = Orig.p
  833. local CF = ComputePos(Orig.p, mouseHit)
  834. bg.cframe = CF
  835. local hu, to, head = nil, nil, nil
  836. local Epic = true
  837. local conn = Lleg.Touched:connect(function(hit)
  838. if Epic then
  839. hu, to, head = epicsmashfunc(hit)
  840. if hu and to and head then Epic = false end
  841. end
  842. end)
  843. PlaySound(slash)
  844. for i = 0, 1, 0.12 do
  845. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160*i), math.rad(-30*i), math.rad(-80*i)) * CFrame.new(0, 0, 0)
  846. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80*i), 0, math.rad(-70*i)) * CFrame.new(0, -0.4*i, 0.6*i)
  847. RLW.C0 = RLWStand * CFrame.Angles(0, 0, math.rad(20*i)) * CFrame.new(0, 0, 0)
  848. LLW.C0 = LLWStand * CFrame.Angles(math.rad(115*i), 0, math.rad(-40*i)) * CFrame.new(0, -0.8*i, 0)
  849. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 2*i)
  850. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52*i))
  851. bg.cframe = CF * CFrame.Angles(math.rad(10*i), math.rad(-45*i), math.rad(-15*i))
  852. wait()
  853. end
  854. conn:disconnect()
  855. if hu and to and head then
  856. Prop.Rage = Prop.Rage - 50
  857. hu.PlatformStand = true
  858. local bg2 = Add.BG(to)
  859. bg2.P = 6000
  860. bg2.cframe = CF * CFrame.Angles(math.rad(90), math.rad(180), math.rad(90))
  861. local bp2 = Add.BP(to)
  862. bp2.position = CF * CFrame.new(-1, -4, -4).p
  863. bp2.P = 5000
  864. wait(0.1)
  865. for i = 0, 1, 0.045 do
  866. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+270*i), math.rad(-30+20*i), math.rad(-80+120*i))
  867. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+140*i), 0, math.rad(-70+120*i)) * CFrame.new(0, -0.4-0.1*i, 0.6-0.6*i)
  868. RLW.C0 = RLWStand * CFrame.Angles(0, 0, math.rad(20-20*i)) * CFrame.new(0, 0, 0)
  869. LLW.C0 = LLWStand * CFrame.Angles(math.rad(115-115*i), 0, math.rad(-40+40*i)) * CFrame.new(0, -0.8+0.8*i, 0)
  870. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 2-2*i)
  871. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52-37*i))
  872. bg.cframe = CF * CFrame.Angles(math.rad(10-10*i), math.rad(-45+35*i), math.rad(-15+15*i))
  873. wait()
  874. end
  875. PlaySound(slash)
  876. bp2:remove()
  877. bg2:remove()
  878. wait(0.2)
  879. StartEffect(maintip)
  880. for i = 0, 1, 0.1 do
  881. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+270-190*i), math.rad(-30+20-35*i), math.rad(-80+120-135*i))
  882. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+140-150*i), math.rad(60*i), math.rad(-70+120-40*i)) * CFrame.new(0, -0.4-0.1, 0)
  883. RLW.C0 = RLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  884. LLW.C0 = LLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  885. HW.C0 = HWStand * CFrame.Angles(math.rad(-55*i), 0, math.rad(30*i)) * CFrame.new(0, 0, -1*i)
  886. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52-37+30*i))
  887. bg.cframe = CF * CFrame.Angles(math.rad(10-10), math.rad(-45+35-30*i), math.rad(-15+15))
  888. wait()
  889. end
  890. coroutine.resume(coroutine.create(function()
  891. local frr = Cam.CoordinateFrame
  892. for i = 1, math.random(3,6) do
  893. wait()
  894. Cam.CoordinateFrame = frr * CFrame.new(math.random(-6,6)/10, math.random(-6,6)/10, math.random(-6,6)/10)
  895. end
  896. end))
  897. PlaySound(smashsound)
  898. EndEffect()
  899. local pos = head.Position
  900. if (pos - maintip.Position).magnitude < 2 then
  901. damage(hu, head, 0.3, hu.Health, hu.Health)
  902. head:remove()
  903. PlaySound(hitsound)
  904. for i = 1, math.random(7, 17) do
  905. local hmm = math.random(1,6)
  906. if hmm < 6 then
  907. local cols = {"Bright red", "Really red"}
  908. local p = Part(workspace, false, false, 0, 0, cols[math.random(1,#cols)], math.random(2,10)/10, 0.2, math.random(2,10)/10)
  909. p.CFrame = CFrame.new(pos) * CFrame.new(math.random(-6,6)/10, math.random(-4,2)/10, math.random(-6, 6)/10)
  910. p.Velocity = Vector3.new(math.random(-15, 15), math.random(5, 40), math.random(-15, 15))
  911. p.RotVelocity = Vector3.new(math.random(-25,25), math.random(-25,25), math.random(-25,25))
  912. else
  913. local cols = {"Institutional white", "White"}
  914. local p = Part(workspace, false, false, 0, 0, cols[math.random(1,#cols)], math.random(4,13)/10, 0.3, math.random(2,3)/10)
  915. p.CFrame = CFrame.new(pos) * CFrame.new(math.random(-6,6)/10, math.random(-4,2)/10, math.random(-6, 6)/10)
  916. p.Velocity = Vector3.new(math.random(-15, 15), math.random(5, 40), math.random(-15, 15))
  917. p.RotVelocity = Vector3.new(math.random(-25,25), math.random(-25,25), math.random(-25,25))
  918. end
  919. end
  920. end
  921. for i = 0, 1, 0.06 do
  922. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+270-190+80*i), math.rad(-30+20-35+45*i), math.rad(-80+120-135+95*i))
  923. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+140-150+90*i), math.rad(60-60*i), math.rad(10-10*i)) * CFrame.new(0, -0.4-0.1+0.5*i, 0)
  924. RLW.C0 = RLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  925. LLW.C0 = LLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  926. HW.C0 = HWStand * CFrame.Angles(math.rad(-55+55*i), 0, math.rad(30-30*i)) * CFrame.new(0, 0, -1+1*i)
  927. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(45-45*i))
  928. bg.cframe = CF * CFrame.Angles(0, math.rad(-45+35-20+30*i), 0)
  929. wait()
  930. end
  931. else
  932. for i = 0, 1, 0.08 do
  933. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+160*i), math.rad(-30+30*i), math.rad(-80+80*i)) * CFrame.new(0, 0, 0)
  934. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+80*i), 0, math.rad(-70+70*i)) * CFrame.new(0, -0.4+0.4*i, 0.6-0.6*i)
  935. RLW.C0 = RLWStand * CFrame.Angles(0, 0, math.rad(20-20*i)) * CFrame.new(0, 0, 0)
  936. LLW.C0 = LLWStand * CFrame.Angles(math.rad(115-115*i), 0, math.rad(-40+40*i)) * CFrame.new(0, -0.8+0.8*i, 0)
  937. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 2-2*i)
  938. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52-52*i))
  939. bg.cframe = CF * CFrame.Angles(math.rad(10-10*i), math.rad(-45+45*i), math.rad(-15+15*i))
  940. wait()
  941. end
  942. bg:remove()
  943. bp:remove()
  944. normal()
  945. end
  946. normal()
  947. bg:remove()
  948. bp:remove()
  949. end
  950. end
  951.  
  952.  
  953. function shockwave(mouse)
  954. local p, t = RayCast(torso.Position, torso.CFrame * CFrame.new(0, -5, 0).p, 5, 1)
  955. if Prop.Rage >= 80 and t then
  956. Prop.Rage = Prop.Rage - 80
  957. attach()
  958. local mouseHit = mouse
  959. local Orig = torso.CFrame
  960. local bg = Add.BG(torso)
  961. local bp = Add.BP(torso)
  962. bp.position = Orig.p
  963. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  964. bp.P = 5000
  965. local CF = ComputePos(Orig.p, mouseHit)
  966. bg.cframe = CF
  967. PlaySound(charge)
  968. for i = 0, 1, 0.07 do
  969. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-110*i), math.rad(-40*i), math.rad(-50*i)) * CFrame.new(0.2*i, 0, 0.2*i)
  970. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100*i), 0, math.rad(-40*i)) * CFrame.new(-0.2*i, -0.4*i, 0.5*i)
  971. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15*i), 0, math.rad(-10*i)) * CFrame.new(0, 0.7*i, -0.8*i)
  972. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75*i), 0, math.rad(10*i)) * CFrame.new(0, 0.4*i, 0.2*i)
  973. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6*i)
  974. neck.C0 = necko * CFrame.Angles(math.rad(30*i), 0, 0)
  975. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  976. bp.position = Orig.p + Vector3.new(0, -1.9*i, 0)
  977. wait()
  978. end
  979. for i = 0, 1, 0.04 do
  980. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-110+220*i), math.rad(-40+50*i), math.rad(-50+90*i)) * CFrame.new(0.2-0.2*i, -0.85*i, 0.2-0.2*i)
  981. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100+185*i), 0, math.rad(-40+75*i)) * CFrame.new(-0.2-0.2*i, -0.4-0.05*i, 0.5-0.5*i)
  982. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15-25*i), 0, math.rad(-10+6*i)) * CFrame.new(0, 0.7-0.7*i, -0.8+0.8*i)
  983. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75+65*i), 0, math.rad(10-6*i)) * CFrame.new(0, 0.4-0.4*i, 0.2-0.2*i)
  984. HW.C0 = HWStand * CFrame.Angles(math.rad(-15*i), 0, 0) * CFrame.new(0, 0, 1.6-2.1*i)
  985. neck.C0 = necko * CFrame.Angles(math.rad(30-70*i), 0, 0)
  986. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  987. bp.position = Orig.p + Vector3.new(0, -1.9+17*i, 0)
  988. wait()
  989. end
  990. bp.P = 12001
  991. wait(0.1)
  992. StartEffect(maintip)
  993. PlaySound(slash)
  994. for i = 0, 1, 0.1 do
  995. RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150*i), math.rad(10-30*i), math.rad(40-90*i)) * CFrame.new(0, -0.85+0.85*i, -0.8*i)
  996. LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-125*i), 0, math.rad(35)) * CFrame.new(0, -0.45+0.1, 0)
  997. RLW.C0 = RLWStand * CFrame.Angles(math.rad(-10+25*i), 0, math.rad(-4+4*i)) * CFrame.new(0, 0.5*i, -0.8*i)
  998. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10-35*i), 0, math.rad(4-4*i)) * CFrame.new(0, 0.4*i, 0.2*i)
  999. HW.C0 = HWStand * CFrame.Angles(math.rad(-15-10*i), 0, 0) * CFrame.new(0, 0, -0.5+0.7*i)
  1000. neck.C0 = necko * CFrame.Angles(math.rad(-40+75*i), 0, math.rad(-20*i))
  1001. bg.cframe = CF * CFrame.Angles(0, math.rad(380*i), 0)
  1002. bp.position = Orig.p + Vector3.new(0, 15.1-16.7*i, 0)
  1003. wait()
  1004. end
  1005. coroutine.resume(coroutine.create(function()
  1006. local frr = Cam.CoordinateFrame
  1007. for i = 1, math.random(10,16) do
  1008. wait()
  1009. Cam.CoordinateFrame = frr * CFrame.new(math.random(-15,15)/10, math.random(-15,15)/10, math.random(-15,15)/10)
  1010. end
  1011. end))
  1012. PlaySound(smashsound)
  1013. local pos = CF * CFrame.new(-2, -3, -3).p
  1014. EndEffect()
  1015. local p = Part(workspace, true, false, 0, 0, "Black", 1, 1, 1, true)
  1016. p.CFrame = CFrame.new(pos)
  1017. local p2 = Part(workspace, true, false, 0, 0, "Black", 1, 1, 1, true)
  1018. p2.CFrame = CFrame.new(pos)
  1019. local p3 = Part(workspace, true, false, 0, 0, "Black", 1, 1, 1, true)
  1020. p3.CFrame = CFrame.new(pos)
  1021. local m3 = Instance.new("SpecialMesh",p3)
  1022. m3.MeshType = "Sphere"
  1023. PlaySound(boom)
  1024. local m2 = Instance.new("CylinderMesh",p2)
  1025. local m = Add.Mesh(p, "http://www.roblox.com/asset/?id=20329976", 1, 1.2, 1)
  1026. local tab = {}
  1027. coroutine.resume(coroutine.create(function()
  1028. for x = 0, 1.04, 0.04 do
  1029. wait()
  1030. local thing = 33*x
  1031. m.Scale = Vector3.new(21*x, 5*x, 21*x)
  1032. m2.Scale = Vector3.new(thing, 1, thing)
  1033. m3.Scale = Vector3.new(thing*0.93, thing*0.7, thing*0.93)
  1034. p.Transparency = x
  1035. p2.Transparency = x
  1036. p3.Transparency = x
  1037. for i, v in pairs(workspace:children()) do
  1038. local h = getHumanoid(v)
  1039. local to = v:findFirstChild("Torso")
  1040. if h ~= nil and to ~= nil and find(tab, v) == nil then
  1041. if (to.Position - pos).magnitude < (thing/2) then
  1042. damage(h, to, 0.5, Prop.ShockDMG/2, Prop.ShockDMG)
  1043. to.Velocity = CFrame.new(pos, to.Position).lookVector * 60
  1044. to.RotVelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  1045. h.PlatformStand = true
  1046. table.insert(tab, v)
  1047. coroutine.resume(coroutine.create(function() wait(1.2) h.PlatformStand = false end))
  1048. end
  1049. end
  1050. end
  1051. end
  1052. p:remove()
  1053. p2:remove()
  1054. p3:remove()
  1055. end))
  1056. wait(0.8)
  1057. for i = 0, 1, Prop.AS*0.8 do
  1058. RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150+40*i), math.rad(10-30+20*i), math.rad(40-90+50*i)) * CFrame.new(0, 0, -0.8+0.8*i)
  1059. LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-125+40*i), 0, math.rad(35-35*i)) * CFrame.new(0, -0.45+0.1+0.35*i, 0)
  1060. RLW.C0 = RLWStand * CFrame.Angles(math.rad(-10+25-15*i), 0, 0) * CFrame.new(0, 0.5-0.5*i, -0.8+0.8*i)
  1061. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10-35+45*i), 0, 0) * CFrame.new(0, 0.4-0.4*i, 0.2-0.2*i)
  1062. HW.C0 = HWStand * CFrame.Angles(math.rad(-15-10+25*i), 0, 0) * CFrame.new(0, 0, -0.5+0.7-0.2*i)
  1063. neck.C0 = necko * CFrame.Angles(math.rad(-40+75-35*i), 0, math.rad(-20+20*i))
  1064. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  1065. bp.position = Orig.p + Vector3.new(0, 15.1-16.7+1.6*i, 0)
  1066. wait()
  1067. end
  1068. normal()
  1069. bg:remove()
  1070. bp:remove()
  1071. end
  1072. end
  1073.  
  1074. function flipsmash(mouse)
  1075. local Orig = torso.CFrame
  1076. local mouseHit = mouse
  1077. local CF = ComputePos(Orig.p, mouseHit)
  1078. local p, t = RayCast(torso.Position, torso.Position + Vector3.new(0, -5, 0), 5, 0.5)
  1079. local ahp = (CF * CFrame.new(0, 0, -14.5))
  1080. local p2, t2 = RayCast(ahp.p, (ahp * CFrame.new(0, -5, 0)).p, 5, 0.5)
  1081. if t and t2 and Prop.Rage >= 90 then
  1082. Prop.Rage = Prop.Rage - 90
  1083. attach()
  1084. local bg = Add.BG(torso)
  1085. local bp = Add.BP(torso)
  1086. bp.position = Orig.p
  1087. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1088. bg.cframe = CF
  1089. local cen = CF * CFrame.new(0, -1.2, -1.5-6.5)
  1090. for i = 0, 1, 0.08 do
  1091. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-100*i), math.rad(-50*i), math.rad(-50*i)) * CFrame.new(0.2*i, 0, 0.2*i)
  1092. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100*i), 0, math.rad(-40*i)) * CFrame.new(-0.2*i, -0.4*i, 0.5*i)
  1093. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15*i), 0, math.rad(-10*i)) * CFrame.new(0, 0.7*i, -1*i)
  1094. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75*i), 0, math.rad(10*i)) * CFrame.new(0, 0.4*i, 0)
  1095. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6*i)
  1096. neck.C0 = necko * CFrame.Angles(math.rad(30*i), 0, 0)
  1097. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  1098. bp.position = CF * CFrame.new(0, -1.2*i, -1.5*i).p
  1099. wait()
  1100. end
  1101. wait(0.15)
  1102. hum.PlatformStand = true
  1103. for i = 0, 1, 0.13 do
  1104. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-100-70*i), math.rad(-50), math.rad(-50)) * CFrame.new(0.2, 0, 0.2)
  1105. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100-50*i), 0, math.rad(-40+30*i)) * CFrame.new(-0.2, -0.4, 0.5)
  1106. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15-10*i), 0, math.rad(-10)) * CFrame.new(0, 0.7-0.7*i, -1+1*i)
  1107. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75+70*i), 0, math.rad(10)) * CFrame.new(0, 0.4-0.4*i, 0)
  1108. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6)
  1109. neck.C0 = necko * CFrame.Angles(math.rad(30-40*i), 0, 0)
  1110. bg.cframe = CF * CFrame.Angles(math.rad(-90*i), 0, 0)
  1111. bp.position = cen * CFrame.Angles(math.rad(180-45*i), 0, 0) * CFrame.new(0, 0, -6.5).p
  1112. wait()
  1113. end
  1114. PlaySound(slash)
  1115. for i = 0, 1, 0.13 do
  1116. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-100-70-80*i), math.rad(-50+60*i), math.rad(-50+90*i)) * CFrame.new(0.2-0.2*i, -0.85*i, 0.2-0.2*i)
  1117. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100-50-125*i), 0, math.rad(-40+30+45*i)) * CFrame.new(-0.2+0.2*i, -0.4-0.5*i, 0.5-0.5*i)
  1118. RLW.C0 = RLWStand * CFrame.Angles(math.rad(5), 0, math.rad(-10)) * CFrame.new(0, 0, 0)
  1119. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-5), 0, math.rad(10)) * CFrame.new(0, 0, 0)
  1120. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6-2.6*i)
  1121. neck.C0 = necko * CFrame.Angles(math.rad(-10), 0, 0)
  1122. bg.cframe = CF * CFrame.Angles(math.rad(-90-90*i), 0, 0)
  1123. bp.position = cen * CFrame.Angles(math.rad(180-45-45*i), 0, 0) * CFrame.new(0, 0, -6.5).p
  1124. wait()
  1125. end
  1126. StartEffect(maintip)
  1127. PlaySound(slash)
  1128. for i = 0, 1, 0.06 do
  1129. RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150*i), math.rad(10-50*i), math.rad(40-85*i)) * CFrame.new(0, -0.85+0.45*i, 0)
  1130. LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-130*i), 0, math.rad(35)) * CFrame.new(0, -0.9+0.3*i, 0)
  1131. RLW.C0 = RLWStand * CFrame.Angles(math.rad(5-80*i), 0, math.rad(-10)) * CFrame.new(0, 0.4*i, 0)
  1132. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-5+20*i), 0, math.rad(10)) * CFrame.new(0, 0.7*i, -1*i)
  1133. HW.C0 = HWStand * CFrame.Angles(math.rad(-35+10*i), 0, 0) * CFrame.new(0, 0, 1.6-2.6)
  1134. neck.C0 = necko * CFrame.Angles(math.rad(-10+50*i), 0, 0)
  1135. bg.cframe = CF * CFrame.Angles(math.rad(-180-190*i), 0, 0)
  1136. bp.position = cen * CFrame.Angles(math.rad(90-90*i), 0, 0) * CFrame.new(0, 0, -6.5).p
  1137. wait()
  1138. end
  1139. coroutine.resume(coroutine.create(function()
  1140. local frr = Cam.CoordinateFrame
  1141. for i = 1, math.random(13,20) do
  1142. wait()
  1143. Cam.CoordinateFrame = frr * CFrame.new(math.random(-15,15)/10, math.random(-15,15)/10, math.random(-15,15)/10)
  1144. end
  1145. end))
  1146. PlaySound(smashsound)
  1147. PlaySound(boomboom)
  1148. EndEffect()
  1149. local poo = Vector3.new(maintip.Position.x, t2.Position.y + t2.Size.y/2, maintip.Position.z)
  1150. local siz = math.random(65,115)/10
  1151. local partie = Part(workspace, true, false, 1, 0, "White", siz, 0.2, siz, true)
  1152. partie.CFrame = CFrame.new(poo) * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)
  1153. local decc = Instance.new("Decal",partie)
  1154. decc.Shiny = 0
  1155. decc.Specular = 0
  1156. decc.Texture = "http://www.roblox.com/asset/?id=49173398"
  1157. decc.Face = "Top"
  1158. local count = 0
  1159. for i, v in pairs(workspace:children()) do
  1160. local h = getHumanoid(v)
  1161. local to = v:findFirstChild("Torso")
  1162. if h ~= nil and to ~= nil then
  1163. if (to.Position - poo).magnitude < 15 then
  1164. count = count + 1
  1165. local Maxhp = h.MaxHealth
  1166. if Maxhp > 5000 then Maxhp = 5000 end
  1167. damage(h, to, 0.5, 0, Maxhp+5)
  1168. to.Velocity = CFrame.new(poo, to.Position).lookVector * 30
  1169. to.Velocity = to.Velocity + Vector3.new(0, 60, 0)
  1170. to.RotVelocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1171. h.PlatformStand = true
  1172. coroutine.resume(coroutine.create(function() wait(1.2) h.PlatformStand = false end))
  1173. if count >= 2 then break end
  1174. end
  1175. end
  1176. end
  1177. coroutine.resume(coroutine.create(function() wait(math.random(7,14)) partie:remove() end))
  1178. wait(0.6)
  1179. for i = 0, 1, 0.06 do
  1180. RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150+40*i), math.rad(10-50+40*i), math.rad(40-85+45*i)) * CFrame.new(0, -0.85+0.45+0.4*i, 0)
  1181. LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-130+45*i), 0, math.rad(35-35*i)) * CFrame.new(0, -0.9+0.3+0.6*i, 0)
  1182. RLW.C0 = RLWStand * CFrame.Angles(math.rad(5-80+75*i), 0, math.rad(-10+10*i)) * CFrame.new(0, 0.4-0.4*i, 0)
  1183. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-5+20-15*i), 0, math.rad(10-10*i)) * CFrame.new(0, 0.7-0.7*i, -1+1*i)
  1184. HW.C0 = HWStand * CFrame.Angles(math.rad(-35+10+25*i), 0, 0) * CFrame.new(0, 0, 1.6-2.6+1*i)
  1185. neck.C0 = necko * CFrame.Angles(math.rad(-10+50-40*i), 0, 0)
  1186. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  1187. bp.position = cen * CFrame.new(0, 1.2*i, -6.5).p
  1188. wait()
  1189. end
  1190. hum.PlatformStand = false
  1191. normal()
  1192. bg:remove()
  1193. bp:remove()
  1194. end
  1195. end
  1196.  
  1197. function spin(mouse)
  1198. attach()
  1199. local mouseHit = mouse
  1200. local Orig = torso.CFrame
  1201. local CF = ComputePos(Orig.p, mouseHit)
  1202. local p, t = RayCast(torso.Position, CF * CFrame.new(0, -7, -1.5).p, 5, 0.5)
  1203. if t then
  1204. local bg = Add.BG(torso)
  1205. local bp = Add.BP(torso)
  1206. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1207. bp.position = Orig.p
  1208. bg.cframe = CF
  1209. PlaySound(slash)
  1210. for i = 0, 1, 0.11 do
  1211. RAW.C0 = RAWStand * CFrame.Angles(math.rad(20*i), math.rad(120*i), math.rad(20*i)) * CFrame.new(0, 0, 0)
  1212. RAW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(100*i), 0, math.rad(20*i))
  1213. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60*i), 0, math.rad(40*i)) * CFrame.new(0, -0.8*i, 0)
  1214. RLW.C0 = RLWStand * CFrame.Angles(math.rad(10*i), 0, 0) * CFrame.new(0, 0.3*i, -0.2*i)
  1215. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-25*i), 0, 0)
  1216. HW.C0 = HWStand * CFrame.Angles(0, 0, 0)
  1217. neck.C0 = necko * CFrame.Angles(math.rad(-15*i), 0, math.rad(-30*i))
  1218. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  1219. wait()
  1220. end
  1221. local posg = CF * CFrame.new(0, -0.6, -4)
  1222. PlaySound(hitsound, 0.9)
  1223. for i = 0, 1, 0.13 do
  1224. RAW.C0 = RAWStand * CFrame.Angles(math.rad(20-20*i), math.rad(120+10*i), math.rad(20)) * CFrame.new(0, -0.8*i, 0.4*i)
  1225. RAW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(100-60*i), 0, math.rad(20-20*i))
  1226. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60-40*i), 0, math.rad(40-50*i)) * CFrame.new(0, -0.8+0.3*i, 0)
  1227. RLW.C0 = RLWStand * CFrame.Angles(math.rad(10-10*i), 0, 0) * CFrame.new(0, 0.3-0.3*i, -0.2+0.2*i)
  1228. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-25+25*i), 0, 0)
  1229. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35*i)) * CFrame.new(0, 0, -0.6*i)
  1230. neck.C0 = necko * CFrame.Angles(math.rad(-15+25*i), 0, math.rad(-30+30*i))
  1231. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  1232. bp.position = CF * CFrame.new(0, 1*i, -2*i).p
  1233. wait()
  1234. end
  1235. hum.PlatformStand = true
  1236. bg.Parent = handle
  1237. bg.cframe = CF * CFrame.Angles(math.pi, math.pi, 0)
  1238. bp.Parent = handle
  1239. bp.position = posg.p
  1240. StartEffect(Lleg)
  1241. Leghurt = true
  1242. PlaySound(slash)
  1243. for i = 0, 1, 0.09 do
  1244. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-90*i), math.rad(130-40*i), math.rad(20-40*i)) * CFrame.new(0, -0.8+0.8*i, 0.4-0.4*i)
  1245. RAW.C1 = CFrame.new(0, 0.5+0.5*i, 0) * CFrame.Angles(math.rad(100-60+60*i), 0, 0)
  1246. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60-40-20+60*i), 0, math.rad(40-50+10*i)) * CFrame.new(0, -0.8+0.3-0.5*i, 0)
  1247. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15*i), 0, 0)
  1248. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-20*i), 0, 0)
  1249. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35)) * CFrame.new(0, 0, 1*i)
  1250. neck.C0 = necko * CFrame.Angles(math.rad(10-35*i), 0, 0)
  1251. bg.cframe = CF * CFrame.Angles(math.pi, math.pi+math.rad(90*i), 0)
  1252. wait()
  1253. end
  1254. for i = 0, 1, 0.055 do
  1255. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(-20)) * CFrame.new(0, 0, 0)
  1256. RAW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(100), 0, 0)
  1257. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60), 0, 0) * CFrame.new(0, -1, 0)
  1258. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15+10*i), 0, 0)
  1259. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-20-5*i), 0, 0)
  1260. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35)) * CFrame.new(0, 0, 1)
  1261. neck.C0 = necko * CFrame.Angles(math.rad(-25), 0, 0)
  1262. bg.cframe = CF * CFrame.Angles(math.pi, math.pi+math.rad(90+270*i), 0)
  1263. wait()
  1264. end
  1265. EndEffect()
  1266. Leghurt = false
  1267. for i = 0, 1, 0.12 do
  1268. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-90+90*i), math.rad(90+40*i), math.rad(-20+40*i)) * CFrame.new(0, -0.8*i, 0.4*i)
  1269. RAW.C1 = CFrame.new(0, 1-0.5*i, 0) * CFrame.Angles(math.rad(100-60*i), 0, 0)
  1270. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60-60*i), 0, 0) * CFrame.new(0, -1+0.5*i, 0)
  1271. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15+10-25*i), 0, 0)
  1272. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-20-5+25*i), 0, 0)
  1273. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35)) * CFrame.new(0, 0, 1)
  1274. neck.C0 = necko * CFrame.Angles(math.rad(-25+25*i), 0, 0)
  1275. bg.cframe = CF * CFrame.Angles(math.pi, math.pi+math.rad(360), 0)
  1276. wait()
  1277. end
  1278. bg.Parent = torso
  1279. bp.Parent = torso
  1280. bg.cframe = CF
  1281. for i = 0, 1, 0.14 do
  1282. RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(90+40-130*i), math.rad(-20+40-20*i)) * CFrame.new(0, -0.8+0.8*i, 0.4-0.4*i)
  1283. RAW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(100-60-40*i), 0, 0)
  1284. LAW.C0 = LAWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, -1+0.5+0.5*i, 0)
  1285. RLW.C0 = RLWStand * CFrame.Angles(0, 0, 0)
  1286. LLW.C0 = LLWStand * CFrame.Angles(0, 0, 0)
  1287. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35+35*i)) * CFrame.new(0, 0, 1-1*i)
  1288. neck.C0 = necko * CFrame.Angles(0, 0, 0)
  1289. bp.position = CF * CFrame.new(0, 0, -2+1*i).p
  1290. bg.cframe = CF
  1291. wait()
  1292. end
  1293. hum.PlatformStand = false
  1294. normal()
  1295. bg:remove()
  1296. bp:remove()
  1297. end
  1298. end
  1299.  
  1300. function rest()
  1301. local Orig = torso.CFrame
  1302. local CF = ComputePos(Orig.p, Orig * CFrame.new(0, 0, -5).p)
  1303. local p, t = RayCast(CF.p, CF * CFrame.new(0, -6, 0.5).p, 6, 0.5)
  1304. if t then
  1305. attach()
  1306. local bg = Add.BG(torso)
  1307. local bp = Add.BP(torso)
  1308. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1309. bp.position = CF.p
  1310. bg.cframe = CF
  1311. local cen = CF * CFrame.new(0, -2.5, 0)
  1312. RestingAnim = true
  1313. hum.PlatformStand = true
  1314. local standup = function()
  1315. Resting = false
  1316. bp.Parent = torso
  1317. cen = ComputePos(torso.CFrame.p, torso.CFrame * CFrame.new(0, 0, -5).p) * CFrame.new(0, 0, -2.5)
  1318. for i = 1, 0, -0.12 do
  1319. RAW.C0 = RAWStand * CFrame.Angles(math.rad(50), math.rad(-20-20*i), math.rad(60*i))
  1320. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40-70*i), 0, math.rad(-30-10*i)) * CFrame.new(0, -0.6*i, 0.4+0.2*i)
  1321. RLW.C0 = RLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(15)) * CFrame.new(0, 0, -0.4)
  1322. LLW.C0 = LLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(-15)) * CFrame.new(0, 0, -0.4)
  1323. neck.C0 = necko * CFrame.Angles(math.rad(10-15*i), 0, 0)
  1324. HW.C0 = HWStand * CFrame.Angles(math.rad(40*i), 0, 0) * CFrame.new(0, 0, 0.2+0.8*i)
  1325. bg.cframe = CF * CFrame.Angles(math.rad(-10+20*i), 0, 0)
  1326. bp.position = cen * CFrame.Angles(math.rad(180+45+45*i), 0, 0) * CFrame.new(0, -2.5, 0.4*i).p
  1327. wait()
  1328. end
  1329. for i = 1, 0, -0.17 do
  1330. RAW.C0 = RAWStand * CFrame.Angles(math.rad(50*i), math.rad(-20*i), 0)
  1331. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40*i), 0, math.rad(-30*i)) * CFrame.new(0, 0, 0.4*i)
  1332. RLW.C0 = RLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(15*i)) * CFrame.new(0, -0.4*i, -0.4*i)
  1333. LLW.C0 = LLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(-15*i)) * CFrame.new(0, -0.4*i, -0.4*i)
  1334. neck.C0 = necko * CFrame.Angles(math.rad(10*i), 0, 0)
  1335. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.2*i)
  1336. bg.cframe = CF * CFrame.Angles(math.rad(-10*i), 0, 0)
  1337. bp.position = cen * CFrame.Angles(math.rad(180+45*i), 0, 0) * CFrame.new(0, -2.5, 0).p
  1338. wait()
  1339. end
  1340. hum.PlatformStand = false
  1341. bg:remove()
  1342. bp:remove()
  1343. normal()
  1344. Able = true
  1345. RestingAnim = false
  1346. end
  1347. local connec = hum.Changed:connect(function()
  1348. if hum.PlatformStand == false then
  1349. coroutine.resume(coroutine.create(function()
  1350. standup()
  1351. end))
  1352. standup = nil
  1353. connec:disconnect()
  1354. end
  1355. end)
  1356. local lasthp = hum.Health
  1357. local conn = hum.HealthChanged:connect(function(hp)
  1358. if lasthp - hp > 0.8 then
  1359. hum.PlatformStand = false
  1360. conn:disconnect()
  1361. end
  1362. lasthp = hp
  1363. end)
  1364. coroutine.resume(coroutine.create(function()
  1365. repeat wait() until Resting
  1366. while Resting do
  1367. wait()
  1368. if torso.Velocity.magnitude > 4 then
  1369. hum.PlatformStand = false
  1370. break
  1371. end
  1372. end
  1373. end))
  1374. for i = 0, 1, 0.1 do
  1375. RAW.C0 = RAWStand * CFrame.Angles(math.rad(50*i), math.rad(-20*i), 0)
  1376. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40*i), 0, math.rad(-30*i)) * CFrame.new(0, 0, 0.4*i)
  1377. RLW.C0 = RLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(15*i)) * CFrame.new(0, 0, -0.4*i)
  1378. LLW.C0 = LLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(-15*i)) * CFrame.new(0, 0, -0.4*i)
  1379. neck.C0 = necko * CFrame.Angles(math.rad(10*i), 0, 0)
  1380. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.2*i)
  1381. bg.cframe = CF * CFrame.Angles(math.rad(-10*i), 0, 0)
  1382. bp.position = cen * CFrame.Angles(math.rad(180+45*i), 0, 0) * CFrame.new(0, -2.5, 0).p
  1383. wait()
  1384. end
  1385. for i = 0, 1, 0.07 do
  1386. RAW.C0 = RAWStand * CFrame.Angles(math.rad(50), math.rad(-20-20*i), math.rad(60*i))
  1387. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40-70*i), 0, math.rad(-30-10*i)) * CFrame.new(0, -0.6*i, 0.4+0.2*i)
  1388. RLW.C0 = RLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(15)) * CFrame.new(0, -0.4*i, -0.4)
  1389. LLW.C0 = LLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(-15)) * CFrame.new(0, -0.4*i, -0.4)
  1390. neck.C0 = necko * CFrame.Angles(math.rad(10-15*i), 0, 0)
  1391. HW.C0 = HWStand * CFrame.Angles(math.rad(40*i), 0, 0) * CFrame.new(0, 0, 0.2+0.8*i)
  1392. bg.cframe = CF * CFrame.Angles(math.rad(-10+20*i), 0, 0)
  1393. bp.position = cen * CFrame.Angles(math.rad(180+45+45*i), 0, 0) * CFrame.new(0, -2.5, 0.4*i).p
  1394. wait()
  1395. end
  1396. Resting = true
  1397. coroutine.resume(coroutine.create(function()
  1398. wait(0.4)
  1399. bp.Parent = nil
  1400. end))
  1401. coroutine.resume(coroutine.create(function()
  1402. while Resting and selected do
  1403. wait(math.random(350,800)/1000)
  1404. hum.Health = hum.Health + math.random(1,2)
  1405. Prop.Rage = Prop.Rage + 1
  1406. end
  1407. hum.PlatformStand = false
  1408. end))
  1409. end
  1410. end
  1411.  
  1412. function select(mouse)
  1413. mouse.Icon = MouseIc
  1414. selectanim()
  1415. selected = true
  1416. mouse.Button1Down:connect(function()
  1417. if Able and RestingAnim == false and hum.Sit == false then
  1418. Able = false
  1419. swing(mouse.Hit.p)
  1420. Able = true
  1421. end
  1422. end)
  1423. mouse.Button1Down:connect(function()
  1424. mouse.Icon = MouseDo
  1425. mouse.Button1Up:wait()
  1426. mouse.Icon = MouseIc
  1427. end)
  1428. mouse.KeyDown:connect(function(key)
  1429. key = key:lower()
  1430. if Able and RestingAnim == false and hum.Sit == false then
  1431. if key == "q" then
  1432. Able = false
  1433. smash(mouse.Hit.p)
  1434. Able = true
  1435. elseif key == "e" then
  1436. Able = false
  1437. swing(mouse.Hit.p)
  1438. Able = true
  1439. elseif key == "r" then
  1440. Able = false
  1441. stab(mouse.Hit.p)
  1442. Able = true
  1443. elseif key == "f" then
  1444. Able = false
  1445. epicsmash(mouse.Hit.p)
  1446. Able = true
  1447. elseif key == "z" then
  1448. Able = false
  1449. shockwave(mouse.Hit.p)
  1450. Able = true
  1451. elseif key == "x" then
  1452. Able = false
  1453. flipsmash(mouse.Hit.p)
  1454. Able = true
  1455. elseif key == "t" then
  1456. Able = false
  1457. spin(mouse.Hit.p)
  1458. Able = true
  1459. end
  1460. end
  1461. if Able then
  1462. if key == "g" and AbleG then
  1463. AbleG = false
  1464. if Resting == true then
  1465. Resting = false
  1466. else
  1467. rest()
  1468. end
  1469. wait(0.8)
  1470. AbleG = true
  1471. end
  1472. end
  1473. end)
  1474. end
  1475.  
  1476. function deselect(mouse)
  1477. selected = false
  1478. deselanim()
  1479. end
  1480. bin.Selected:connect(select)
  1481. bin.Deselected:connect(deselect)Ancor = game:GetService("Players")
  1482.  
  1483. me = owner
  1484. char = me.Character
  1485. Modelname = "Warhammah"
  1486. Toolname = "Warhammar"
  1487. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  1488. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1489. selected = false
  1490. effectOn = false
  1491. Hurt = false
  1492. Leghurt = false
  1493. Deb = true
  1494. LegDeb = true
  1495. Able = true
  1496. Resting = false
  1497. RestingAnim = false
  1498. AbleG = true
  1499. Prop = {Damage = 62, Legdmg = 50, AS = 90, ShockDMG = 50, Rage = 1000000, RageIncome = 1, MaxRage = 1000000}
  1500. Prop.AS = Prop.AS/300
  1501. Cam = workspace.CurrentCamera
  1502.  
  1503. ToolIcon = "http://www.roblox.com/asset/?id=49192762"
  1504. MouseIc = "http://www.roblox.com/asset/?id=49192792"
  1505. MouseDo = "http://www.roblox.com/asset/?id=49192819"
  1506.  
  1507. Add = {
  1508. Sphere = function(P)
  1509. local m = Instance.new("SpecialMesh",P)
  1510. m.MeshType = "Sphere"
  1511. return m
  1512. end,
  1513. BF = function(P)
  1514. local bf = Instance.new("BodyForce",P)
  1515. bf.force = Vector3.new(0, P:GetMass()*187, 0)
  1516. return bf
  1517. end,
  1518. BP = function(P)
  1519. local bp = Instance.new("BodyPosition",P)
  1520. bp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1521. bp.P = 14000
  1522. return bp
  1523. end,
  1524. BG = function(P)
  1525. local bg = Instance.new("BodyGyro",P)
  1526. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1527. bg.P = 14000
  1528. return bg
  1529. end,
  1530. Mesh = function(P, ID, x, y, z)
  1531. local m = Instance.new("SpecialMesh")
  1532. m.MeshId = ID
  1533. m.Scale = Vector3.new(x, y, z)
  1534. m.Parent = P
  1535. return m
  1536. end,
  1537. Sound = function(P, ID, vol, pitch)
  1538. local s = Instance.new("Sound")
  1539. s.SoundId = ID
  1540. s.Volume = vol
  1541. s.Pitch = pitch
  1542. s.Parent = P
  1543. return s
  1544. end
  1545. }
  1546.  
  1547. function find(tab, arg)
  1548. local ah = nil
  1549. for i,v in pairs(tab) do
  1550. if v == arg then
  1551. ah = v
  1552. end
  1553. end
  1554. return ah
  1555. end
  1556.  
  1557. function getAllParts(from)
  1558. local t = {}
  1559. function getParts(where)
  1560. for i, v in pairs(where:children()) do
  1561. if v:IsA("BasePart") then
  1562. if v.Parent ~= char and v.Parent.Parent ~= char then
  1563. table.insert(t, v)
  1564. end
  1565. end
  1566. getParts(v)
  1567. end
  1568. end
  1569. getParts(workspace)
  1570. return t
  1571. end
  1572.  
  1573. function RayCast(pos1, pos2, maxDist, forward)
  1574. local list = getAllParts(workspace)
  1575. local pos0 = pos1
  1576. for dist = 1, maxDist, forward do
  1577. pos0 = (CFrame.new(pos1, pos2) * CFrame.new(0, 0, -dist)).p
  1578. for _, v in pairs(list) do
  1579. local pos3 = v.CFrame:pointToObjectSpace(pos0)
  1580. local s = v.Size
  1581. if pos3.x > -(s.x/2) and pos3.x < (s.x/2) and pos3.y > -(s.y/2) and pos3.y < (s.y/2) and pos3.z > -(s.z/2) and pos3.x < (s.z/2) and v.CanCollide and v:GetMass() > 14 then
  1582. return pos0, v
  1583. end
  1584. end
  1585. end
  1586. return pos0, nil
  1587. end
  1588.  
  1589. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  1590. local p = Instance.new("Part")
  1591. p.formFactor = "Custom"
  1592. p.Anchored = Anchor
  1593. p.CanCollide = Collide
  1594. p.Transparency = Tran
  1595. p.Reflectance = Ref
  1596. p.BrickColor = BrickColor.new(Color)
  1597. for _, Surf in pairs(Surfaces) do
  1598. p[Surf] = "Smooth"
  1599. end
  1600. p.Size = Vector3.new(X, Y, Z)
  1601. if Break then
  1602. p:BreakJoints()
  1603. else p:MakeJoints() end
  1604. p.Parent = Parent
  1605. p.Locked = true
  1606. return p
  1607. end
  1608.  
  1609. function Weld(p0, p1, x, y, z, a, b, c)
  1610. local w = Instance.new("Weld")
  1611. w.Parent = p0
  1612. w.Part0 = p0
  1613. w.Part1 = p1
  1614. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
  1615. return w
  1616. end
  1617.  
  1618. function ComputePos(pos1, pos2)
  1619. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  1620. return CFrame.new(pos1, pos3)
  1621. end
  1622.  
  1623. function getHumanoid(c)
  1624. local h = nil
  1625. for i,v in pairs(c:children()) do
  1626. if v:IsA("Humanoid") and c ~= char then
  1627. if v.Health > 0 then
  1628. h = v
  1629. end
  1630. end
  1631. end
  1632. return h
  1633. end
  1634.  
  1635. for i,v in pairs(char:children()) do
  1636. if v.Name == Modelname then
  1637. v:remove()
  1638. end
  1639. end
  1640.  
  1641. pcall(function() me.PlayerGui:findFirstChild("RaigMeter",true):remove() end)
  1642.  
  1643. Sc = Instance.new("ScreenGui",me:findFirstChild("PlayerGui"))
  1644. Sc.Name = "RaigMeter"
  1645.  
  1646. Fr = Instance.new("Frame",Sc)
  1647. Fr.Size = UDim2.new(0, 250, 0, 28)
  1648. Fr.Position = UDim2.new(0.5, -125, 0, 5)
  1649. Fr.BackgroundColor3 = Color3.new(0.8, 0.3, 0.1)
  1650.  
  1651. Met = Instance.new("Frame", Fr)
  1652. Met.Size = UDim2.new(1, -10, 1, -6)
  1653. Met.Position = UDim2.new(0, 5, 0, 3)
  1654. Met.BackgroundColor3 = Color3.new(0, 0, 0)
  1655. Met.BorderSizePixel = 0
  1656.  
  1657. Meter = Instance.new("ImageLabel", Met)
  1658. Meter.Size = UDim2.new(Prop.Rage/Prop.MaxRage, 0, 1, -2)
  1659. Meter.Position = UDim2.new(0, 0, 0, 1)
  1660. Meter.Image = "http://www.roblox.com/asset/?id=48965808"
  1661. Meter.BorderSizePixel = 0
  1662. Meter.BackgroundColor3 = Color3.new(1, 0.6, 0.1)
  1663.  
  1664. Tx = Instance.new("TextLabel", Met)
  1665. Tx.Size = UDim2.new(0, 0, 1, 0)
  1666. Tx.Position = UDim2.new(0, 5, 0, 0)
  1667. Tx.Text = Prop.Rage.." / "..Prop.MaxRage
  1668. Tx.Font = "ArialBold"
  1669. Tx.FontSize = "Size18"
  1670. Tx.BackgroundTransparency = 1
  1671. Tx.TextColor3 = Color3.new(1, 0, 0)
  1672. Tx.TextXAlignment = "Left"
  1673.  
  1674. laast = Prop.Rage
  1675. coroutine.resume(coroutine.create(function()
  1676. while true do
  1677. wait()
  1678. if Prop.Rage > Prop.MaxRage then Prop.Rage = Prop.MaxRage end
  1679. if laast ~= Prop.Rage then
  1680. Meter.Size = UDim2.new(Prop.Rage/Prop.MaxRage, 0, 1, -2)
  1681. laast = Prop.Rage
  1682. Tx.Text = Prop.Rage.." / "..Prop.MaxRage
  1683. end
  1684. end
  1685. end))
  1686.  
  1687. torso = char.Torso
  1688. neck = torso.Neck
  1689. hum = char.Humanoid
  1690. Rarm = char["Right Arm"]
  1691. Larm = char["Left Arm"]
  1692. Rleg = char["Right Leg"]
  1693. Lleg = char["Left Leg"]
  1694.  
  1695. hc = Instance.new("Humanoid")
  1696. hc.Health = 0
  1697. hc.MaxHealth = 0
  1698.  
  1699. slash = Add.Sound(nil, "rbxasset://sounds//swordslash.wav", 0.9, 0.8)
  1700. hitsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2801263", 0.7, 0.6)
  1701. charge = Add.Sound(nil, "http://www.roblox.com/asset/?id=2101137", 0.8, 0.65)
  1702. boom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2691586", 0.8, 0.3)
  1703. smashsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2692806", 0.8, 0.35)
  1704. boomboom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2760979", 1, 0.18)
  1705. equip = Add.Sound(nil, "rbxasset://sounds\\unsheath.wav", 0.6, 0.7)
  1706.  
  1707. function PlaySound(sound, pitch)
  1708. local s = sound:clone()
  1709. if pitch ~= nil then
  1710. if tonumber(pitch) then
  1711. s.Pitch = tonumber(pitch)
  1712. end
  1713. end
  1714. s.Parent = torso
  1715. s.PlayOnRemove = true
  1716. coroutine.resume(coroutine.create(function()
  1717. wait()
  1718. s:remove()
  1719. end))
  1720. end
  1721.  
  1722. Mo = Instance.new("Model")
  1723. Mo.Name = Modelname
  1724.  
  1725. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  1726. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  1727. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  1728. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  1729.  
  1730. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  1731. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  1732. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  1733. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  1734.  
  1735. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  1736. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  1737. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  1738. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  1739.  
  1740. HB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1, true)
  1741. HBW = Weld(Rarm, HB, 0, 1, 0, 0, 0, 0)
  1742. HW = Weld(HB, nil, 0, -1.3, 0, math.pi/2, 0, 0)
  1743.  
  1744. TH = Weld(torso, nil, -0.8, 0.1, 0, 0, math.pi/2, math.rad(-140))
  1745.  
  1746. RAWStand, LAWStand, RLWStand, LLWStand, HWStand = nil
  1747.  
  1748. handle = Part(Mo, false, false, 0, 0, "Bright red", 0.4, 5, 0.4, true)
  1749. handle.Name = "Handle"
  1750. Instance.new("SpecialMesh",handle)
  1751.  
  1752. maintip = Part(Mo, false, false, 1, 0, "Bright yellow", 0.6, 0.5, 0.6, true)
  1753. Weld(handle, maintip, 0, -1.8, 0, 0, 0, 0)
  1754.  
  1755. DMGParts = {}
  1756.  
  1757. for i = 0, 135, 45 do
  1758. local tip = Part(Mo, false, false, 0, 0, "Really black", 0.54, 1.3, 2.2, true)
  1759. Instance.new("BlockMesh",tip)
  1760. Weld(maintip, tip, 0, 0, 0, 0, 0, math.rad(i))
  1761. table.insert(DMGParts, tip)
  1762. for a = -0.9, 0.9, 1.8 do
  1763. for x = 0, math.pi, math.pi do
  1764. local spike = Part(Mo, false, false, 0, 0, "Really black", 0.3, 0.5, 0.3, true)
  1765. local w = Weld(tip, spike, 0, 0, 0, 0, 0, 0)
  1766. w.C0 = CFrame.new(0, 0, a) * CFrame.Angles(x, 0, 0)
  1767. w.C1 = CFrame.new(0, -1, 0)
  1768. Add.Mesh(spike, "http://www.roblox.com/asset/?id=1033714", 0.14, 1, 0.14)
  1769. local trim = Part(Mo, false, false, 0, 0, "Bright red", 0.67, 0.1, 0.5, true)
  1770. local w2 = Weld(tip, trim, 0, 0, 0, 0, 0, 0)
  1771. w2.C0 = CFrame.new(0, 0, a) * CFrame.Angles(x, 0, 0)
  1772. w2.C1 = CFrame.new(0, -0.58, 0)
  1773. end
  1774. end
  1775. end
  1776.  
  1777. spiketip = Part(Mo, false, false, 0, 0.2, "Really black", 0.3, 0.8, 0.3, true)
  1778. Weld(handle, spiketip, 0, -3.1, 0, 0, 0, 0)
  1779. Add.Mesh(spiketip, "http://www.roblox.com/asset/?id=1033714", 0.17, 2, 0.17)
  1780.  
  1781. table.insert(DMGParts, spiketip)
  1782.  
  1783. local handletip1 = Part(Mo, false, false, 0, 0.2, "Bright red", 0.5, 0.5, 0.5, true)
  1784. local w1 = Weld(handle, handletip1, 0, 0, 0, 0, 0, 0)
  1785. w1.C0 = CFrame.new(0, -2.6, 0)
  1786. Add.Mesh(handletip1, "http://www.roblox.com/asset/?id=9756362", 0.85, 0.75, 0.85)
  1787.  
  1788. local handletip2 = Part(Mo, false, false, 0, 0.2, "Really black", 0.5, 0.5, 0.5, true)
  1789. Weld(handletip1, handletip2, 0, 0, 0, 0, math.rad(45), 0)
  1790. Add.Mesh(handletip2, "http://www.roblox.com/asset/?id=9756362", 0.95, 0.5, 0.95)
  1791.  
  1792.  
  1793. Mo.Parent = char
  1794. TH.Part1 = handle
  1795.  
  1796. function showdmg(dmg, p, pos)
  1797. local mo = Instance.new("Model")
  1798. mo.Name = dmg
  1799. local pa = Part(mo, false, true, 0, 0, "Bright red", 0.8, 0.3, 0.8, true)
  1800. pa.CFrame = CFrame.new(p.Position) * CFrame.new(0, pos, 0)
  1801. pa.Name = "Head"
  1802. local hah = hc:clone()
  1803. hah.Parent = mo
  1804. local bp = Add.BP(pa)
  1805. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1806. bp.position = p.Position + Vector3.new(0, 3+pos, 0)
  1807. Add.BG(pa)
  1808. coroutine.resume(coroutine.create(function()
  1809. wait()
  1810. mo.Parent = workspace
  1811. wait(1.4)
  1812. mo:remove()
  1813. end))
  1814. end
  1815.  
  1816.  
  1817. function damage(hum, p, num, dm1, dm2)
  1818. local dmg = math.random(dm1, dm2)
  1819. hum.Health = hum.Health - dmg
  1820. showdmg(dmg, p, num)
  1821. return dmg
  1822. end
  1823.  
  1824. function brickdamage(hit)
  1825. local h = getHumanoid(hit.Parent)
  1826. if h ~= nil and Hurt and Deb then
  1827. Deb = false
  1828. local dmg = damage(h, maintip, 0, Prop.Damage/4, Prop.Damage)
  1829. PlaySound(hitsound)
  1830. Prop.Rage = math.floor(Prop.Rage + (dmg*Prop.RageIncome))
  1831. wait(0.3)
  1832. Deb = true
  1833. end
  1834. end
  1835.  
  1836. function legdamage(hit)
  1837. local h = getHumanoid(hit.Parent)
  1838. if h ~= nil and Leghurt and LegDeb then
  1839. LegDeb = false
  1840. local dmg = damage(h, Rleg, 0, Prop.Legdmg/2, Prop.Legdmg)
  1841. PlaySound(hitsound)
  1842. Prop.Rage = math.floor(Prop.Rage + (dmg*Prop.RageIncome))
  1843. coroutine.resume(coroutine.create(function()
  1844. local haha = math.random(1,3)
  1845. if haha == 1 then
  1846. h.PlatformStand = true
  1847. wait()
  1848. local ps = getAllParts(h.Parent)
  1849. for i, v in pairs(ps) do
  1850. if v.Anchored == false then
  1851. v.Velocity = CFrame.new(handle.Position, v.Position).lookVector * 40
  1852. v.RotVelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  1853. end
  1854. end
  1855. wait(0.8)
  1856. h.PlatformStand = false
  1857. end
  1858. end))
  1859. wait(0.2)
  1860. LegDeb = true
  1861. end
  1862. end
  1863.  
  1864. for i, v in pairs({Rleg, Lleg}) do
  1865. v.Touched:connect(legdamage)
  1866. end
  1867.  
  1868. for i,v in pairs(DMGParts) do
  1869. v.Touched:connect(brickdamage)
  1870. end
  1871.  
  1872. if script.Parent.className ~= "HopperBin" then
  1873. h = Instance.new("HopperBin",me.Backpack)
  1874. h.Name = Toolname
  1875. h.TextureId = ToolIcon
  1876. script.Parent = h
  1877. end
  1878.  
  1879. bin = script.Parent
  1880.  
  1881. function StartEffect(part)
  1882. effectOn = true
  1883. local lastPoint = part.Position
  1884. coroutine.resume(coroutine.create(function()
  1885. while effectOn do
  1886. wait()
  1887. local point = CFrame.new(lastPoint, part.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  1888. local mag = (lastPoint - part.Position).magnitude
  1889. local p = Part(workspace, true, false, 0.1, 0, "Really black", 1, 1, 1, true)
  1890. local m = Instance.new("SpecialMesh",p)
  1891. p.CFrame = point * CFrame.new(0, mag/2, 0)
  1892. m.Scale = Vector3.new(1.2, mag+0.6, 1.2)
  1893. lastPoint = part.Position
  1894. coroutine.resume(coroutine.create(function() for i = 0.1, 1, 0.9/5 do wait() p.Transparency = i end p:remove() end))
  1895. end
  1896. end))
  1897. end
  1898.  
  1899. function EndEffect()
  1900. effectOn = false
  1901. end
  1902.  
  1903. function detach(bool)
  1904. LLW.C0 = CFrame.new(0, 0, 0)
  1905. RLW.C0 = CFrame.new(0, 0, 0)
  1906. LAW.C0 = CFrame.new(0,0,0)
  1907. RAW.C0 = CFrame.new(0, 0, 0)
  1908. if bool then
  1909. LLW.Part1 = nil
  1910. RLW.Part1 = nil
  1911. RAW.Part1 = nil
  1912. LAW.Part1 = nil
  1913. end
  1914. end
  1915.  
  1916. function attach()
  1917. RAW.Part1 = Rarm
  1918. LAW.Part1 = Larm
  1919. RLW.Part1 = Rleg
  1920. LLW.Part1 = Lleg
  1921. end
  1922.  
  1923. function normal()
  1924. neck.C0 = necko
  1925. RAW.C0 = RAWStand
  1926. LAW.C0 = LAWStand
  1927. RLW.C0 = RLWStand
  1928. LLW.C0 = LLWStand
  1929. RAW.C1 = CFrame.new(0, 0.5, 0)
  1930. LAW.C1 = CFrame.new(0, 0.5, 0)
  1931. RLW.C1 = CFrame.new(0, 0.8, 0)
  1932. LLW.C1 = CFrame.new(0, 0.8, 0)
  1933. HW.C0 = HWStand
  1934. end
  1935.  
  1936. function idleanim()
  1937. attach()
  1938. for i = 0, 10, 10/22 do
  1939. RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(i), 0)
  1940. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-i), 0, 0)
  1941. RLW.C0 = RLWStand * CFrame.Angles(math.rad(i/8), 0, math.rad(-i/6))
  1942. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-i/8), 0, math.rad(i/6))
  1943. neck.C0 = necko * CFrame.Angles(math.rad(-i/2), 0, 0)
  1944. if selected == false or torso.Velocity.magnitude > 2 or Able == false or RestingAnim == true then break end
  1945. wait()
  1946. end
  1947. wait()
  1948. for i = 10, 0, -10/29 do
  1949. RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(i), 0)
  1950. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-i), 0, 0)
  1951. RLW.C0 = RLWStand * CFrame.Angles(math.rad(i/8), 0, math.rad(-i/6))
  1952. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-i/8), 0, math.rad(i/6))
  1953. neck.C0 = necko * CFrame.Angles(math.rad(-i/2), 0, 0)
  1954. if selected == false or torso.Velocity.magnitude > 2 or Able == false or RestingAnim == true then break end
  1955. wait()
  1956. end
  1957. normal()
  1958. end
  1959.  
  1960. function runanim()
  1961. RLW.Part1 = nil
  1962. LLW.Part1 = nil
  1963. end
  1964.  
  1965. coroutine.resume(coroutine.create(function()
  1966. while true do
  1967. wait()
  1968. if selected and Able == true and RestingAnim == false then
  1969. if torso.Velocity.magnitude < 2 then
  1970. idleanim()
  1971. wait()
  1972. else
  1973. runanim()
  1974. wait()
  1975. end
  1976. end
  1977. end
  1978. end))
  1979.  
  1980. function selectanim()
  1981. if RestingAnim == false and Able == true then
  1982. local ah = CFrame.Angles(0, 0, math.rad(90))
  1983. RAW.Part1 = Rarm
  1984. for i = 0, 270, 270/5 do
  1985. RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
  1986. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i/5))
  1987. wait()
  1988. end
  1989. HW.C0 = ah
  1990. HW.Part1 = handle
  1991. TH.Part1 = nil
  1992. PlaySound(equip)
  1993. for i = 270, 70, -200/13 do
  1994. RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
  1995. neck.C0 = necko * CFrame.Angles(math.rad((i-270)/7), 0, math.rad(-i/5))
  1996. wait()
  1997. end
  1998. attach()
  1999. for i = 70, 120, 50/8 do
  2000. local asd = i-70
  2001. RAW.C0 = CFrame.new(-(i-70)/240, 0, -i/500) * CFrame.Angles(math.rad(70), math.rad(70/4+(i-70)), math.rad(-(i-70)/4))
  2002. LAW.C0 = CFrame.Angles(math.rad(asd*1.5), 0, math.rad(asd/2)) * CFrame.new(asd/100, -asd/70, 0)
  2003. HW.C0 = ah * CFrame.Angles(0, 0, math.rad(-asd*1.8))
  2004. neck.C0 = necko * CFrame.Angles(math.rad(-200/7+(asd/2)), 0, math.rad(-70/5+(asd/5)))
  2005. RLW.C0 = CFrame.Angles(0, 0, math.rad(asd/4))
  2006. LLW.C0 = CFrame.Angles(0, 0, math.rad(-asd/4))
  2007. wait()
  2008. end
  2009. if RAWStand == nil then
  2010. RAWStand = RAW.C0
  2011. LAWStand = LAW.C0
  2012. RLWStand = RLW.C0
  2013. LLWStand = LLW.C0
  2014. HWStand = HW.C0
  2015. end
  2016. normal()
  2017. end
  2018. end
  2019.  
  2020. function deselanim()
  2021. if RestingAnim == false and Able == true then
  2022. local ah = CFrame.Angles(0, 0, math.rad(90))
  2023. for i = 120, 70, -50/8 do
  2024. local asd = i-70
  2025. RAW.C0 = CFrame.new(-(i-70)/240, 0, -i/500) * CFrame.Angles(math.rad(70), math.rad(70/4+(i-70)), math.rad(-(i-70)/4))
  2026. LAW.C0 = CFrame.Angles(math.rad(asd*1.5), 0, math.rad(asd/2)) * CFrame.new(asd/100, -asd/70, 0)
  2027. HW.C0 = ah * CFrame.Angles(0, 0, math.rad(-asd*1.8))
  2028. neck.C0 = necko * CFrame.Angles(math.rad(-200/7+(asd/2)), 0, math.rad(-70/5+(asd/5)))
  2029. RLW.C0 = CFrame.Angles(0, 0, math.rad(asd/4))
  2030. LLW.C0 = CFrame.Angles(0, 0, math.rad(-asd/4))
  2031. wait()
  2032. end
  2033. LLW.Part1 = nil
  2034. RLW.Part1 = nil
  2035. LAW.Part1 = nil
  2036. for i = 70, 270, 200/13 do
  2037. RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
  2038. neck.C0 = necko * CFrame.Angles(math.rad((i-270)/7), 0, math.rad(-i/5))
  2039. wait()
  2040. end
  2041. HW.C0 = ah
  2042. HW.Part1 = nil
  2043. TH.Part1 = handle
  2044. for i = 270, 0, -270/6 do
  2045. RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
  2046. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i/5))
  2047. wait()
  2048. end
  2049. neck.C0 = necko
  2050. detach(true)
  2051. end
  2052. end
  2053.  
  2054. function smash(mouse)
  2055. attach()
  2056. local mouseHit = mouse
  2057. local Orig = torso.CFrame
  2058. local bg = Add.BG(torso)
  2059. local bp = Add.BP(torso)
  2060. bp.position = Orig.p
  2061. local CF = ComputePos(Orig.p, mouseHit)
  2062. local CF2 = CF
  2063. bg.cframe = CF2
  2064. PlaySound(slash)
  2065. for i = 0, 1, Prop.AS*1.1 do
  2066. RAW.C0 = RAWStand * CFrame.Angles(math.rad(80*i), 0, math.rad(45*i)) * CFrame.new(0, -0.4*i, 0)
  2067. LAW.C0 = LAWStand * CFrame.Angles(math.rad(75*i), 0, math.rad(40*i)) * CFrame.new(0, -0.5*i, 0)
  2068. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20*i), math.rad(16*i), math.rad(-8*i))
  2069. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30*i), math.rad(-16*i), math.rad(8*i))
  2070. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(30*i))
  2071. neck.C0 = necko * CFrame.Angles(math.rad(-35*i), 0, math.rad(-10*i))
  2072. wait()
  2073. end
  2074. bp.position = CF * CFrame.new(0, 0, -1.1).p
  2075. StartEffect(maintip)
  2076. Hurt = true
  2077. for i = 0, 1, Prop.AS*1.5 do
  2078. RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-150*i), math.rad(-45*i), math.rad(45-140*i)) * CFrame.new(0, -0.4, 0)
  2079. LAW.C0 = LAWStand * CFrame.Angles(math.rad(75-180*i), math.rad(80*i), math.rad(40-20*i)) * CFrame.new(0, -0.5, 0)
  2080. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-50*i), math.rad(16-16*i), math.rad(-8+8*i))
  2081. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30+40*i), math.rad(-16+16*i), math.rad(8-8*i))
  2082. HW.C0 = HWStand * CFrame.Angles(math.rad(-48*i), 0, math.rad(30))
  2083. neck.C0 = necko * CFrame.Angles(math.rad(-35+75*i), 0, math.rad(-10+26*i))
  2084. wait()
  2085. end
  2086. Hurt = false
  2087. EndEffect()
  2088. PlaySound(smashsound)
  2089. bp.position = CF * CFrame.new(0, 0, -1.9).p
  2090. for i = 0, 1, Prop.AS do
  2091. RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-150+80*i), math.rad(-45+45*i), math.rad(45-140+95*i)) * CFrame.new(0, -0.4+0.4*i, 0)
  2092. LAW.C0 = LAWStand * CFrame.Angles(math.rad(75-180+105*i), math.rad(80-80*i), math.rad(20-20*i)) * CFrame.new(0, -0.5+0.5*i, 0)
  2093. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-50+30*i), 0, 0)
  2094. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30+40-10*i), 0, 0)
  2095. HW.C0 = HWStand * CFrame.Angles(math.rad(-48+48*i), 0, math.rad(30-30*i))
  2096. neck.C0 = necko * CFrame.Angles(math.rad(-35+75-40*i), 0, math.rad(-10+26-16*i))
  2097. wait()
  2098. end
  2099. normal()
  2100. bg:remove()
  2101. bp:remove()
  2102. end
  2103.  
  2104. function swing(mouse)
  2105. attach()
  2106. local mouseHit = mouse
  2107. local Orig = torso.CFrame
  2108. local bg = Add.BG(torso)
  2109. local bp = Add.BP(torso)
  2110. bp.position = Orig.p
  2111. local CF = ComputePos(Orig.p, mouseHit)
  2112. local CF2 = CF
  2113. bg.cframe = CF2
  2114. PlaySound(slash)
  2115. for i = 0, 1, Prop.AS*1.5 do
  2116. RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(-140*i), 0) * CFrame.new(0, 0, 0)
  2117. LAW.C0 = LAWStand * CFrame.Angles(math.rad(25*i), 0, math.rad(20*i)) * CFrame.new(0, -0.4*i, 0)
  2118. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20*i), 0, 0)
  2119. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10*i), 0, 0)
  2120. HW.C0 = HWStand * CFrame.Angles(0, math.rad(-10*i), 0)
  2121. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50*i))
  2122. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-40*i), 0)
  2123. wait()
  2124. end
  2125. Hurt = true
  2126. StartEffect(maintip)
  2127. for i = 0, 1, Prop.AS*1.3 do
  2128. RAW.C0 = RAWStand * CFrame.Angles(math.rad(70*i), math.rad(-140), 0) * CFrame.new(0, -0.9*i, 0)
  2129. LAW.C0 = LAWStand * CFrame.Angles(math.rad(25), 0, math.rad(20-100*i)) * CFrame.new(0, -0.4+0.6*i, 0)
  2130. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20), 0, 0)
  2131. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10), 0, 0)
  2132. HW.C0 = HWStand * CFrame.Angles(math.rad(-70*i), math.rad(-15), 0) * CFrame.new(0, 0, -0.9*i)
  2133. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50+90*i))
  2134. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-40+80*i), 0)
  2135. wait()
  2136. end
  2137. EndEffect()
  2138. Hurt = false
  2139. for i = 0, 1, Prop.AS*0.8 do
  2140. RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-70*i), math.rad(-140+140*i), 0) * CFrame.new(0, -0.9+0.9*i, 0)
  2141. LAW.C0 = LAWStand * CFrame.Angles(math.rad(25-25*i), 0, math.rad(20-100+80*i)) * CFrame.new(0, -0.4+0.6-0.2*i, 0)
  2142. RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-20*i), 0, 0)
  2143. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10+10*i), 0, 0)
  2144. HW.C0 = HWStand * CFrame.Angles(math.rad(-70+70*i), math.rad(-15+15*i), 0) * CFrame.new(0, 0, -0.9+0.9*i)
  2145. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50+90-40*i))
  2146. bg.cframe = CF2 * CFrame.Angles(0, math.rad(40-40*i), 0)
  2147. wait()
  2148. end
  2149. normal()
  2150. bg:remove()
  2151. bp:remove()
  2152. end
  2153.  
  2154. function stab(mouse)
  2155. attach()
  2156. local mouseHit = mouse
  2157. local Orig = torso.CFrame
  2158. local bg = Add.BG(torso)
  2159. local bp = Add.BP(torso)
  2160. bp.position = Orig.p
  2161. local CF = ComputePos(Orig.p, mouseHit)
  2162. local CF2 = CF
  2163. bg.cframe = CF2
  2164. PlaySound(slash)
  2165. for i = 0, 1, Prop.AS do
  2166. RAW.C0 = RAWStand * CFrame.new(0, 0.6*i, 0) * CFrame.Angles(math.rad(-60*i), math.rad(-40*i), math.rad(-30*i)) * CFrame.new(-0.45*i, 0, 0)
  2167. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50*i), 0, math.rad(40*i)) * CFrame.new(0, -0.6*i, 0)
  2168. RLW.C0 = RLWStand * CFrame.Angles(math.rad(3*i), math.rad(20*i), math.rad(-10*i))
  2169. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3*i), math.rad(-20*i), math.rad(10*i))
  2170. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1*i)
  2171. neck.C0 = necko * CFrame.Angles(math.rad(25*i), 0, math.rad(-45*i))
  2172. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30*i), 0)
  2173. wait()
  2174. end
  2175. StartEffect(maintip)
  2176. Hurt = true
  2177. bp.position = CF * CFrame.new(0, 0, -0.6).p
  2178. for i = 0, 1, Prop.AS*1.5 do
  2179. RAW.C0 = RAWStand * CFrame.new(0, 0.6-0.8*i, 0) * CFrame.Angles(math.rad(-60+100*i), math.rad(-40), math.rad(-30+70*i)) * CFrame.new(-0.45, 0, 0)
  2180. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50+60*i), 0, math.rad(40-30*i)) * CFrame.new(0, -0.6-0.4*i, 0)
  2181. RLW.C0 = RLWStand * CFrame.Angles(math.rad(3-18*i), math.rad(20-40*i), math.rad(-10+20*i))
  2182. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3+18*i), math.rad(-20+40*i), math.rad(10-20*i))
  2183. HW.C0 = HWStand * CFrame.Angles(math.rad(-70*i), 0, 0) * CFrame.new(0, 0, 1-1.4*i)
  2184. neck.C0 = necko * CFrame.Angles(math.rad(25-20*i), 0, math.rad(-45+35*i))
  2185. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30+45*i), 0)
  2186. wait()
  2187. end
  2188. Hurt = false
  2189. EndEffect()
  2190. bp.position = CF.p
  2191. for i = 0, 1, Prop.AS*1.1 do
  2192. RAW.C0 = RAWStand * CFrame.new(0, 0.6-0.8+0.2*i, 0) * CFrame.Angles(math.rad(-60+100-40*i), math.rad(-40+40*i), math.rad(-30+70-40*i)) * CFrame.new(-0.45+0.45*i, 0, 0)
  2193. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50+60-10*i), 0, math.rad(40-30-10*i)) * CFrame.new(0, -0.6-0.4+1*i, 0)
  2194. RLW.C0 = RLWStand * CFrame.Angles(math.rad(3-18+15*i), math.rad(20-40+20*i), math.rad(-10+20-10*i))
  2195. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3+18-15*i), math.rad(-20+40-20*i), math.rad(10-20+10*i))
  2196. HW.C0 = HWStand * CFrame.Angles(math.rad(-70+70*i), 0, 0) * CFrame.new(0, 0, 1-1.4+0.4*i)
  2197. neck.C0 = necko * CFrame.Angles(math.rad(5-5*i), 0, math.rad(-10+10*i))
  2198. bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30+45-15*i), 0)
  2199. wait()
  2200. end
  2201. normal()
  2202. bg:remove()
  2203. bp:remove()
  2204. end
  2205.  
  2206. function epicsmashfunc(hit)
  2207. local ch = hit.Parent
  2208. local h = getHumanoid(ch)
  2209. local t, head = ch:findFirstChild("Torso"), ch:findFirstChild("Head")
  2210. return h, t, head
  2211. end
  2212.  
  2213. function epicsmash(mouse)
  2214. if Prop.Rage >= 50 then
  2215. attach()
  2216. local mouseHit = mouse
  2217. local Orig = torso.CFrame
  2218. local bg = Add.BG(torso)
  2219. local bp = Add.BP(torso)
  2220. bp.position = Orig.p
  2221. local CF = ComputePos(Orig.p, mouseHit)
  2222. bg.cframe = CF
  2223. local hu, to, head = nil, nil, nil
  2224. local Epic = true
  2225. local conn = Lleg.Touched:connect(function(hit)
  2226. if Epic then
  2227. hu, to, head = epicsmashfunc(hit)
  2228. if hu and to and head then Epic = false end
  2229. end
  2230. end)
  2231. PlaySound(slash)
  2232. for i = 0, 1, 0.12 do
  2233. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160*i), math.rad(-30*i), math.rad(-80*i)) * CFrame.new(0, 0, 0)
  2234. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80*i), 0, math.rad(-70*i)) * CFrame.new(0, -0.4*i, 0.6*i)
  2235. RLW.C0 = RLWStand * CFrame.Angles(0, 0, math.rad(20*i)) * CFrame.new(0, 0, 0)
  2236. LLW.C0 = LLWStand * CFrame.Angles(math.rad(115*i), 0, math.rad(-40*i)) * CFrame.new(0, -0.8*i, 0)
  2237. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 2*i)
  2238. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52*i))
  2239. bg.cframe = CF * CFrame.Angles(math.rad(10*i), math.rad(-45*i), math.rad(-15*i))
  2240. wait()
  2241. end
  2242. conn:disconnect()
  2243. if hu and to and head then
  2244. Prop.Rage = Prop.Rage - 50
  2245. hu.PlatformStand = true
  2246. local bg2 = Add.BG(to)
  2247. bg2.P = 6000
  2248. bg2.cframe = CF * CFrame.Angles(math.rad(90), math.rad(180), math.rad(90))
  2249. local bp2 = Add.BP(to)
  2250. bp2.position = CF * CFrame.new(-1, -4, -4).p
  2251. bp2.P = 5000
  2252. wait(0.1)
  2253. for i = 0, 1, 0.045 do
  2254. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+270*i), math.rad(-30+20*i), math.rad(-80+120*i))
  2255. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+140*i), 0, math.rad(-70+120*i)) * CFrame.new(0, -0.4-0.1*i, 0.6-0.6*i)
  2256. RLW.C0 = RLWStand * CFrame.Angles(0, 0, math.rad(20-20*i)) * CFrame.new(0, 0, 0)
  2257. LLW.C0 = LLWStand * CFrame.Angles(math.rad(115-115*i), 0, math.rad(-40+40*i)) * CFrame.new(0, -0.8+0.8*i, 0)
  2258. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 2-2*i)
  2259. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52-37*i))
  2260. bg.cframe = CF * CFrame.Angles(math.rad(10-10*i), math.rad(-45+35*i), math.rad(-15+15*i))
  2261. wait()
  2262. end
  2263. PlaySound(slash)
  2264. bp2:remove()
  2265. bg2:remove()
  2266. wait(0.2)
  2267. StartEffect(maintip)
  2268. for i = 0, 1, 0.1 do
  2269. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+270-190*i), math.rad(-30+20-35*i), math.rad(-80+120-135*i))
  2270. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+140-150*i), math.rad(60*i), math.rad(-70+120-40*i)) * CFrame.new(0, -0.4-0.1, 0)
  2271. RLW.C0 = RLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  2272. LLW.C0 = LLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  2273. HW.C0 = HWStand * CFrame.Angles(math.rad(-55*i), 0, math.rad(30*i)) * CFrame.new(0, 0, -1*i)
  2274. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52-37+30*i))
  2275. bg.cframe = CF * CFrame.Angles(math.rad(10-10), math.rad(-45+35-30*i), math.rad(-15+15))
  2276. wait()
  2277. end
  2278. coroutine.resume(coroutine.create(function()
  2279. local frr = Cam.CoordinateFrame
  2280. for i = 1, math.random(3,6) do
  2281. wait()
  2282. Cam.CoordinateFrame = frr * CFrame.new(math.random(-6,6)/10, math.random(-6,6)/10, math.random(-6,6)/10)
  2283. end
  2284. end))
  2285. PlaySound(smashsound)
  2286. EndEffect()
  2287. local pos = head.Position
  2288. if (pos - maintip.Position).magnitude < 2 then
  2289. damage(hu, head, 0.3, hu.Health, hu.Health)
  2290. head:remove()
  2291. PlaySound(hitsound)
  2292. for i = 1, math.random(7, 17) do
  2293. local hmm = math.random(1,6)
  2294. if hmm < 6 then
  2295. local cols = {"Bright red", "Really red"}
  2296. local p = Part(workspace, false, false, 0, 0, cols[math.random(1,#cols)], math.random(2,10)/10, 0.2, math.random(2,10)/10)
  2297. p.CFrame = CFrame.new(pos) * CFrame.new(math.random(-6,6)/10, math.random(-4,2)/10, math.random(-6, 6)/10)
  2298. p.Velocity = Vector3.new(math.random(-15, 15), math.random(5, 40), math.random(-15, 15))
  2299. p.RotVelocity = Vector3.new(math.random(-25,25), math.random(-25,25), math.random(-25,25))
  2300. else
  2301. local cols = {"Institutional white", "White"}
  2302. local p = Part(workspace, false, false, 0, 0, cols[math.random(1,#cols)], math.random(4,13)/10, 0.3, math.random(2,3)/10)
  2303. p.CFrame = CFrame.new(pos) * CFrame.new(math.random(-6,6)/10, math.random(-4,2)/10, math.random(-6, 6)/10)
  2304. p.Velocity = Vector3.new(math.random(-15, 15), math.random(5, 40), math.random(-15, 15))
  2305. p.RotVelocity = Vector3.new(math.random(-25,25), math.random(-25,25), math.random(-25,25))
  2306. end
  2307. end
  2308. end
  2309. for i = 0, 1, 0.06 do
  2310. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+270-190+80*i), math.rad(-30+20-35+45*i), math.rad(-80+120-135+95*i))
  2311. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+140-150+90*i), math.rad(60-60*i), math.rad(10-10*i)) * CFrame.new(0, -0.4-0.1+0.5*i, 0)
  2312. RLW.C0 = RLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  2313. LLW.C0 = LLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  2314. HW.C0 = HWStand * CFrame.Angles(math.rad(-55+55*i), 0, math.rad(30-30*i)) * CFrame.new(0, 0, -1+1*i)
  2315. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(45-45*i))
  2316. bg.cframe = CF * CFrame.Angles(0, math.rad(-45+35-20+30*i), 0)
  2317. wait()
  2318. end
  2319. else
  2320. for i = 0, 1, 0.08 do
  2321. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+160*i), math.rad(-30+30*i), math.rad(-80+80*i)) * CFrame.new(0, 0, 0)
  2322. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+80*i), 0, math.rad(-70+70*i)) * CFrame.new(0, -0.4+0.4*i, 0.6-0.6*i)
  2323. RLW.C0 = RLWStand * CFrame.Angles(0, 0, math.rad(20-20*i)) * CFrame.new(0, 0, 0)
  2324. LLW.C0 = LLWStand * CFrame.Angles(math.rad(115-115*i), 0, math.rad(-40+40*i)) * CFrame.new(0, -0.8+0.8*i, 0)
  2325. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 2-2*i)
  2326. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52-52*i))
  2327. bg.cframe = CF * CFrame.Angles(math.rad(10-10*i), math.rad(-45+45*i), math.rad(-15+15*i))
  2328. wait()
  2329. end
  2330. bg:remove()
  2331. bp:remove()
  2332. normal()
  2333. end
  2334. normal()
  2335. bg:remove()
  2336. bp:remove()
  2337. end
  2338. end
  2339.  
  2340.  
  2341. function shockwave(mouse)
  2342. local p, t = RayCast(torso.Position, torso.CFrame * CFrame.new(0, -5, 0).p, 5, 1)
  2343. if Prop.Rage >= 80 and t then
  2344. Prop.Rage = Prop.Rage - 80
  2345. attach()
  2346. local mouseHit = mouse
  2347. local Orig = torso.CFrame
  2348. local bg = Add.BG(torso)
  2349. local bp = Add.BP(torso)
  2350. bp.position = Orig.p
  2351. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2352. bp.P = 5000
  2353. local CF = ComputePos(Orig.p, mouseHit)
  2354. bg.cframe = CF
  2355. PlaySound(charge)
  2356. for i = 0, 1, 0.07 do
  2357. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-110*i), math.rad(-40*i), math.rad(-50*i)) * CFrame.new(0.2*i, 0, 0.2*i)
  2358. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100*i), 0, math.rad(-40*i)) * CFrame.new(-0.2*i, -0.4*i, 0.5*i)
  2359. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15*i), 0, math.rad(-10*i)) * CFrame.new(0, 0.7*i, -0.8*i)
  2360. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75*i), 0, math.rad(10*i)) * CFrame.new(0, 0.4*i, 0.2*i)
  2361. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6*i)
  2362. neck.C0 = necko * CFrame.Angles(math.rad(30*i), 0, 0)
  2363. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  2364. bp.position = Orig.p + Vector3.new(0, -1.9*i, 0)
  2365. wait()
  2366. end
  2367. for i = 0, 1, 0.04 do
  2368. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-110+220*i), math.rad(-40+50*i), math.rad(-50+90*i)) * CFrame.new(0.2-0.2*i, -0.85*i, 0.2-0.2*i)
  2369. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100+185*i), 0, math.rad(-40+75*i)) * CFrame.new(-0.2-0.2*i, -0.4-0.05*i, 0.5-0.5*i)
  2370. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15-25*i), 0, math.rad(-10+6*i)) * CFrame.new(0, 0.7-0.7*i, -0.8+0.8*i)
  2371. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75+65*i), 0, math.rad(10-6*i)) * CFrame.new(0, 0.4-0.4*i, 0.2-0.2*i)
  2372. HW.C0 = HWStand * CFrame.Angles(math.rad(-15*i), 0, 0) * CFrame.new(0, 0, 1.6-2.1*i)
  2373. neck.C0 = necko * CFrame.Angles(math.rad(30-70*i), 0, 0)
  2374. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  2375. bp.position = Orig.p + Vector3.new(0, -1.9+17*i, 0)
  2376. wait()
  2377. end
  2378. bp.P = 12001
  2379. wait(0.1)
  2380. StartEffect(maintip)
  2381. PlaySound(slash)
  2382. for i = 0, 1, 0.1 do
  2383. RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150*i), math.rad(10-30*i), math.rad(40-90*i)) * CFrame.new(0, -0.85+0.85*i, -0.8*i)
  2384. LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-125*i), 0, math.rad(35)) * CFrame.new(0, -0.45+0.1, 0)
  2385. RLW.C0 = RLWStand * CFrame.Angles(math.rad(-10+25*i), 0, math.rad(-4+4*i)) * CFrame.new(0, 0.5*i, -0.8*i)
  2386. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10-35*i), 0, math.rad(4-4*i)) * CFrame.new(0, 0.4*i, 0.2*i)
  2387. HW.C0 = HWStand * CFrame.Angles(math.rad(-15-10*i), 0, 0) * CFrame.new(0, 0, -0.5+0.7*i)
  2388. neck.C0 = necko * CFrame.Angles(math.rad(-40+75*i), 0, math.rad(-20*i))
  2389. bg.cframe = CF * CFrame.Angles(0, math.rad(380*i), 0)
  2390. bp.position = Orig.p + Vector3.new(0, 15.1-16.7*i, 0)
  2391. wait()
  2392. end
  2393. coroutine.resume(coroutine.create(function()
  2394. local frr = Cam.CoordinateFrame
  2395. for i = 1, math.random(10,16) do
  2396. wait()
  2397. Cam.CoordinateFrame = frr * CFrame.new(math.random(-15,15)/10, math.random(-15,15)/10, math.random(-15,15)/10)
  2398. end
  2399. end))
  2400. PlaySound(smashsound)
  2401. local pos = CF * CFrame.new(-2, -3, -3).p
  2402. EndEffect()
  2403. local p = Part(workspace, true, false, 0, 0, "Black", 1, 1, 1, true)
  2404. p.CFrame = CFrame.new(pos)
  2405. local p2 = Part(workspace, true, false, 0, 0, "Black", 1, 1, 1, true)
  2406. p2.CFrame = CFrame.new(pos)
  2407. local p3 = Part(workspace, true, false, 0, 0, "Black", 1, 1, 1, true)
  2408. p3.CFrame = CFrame.new(pos)
  2409. local m3 = Instance.new("SpecialMesh",p3)
  2410. m3.MeshType = "Sphere"
  2411. PlaySound(boom)
  2412. local m2 = Instance.new("CylinderMesh",p2)
  2413. local m = Add.Mesh(p, "http://www.roblox.com/asset/?id=20329976", 1, 1.2, 1)
  2414. local tab = {}
  2415. coroutine.resume(coroutine.create(function()
  2416. for x = 0, 1.04, 0.04 do
  2417. wait()
  2418. local thing = 33*x
  2419. m.Scale = Vector3.new(21*x, 5*x, 21*x)
  2420. m2.Scale = Vector3.new(thing, 1, thing)
  2421. m3.Scale = Vector3.new(thing*0.93, thing*0.7, thing*0.93)
  2422. p.Transparency = x
  2423. p2.Transparency = x
  2424. p3.Transparency = x
  2425. for i, v in pairs(workspace:children()) do
  2426. local h = getHumanoid(v)
  2427. local to = v:findFirstChild("Torso")
  2428. if h ~= nil and to ~= nil and find(tab, v) == nil then
  2429. if (to.Position - pos).magnitude < (thing/2) then
  2430. damage(h, to, 0.5, Prop.ShockDMG/2, Prop.ShockDMG)
  2431. to.Velocity = CFrame.new(pos, to.Position).lookVector * 60
  2432. to.RotVelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  2433. h.PlatformStand = true
  2434. table.insert(tab, v)
  2435. coroutine.resume(coroutine.create(function() wait(1.2) h.PlatformStand = false end))
  2436. end
  2437. end
  2438. end
  2439. end
  2440. p:remove()
  2441. p2:remove()
  2442. p3:remove()
  2443. end))
  2444. wait(0.8)
  2445. for i = 0, 1, Prop.AS*0.8 do
  2446. RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150+40*i), math.rad(10-30+20*i), math.rad(40-90+50*i)) * CFrame.new(0, 0, -0.8+0.8*i)
  2447. LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-125+40*i), 0, math.rad(35-35*i)) * CFrame.new(0, -0.45+0.1+0.35*i, 0)
  2448. RLW.C0 = RLWStand * CFrame.Angles(math.rad(-10+25-15*i), 0, 0) * CFrame.new(0, 0.5-0.5*i, -0.8+0.8*i)
  2449. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10-35+45*i), 0, 0) * CFrame.new(0, 0.4-0.4*i, 0.2-0.2*i)
  2450. HW.C0 = HWStand * CFrame.Angles(math.rad(-15-10+25*i), 0, 0) * CFrame.new(0, 0, -0.5+0.7-0.2*i)
  2451. neck.C0 = necko * CFrame.Angles(math.rad(-40+75-35*i), 0, math.rad(-20+20*i))
  2452. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  2453. bp.position = Orig.p + Vector3.new(0, 15.1-16.7+1.6*i, 0)
  2454. wait()
  2455. end
  2456. normal()
  2457. bg:remove()
  2458. bp:remove()
  2459. end
  2460. end
  2461.  
  2462. function flipsmash(mouse)
  2463. local Orig = torso.CFrame
  2464. local mouseHit = mouse
  2465. local CF = ComputePos(Orig.p, mouseHit)
  2466. local p, t = RayCast(torso.Position, torso.Position + Vector3.new(0, -5, 0), 5, 0.5)
  2467. local ahp = (CF * CFrame.new(0, 0, -14.5))
  2468. local p2, t2 = RayCast(ahp.p, (ahp * CFrame.new(0, -5, 0)).p, 5, 0.5)
  2469. if t and t2 and Prop.Rage >= 90 then
  2470. Prop.Rage = Prop.Rage - 90
  2471. attach()
  2472. local bg = Add.BG(torso)
  2473. local bp = Add.BP(torso)
  2474. bp.position = Orig.p
  2475. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2476. bg.cframe = CF
  2477. local cen = CF * CFrame.new(0, -1.2, -1.5-6.5)
  2478. for i = 0, 1, 0.08 do
  2479. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-100*i), math.rad(-50*i), math.rad(-50*i)) * CFrame.new(0.2*i, 0, 0.2*i)
  2480. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100*i), 0, math.rad(-40*i)) * CFrame.new(-0.2*i, -0.4*i, 0.5*i)
  2481. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15*i), 0, math.rad(-10*i)) * CFrame.new(0, 0.7*i, -1*i)
  2482. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75*i), 0, math.rad(10*i)) * CFrame.new(0, 0.4*i, 0)
  2483. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6*i)
  2484. neck.C0 = necko * CFrame.Angles(math.rad(30*i), 0, 0)
  2485. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  2486. bp.position = CF * CFrame.new(0, -1.2*i, -1.5*i).p
  2487. wait()
  2488. end
  2489. wait(0.15)
  2490. hum.PlatformStand = true
  2491. for i = 0, 1, 0.13 do
  2492. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-100-70*i), math.rad(-50), math.rad(-50)) * CFrame.new(0.2, 0, 0.2)
  2493. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100-50*i), 0, math.rad(-40+30*i)) * CFrame.new(-0.2, -0.4, 0.5)
  2494. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15-10*i), 0, math.rad(-10)) * CFrame.new(0, 0.7-0.7*i, -1+1*i)
  2495. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75+70*i), 0, math.rad(10)) * CFrame.new(0, 0.4-0.4*i, 0)
  2496. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6)
  2497. neck.C0 = necko * CFrame.Angles(math.rad(30-40*i), 0, 0)
  2498. bg.cframe = CF * CFrame.Angles(math.rad(-90*i), 0, 0)
  2499. bp.position = cen * CFrame.Angles(math.rad(180-45*i), 0, 0) * CFrame.new(0, 0, -6.5).p
  2500. wait()
  2501. end
  2502. PlaySound(slash)
  2503. for i = 0, 1, 0.13 do
  2504. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-100-70-80*i), math.rad(-50+60*i), math.rad(-50+90*i)) * CFrame.new(0.2-0.2*i, -0.85*i, 0.2-0.2*i)
  2505. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100-50-125*i), 0, math.rad(-40+30+45*i)) * CFrame.new(-0.2+0.2*i, -0.4-0.5*i, 0.5-0.5*i)
  2506. RLW.C0 = RLWStand * CFrame.Angles(math.rad(5), 0, math.rad(-10)) * CFrame.new(0, 0, 0)
  2507. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-5), 0, math.rad(10)) * CFrame.new(0, 0, 0)
  2508. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6-2.6*i)
  2509. neck.C0 = necko * CFrame.Angles(math.rad(-10), 0, 0)
  2510. bg.cframe = CF * CFrame.Angles(math.rad(-90-90*i), 0, 0)
  2511. bp.position = cen * CFrame.Angles(math.rad(180-45-45*i), 0, 0) * CFrame.new(0, 0, -6.5).p
  2512. wait()
  2513. end
  2514. StartEffect(maintip)
  2515. PlaySound(slash)
  2516. for i = 0, 1, 0.06 do
  2517. RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150*i), math.rad(10-50*i), math.rad(40-85*i)) * CFrame.new(0, -0.85+0.45*i, 0)
  2518. LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-130*i), 0, math.rad(35)) * CFrame.new(0, -0.9+0.3*i, 0)
  2519. RLW.C0 = RLWStand * CFrame.Angles(math.rad(5-80*i), 0, math.rad(-10)) * CFrame.new(0, 0.4*i, 0)
  2520. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-5+20*i), 0, math.rad(10)) * CFrame.new(0, 0.7*i, -1*i)
  2521. HW.C0 = HWStand * CFrame.Angles(math.rad(-35+10*i), 0, 0) * CFrame.new(0, 0, 1.6-2.6)
  2522. neck.C0 = necko * CFrame.Angles(math.rad(-10+50*i), 0, 0)
  2523. bg.cframe = CF * CFrame.Angles(math.rad(-180-190*i), 0, 0)
  2524. bp.position = cen * CFrame.Angles(math.rad(90-90*i), 0, 0) * CFrame.new(0, 0, -6.5).p
  2525. wait()
  2526. end
  2527. coroutine.resume(coroutine.create(function()
  2528. local frr = Cam.CoordinateFrame
  2529. for i = 1, math.random(13,20) do
  2530. wait()
  2531. Cam.CoordinateFrame = frr * CFrame.new(math.random(-15,15)/10, math.random(-15,15)/10, math.random(-15,15)/10)
  2532. end
  2533. end))
  2534. PlaySound(smashsound)
  2535. PlaySound(boomboom)
  2536. EndEffect()
  2537. local poo = Vector3.new(maintip.Position.x, t2.Position.y + t2.Size.y/2, maintip.Position.z)
  2538. local siz = math.random(65,115)/10
  2539. local partie = Part(workspace, true, false, 1, 0, "White", siz, 0.2, siz, true)
  2540. partie.CFrame = CFrame.new(poo) * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)
  2541. local decc = Instance.new("Decal",partie)
  2542. decc.Shiny = 0
  2543. decc.Specular = 0
  2544. decc.Texture = "http://www.roblox.com/asset/?id=49173398"
  2545. decc.Face = "Top"
  2546. local count = 0
  2547. for i, v in pairs(workspace:children()) do
  2548. local h = getHumanoid(v)
  2549. local to = v:findFirstChild("Torso")
  2550. if h ~= nil and to ~= nil then
  2551. if (to.Position - poo).magnitude < 15 then
  2552. count = count + 1
  2553. local Maxhp = h.MaxHealth
  2554. if Maxhp > 5000 then Maxhp = 5000 end
  2555. damage(h, to, 0.5, 0, Maxhp+5)
  2556. to.Velocity = CFrame.new(poo, to.Position).lookVector * 30
  2557. to.Velocity = to.Velocity + Vector3.new(0, 60, 0)
  2558. to.RotVelocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2559. h.PlatformStand = true
  2560. coroutine.resume(coroutine.create(function() wait(1.2) h.PlatformStand = false end))
  2561. if count >= 2 then break end
  2562. end
  2563. end
  2564. end
  2565. coroutine.resume(coroutine.create(function() wait(math.random(7,14)) partie:remove() end))
  2566. wait(0.6)
  2567. for i = 0, 1, 0.06 do
  2568. RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150+40*i), math.rad(10-50+40*i), math.rad(40-85+45*i)) * CFrame.new(0, -0.85+0.45+0.4*i, 0)
  2569. LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-130+45*i), 0, math.rad(35-35*i)) * CFrame.new(0, -0.9+0.3+0.6*i, 0)
  2570. RLW.C0 = RLWStand * CFrame.Angles(math.rad(5-80+75*i), 0, math.rad(-10+10*i)) * CFrame.new(0, 0.4-0.4*i, 0)
  2571. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-5+20-15*i), 0, math.rad(10-10*i)) * CFrame.new(0, 0.7-0.7*i, -1+1*i)
  2572. HW.C0 = HWStand * CFrame.Angles(math.rad(-35+10+25*i), 0, 0) * CFrame.new(0, 0, 1.6-2.6+1*i)
  2573. neck.C0 = necko * CFrame.Angles(math.rad(-10+50-40*i), 0, 0)
  2574. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  2575. bp.position = cen * CFrame.new(0, 1.2*i, -6.5).p
  2576. wait()
  2577. end
  2578. hum.PlatformStand = false
  2579. normal()
  2580. bg:remove()
  2581. bp:remove()
  2582. end
  2583. end
  2584.  
  2585. function spin(mouse)
  2586. attach()
  2587. local mouseHit = mouse
  2588. local Orig = torso.CFrame
  2589. local CF = ComputePos(Orig.p, mouseHit)
  2590. local p, t = RayCast(torso.Position, CF * CFrame.new(0, -7, -1.5).p, 5, 0.5)
  2591. if t then
  2592. local bg = Add.BG(torso)
  2593. local bp = Add.BP(torso)
  2594. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2595. bp.position = Orig.p
  2596. bg.cframe = CF
  2597. PlaySound(slash)
  2598. for i = 0, 1, 0.11 do
  2599. RAW.C0 = RAWStand * CFrame.Angles(math.rad(20*i), math.rad(120*i), math.rad(20*i)) * CFrame.new(0, 0, 0)
  2600. RAW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(100*i), 0, math.rad(20*i))
  2601. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60*i), 0, math.rad(40*i)) * CFrame.new(0, -0.8*i, 0)
  2602. RLW.C0 = RLWStand * CFrame.Angles(math.rad(10*i), 0, 0) * CFrame.new(0, 0.3*i, -0.2*i)
  2603. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-25*i), 0, 0)
  2604. HW.C0 = HWStand * CFrame.Angles(0, 0, 0)
  2605. neck.C0 = necko * CFrame.Angles(math.rad(-15*i), 0, math.rad(-30*i))
  2606. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  2607. wait()
  2608. end
  2609. local posg = CF * CFrame.new(0, -0.6, -4)
  2610. PlaySound(hitsound, 0.9)
  2611. for i = 0, 1, 0.13 do
  2612. RAW.C0 = RAWStand * CFrame.Angles(math.rad(20-20*i), math.rad(120+10*i), math.rad(20)) * CFrame.new(0, -0.8*i, 0.4*i)
  2613. RAW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(100-60*i), 0, math.rad(20-20*i))
  2614. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60-40*i), 0, math.rad(40-50*i)) * CFrame.new(0, -0.8+0.3*i, 0)
  2615. RLW.C0 = RLWStand * CFrame.Angles(math.rad(10-10*i), 0, 0) * CFrame.new(0, 0.3-0.3*i, -0.2+0.2*i)
  2616. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-25+25*i), 0, 0)
  2617. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35*i)) * CFrame.new(0, 0, -0.6*i)
  2618. neck.C0 = necko * CFrame.Angles(math.rad(-15+25*i), 0, math.rad(-30+30*i))
  2619. bg.cframe = CF * CFrame.Angles(0, 0, 0)
  2620. bp.position = CF * CFrame.new(0, 1*i, -2*i).p
  2621. wait()
  2622. end
  2623. hum.PlatformStand = true
  2624. bg.Parent = handle
  2625. bg.cframe = CF * CFrame.Angles(math.pi, math.pi, 0)
  2626. bp.Parent = handle
  2627. bp.position = posg.p
  2628. StartEffect(Lleg)
  2629. Leghurt = true
  2630. PlaySound(slash)
  2631. for i = 0, 1, 0.09 do
  2632. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-90*i), math.rad(130-40*i), math.rad(20-40*i)) * CFrame.new(0, -0.8+0.8*i, 0.4-0.4*i)
  2633. RAW.C1 = CFrame.new(0, 0.5+0.5*i, 0) * CFrame.Angles(math.rad(100-60+60*i), 0, 0)
  2634. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60-40-20+60*i), 0, math.rad(40-50+10*i)) * CFrame.new(0, -0.8+0.3-0.5*i, 0)
  2635. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15*i), 0, 0)
  2636. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-20*i), 0, 0)
  2637. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35)) * CFrame.new(0, 0, 1*i)
  2638. neck.C0 = necko * CFrame.Angles(math.rad(10-35*i), 0, 0)
  2639. bg.cframe = CF * CFrame.Angles(math.pi, math.pi+math.rad(90*i), 0)
  2640. wait()
  2641. end
  2642. for i = 0, 1, 0.055 do
  2643. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(-20)) * CFrame.new(0, 0, 0)
  2644. RAW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(100), 0, 0)
  2645. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60), 0, 0) * CFrame.new(0, -1, 0)
  2646. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15+10*i), 0, 0)
  2647. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-20-5*i), 0, 0)
  2648. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35)) * CFrame.new(0, 0, 1)
  2649. neck.C0 = necko * CFrame.Angles(math.rad(-25), 0, 0)
  2650. bg.cframe = CF * CFrame.Angles(math.pi, math.pi+math.rad(90+270*i), 0)
  2651. wait()
  2652. end
  2653. EndEffect()
  2654. Leghurt = false
  2655. for i = 0, 1, 0.12 do
  2656. RAW.C0 = RAWStand * CFrame.Angles(math.rad(-90+90*i), math.rad(90+40*i), math.rad(-20+40*i)) * CFrame.new(0, -0.8*i, 0.4*i)
  2657. RAW.C1 = CFrame.new(0, 1-0.5*i, 0) * CFrame.Angles(math.rad(100-60*i), 0, 0)
  2658. LAW.C0 = LAWStand * CFrame.Angles(math.rad(60-60*i), 0, 0) * CFrame.new(0, -1+0.5*i, 0)
  2659. RLW.C0 = RLWStand * CFrame.Angles(math.rad(15+10-25*i), 0, 0)
  2660. LLW.C0 = LLWStand * CFrame.Angles(math.rad(-20-5+25*i), 0, 0)
  2661. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35)) * CFrame.new(0, 0, 1)
  2662. neck.C0 = necko * CFrame.Angles(math.rad(-25+25*i), 0, 0)
  2663. bg.cframe = CF * CFrame.Angles(math.pi, math.pi+math.rad(360), 0)
  2664. wait()
  2665. end
  2666. bg.Parent = torso
  2667. bp.Parent = torso
  2668. bg.cframe = CF
  2669. for i = 0, 1, 0.14 do
  2670. RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(90+40-130*i), math.rad(-20+40-20*i)) * CFrame.new(0, -0.8+0.8*i, 0.4-0.4*i)
  2671. RAW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(100-60-40*i), 0, 0)
  2672. LAW.C0 = LAWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, -1+0.5+0.5*i, 0)
  2673. RLW.C0 = RLWStand * CFrame.Angles(0, 0, 0)
  2674. LLW.C0 = LLWStand * CFrame.Angles(0, 0, 0)
  2675. HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35+35*i)) * CFrame.new(0, 0, 1-1*i)
  2676. neck.C0 = necko * CFrame.Angles(0, 0, 0)
  2677. bp.position = CF * CFrame.new(0, 0, -2+1*i).p
  2678. bg.cframe = CF
  2679. wait()
  2680. end
  2681. hum.PlatformStand = false
  2682. normal()
  2683. bg:remove()
  2684. bp:remove()
  2685. end
  2686. end
  2687.  
  2688. function rest()
  2689. local Orig = torso.CFrame
  2690. local CF = ComputePos(Orig.p, Orig * CFrame.new(0, 0, -5).p)
  2691. local p, t = RayCast(CF.p, CF * CFrame.new(0, -6, 0.5).p, 6, 0.5)
  2692. if t then
  2693. attach()
  2694. local bg = Add.BG(torso)
  2695. local bp = Add.BP(torso)
  2696. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2697. bp.position = CF.p
  2698. bg.cframe = CF
  2699. local cen = CF * CFrame.new(0, -2.5, 0)
  2700. RestingAnim = true
  2701. hum.PlatformStand = true
  2702. local standup = function()
  2703. Resting = false
  2704. bp.Parent = torso
  2705. cen = ComputePos(torso.CFrame.p, torso.CFrame * CFrame.new(0, 0, -5).p) * CFrame.new(0, 0, -2.5)
  2706. for i = 1, 0, -0.12 do
  2707. RAW.C0 = RAWStand * CFrame.Angles(math.rad(50), math.rad(-20-20*i), math.rad(60*i))
  2708. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40-70*i), 0, math.rad(-30-10*i)) * CFrame.new(0, -0.6*i, 0.4+0.2*i)
  2709. RLW.C0 = RLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(15)) * CFrame.new(0, 0, -0.4)
  2710. LLW.C0 = LLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(-15)) * CFrame.new(0, 0, -0.4)
  2711. neck.C0 = necko * CFrame.Angles(math.rad(10-15*i), 0, 0)
  2712. HW.C0 = HWStand * CFrame.Angles(math.rad(40*i), 0, 0) * CFrame.new(0, 0, 0.2+0.8*i)
  2713. bg.cframe = CF * CFrame.Angles(math.rad(-10+20*i), 0, 0)
  2714. bp.position = cen * CFrame.Angles(math.rad(180+45+45*i), 0, 0) * CFrame.new(0, -2.5, 0.4*i).p
  2715. wait()
  2716. end
  2717. for i = 1, 0, -0.17 do
  2718. RAW.C0 = RAWStand * CFrame.Angles(math.rad(50*i), math.rad(-20*i), 0)
  2719. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40*i), 0, math.rad(-30*i)) * CFrame.new(0, 0, 0.4*i)
  2720. RLW.C0 = RLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(15*i)) * CFrame.new(0, -0.4*i, -0.4*i)
  2721. LLW.C0 = LLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(-15*i)) * CFrame.new(0, -0.4*i, -0.4*i)
  2722. neck.C0 = necko * CFrame.Angles(math.rad(10*i), 0, 0)
  2723. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.2*i)
  2724. bg.cframe = CF * CFrame.Angles(math.rad(-10*i), 0, 0)
  2725. bp.position = cen * CFrame.Angles(math.rad(180+45*i), 0, 0) * CFrame.new(0, -2.5, 0).p
  2726. wait()
  2727. end
  2728. hum.PlatformStand = false
  2729. bg:remove()
  2730. bp:remove()
  2731. normal()
  2732. Able = true
  2733. RestingAnim = false
  2734. end
  2735. local connec = hum.Changed:connect(function()
  2736. if hum.PlatformStand == false then
  2737. coroutine.resume(coroutine.create(function()
  2738. standup()
  2739. end))
  2740. standup = nil
  2741. connec:disconnect()
  2742. end
  2743. end)
  2744. local lasthp = hum.Health
  2745. local conn = hum.HealthChanged:connect(function(hp)
  2746. if lasthp - hp > 0.8 then
  2747. hum.PlatformStand = false
  2748. conn:disconnect()
  2749. end
  2750. lasthp = hp
  2751. end)
  2752. coroutine.resume(coroutine.create(function()
  2753. repeat wait() until Resting
  2754. while Resting do
  2755. wait()
  2756. if torso.Velocity.magnitude > 4 then
  2757. hum.PlatformStand = false
  2758. break
  2759. end
  2760. end
  2761. end))
  2762. for i = 0, 1, 0.1 do
  2763. RAW.C0 = RAWStand * CFrame.Angles(math.rad(50*i), math.rad(-20*i), 0)
  2764. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40*i), 0, math.rad(-30*i)) * CFrame.new(0, 0, 0.4*i)
  2765. RLW.C0 = RLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(15*i)) * CFrame.new(0, 0, -0.4*i)
  2766. LLW.C0 = LLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(-15*i)) * CFrame.new(0, 0, -0.4*i)
  2767. neck.C0 = necko * CFrame.Angles(math.rad(10*i), 0, 0)
  2768. HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.2*i)
  2769. bg.cframe = CF * CFrame.Angles(math.rad(-10*i), 0, 0)
  2770. bp.position = cen * CFrame.Angles(math.rad(180+45*i), 0, 0) * CFrame.new(0, -2.5, 0).p
  2771. wait()
  2772. end
  2773. for i = 0, 1, 0.07 do
  2774. RAW.C0 = RAWStand * CFrame.Angles(math.rad(50), math.rad(-20-20*i), math.rad(60*i))
  2775. LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40-70*i), 0, math.rad(-30-10*i)) * CFrame.new(0, -0.6*i, 0.4+0.2*i)
  2776. RLW.C0 = RLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(15)) * CFrame.new(0, -0.4*i, -0.4)
  2777. LLW.C0 = LLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(-15)) * CFrame.new(0, -0.4*i, -0.4)
  2778. neck.C0 = necko * CFrame.Angles(math.rad(10-15*i), 0, 0)
  2779. HW.C0 = HWStand * CFrame.Angles(math.rad(40*i), 0, 0) * CFrame.new(0, 0, 0.2+0.8*i)
  2780. bg.cframe = CF * CFrame.Angles(math.rad(-10+20*i), 0, 0)
  2781. bp.position = cen * CFrame.Angles(math.rad(180+45+45*i), 0, 0) * CFrame.new(0, -2.5, 0.4*i).p
  2782. wait()
  2783. end
  2784. Resting = true
  2785. coroutine.resume(coroutine.create(function()
  2786. wait(0.4)
  2787. bp.Parent = nil
  2788. end))
  2789. coroutine.resume(coroutine.create(function()
  2790. while Resting and selected do
  2791. wait(math.random(350,800)/1000)
  2792. hum.Health = hum.Health + math.random(1,2)
  2793. Prop.Rage = Prop.Rage + 1
  2794. end
  2795. hum.PlatformStand = false
  2796. end))
  2797. end
  2798. end
  2799.  
  2800. function select(mouse)
  2801. mouse.Icon = MouseIc
  2802. selectanim()
  2803. selected = true
  2804. mouse.Button1Down:connect(function()
  2805. if Able and RestingAnim == false and hum.Sit == false then
  2806. Able = false
  2807. swing(mouse.Hit.p)
  2808. Able = true
  2809. end
  2810. end)
  2811. mouse.Button1Down:connect(function()
  2812. mouse.Icon = MouseDo
  2813. mouse.Button1Up:wait()
  2814. mouse.Icon = MouseIc
  2815. end)
  2816. mouse.KeyDown:connect(function(key)
  2817. key = key:lower()
  2818. if Able and RestingAnim == false and hum.Sit == false then
  2819. if key == "q" then
  2820. Able = false
  2821. smash(mouse.Hit.p)
  2822. Able = true
  2823. elseif key == "e" then
  2824. Able = false
  2825. swing(mouse.Hit.p)
  2826. Able = true
  2827. elseif key == "r" then
  2828. Able = false
  2829. stab(mouse.Hit.p)
  2830. Able = true
  2831. elseif key == "f" then
  2832. Able = false
  2833. epicsmash(mouse.Hit.p)
  2834. Able = true
  2835. elseif key == "z" then
  2836. Able = false
  2837. shockwave(mouse.Hit.p)
  2838. Able = true
  2839. elseif key == "x" then
  2840. Able = false
  2841. flipsmash(mouse.Hit.p)
  2842. Able = true
  2843. elseif key == "t" then
  2844. Able = false
  2845. spin(mouse.Hit.p)
  2846. Able = true
  2847. end
  2848. end
  2849. if Able then
  2850. if key == "g" and AbleG then
  2851. AbleG = false
  2852. if Resting == true then
  2853. Resting = false
  2854. else
  2855. rest()
  2856. end
  2857. wait(0.8)
  2858. AbleG = true
  2859. end
  2860. end
  2861. end)
  2862. end
  2863.  
  2864. function deselect(mouse)
  2865. selected = false
  2866. deselanim()
  2867. end
  2868. bin.Selected:connect(select)
  2869. bin.Deselected:connect(deselect)
Add Comment
Please, Sign In to add comment