Advertisement
SinisterKek

Untitled

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