Advertisement
Fogdoggy

Untitled

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