Advertisement
raptorpack78

Untitled

Nov 9th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 121.21 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code V2 by Mokiros")
  6. local RealPlayer = RealPlayer
  7. script.Parent = RealPlayer.Character
  8.  
  9. --Fake event to make stuff like Mouse.KeyDown work
  10. local Disconnect_Function = function(this)
  11. this[1].Functions[this[2]] = nil
  12. end
  13. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  14. local FakeEvent_Metatable = {__index={
  15. Connect = function(this,f)
  16. local i = tostring(math.random(0,10000))
  17. while this.Functions[i] do
  18. i = tostring(math.random(0,10000))
  19. end
  20. this.Functions[i] = f
  21. return setmetatable({this,i},Disconnect_Metatable)
  22. end
  23. }}
  24. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  25. local function fakeEvent()
  26. return setmetatable({Functions={}},FakeEvent_Metatable)
  27. end
  28.  
  29. --Creating fake input objects with fake variables
  30. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  31. FakeMouse.keyUp = FakeMouse.KeyUp
  32. FakeMouse.keyDown = FakeMouse.KeyDown
  33. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  34. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  35. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  36. end}
  37. --Merged 2 functions into one by checking amount of arguments
  38. CAS.UnbindAction = CAS.BindAction
  39.  
  40. --This function will trigger the events that have been :Connect()'ed
  41. local function TriggerEvent(self,ev,...)
  42. for _,f in pairs(self[ev].Functions) do
  43. f(...)
  44. end
  45. end
  46. FakeMouse.TriggerEvent = TriggerEvent
  47. UIS.TriggerEvent = TriggerEvent
  48.  
  49. --Client communication
  50. local Event = Instance.new("RemoteEvent")
  51. Event.Name = "UserInput_Event"
  52. Event.OnServerEvent:Connect(function(plr,io)
  53. if plr~=RealPlayer then return end
  54. FakeMouse.Target = io.Target
  55. FakeMouse.Hit = io.Hit
  56. if not io.isMouse then
  57. local b = io.UserInputState == Enum.UserInputState.Begin
  58. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  59. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  60. end
  61. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  62. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  63. end
  64. for _,t in pairs(CAS.Actions) do
  65. for _,k in pairs(t.Keys) do
  66. if k==io.KeyCode then
  67. t.Function(t.Name,io.UserInputState,io)
  68. end
  69. end
  70. end
  71. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  72. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  73. end
  74. end)
  75. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  76. local Mouse = owner:GetMouse()
  77. local UIS = game:GetService("UserInputService")
  78. local input = function(io,RobloxHandled)
  79. if RobloxHandled then return end
  80. --Since InputObject is a client-side instance, we create and pass table instead
  81. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  82. end
  83. UIS.InputBegan:Connect(input)
  84. UIS.InputEnded:Connect(input)
  85. local h,t
  86. --Give the server mouse data every second frame, but only if the values changed
  87. --If player is not moving their mouse, client won't fire events
  88. local HB = game:GetService("RunService").Heartbeat
  89. while true do
  90. if h~=Mouse.Hit or t~=Mouse.Target then
  91. h,t=Mouse.Hit,Mouse.Target
  92. Event:FireServer({isMouse=true,Target=t,Hit=h})
  93. end
  94. --Wait 2 frames
  95. for i=1,2 do
  96. HB:Wait()
  97. end
  98. end]==],script)
  99.  
  100. ----Sandboxed game object that allows the usage of client-side methods and services
  101. --Real game object
  102. local RealGame = game
  103.  
  104. --Metatable for fake service
  105. local FakeService_Metatable = {
  106. __index = function(self,k)
  107. local s = rawget(self,"_RealService")
  108. if s then
  109. return typeof(s[k])=="function"
  110. and function(_,...)return s[k](s,...)end or s[k]
  111. end
  112. end,
  113. __newindex = function(self,k,v)
  114. local s = rawget(self,"_RealService")
  115. if s then s[k]=v end
  116. end
  117. }
  118. local function FakeService(t,RealService)
  119. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  120. return setmetatable(t,FakeService_Metatable)
  121. end
  122.  
  123. --Fake game object
  124. local FakeGame = {
  125. GetService = function(self,s)
  126. return rawget(self,s) or RealGame:GetService(s)
  127. end,
  128. Players = FakeService({
  129. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  130. },"Players"),
  131. UserInputService = FakeService(UIS,"UserInputService"),
  132. ContextActionService = FakeService(CAS,"ContextActionService"),
  133. RunService = FakeService({
  134. _btrs = {},
  135. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  136. BindToRenderStep = function(self,name,_,fun)
  137. self._btrs[name] = self.Heartbeat:Connect(fun)
  138. end,
  139. UnbindFromRenderStep = function(self,name)
  140. self._btrs[name]:Disconnect()
  141. end,
  142. },"RunService")
  143. }
  144. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  145. FakeGame.service = FakeGame.GetService
  146. FakeService(FakeGame,game)
  147. --Changing owner to fake player object to support owner:GetMouse()
  148. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  149. end
  150. warn'Controls:Q Strong punch|E Normal punch|R Long range|T Up-Dash|X Front dash|'
  151. plr = game.Players.LocalPlayer
  152. char = plr.Character
  153. hum = char.Humanoid
  154. local cam = game.Workspace.CurrentCamera
  155. t = char.Torso
  156. h = char.Head
  157. ra = char["Right Arm"]
  158. la = char["Left Arm"]
  159. rl = char["Right Leg"]
  160. ll = char["Left Leg"]
  161. tors = char.Torso
  162. lleg = char["Left Leg"]
  163. root = char.HumanoidRootPart
  164. char.Humanoid.MaxHealth = 250000
  165. wait()
  166. char.Humanoid.Health = 250000
  167. hed = char.Head
  168. rleg = char["Right Leg"]
  169. rarm = char["Right Arm"]
  170. larm = char["Left Arm"]
  171. vt = Vector3.new
  172. bc = BrickColor.new
  173. br = BrickColor.random
  174. it = Instance.new
  175. cf = CFrame.new
  176.  
  177. -----------------------------------
  178. function chatfunc(text)
  179. local chat = coroutine.wrap(function()
  180. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  181. Character:FindFirstChild("TalkingBillBoard"):destroy()
  182. end
  183. local naeeym2 = Instance.new("BillboardGui",Character)
  184. naeeym2.Size = UDim2.new(0,100,0,40)
  185. naeeym2.StudsOffset = Vector3.new(0,3,0)
  186. naeeym2.Adornee = Character.Head
  187. naeeym2.Name = "TalkingBillBoard"
  188. local tecks2 = Instance.new("TextLabel",naeeym2)
  189. tecks2.BackgroundTransparency = 1
  190. tecks2.BorderSizePixel = 0
  191. tecks2.Text = ""
  192. tecks2.Font = "ArialBold"
  193. tecks2.TextSize = 30
  194. tecks2.TextStrokeTransparency = 0
  195. tecks2.TextColor3 = Color3.new(255,255,0)
  196. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  197. tecks2.Size = UDim2.new(1,0,0.5,0)
  198. local tecks3 = Instance.new("TextLabel",naeeym2)
  199. tecks3.BackgroundTransparency = 1
  200. tecks3.BorderSizePixel = 0
  201. tecks3.Text = ""
  202. tecks3.Font = "ArialBold"
  203. tecks3.TextSize = 30
  204. tecks3.TextStrokeTransparency = 0
  205. tecks3.TextColor3 = Color3.new(255,255,0)
  206. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  207. tecks3.Size = UDim2.new(1,0,0.5,0)
  208. for i = 1,string.len(text),1 do
  209. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138089340", Character, .6, .8)
  210. tecks2.Text = string.sub(text,1,i)
  211. tecks3.Text = string.sub(text,1,i)
  212. wait(0.01)
  213. end
  214. wait(2)
  215. for i = 1, 50 do
  216. swait()
  217. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  218. tecks2.Rotation = tecks2.Rotation - .8
  219. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  220. tecks2.TextTransparency = tecks2.TextTransparency + .04
  221. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  222. tecks3.Rotation = tecks2.Rotation + .8
  223. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  224. tecks3.TextTransparency = tecks2.TextTransparency + .04
  225. end
  226. naeeym2:Destroy()
  227. end)
  228. chat()
  229. end
  230. function onChatted(msg)
  231. chatfunc(msg)
  232. end
  233.  
  234. -----------------------------------
  235.  
  236. local Create = LoadLibrary("RbxUtility").Create
  237.  
  238. CFuncs = {
  239. ["Part"] = {
  240. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  241. local Part = Create("Part"){
  242. Parent = Parent,
  243. Reflectance = Reflectance,
  244. Transparency = Transparency,
  245. CanCollide = false,
  246. Locked = true,
  247. BrickColor = BrickColor.new(tostring(BColor)),
  248. Name = Name,
  249. Size = Size,
  250. Material = Material,
  251. }
  252. RemoveOutlines(Part)
  253. return Part
  254. end;
  255. };
  256.  
  257. ["Mesh"] = {
  258. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  259. local Msh = Create(Mesh){
  260. Parent = Part,
  261. Offset = OffSet,
  262. Scale = Scale,
  263. }
  264. if Mesh == "SpecialMesh" then
  265. Msh.MeshType = MeshType
  266. Msh.MeshId = MeshId
  267. end
  268. return Msh
  269. end;
  270. };
  271.  
  272. ["Mesh"] = {
  273. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  274. local Msh = Create(Mesh){
  275. Parent = Part,
  276. Offset = OffSet,
  277. Scale = Scale,
  278. }
  279. if Mesh == "SpecialMesh" then
  280. Msh.MeshType = MeshType
  281. Msh.MeshId = MeshId
  282. end
  283. return Msh
  284. end;
  285. };
  286.  
  287. ["Weld"] = {
  288. Create = function(Parent, Part0, Part1, C0, C1)
  289. local Weld = Create("Weld"){
  290. Parent = Parent,
  291. Part0 = Part0,
  292. Part1 = Part1,
  293. C0 = C0,
  294. C1 = C1,
  295. }
  296. return Weld
  297. end;
  298. };
  299.  
  300. ["Sound"] = {
  301. Create = function(id, par, vol, pit)
  302. coroutine.resume(coroutine.create(function()
  303. local S = Create("Sound"){
  304. Volume = vol,
  305. Pitch = pit or 1,
  306. SoundId = id,
  307. Parent = par or workspace,
  308. }
  309. wait()
  310. S:play()
  311. game:GetService("Debris"):AddItem(S, 10)
  312. end))
  313. end;
  314. };
  315.  
  316. ["ParticleEmitter"] = {
  317. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  318. local fp = Create("ParticleEmitter"){
  319. Parent = Parent,
  320. Color = ColorSequence.new(Color1, Color2),
  321. LightEmission = LightEmission,
  322. Size = Size,
  323. Texture = Texture,
  324. Transparency = Transparency,
  325. ZOffset = ZOffset,
  326. Acceleration = Accel,
  327. Drag = Drag,
  328. LockedToPart = LockedToPart,
  329. VelocityInheritance = VelocityInheritance,
  330. EmissionDirection = EmissionDirection,
  331. Enabled = Enabled,
  332. Lifetime = LifeTime,
  333. Rate = Rate,
  334. Rotation = Rotation,
  335. RotSpeed = RotSpeed,
  336. Speed = Speed,
  337. VelocitySpread = VelocitySpread,
  338. }
  339. return fp
  340. end;
  341. };
  342.  
  343. CreateTemplate = {
  344.  
  345. };
  346. }
  347.  
  348.  
  349.  
  350. New = function(Object, Parent, Name, Data)
  351. local Object = Instance.new(Object)
  352. for Index, Value in pairs(Data or {}) do
  353. Object[Index] = Value
  354. end
  355. Object.Parent = Parent
  356. Object.Name = Name
  357. return Object
  358. end
  359. local m = Instance.new("Model",char)
  360.  
  361. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  362. local p = Instance.new("Part")
  363. p.Parent = parent
  364. p.Size = Vector3.new(1,1,1)
  365. p.Transparency = transparency
  366. p.Reflectance = reflectance
  367. p.CanCollide = false
  368. p.Locked = true
  369. p.BrickColor = brickcolor
  370. p.Material = material
  371. return p
  372. end
  373.  
  374. function CreateMesh(parent,meshtype,x1,y1,z1)
  375. local mesh = Instance.new("SpecialMesh",parent)
  376. mesh.MeshType = meshtype
  377. mesh.Scale = Vector3.new(x1,y1,z1)
  378. return mesh
  379. end
  380.  
  381. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  382. local mesh = Instance.new("SpecialMesh",parent)
  383. mesh.MeshType = "FileMesh"
  384. mesh.MeshId = meshid
  385. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  386. mesh.Scale = Vector3.new(x1,y1,z1)
  387. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  388. return mesh
  389. end
  390.  
  391. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  392. local weld = Instance.new("Weld")
  393. weld.Parent = parent
  394. weld.Part0 = part0
  395. weld.Part1 = part1
  396. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  397. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  398. return weld
  399. end
  400.  
  401.  
  402. function ApplyTrig(Num,Func)
  403. local Min,Max = Func(0),Func(1)
  404. local i = Func(Num)
  405. return (i-Min)/(Max-Min)
  406. --[[if Func == "sin" then
  407. return (math.sin((1-Num)*math.pi)+1)/2
  408. elseif Func == "cos" then
  409. return (math.cos((1-Num)*math.pi)+1)/2
  410. end]]
  411. end
  412.  
  413. local acos = math.acos
  414. local sqrt = math.sqrt
  415. local Vec3 = Vector3.new
  416.  
  417. local function toAxisAngle(CFr)
  418. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  419. local Angle = math.acos((R00+R11+R22-1)/2)
  420. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  421. A = A == 0 and 0.00001 or A
  422. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  423. B = B == 0 and 0.00001 or B
  424. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  425. C = C == 0 and 0.00001 or C
  426. local x = (R21-R12)/sqrt(A)
  427. local y = (R02-R20)/sqrt(B)
  428. local z = (R10-R01)/sqrt(C)
  429. return Vec3(x,y,z),Angle
  430. end
  431.  
  432. local fromAxisAngle = CFrame.fromAxisAngle
  433.  
  434. function LerpCFrame(CFrame1,CFrame2,Num)
  435. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  436. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  437. end
  438.  
  439.  
  440.  
  441.  
  442.  
  443. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  444. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  445. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  446. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  447.  
  448. Player=game:GetService("Players").LocalPlayer
  449. Character=Player.Character
  450. PlayerGui=Player.PlayerGui
  451. Backpack=Player.Backpack
  452. Torso=Character.Torso
  453. Head=Character.Head
  454. Humanoid=Character.Humanoid
  455. m=Instance.new('Model',Character)
  456. LeftArm=Character["Left Arm"]
  457. LeftLeg=Character["Left Leg"]
  458. RightArm=Character["Right Arm"]
  459. RightLeg=Character["Right Leg"]
  460. LS=Torso["Left Shoulder"]
  461. LH=Torso["Left Hip"]
  462. RS=Torso["Right Shoulder"]
  463. RH=Torso["Right Hip"]
  464. Face = Head.face
  465. Neck=Torso.Neck
  466. it=Instance.new
  467. attacktype=1
  468. vt=Vector3.new
  469. cf=CFrame.new
  470. euler=CFrame.fromEulerAnglesXYZ
  471. angles=CFrame.Angles
  472. cloaked=false
  473. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  474. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  475. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  476. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  477. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  478. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  479. RootPart=Character.HumanoidRootPart
  480. RootJoint=RootPart.RootJoint
  481. RootCF=euler(-1.57,0,3.14)
  482. attack = false
  483. attackdebounce = false
  484. deb=false
  485. equipped=true
  486. hand=false
  487. MMouse=nil
  488. combo=0
  489. mana=0
  490. trispeed=.2
  491. attackmode='none'
  492. local idle=0
  493. local Anim="Idle"
  494. local Effects={}
  495. local gun=false
  496. local shoot=false
  497. local sine = 0
  498. local change = 1
  499. player=nil
  500. shirt = Instance.new("Shirt", char)
  501. shirt.Name = "Shirt"
  502. pants = Instance.new("Pants", char)
  503. pants.Name = "Pants"
  504. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=940848256"
  505. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=968126598"
  506. hum.WalkSpeed = 20
  507.  
  508. asd = Instance.new("Sound",char)
  509. asd.SoundId = "http://www.roblox.com/asset/?id = 969947758"
  510. asd.Volume = 3
  511. asd.Looped = true
  512.  
  513.  
  514. Hair7 = Instance.new("Part")
  515. Hair7.Parent = char
  516. Hair7.Name = "Hair"
  517. Hair7.CanCollide = false
  518. Hair7.Locked = true
  519. Hair7.TopSurface = "Smooth"
  520. Hair7.BottomSurface = "Smooth"
  521. Hair7.formFactor = "Symmetric"
  522. Hair7.Material = "Neon"
  523. Hair7.BrickColor = BrickColor.new("Daisy orange")
  524. Hair7.CFrame = char.Torso.CFrame
  525. Hair7.Size = Vector3.new(1, 1, 1)
  526. Hair7.Transparency = 0
  527.  
  528.  
  529. Weld1 = Instance.new("Weld")
  530. Weld1.Parent = char.Head
  531. Weld1.Part0 = char.Head
  532. Weld1.Part1 = Hair7
  533. Weld1.C0 = CFrame.new(0, 1, 0)
  534.  
  535. Mesh = Instance.new("SpecialMesh")
  536. Mesh.Offset = Vector3.new(0,-0.4,0.1)
  537. Mesh.Parent = Hair7
  538. Mesh.Scale = Vector3.new(1.2, 1.2, 1.2)
  539. Mesh.MeshType = "FileMesh"
  540. Mesh.MeshId = "http://www.roblox.com/asset/?id=19326912"
  541. Mesh.TextureId = ""
  542.  
  543.  
  544. local txt = Instance.new("BillboardGui", char)
  545. CV="Lime green"
  546. txt.Adornee = char .Head
  547. txt.Name = "_status"
  548. txt.Size = UDim2.new(2, 0, 1.2, 0)
  549. txt.StudsOffset = Vector3.new(-9, 8, 0)
  550. local text = Instance.new("TextLabel", txt)
  551. text.Size = UDim2.new(10, 0, 7, 0)
  552. text.FontSize = "Size24"
  553. text.TextScaled = true
  554. text.TextTransparency = 0
  555. text.BackgroundTransparency = 1
  556. text.TextTransparency = 0
  557. text.TextStrokeTransparency = 0
  558. text.Font = "Bodoni"
  559. text.TextStrokeColor3 = Color3.new(0,0,0)
  560. text.TextColor3 = Color3.fromRGB(255,255,0)
  561. text.Text = " "
  562. v=Instance.new("Part")
  563. v.Name = "ColorBrick"
  564. v.Parent= plr.Character
  565. v.FormFactor="Symmetric"
  566. v.Anchored=true
  567. v.CanCollide=false
  568. v.BottomSurface="Smooth"
  569. v.TopSurface="Smooth"
  570. v.Size=Vector3.new(10,5,3)
  571. v.Transparency=0
  572. v.CFrame=char.Torso.CFrame
  573. v.BrickColor=BrickColor.new("Lime green")
  574. v.Transparency=1
  575. v.Shape="Block"
  576.  
  577. mouse=Player:GetMouse()
  578. --save shoulders
  579. RSH, LSH=nil, nil
  580. --welds
  581. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  582. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  583. LH=Torso["Left Hip"]
  584. RH=Torso["Right Hip"]
  585. TorsoColor=Torso.BrickColor
  586. function NoOutline(Part)
  587. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  588. end
  589. player=Player
  590. ch=Character
  591. RSH=ch.Torso["Right Shoulder"]
  592. LSH=ch.Torso["Left Shoulder"]
  593. --
  594. RSH.Parent=nil
  595. LSH.Parent=nil
  596. --
  597. RW.Name="Right Shoulder"
  598. RW.Part0=ch.Torso
  599. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  600. RW.C1=cf(0, 0.5, 0)
  601. RW.Part1=ch["Right Arm"]
  602. RW.Parent=ch.Torso
  603. --
  604. LW.Name="Left Shoulder"
  605. LW.Part0=ch.Torso
  606. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  607. LW.C1=cf(0, 0.5, 0)
  608. LW.Part1=ch["Left Arm"]
  609. LW.Parent=ch.Torso
  610.  
  611. local Stats=Instance.new("BoolValue")
  612. Stats.Name="Stats"
  613. Stats.Parent=Character
  614. local Atk=Instance.new("NumberValue")
  615. Atk.Name="Damage"
  616. Atk.Parent=Stats
  617. Atk.Value=1
  618. local Def=Instance.new("NumberValue")
  619. Def.Name="Defense"
  620. Def.Parent=Stats
  621. Def.Value=1
  622. local Speed=Instance.new("NumberValue")
  623. Speed.Name="Speed"
  624. Speed.Parent=Stats
  625. Speed.Value=1
  626. local Mvmt=Instance.new("NumberValue")
  627. Mvmt.Name="Movement"
  628. Mvmt.Parent=Stats
  629. Mvmt.Value=1
  630.  
  631. local donum=0
  632.  
  633.  
  634. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  635. local fp=it("Part")
  636. fp.formFactor=formfactor
  637. fp.Parent=parent
  638. fp.Reflectance=reflectance
  639. fp.Transparency=transparency
  640. fp.CanCollide=false
  641. fp.Locked=true
  642. fp.BrickColor=brickcolor
  643. fp.Name=name
  644. fp.Size=size
  645. fp.Position=Torso.Position
  646. NoOutline(fp)
  647. fp.Material="SmoothPlastic"
  648. fp:BreakJoints()
  649. return fp
  650. end
  651.  
  652. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  653. local mesh=it(Mesh)
  654. mesh.Parent=part
  655. if Mesh=="SpecialMesh" then
  656. mesh.MeshType=meshtype
  657. if meshid~="nil" then
  658. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  659. end
  660. end
  661. mesh.Offset=offset
  662. mesh.Scale=scale
  663. return mesh
  664. end
  665.  
  666. function weld(parent,part0,part1,c0)
  667. local weld=it("Weld")
  668. weld.Parent=parent
  669. weld.Part0=part0
  670. weld.Part1=part1
  671. weld.C0=c0
  672. return weld
  673. end
  674.  
  675. local Color1=Torso.BrickColor
  676.  
  677. local bodvel=Instance.new("BodyVelocity")
  678. local bg=Instance.new("BodyGyro")
  679.  
  680. function swait(num)
  681. if num==0 or num==nil then
  682. game:service'RunService'.Stepped:wait(0)
  683. else
  684. for i=0,num do
  685. game:service'RunService'.Stepped:wait(0)
  686. end
  687. end
  688. end
  689.  
  690.  
  691. so = function(id,par,vol,pit)
  692. coroutine.resume(coroutine.create(function()
  693. local sou = Instance.new("Sound",par or workspace)
  694. sou.Volume=vol
  695. sou.Pitch=pit or 1
  696. sou.SoundId=id
  697. swait()
  698. sou:play()
  699. game:GetService("Debris"):AddItem(sou,6)
  700. end))
  701. end
  702.  
  703. function clerp(a,b,t)
  704. local qa = {QuaternionFromCFrame(a)}
  705. local qb = {QuaternionFromCFrame(b)}
  706. local ax, ay, az = a.x, a.y, a.z
  707. local bx, by, bz = b.x, b.y, b.z
  708. local _t = 1-t
  709. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  710. end
  711.  
  712. function QuaternionFromCFrame(cf)
  713. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  714. local trace = m00 + m11 + m22
  715. if trace > 0 then
  716. local s = math.sqrt(1 + trace)
  717. local recip = 0.5/s
  718. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  719. else
  720. local i = 0
  721. if m11 > m00 then
  722. i = 1
  723. end
  724. if m22 > (i == 0 and m00 or m11) then
  725. i = 2
  726. end
  727. if i == 0 then
  728. local s = math.sqrt(m00-m11-m22+1)
  729. local recip = 0.5/s
  730. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  731. elseif i == 1 then
  732. local s = math.sqrt(m11-m22-m00+1)
  733. local recip = 0.5/s
  734. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  735. elseif i == 2 then
  736. local s = math.sqrt(m22-m00-m11+1)
  737. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  738. end
  739. end
  740. end
  741.  
  742. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  743. local xs, ys, zs = x + x, y + y, z + z
  744. local wx, wy, wz = w*xs, w*ys, w*zs
  745. local xx = x*xs
  746. local xy = x*ys
  747. local xz = x*zs
  748. local yy = y*ys
  749. local yz = y*zs
  750. local zz = z*zs
  751. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  752. end
  753.  
  754. function QuaternionSlerp(a, b, t)
  755. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  756. local startInterp, finishInterp;
  757. if cosTheta >= 0.0001 then
  758. if (1 - cosTheta) > 0.0001 then
  759. local theta = math.acos(cosTheta)
  760. local invSinTheta = 1/math.sin(theta)
  761. startInterp = math.sin((1-t)*theta)*invSinTheta
  762. finishInterp = math.sin(t*theta)*invSinTheta
  763. else
  764. startInterp = 1-t
  765. finishInterp = t
  766. end
  767. else
  768. if (1+cosTheta) > 0.0001 then
  769. local theta = math.acos(-cosTheta)
  770. local invSinTheta = 1/math.sin(theta)
  771. startInterp = math.sin((t-1)*theta)*invSinTheta
  772. finishInterp = math.sin(t*theta)*invSinTheta
  773. else
  774. startInterp = t-1
  775. finishInterp = t
  776. end
  777. end
  778. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  779. end
  780.  
  781. local function CFrameFromTopBack(at, top, back)
  782. local right = top:Cross(back)
  783. return CFrame.new(at.x, at.y, at.z,
  784. right.x, top.x, back.x,
  785. right.y, top.y, back.y,
  786. right.z, top.z, back.z)
  787. end
  788.  
  789. function Triangle(a, b, c)
  790. local edg1 = (c-a):Dot((b-a).unit)
  791. local edg2 = (a-b):Dot((c-b).unit)
  792. local edg3 = (b-c):Dot((a-c).unit)
  793. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  794. a, b, c = a, b, c
  795. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  796. a, b, c = b, c, a
  797. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  798. a, b, c = c, a, b
  799. else
  800. assert(false, "unreachable")
  801. end
  802.  
  803. local len1 = (c-a):Dot((b-a).unit)
  804. local len2 = (b-a).magnitude - len1
  805. local width = (a + (b-a).unit*len1 - c).magnitude
  806.  
  807. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  808.  
  809. local list = {}
  810.  
  811. if len1 > 0.01 then
  812. local w1 = Instance.new('WedgePart', m)
  813. game:GetService("Debris"):AddItem(w1,5)
  814. w1.Material = "SmoothPlastic"
  815. w1.FormFactor = 'Custom'
  816. w1.BrickColor = BrickColor.new("Really red")
  817. w1.Transparency = 0
  818. w1.Reflectance = 0
  819. w1.Material = "SmoothPlastic"
  820. w1.CanCollide = false
  821. local l1 = Instance.new("PointLight",w1)
  822. l1.Color = Color3.new(170,0,0)
  823. NoOutline(w1)
  824. local sz = Vector3.new(0.2, width, len1)
  825. w1.Size = sz
  826. local sp = Instance.new("SpecialMesh",w1)
  827. sp.MeshType = "Wedge"
  828. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  829. w1:BreakJoints()
  830. w1.Anchored = true
  831. w1.Parent = workspace
  832. w1.Transparency = 0.7
  833. table.insert(Effects,{w1,"Disappear",.01})
  834. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  835. table.insert(list,w1)
  836. end
  837.  
  838. if len2 > 0.01 then
  839. local w2 = Instance.new('WedgePart', m)
  840. game:GetService("Debris"):AddItem(w2,5)
  841. w2.Material = "SmoothPlastic"
  842. w2.FormFactor = 'Custom'
  843. w2.BrickColor = BrickColor.new("Really red")
  844. w2.Transparency = 0
  845. w2.Reflectance = 0
  846. w2.Material = "SmoothPlastic"
  847. w2.CanCollide = false
  848. local l2 = Instance.new("PointLight",w2)
  849. l2.Color = Color3.new(170,0,0)
  850. NoOutline(w2)
  851. local sz = Vector3.new(0.2, width, len2)
  852. w2.Size = sz
  853. local sp = Instance.new("SpecialMesh",w2)
  854. sp.MeshType = "Wedge"
  855. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  856. w2:BreakJoints()
  857. w2.Anchored = true
  858. w2.Parent = workspace
  859. w2.Transparency = 0.7
  860. table.insert(Effects,{w2,"Disappear",.01})
  861. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  862. table.insert(list,w2)
  863. end
  864. return unpack(list)
  865. end
  866.  
  867.  
  868. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  869. if hit.Parent==nil then
  870. return
  871. end
  872. h=hit.Parent:FindFirstChildOfClass("Humanoid")
  873. for _,v in pairs(hit.Parent:children()) do
  874. if v:IsA("Humanoid") then
  875. h=v
  876. end
  877. end
  878. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  879. h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  880. end
  881. if hit.Parent.className=="Hat" then
  882. hit=hit.Parent.Parent:findFirstChild("Head")
  883. end
  884. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  885. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  886. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  887. return
  888. end]]
  889. -- hs(hit,1.2)
  890. c=Instance.new("ObjectValue")
  891. c.Name="creator"
  892. c.Value=game:service("Players").LocalPlayer
  893. c.Parent=h
  894. game:GetService("Debris"):AddItem(c,.5)
  895. Damage=math.random(minim,maxim)
  896. -- h:TakeDamage(Damage)
  897. blocked=false
  898. block=hit.Parent:findFirstChild("Block")
  899. if block~=nil then
  900. print(block.className)
  901. if block.className=="NumberValue" then
  902. if block.Value>0 then
  903. blocked=true
  904. if decreaseblock==nil then
  905. block.Value=block.Value-1
  906. end
  907. end
  908. end
  909. if block.className=="IntValue" then
  910. if block.Value>0 then
  911. blocked=true
  912. if decreaseblock~=nil then
  913. block.Value=block.Value-1
  914. end
  915. end
  916. end
  917. end
  918. if blocked==false then
  919. -- h:TakeDamage(Damage)
  920. h.Health=h.Health-Damage
  921. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  922. else
  923. h.Health=h.Health-(Damage/2)
  924. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  925. end
  926. if Type=="Knockdown" then
  927. hum=hit.Parent.Humanoid
  928. hum.PlatformStand=true
  929. coroutine.resume(coroutine.create(function(HHumanoid)
  930. swait(1)
  931. HHumanoid.PlatformStand=false
  932. end),hum)
  933. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  934. hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  935. local bodvol=Instance.new("BodyVelocity")
  936. bodvol.velocity=angle*knockback
  937. bodvol.P=5000
  938. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  939. bodvol.Parent=hit
  940. rl=Instance.new("BodyAngularVelocity")
  941. rl.P=3000
  942. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  943. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  944. rl.Parent=hit
  945. game:GetService("Debris"):AddItem(bodvol,.5)
  946. game:GetService("Debris"):AddItem(rl,.5)
  947. elseif Type=="Normal" then
  948. bp=Instance.new("BodyVelocity")
  949. bp.P=100000
  950. bp.maxForce=Vector3.new(math.huge,0,math.huge)
  951. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  952. if KnockbackType==1 then
  953. bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  954. elseif KnockbackType==2 then
  955. bp.velocity=Property.CFrame.lookVector*knockback
  956. end
  957. if knockback>0 then
  958. bp.Parent=hit.Parent.Torso
  959.  
  960. end
  961. game:GetService("Debris"):AddItem(bp,.5)
  962. elseif Type=="Up" then
  963. local bodyVelocity=Instance.new("BodyVelocity")
  964. bodyVelocity.velocity=vt(0,60,0)
  965. bodyVelocity.P=5000
  966. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  967. bodyVelocity.Parent=hit
  968. game:GetService("Debris"):AddItem(bodyVelocity,1)
  969. rl=Instance.new("BodyAngularVelocity")
  970. rl.P=3000
  971. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  972. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  973. rl.Parent=hit
  974. game:GetService("Debris"):AddItem(rl,.5)
  975. elseif Type=="Snare" then
  976. bp=Instance.new("BodyPosition")
  977. bp.P=2000
  978. bp.D=100
  979. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  980. bp.position=hit.Parent.Torso.Position
  981. bp.Parent=hit.Parent.Torso
  982. game:GetService("Debris"):AddItem(bp,1)
  983. elseif Type=="Target" then
  984. if Targetting==false then
  985. ZTarget=hit.Parent.Torso
  986. coroutine.resume(coroutine.create(function(Part)
  987. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  988. swait(1)
  989. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  990. end),ZTarget)
  991. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  992. targetgui=Instance.new("BillboardGui")
  993. targetgui.Parent=ZTarget
  994. targetgui.Size=UDim2.new(10,100,10,100)
  995. targ=Instance.new("ImageLabel")
  996. targ.Parent=targetgui
  997. targ.BackgroundTransparency=1
  998. targ.Image="rbxassetid://4834067"
  999. targ.Size=UDim2.new(1,0,1,0)
  1000. cam.CameraType="Scriptable"
  1001. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1002. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1003. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1004. Targetting=true
  1005. RocketTarget=ZTarget
  1006. for i=1,Property do
  1007. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1008. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1009. swait()
  1010. end
  1011. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1012. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1013. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1014. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1015. end
  1016. Targetting=true
  1017. RocketTarget=true
  1018. targetgui.Parent=true
  1019. cam.CameraType="Custom"
  1020. end
  1021. end
  1022. debounce=Instance.new("BoolValue")
  1023. debounce.Name="DebounceHit"
  1024. debounce.Parent=hit.Parent
  1025. debounce.Value=true
  1026. game:GetService("Debris"):AddItem(debounce,Delay)
  1027. c=Instance.new("ObjectValue")
  1028. c.Name="creator"
  1029. c.Value=Player
  1030. c.Parent=h
  1031. game:GetService("Debris"):AddItem(c,.5)
  1032. CRIT=true
  1033. hitDeb=true
  1034. AttackPos=6
  1035. end
  1036. end
  1037.  
  1038. showDamage=function(Char,Dealt,du,Color)
  1039. m=Instance.new("Model")
  1040. m.Name=tostring(Dealt)
  1041. h=Instance.new("Humanoid")
  1042. h.Health=0
  1043. h.MaxHealth=0
  1044. h.Parent=m
  1045. c=Instance.new("Part")
  1046. c.Transparency=0
  1047. c.BrickColor=Color
  1048. c.Transparency = 1
  1049. c.Name="Head"
  1050. c.TopSurface=0
  1051. c.BottomSurface=0
  1052. c.formFactor="Plate"
  1053. c.Size=Vector3.new(1,.4,1)
  1054.  
  1055. local txt = Instance.new("BillboardGui", c)
  1056. txt.Adornee = c
  1057. txt.Name = "_status"
  1058. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1059. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1060. local text = Instance.new("TextLabel", txt)
  1061. text.Size = UDim2.new(10, 0, 7, 0)
  1062. text.FontSize = "Size12"
  1063. text.TextScaled = true
  1064. text.TextTransparency = 0.5
  1065. text.BackgroundTransparency = 1
  1066. text.TextTransparency = 0.5
  1067. text.TextStrokeTransparency = 0.5
  1068. text.Font = "SciFi"
  1069. text.TextStrokeColor3 = Color3.new(0,0,0)
  1070. v=Instance.new("Part")
  1071. v.Name = "ColorBrick"
  1072. v.Parent=c
  1073. v.FormFactor="Symmetric"
  1074. v.Anchored=true
  1075. v.CanCollide=false
  1076. v.BottomSurface="Smooth"
  1077. v.TopSurface="Smooth"
  1078. v.Size=Vector3.new(10,5,3)
  1079. v.Transparency=1
  1080. v.CFrame=c.CFrame
  1081. v.BrickColor=BrickColor.random()
  1082. v.Transparency=1
  1083. text.TextColor3 = t.BrickColor.Color
  1084. v.Shape="Block"
  1085. text.Text = tostring(Dealt)
  1086. ms=Instance.new("CylinderMesh")
  1087. ms.Scale=Vector3.new(.8,.8,.8)
  1088. --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1089. local rndm=math.random(1,#hitsounds)
  1090. local r=rndm
  1091. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]--
  1092. if CRIT==true then
  1093. ms.Scale=Vector3.new(1,1.25,1)
  1094. end
  1095. ms.Parent=c
  1096. c.Reflectance=0
  1097. Instance.new("BodyGyro").Parent=c
  1098. c.Parent=m
  1099. if Char:findFirstChild("Head")~=nil then
  1100. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1101. elseif Char.Parent:findFirstChild("Head")~=nil then
  1102. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1103. end
  1104. f=Instance.new("BodyPosition")
  1105. f.P=200000
  1106. f.D=100
  1107. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1108. f.position=c.Position+Vector3.new(0,3,0)
  1109. f.Parent=c
  1110. game:GetService("Debris"):AddItem(m,.5+du)
  1111. c.CanCollide=false
  1112. m.Parent=workspace
  1113. c.CanCollide=false
  1114. end
  1115.  
  1116. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1117. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1118. end
  1119.  
  1120. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1121. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1122. prt.Anchored=true
  1123. prt.CFrame=cframe
  1124. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1125. --http://www.roblox.com/asset/?id=4770560
  1126. game:GetService("Debris"):AddItem(prt,2)
  1127. CF=prt.CFrame
  1128. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1129. for i=0,1,0.2 do
  1130. wait()
  1131. Part.CFrame=CF*cf(0,0,-0.4)
  1132. end
  1133. for i=0,1,delay do
  1134. wait()
  1135. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1136. Mesh.Scale=Mesh.Scale
  1137. end
  1138. for i=0,1,0.1 do
  1139. wait()
  1140. Part.Transparency=i
  1141. end
  1142. Part.Parent=nil
  1143. end),prt,msh,CF)
  1144. end
  1145.  
  1146. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1147. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1148. prt.Anchored=true
  1149. prt.Material = "Plastic"
  1150. prt.CFrame=cframe
  1151. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1152. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1153. game:GetService("Debris"):AddItem(prt,5)
  1154. coroutine.resume(coroutine.create(function(Part,Mesh)
  1155. for i=0,1,delay do
  1156. swait()
  1157. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1158. Part.Transparency=i
  1159. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1160. end
  1161. Part.Parent=nil
  1162. end),prt,msh)
  1163. end
  1164.  
  1165.  
  1166.  
  1167.  
  1168. function MagicBlockDash(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1169. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.3,0.3,0.3))
  1170. prt.Anchored=true
  1171. prt.Material = "Neon"
  1172. prt.CFrame=cframe
  1173. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1174. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1175. game:GetService("Debris"):AddItem(prt,1)
  1176. coroutine.resume(coroutine.create(function(Part,Mesh)
  1177. for i=0,1,delay do
  1178. swait()
  1179. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1180. Part.Transparency=i
  1181. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1182. end
  1183. Part.Parent=nil
  1184. end),prt,msh)
  1185. end
  1186.  
  1187.  
  1188. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1189. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1190. prt.Anchored=true
  1191. prt.Material = "Neon"
  1192. prt.CFrame=cframe
  1193. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1194. game:GetService("Debris"):AddItem(prt,5)
  1195. coroutine.resume(coroutine.create(function(Part,Mesh)
  1196. local rtype = rottype
  1197. for i=0,1,delay do
  1198. swait()
  1199. if rtype == 1 then
  1200. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1201. elseif rtype == 2 then
  1202. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1203. end
  1204. Part.Transparency=i
  1205. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1206. end
  1207. Part.Parent=nil
  1208. end),prt,msh)
  1209. end
  1210.  
  1211. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1212. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1213. prt.Anchored=true
  1214. prt.CFrame=cframe
  1215. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1216. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1217. game:GetService("Debris"):AddItem(prt,5)
  1218. coroutine.resume(coroutine.create(function(Part,Mesh)
  1219. for i=0,1,delay do
  1220. wait()
  1221. Part.Transparency=i
  1222. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1223. end
  1224. Part.Parent=nil
  1225. end),prt,msh)
  1226. end
  1227.  
  1228. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1229. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1230. prt.Anchored=true
  1231. prt.Material = "Neon"
  1232. prt.CFrame=cframe
  1233. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1234. game:GetService("Debris"):AddItem(prt,5)
  1235. coroutine.resume(coroutine.create(function(Part,Mesh)
  1236. local rtype = rottype
  1237. for i=0,1,delay do
  1238. swait()
  1239. if rtype == 1 then
  1240. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1241. elseif rtype == 2 then
  1242. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1243. end
  1244. Part.Transparency=i
  1245. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1246. end
  1247. Part.Parent=nil
  1248. end),prt,msh)
  1249. end
  1250.  
  1251. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1252. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1253. prt.Anchored=true
  1254. prt.Material = "Neon"
  1255. prt.CFrame=cframe
  1256. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1257. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1258. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1259. game:GetService("Debris"):AddItem(prt,5)
  1260. coroutine.resume(coroutine.create(function(Part,Mesh)
  1261. local rtype = rottype
  1262. for i=0,1,delay do
  1263. swait()
  1264. if rtype == 1 then
  1265. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1266. elseif rtype == 2 then
  1267. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1268. end
  1269. dec.Transparency=i
  1270. dec2.Transparency=i
  1271. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1272. end
  1273. Part.Parent=nil
  1274. end),prt,msh)
  1275. end
  1276.  
  1277. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1278. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1279. prt.Anchored=true
  1280. prt.Material = "Neon"
  1281. prt.CFrame=cframe
  1282. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1283. game:GetService("Debris"):AddItem(prt,5)
  1284. coroutine.resume(coroutine.create(function(Part,Mesh)
  1285. local rtype = rottype
  1286. for i=0,1,delay do
  1287. swait()
  1288. if rtype == 1 then
  1289. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1290. elseif rtype == 2 then
  1291. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1292. end
  1293. prt.Transparency=i
  1294. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1295. end
  1296. Part.Parent=nil
  1297. end),prt,msh)
  1298. end
  1299.  
  1300. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1301. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1302. prt.Anchored=true
  1303. prt.Material = "Neon"
  1304. prt.CFrame=cframe
  1305. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1306. game:GetService("Debris"):AddItem(prt,5)
  1307. coroutine.resume(coroutine.create(function(Part,Mesh)
  1308. local rtype = rottype
  1309. for i=0,1,delay do
  1310. swait()
  1311. if rtype == 1 then
  1312. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1313. elseif rtype == 2 then
  1314. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1315. end
  1316. prt.Transparency=i
  1317. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1318. end
  1319. Part.Parent=nil
  1320. end),prt,msh)
  1321. end
  1322.  
  1323. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1324. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1325. prt.Anchored=true
  1326. prt.Material = "Neon"
  1327. prt.CFrame=cframe
  1328. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1329. game:GetService("Debris"):AddItem(prt,5)
  1330. coroutine.resume(coroutine.create(function(Part,Mesh)
  1331. local rtype = rottype
  1332. for i=0,1,delay do
  1333. swait()
  1334. if rtype == 1 then
  1335. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1336. elseif rtype == 2 then
  1337. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1338. end
  1339. prt.Transparency=i
  1340. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1341. end
  1342. Part.Parent=nil
  1343. end),prt,msh)
  1344. end
  1345.  
  1346. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1347. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1348. prt.Material = "Neon"
  1349. prt.Anchored=true
  1350. prt.CFrame=cframe
  1351. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1352. local wld=weld(prt,prt,Parent,cframe)
  1353. game:GetService("Debris"):AddItem(prt,5)
  1354. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1355. for i=0,1,delay do
  1356. wait()
  1357. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1358. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1359. Part.Transparency=i
  1360. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1361. end
  1362. Part.Parent=nil
  1363. end),prt,msh,wld)
  1364. end
  1365.  
  1366. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1367. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1368. prt.Anchored=false
  1369. prt.CFrame=cframe
  1370. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1371. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1372. game:GetService("Debris"):AddItem(prt,5)
  1373. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1374. for i=0,1,delay do
  1375. wait()
  1376. Weld.C0=euler(i*20,0,0)
  1377. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1378. Part.Transparency=i
  1379. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1380. end
  1381. Part.Parent=nil
  1382. end),prt,msh,wld)
  1383. end
  1384.  
  1385. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1386. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1387. prt.Anchored=true
  1388. prt.CFrame=cframe
  1389. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1390. game:GetService("Debris"):AddItem(prt,2)
  1391. coroutine.resume(coroutine.create(function(Part,Mesh)
  1392. for i=0,1,delay do
  1393. wait()
  1394. Part.CFrame=Part.CFrame
  1395. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1396. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1397. prt2.Anchored=true
  1398. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1399. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1400. game:GetService("Debris"):AddItem(prt2,2)
  1401. coroutine.resume(coroutine.create(function(Part,Mesh)
  1402. for i=0,1,0.1 do
  1403. wait()
  1404. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1405. end
  1406. Part.Parent=nil
  1407. end),prt2,msh2)
  1408. end
  1409. for i=0,1,delay*2 do
  1410. wait()
  1411. Part.CFrame=Part.CFrame
  1412. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1413. end
  1414. Part.Parent=nil
  1415. end),prt,msh)
  1416. end
  1417.  
  1418. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1419. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1420. prt.Anchored=true
  1421. prt.CFrame=cframe
  1422. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1423. game:GetService("Debris"):AddItem(prt,2)
  1424. coroutine.resume(coroutine.create(function(Part,Mesh)
  1425. for i=0,1,delay do
  1426. wait()
  1427. Part.CFrame=Part.CFrame
  1428. Part.Transparency=i
  1429. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1430. end
  1431. Part.Parent=nil
  1432. end),prt,msh)
  1433. end
  1434.  
  1435. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1436. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1437. prt.Anchored=true
  1438. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1439. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1440. game:GetService("Debris"):AddItem(prt,2)
  1441. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1442. CF=Part.CFrame
  1443. Numbb=0
  1444. randnumb=math.random()/10
  1445. rand1=math.random()/10
  1446. for i=0,1,rand1 do
  1447. wait()
  1448. CF=CF*cf(0,math.random()/2,0)
  1449. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1450. Part.CFrame=CF*euler(Numbb,0,0)
  1451. Part.Transparency=i
  1452. Numbb=Numbb+randnumb
  1453. end
  1454. Part.Parent=nil
  1455. end),prt,CF,Numbb,randnumb)
  1456. end
  1457.  
  1458. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1459. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1460. prt.Anchored=true
  1461. prt.CFrame=cframe
  1462. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1463. game:GetService("Debris"):AddItem(prt,5)
  1464. coroutine.resume(coroutine.create(function(Part,Mesh)
  1465. for i=0,1,delay do
  1466. wait()
  1467. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1468. Part.Transparency=i
  1469. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1470. end
  1471. Part.Parent=nil
  1472. end),prt,msh)
  1473. end
  1474.  
  1475. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1476. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1477. prt.Anchored=true
  1478. prt.CFrame=cframe
  1479. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1480. game:GetService("Debris"):AddItem(prt,2)
  1481. coroutine.resume(coroutine.create(function(Part,Mesh)
  1482. for i=0,1,delay do
  1483. wait()
  1484. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1485. Part.Transparency=i
  1486. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1487. end
  1488. Part.Parent=nil
  1489. end),prt,msh)
  1490. end
  1491.  
  1492. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1493. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1494. prt.Anchored=true
  1495. prt.CFrame=cframe*cf(x,y,z)
  1496. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1497. game:GetService("Debris"):AddItem(prt,5)
  1498. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1499. local num=math.random()
  1500. local num2=math.random(-3,2)+math.random()
  1501. local numm=0
  1502. for i=0,1,delay*2 do
  1503. swait()
  1504. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1505. Part.Transparency=i
  1506. numm=numm+0.01
  1507. end
  1508. Part.Parent=nil
  1509. Mesh.Parent=nil
  1510. end),prt,msh,x,y,z)
  1511. end
  1512.  
  1513. function dmgstart(dmg,what)
  1514. hitcon = what.Touched:connect(function(hit)
  1515. local hum = hit.Parent:FindFirstChild("Humanoid")
  1516. if hum and not hum:IsDescendantOf(Character) then
  1517. hum:TakeDamage(dmg)
  1518. end
  1519. end)
  1520. end
  1521.  
  1522. function dmgstop()
  1523. hitcon:disconnect()
  1524. end
  1525.  
  1526. function Cloak()
  1527. Face.Parent=nil
  1528. cloaked=true
  1529. for _,v in pairs(Torso.Parent:children()) do
  1530. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1531. coroutine.resume(coroutine.create(function()
  1532. for i=0,1,0.2 do
  1533. wait()
  1534. v.Transparency=i
  1535. end
  1536. v.Transparency=1
  1537. end))
  1538. end
  1539. if v.className=="Hat" then
  1540. hatp=v.Handle
  1541. coroutine.resume(coroutine.create(function(derp)
  1542. for i=0,1,0.2 do
  1543. wait()
  1544. derp.Transparency=i
  1545. end
  1546. derp.Transparency=1
  1547. end),hatp)
  1548. end
  1549. end
  1550. for _,v in pairs(m:children()) do
  1551. if v.className=="Part" then
  1552. coroutine.resume(coroutine.create(function()
  1553. for i=0,1,0.2 do
  1554. wait()
  1555. v.Transparency=i
  1556. end
  1557. v.Transparency=1
  1558. end))
  1559. end
  1560. end
  1561. end
  1562.  
  1563. function UnCloak()
  1564. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1565. Face.Parent=Head
  1566. cloaked=false
  1567. for _,v in pairs(Torso.Parent:children()) do
  1568. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1569. coroutine.resume(coroutine.create(function()
  1570. for i=0,1,0.1 do
  1571. wait()
  1572. v.Transparency=v.Transparency-0.1
  1573. end
  1574. v.Transparency=0
  1575. end))
  1576. end
  1577. if v.className=="Hat" then
  1578. hatp=v.Handle
  1579. coroutine.resume(coroutine.create(function(derp)
  1580. for i=0,1,0.1 do
  1581. wait()
  1582. derp.Transparency=derp.Transparency-0.1
  1583. end
  1584. derp.Transparency=0
  1585. end),hatp)
  1586. end
  1587. end
  1588. for _,v in pairs(m:children()) do
  1589. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1590. coroutine.resume(coroutine.create(function()
  1591. for i=0,1,0.1 do
  1592. wait()
  1593. v.Transparency=v.Transparency-0.1
  1594. end
  1595. v.Transparency=0
  1596. end))
  1597. v.Transparency=0
  1598. end
  1599. end
  1600. end
  1601.  
  1602. local jumped = false
  1603. function jump()
  1604. attack = true
  1605. jumped = true
  1606. hum.WalkSpeed = 0
  1607. MagicBlock(bc("White"),root.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  1608. CFuncs["Sound"].Create("rbxassetid://169445572", root, 0.7, 0.7)
  1609. CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
  1610. for i = 0,15,0.1 do
  1611. swait()
  1612. MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1613. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1614. RH.C0=clerp(RH.C0,cf(1,0.45,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(50)),.05)
  1615. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(15)),.05)
  1616. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(50),math.rad(0),math.rad(0)),0.05)
  1617. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.05)
  1618. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  1619. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  1620. lig = Instance.new("PointLight",player.Character.Torso)
  1621. lig.Color=Color3.new(255,0,0)
  1622. lig.Range = 10
  1623. end
  1624. local bv = Instance.new("BodyVelocity")
  1625. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1626. bv.velocity = Vector3.new(0,500,0)
  1627. bv.Parent = root
  1628. game:GetService("Debris"):AddItem(bv, 0.5)
  1629. local rng = Instance.new("Part", char)
  1630. rng.Anchored = true
  1631. rng.BrickColor = BrickColor.new("Neon orange")
  1632. rng.CanCollide = false
  1633. rng.FormFactor = 3
  1634. rng.Name = "Ring"
  1635. rng.Size = Vector3.new(1, 1, 1)
  1636. rng.Transparency = 0
  1637. rng.TopSurface = 0
  1638. rng.BottomSurface = 0
  1639. rng.Position = root.Position
  1640. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1641. local rngm = Instance.new("SpecialMesh", rng)
  1642. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1643. local rng2 = rng:Clone()
  1644. rng2.Parent = char
  1645. local rng2m = rng2.Mesh
  1646. local rng3 = rng:Clone()
  1647. rng3.Parent = char
  1648. rng3.BrickColor = BrickColor.new("Dark stone grey")
  1649. local rng3m = rng3.Mesh
  1650. local rng4 = rng:Clone()
  1651. rng4.Parent = char
  1652. local rng4m = rng4.Mesh
  1653. local rng5 = rng:Clone()
  1654. rng5.Parent = char
  1655. rng5.BrickColor = BrickColor.new("Dark stone grey")
  1656. local rng5m = rng5.Mesh
  1657. CFuncs["Sound"].Create("rbxassetid://324867021", rng, 10, 1)
  1658. wait()
  1659. local scaler = 10
  1660. local scaler2 = 10
  1661. game:GetService("Debris"):AddItem(bv, 2.4)
  1662. hum.WalkSpeed = 50
  1663. MagicBlock(bc("White"),root.CFrame,15,15,15,10,10,10,0.015)
  1664. for i = 0,10,0.1 do
  1665. swait()
  1666. rng.Transparency = rng.Transparency + 0.01
  1667. rng2.Transparency = rng2.Transparency + 0.01
  1668. rng3.Transparency = rng3.Transparency + 0.01
  1669. rng4.Transparency = rng4.Transparency + 0.01
  1670. rng5.Transparency = rng5.Transparency + 0.01
  1671. scaler = scaler - 0.125
  1672. scaler2 = scaler2 - 0.1
  1673. rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20)
  1674. rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30)
  1675. rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40)
  1676. rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50)
  1677. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1678. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5)
  1679. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5)
  1680. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5)
  1681. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5)
  1682. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5)
  1683. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5)
  1684. end
  1685. game:GetService("Debris"):AddItem(rng, 0.1)
  1686. game:GetService("Debris"):AddItem(rng2, 0.1)
  1687. game:GetService("Debris"):AddItem(rng3, 0.1)
  1688. game:GetService("Debris"):AddItem(rng4, 0.1)
  1689. game:GetService("Debris"):AddItem(rng5, 0.1)
  1690. hum.WalkSpeed = 16
  1691. attack = false
  1692. jumped = false
  1693. end
  1694.  
  1695. function dash()
  1696. attack = true
  1697. jumped = true
  1698. hum.WalkSpeed = 16
  1699. killbrick = Instance.new("Part",char)
  1700. killbrick.Size = Vector3.new(1,1,1)
  1701. killbrick.Transparency = 1
  1702. killbrick:BreakJoints()
  1703. killbrick.CanCollide = false
  1704. local wel = Instance.new("Weld",killbrick)
  1705. wel.Part0 = killbrick
  1706. wel.Part1 = char["Left Arm"]
  1707. wel.C0 = CFrame.new(0,1,0)
  1708. local bv = Instance.new("BodyVelocity")
  1709. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1710. bv.velocity = root.CFrame.lookVector*150
  1711. bv.Parent = root
  1712. char.Head.face.Texture = "rbxassetid://126198982"
  1713. game:GetService("Debris"):AddItem(bv, 1)
  1714. local rng = Instance.new("Part", char)
  1715. rng.Anchored = true
  1716. rng.BrickColor = BrickColor.new("Neon orange")
  1717. rng.CanCollide = false
  1718. rng.FormFactor = 3
  1719. rng.Name = "Ring"
  1720. rng.Size = Vector3.new(1, 1, 1)
  1721. rng.Transparency = 0
  1722. rng.TopSurface = 0
  1723. rng.BottomSurface = 0
  1724. rng.CFrame = root.CFrame
  1725. local rngm = Instance.new("SpecialMesh", rng)
  1726. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1727. local rng2 = rng:Clone()
  1728. rng2.BrickColor = BrickColor.new("Dark stone grey")
  1729. rng2.Parent = char
  1730. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1731. local rng2m = rng2.Mesh
  1732. local rng3 = rng:Clone()
  1733. rng3.Parent = char
  1734. rng3.BrickColor = BrickColor.new("Dark stone grey")
  1735. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1736. local rng3m = rng3.Mesh
  1737. local rng4 = rng:Clone()
  1738. rng4.Parent = char
  1739. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1740. local rng4m = rng4.Mesh
  1741. local rng5 = rng:Clone()
  1742. rng5.Parent = char
  1743. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1744. local rng5m = rng5.Mesh
  1745. local rng6 = rng:Clone()
  1746. rng6.Material = "Neon"
  1747. rng6.CanCollide = false
  1748. rng6.BrickColor = BrickColor.new("Neon orange")
  1749. rng6.Parent = LeftLeg
  1750. local rng6m = rng6.Mesh
  1751. rng6m.Scale = vt(1,1,1)
  1752. rng6m.MeshType = "Sphere"
  1753. local rng7 = rng:Clone()
  1754. rng7.Material = "Plastic"
  1755. rng7.CanCollide = false
  1756. rng7.BrickColor = BrickColor.new("Bright red")
  1757. rng7.Parent = LeftLeg
  1758. local rng7m = rng7.Mesh
  1759. rng7m.Scale = vt(1,1,1)
  1760. rng7m.MeshType = "Sphere"
  1761. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  1762. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  1763. wait()
  1764. local scaler = 10/5
  1765. local scaler2 = 10/5
  1766. local hit = rng6.Touched:connect(function(hit)
  1767. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  1768. end)
  1769. for i = 0,10,0.1 do
  1770. swait()
  1771. rng.Transparency = rng.Transparency + 0.01
  1772. rng2.Transparency = rng2.Transparency + 0.01
  1773. rng3.Transparency = rng3.Transparency + 0.01
  1774. rng4.Transparency = rng4.Transparency + 0.01
  1775. rng5.Transparency = rng5.Transparency + 0.01
  1776. rng6.Transparency = rng5.Transparency + 0.001
  1777. rng7.Transparency = rng5.Transparency + 0.001
  1778. scaler = scaler - 0.125/5
  1779. scaler2 = scaler2 - 0.1/5
  1780. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1781. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1782. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  1783. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  1784. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  1785. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  1786. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1787. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  1788. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  1789. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  1790. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  1791. rng6.CFrame = rng3.CFrame
  1792. rng7.CFrame = rng3.CFrame
  1793. end
  1794. game:GetService("Debris"):AddItem(rng, 0.1)
  1795. game:GetService("Debris"):AddItem(rng2, 0.1)
  1796. game:GetService("Debris"):AddItem(rng3, 0.1)
  1797. game:GetService("Debris"):AddItem(rng4, 0.1)
  1798. game:GetService("Debris"):AddItem(rng5, 0.1)
  1799. hum.WalkSpeed = 16
  1800. hit:disconnect()
  1801. attack = false
  1802. killbrick:Destroy()
  1803. char.Head.face.Texture = "rbxassetid://29291814"
  1804. jumped = false
  1805. end
  1806.  
  1807.  
  1808.  
  1809. function daash()
  1810. attack = false
  1811. jumped = false
  1812. hum.WalkSpeed = 16
  1813. local bv = Instance.new("BodyVelocity")
  1814. bv.maxForce = Vector3.new(6000,6000,6000)
  1815. bv.velocity = root.CFrame.lookVector*150
  1816. bv.Parent = root
  1817. char.Head.face.Texture = "rbxassetid://126198982"
  1818. game:GetService("Debris"):AddItem(bv, 1)
  1819. local rng = Instance.new("Part", char)
  1820. rng.Anchored = true
  1821. rng.BrickColor = BrickColor.new("White")
  1822. rng.CanCollide = false
  1823. rng.FormFactor = 3
  1824. rng.Name = "Ring"
  1825. rng.Size = Vector3.new(1, 1, 1)
  1826. rng.Transparency = 0
  1827. rng.TopSurface = 0
  1828. rng.BottomSurface = 0
  1829. rng.CFrame = root.CFrame
  1830. local rngm = Instance.new("SpecialMesh", rng)
  1831. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1832. local rng2 = rng:Clone()
  1833. rng2.BrickColor = BrickColor.new("White")
  1834. rng2.Parent = char
  1835. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1836. local rng2m = rng2.Mesh
  1837.  
  1838. local rng5m = rng.Mesh
  1839. CFuncs["Sound"].Create("rbxassetid://262562442", root, 1, 1)
  1840. wait()
  1841. local scaler = 10/5
  1842. local scaler2 = 10/5
  1843. local hit = rng.Touched:connect(function(hit)
  1844. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  1845. end)
  1846. for i = 0,10,0.1 do
  1847. swait()
  1848. MagicBlockDash(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1849. MagicBlockDash(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1850. rng.Transparency = rng.Transparency + 0.01
  1851. rng2.Transparency = rng2.Transparency + 0.01
  1852.  
  1853.  
  1854. scaler = scaler - 0.125/5
  1855. scaler2 = scaler2 - 0.125/5
  1856. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1, scaler2/1, 0)
  1857.  
  1858.  
  1859. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1860.  
  1861. end
  1862. game:GetService("Debris"):AddItem(rng, 0.1)
  1863. game:GetService("Debris"):AddItem(rng2, 0.1)
  1864. hum.WalkSpeed = 16
  1865. hit:disconnect()
  1866. attack = false
  1867. char.Head.face.Texture = "rbxassetid://29291814"
  1868. jumped = false
  1869. end
  1870.  
  1871.  
  1872.  
  1873. function dashh()
  1874. attack = true
  1875. jumped = true
  1876. hum.WalkSpeed = 16
  1877. local BV = Instance.new("BodyVelocity")
  1878. BV = Instance.new("BodyVelocity", tors)
  1879. BV.maxForce = Vector3.new(0,10000,0)
  1880. BV.P = 1000
  1881. BV.velocity = Vector3.new(0,800,0)
  1882. char.Head.face.Texture = "rbxassetid://126198982"
  1883. game:GetService("Debris"):AddItem(BV, 1)
  1884. local rng = Instance.new("Part", char)
  1885. rng.Anchored = true
  1886. rng.BrickColor = BrickColor.new("Neon orange")
  1887. rng.CanCollide = false
  1888. rng.FormFactor = 3
  1889. rng.Name = "Ring"
  1890. rng.Size = Vector3.new(1, 1, 1)
  1891. rng.Transparency = 0
  1892. rng.TopSurface = 0
  1893. rng.BottomSurface = 0
  1894. rng.CFrame = root.CFrame
  1895. local rngm = Instance.new("SpecialMesh", rng)
  1896. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1897. local rng2 = rng:Clone()
  1898. rng2.BrickColor = BrickColor.new("Dark stone grey")
  1899. rng2.Parent = char
  1900. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1901. local rng2m = rng2.Mesh
  1902. local rng3 = rng:Clone()
  1903. rng3.Parent = char
  1904. rng3.BrickColor = BrickColor.new("Dark stone grey")
  1905. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1906. local rng3m = rng3.Mesh
  1907. local rng4 = rng:Clone()
  1908. rng4.Parent = char
  1909. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1910. local rng4m = rng4.Mesh
  1911. local rng5 = rng:Clone()
  1912. rng5.Parent = char
  1913. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1914. local rng5m = rng5.Mesh
  1915. local rng6 = rng:Clone()
  1916. rng6.Material = "Neon"
  1917. rng6.CanCollide = false
  1918. rng6.BrickColor = BrickColor.new("Neon orange")
  1919. rng6.Parent = LeftLeg
  1920. local rng6m = rng6.Mesh
  1921. rng6m.Scale = vt(1,1,1)
  1922. rng6m.MeshType = "Sphere"
  1923. local rng7 = rng:Clone()
  1924. rng7.Material = "Plastic"
  1925. rng7.CanCollide = false
  1926. rng7.BrickColor = BrickColor.new("Bright red")
  1927. rng7.Parent = LeftLeg
  1928. local rng7m = rng7.Mesh
  1929. rng7m.Scale = vt(1,1,1)
  1930. rng7m.MeshType = "Sphere"
  1931. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  1932. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  1933. wait()
  1934. local scaler = 10/5
  1935. local scaler2 = 10/5
  1936. local hit = rng6.Touched:connect(function(hit)
  1937. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  1938. end)
  1939. for i = 0,10,0.1 do
  1940. swait()
  1941. MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1942. MagicBlock(bc("Dark stone grey"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1943. rng.Transparency = rng.Transparency + 0.01
  1944. rng2.Transparency = rng2.Transparency + 0.01
  1945. rng3.Transparency = rng3.Transparency + 0.01
  1946. rng4.Transparency = rng4.Transparency + 0.01
  1947. rng5.Transparency = rng5.Transparency + 0.01
  1948. rng6.Transparency = rng5.Transparency + 0.001
  1949. rng7.Transparency = rng5.Transparency + 0.001
  1950. scaler = scaler - 0.125/5
  1951. scaler2 = scaler2 - 0.1/5
  1952. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1953. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1954. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  1955. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  1956. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  1957. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  1958. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1959. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  1960. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  1961. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  1962. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  1963. rng6.CFrame = rng3.CFrame
  1964. rng7.CFrame = rng3.CFrame
  1965. end
  1966. game:GetService("Debris"):AddItem(rng, 0.1)
  1967. game:GetService("Debris"):AddItem(rng2, 0.1)
  1968. game:GetService("Debris"):AddItem(rng3, 0.1)
  1969. game:GetService("Debris"):AddItem(rng4, 0.1)
  1970. game:GetService("Debris"):AddItem(rng5, 0.1)
  1971. hum.WalkSpeed = 16
  1972. hit:disconnect()
  1973. attack = false
  1974. char.Head.face.Texture = "rbxassetid://29291814"
  1975. jumped = false
  1976. end
  1977.  
  1978.  
  1979. function dashs()
  1980. attack = true
  1981. jumped = true
  1982. hum.WalkSpeed = 16
  1983. local bv = Instance.new("BodyVelocity")
  1984. bv.maxForce = Vector3.new(0, 0, 0)
  1985. bv.velocity = root.CFrame.lookVector*150
  1986. bv.Parent = root
  1987. char.Head.face.Texture = "rbxassetid://126198982"
  1988. game:GetService("Debris"):AddItem(bv, 1)
  1989. local rng = Instance.new("Part", char)
  1990. rng.Anchored = true
  1991. rng.BrickColor = BrickColor.new("Neon orange")
  1992. rng.CanCollide = false
  1993. rng.FormFactor = 3
  1994. rng.Name = "Ring"
  1995. rng.Size = Vector3.new(1, 1, 1)
  1996. rng.Transparency = 0
  1997. rng.TopSurface = 0
  1998. rng.BottomSurface = 0
  1999. rng.CFrame = root.CFrame
  2000. local rngm = Instance.new("SpecialMesh", rng)
  2001. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2002. local rng2 = rng:Clone()
  2003. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2004. rng2.Parent = char
  2005. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2006. local rng2m = rng2.Mesh
  2007. local rng3 = rng:Clone()
  2008. rng3.Parent = char
  2009. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2010. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  2011. local rng3m = rng3.Mesh
  2012. local rng4 = rng:Clone()
  2013. rng4.Parent = char
  2014. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  2015. local rng4m = rng4.Mesh
  2016. local rng5 = rng:Clone()
  2017. rng5.Parent = char
  2018. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  2019. local rng5m = rng5.Mesh
  2020. local rng6 = rng:Clone()
  2021. rng6.Material = "Neon"
  2022. rng6.CanCollide = false
  2023. rng6.BrickColor = BrickColor.new("Neon orange")
  2024. rng6.Parent = LeftLeg
  2025. local rng6m = rng6.Mesh
  2026. rng6m.Scale = vt(1,1,1)
  2027. rng6m.MeshType = "Sphere"
  2028. local rng7 = rng:Clone()
  2029. rng7.Material = "Plastic"
  2030. rng7.CanCollide = false
  2031. rng7.BrickColor = BrickColor.new("Bright red")
  2032. rng7.Parent = LeftLeg
  2033. local rng7m = rng7.Mesh
  2034. rng7m.Scale = vt(1,1,1)
  2035. rng7m.MeshType = "Sphere"
  2036. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2037. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  2038. wait()
  2039. local scaler = 10/5
  2040. local scaler2 = 10/5
  2041. local hit = rng6.Touched:connect(function(hit)
  2042. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2043. end)
  2044. for i = 0,10,0.1 do
  2045. swait()
  2046. rng.Transparency = rng.Transparency + 0.01
  2047. rng2.Transparency = rng2.Transparency + 0.01
  2048. rng3.Transparency = rng3.Transparency + 0.01
  2049. rng4.Transparency = rng4.Transparency + 0.01
  2050. rng5.Transparency = rng5.Transparency + 0.01
  2051. rng6.Transparency = rng5.Transparency + 0.001
  2052. rng7.Transparency = rng5.Transparency + 0.001
  2053. scaler = scaler - 0.125/5
  2054. scaler2 = scaler2 - 0.1/5
  2055. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2056. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2057. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2058. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2059. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/0.5)
  2060. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/0.3)
  2061. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2062. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  2063. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  2064. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2065. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2066. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  2067. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2068. rng6.CFrame = rng3.CFrame
  2069. rng7.CFrame = rng3.CFrame
  2070. end
  2071. game:GetService("Debris"):AddItem(rng, 0.1)
  2072. game:GetService("Debris"):AddItem(rng2, 0.1)
  2073. game:GetService("Debris"):AddItem(rng3, 0.1)
  2074. game:GetService("Debris"):AddItem(rng4, 0.1)
  2075. game:GetService("Debris"):AddItem(rng5, 0.1)
  2076. hum.WalkSpeed = 16
  2077. hit:disconnect()
  2078. attack = false
  2079. char.Head.face.Texture = "rbxassetid://29291814"
  2080. jumped = false
  2081. end
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087. function punch()
  2088. attack = true
  2089. jumped = true
  2090. hum.WalkSpeed = 30
  2091. killbrick = Instance.new("Part",rarm)
  2092. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2093. killbrick.Transparency = 1
  2094. killbrick:BreakJoints()
  2095. killbrick.CanCollide = false
  2096. killbrick.Anchored = true
  2097. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2098. lig = Instance.new("PointLight",player.Character.Torso)
  2099. lig.Color=Color3.new(255,0,0)
  2100. lig.Range = 20
  2101. local bv = Instance.new("BodyVelocity")
  2102. bv.maxForce = Vector3.new(1,1,1)
  2103. bv.velocity = root.CFrame.lookVector*150
  2104. bv.Parent = root
  2105. char.Head.face.Texture = "rbxassetid://126198982"
  2106. game:GetService("Debris"):AddItem(bv, 1)
  2107. local rng = Instance.new("Part", char)
  2108. rng.Anchored = true
  2109. rng.BrickColor = BrickColor.new("Neon orange")
  2110. rng.CanCollide = false
  2111. rng.FormFactor = 3
  2112. rng.Name = "Ring"
  2113. rng.Size = Vector3.new(1, 1, 1)
  2114. rng.Transparency = 0
  2115. rng.TopSurface = 0
  2116. rng.BottomSurface = 0
  2117. rng.CFrame = root.CFrame
  2118. local rngm = Instance.new("SpecialMesh", rng)
  2119. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2120. local rng2 = rng:Clone()
  2121. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2122. rng2.Parent = char
  2123. rng2.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2124. local rng2m = rng2.Mesh
  2125. local rng3 = rng:Clone()
  2126. rng3.Parent = char
  2127. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2128. rng3.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2129. local rng3m = Instance.new("SpecialMesh", rng3)
  2130. rng3m.MeshId = "http://www.roblox.com/asset/?id=665769722"
  2131. local rng4 = rng:Clone()
  2132. rng4.Parent = char
  2133. rng4.BrickColor = BrickColor.new("Dark stone grey")
  2134. rng4.CFrame = root.CFrame + root.CFrame.lookVector*12
  2135. local rng4m = rng4.Mesh
  2136. local rng5 = rng:Clone()
  2137. rng5.Parent = char
  2138. rng5.BrickColor = BrickColor.new("Dark stone grey")
  2139. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2140. local rng5m = rng5.Mesh
  2141. local rng6 = rng:Clone()
  2142. rng6.Material = "Neon"
  2143. rng6.CanCollide = false
  2144. rng6.BrickColor = BrickColor.new("Neon orange")
  2145. rng6.Parent = LeftLeg
  2146. local rng6m = rng6.Mesh
  2147. rng6m.Scale = vt(1,1,1)
  2148. rng6m.MeshType = "Sphere"
  2149. local rng7 = rng:Clone()
  2150. rng7.Material = "Plastic"
  2151. rng7.CanCollide = false
  2152. rng7.BrickColor = BrickColor.new("Bright red")
  2153. rng7.Parent = LeftLeg
  2154. local rng7m = rng7.Mesh
  2155. rng7m.Scale = vt(1,1,1)
  2156. rng7m.MeshType = "Sphere"
  2157. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2158. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2159. wait()
  2160. local scaler = 10/5
  2161. local scaler2 = 10/5
  2162. local hit = rng6.Touched:connect(function(hit)
  2163. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2164. CRIT=true
  2165. end)
  2166. for i = 0,10,0.1 do
  2167. swait()
  2168. rng.Transparency = rng.Transparency + 0.01
  2169. rng2.Transparency = rng2.Transparency + 0.01
  2170. rng3.Transparency = rng3.Transparency + 0.01
  2171. rng4.Transparency = rng4.Transparency + 0.01
  2172. rng5.Transparency = rng5.Transparency + 0.01
  2173. rng6.Transparency = rng5.Transparency + 0.001
  2174. rng7.Transparency = rng5.Transparency + 0.001
  2175. scaler = scaler - 0.125/5
  2176. scaler2 = scaler2 - 0.1/5
  2177. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2178. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/7.5, scaler2/7.5, 0)
  2179. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2180. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2181. rng6.Size = rng6.Size + Vector3.new(scaler2/1.2, scaler2/1.2, scaler2/1.2)
  2182. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2183. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2184. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2185. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2186. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2187. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2188. rng6.CFrame = killbrick.CFrame
  2189. rng7.CFrame = killbrick.CFrame
  2190. end
  2191. game:GetService("Debris"):AddItem(rng, 0.1)
  2192. game:GetService("Debris"):AddItem(rng2, 0.1)
  2193. game:GetService("Debris"):AddItem(rng3, 0.1)
  2194. game:GetService("Debris"):AddItem(rng4, 0.1)
  2195. game:GetService("Debris"):AddItem(rng5, 0.1)
  2196. hum.WalkSpeed = 16
  2197. hit:disconnect()
  2198. attack = false
  2199. killbrick:Destroy()
  2200. char.Head.face.Texture = "rbxassetid://29291814"
  2201. jumped = false
  2202. lig:Remove()
  2203. end
  2204.  
  2205.  
  2206.  
  2207.  
  2208. function punchd()
  2209. attack = true
  2210. jumped = true
  2211. hum.WalkSpeed = 30
  2212. killbrick = Instance.new("Part",rarm)
  2213. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2214. killbrick.Transparency = 1
  2215. killbrick:BreakJoints()
  2216. killbrick.CanCollide = false
  2217. killbrick.Anchored = true
  2218. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2219. lig = Instance.new("PointLight",player.Character.Torso)
  2220. lig.Color=Color3.new(255,0,0)
  2221. lig.Range = 20
  2222. local bv = Instance.new("BodyVelocity")
  2223. bv.maxForce = Vector3.new(1,1,1)
  2224. bv.velocity = root.CFrame.lookVector*150
  2225. bv.Parent = root
  2226. char.Head.face.Texture = "rbxassetid://126198982"
  2227. game:GetService("Debris"):AddItem(bv, 1)
  2228. local rng = Instance.new("Part", char)
  2229. rng.Anchored = true
  2230. rng.BrickColor = BrickColor.new("Neon orange")
  2231. rng.CanCollide = false
  2232. rng.FormFactor = 3
  2233. rng.Name = "Ring"
  2234. rng.Size = Vector3.new(1, 1, 1)
  2235. rng.Transparency = 0
  2236. rng.TopSurface = 0
  2237. rng.BottomSurface = 0
  2238. rng.CFrame = root.CFrame
  2239. local rngm = Instance.new("SpecialMesh", rng)
  2240. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2241. local rng2 = rng:Clone()
  2242. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2243. rng2.Parent = char
  2244. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2245. local rng2m = rng2.Mesh
  2246. local rng3 = rng:Clone()
  2247. rng3.Parent = char
  2248. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2249. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2250. local rng3m = rng3.Mesh
  2251. local rng4 = rng:Clone()
  2252. rng4.Parent = char
  2253. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2254. local rng4m = rng4.Mesh
  2255. local rng5 = rng:Clone()
  2256. rng5.Parent = char
  2257. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2258. local rng5m = rng5.Mesh
  2259. local rng6 = rng:Clone()
  2260. rng6.Material = "Neon"
  2261. rng6.CanCollide = false
  2262. rng6.BrickColor = BrickColor.new("Neon orange")
  2263. rng6.Parent = LeftLeg
  2264. local rng6m = rng6.Mesh
  2265. rng6m.Scale = vt(1,1,1)
  2266. rng6m.MeshType = "Sphere"
  2267. local rng7 = rng:Clone()
  2268. rng7.Material = "Plastic"
  2269. rng7.CanCollide = false
  2270. rng7.BrickColor = BrickColor.new("Bright red")
  2271. rng7.Parent = LeftLeg
  2272. local rng7m = rng7.Mesh
  2273. rng7m.Scale = vt(1,1,1)
  2274. rng7m.MeshType = "Sphere"
  2275. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2276. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2277. wait()
  2278. local scaler = 10/5
  2279. local scaler2 = 10/5
  2280. local hit = rng6.Touched:connect(function(hit)
  2281. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2282. CRIT=true
  2283. end)
  2284. for i = 0,10,0.1 do
  2285. swait()
  2286. rng.Transparency = rng.Transparency + 0.01
  2287. rng2.Transparency = rng2.Transparency + 0.01
  2288. rng3.Transparency = rng3.Transparency + 0.01
  2289. rng4.Transparency = rng4.Transparency + 0.01
  2290. rng5.Transparency = rng5.Transparency + 0.01
  2291. rng6.Transparency = rng5.Transparency + 0.001
  2292. rng7.Transparency = rng5.Transparency + 0.001
  2293. scaler = scaler - 0.125/5
  2294. scaler2 = scaler2 - 0.1/5
  2295. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0)
  2296. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2297. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2298. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2299. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2300. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2301. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2302. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2303. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2304. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2305. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2306. rng6.CFrame = killbrick.CFrame
  2307. rng7.CFrame = killbrick.CFrame
  2308. end
  2309. game:GetService("Debris"):AddItem(rng, 0.1)
  2310. game:GetService("Debris"):AddItem(rng2, 0.1)
  2311. game:GetService("Debris"):AddItem(rng3, 0.1)
  2312. game:GetService("Debris"):AddItem(rng4, 0.1)
  2313. game:GetService("Debris"):AddItem(rng5, 0.1)
  2314. hum.WalkSpeed = 16
  2315. hit:disconnect()
  2316. attack = false
  2317. killbrick:Destroy()
  2318. char.Head.face.Texture = "rbxassetid://29291814"
  2319. jumped = false
  2320. lig:Remove()
  2321. end
  2322.  
  2323.  
  2324.  
  2325.  
  2326. function punch2()
  2327. attack = true
  2328. jumped = true
  2329. hum.WalkSpeed = 16
  2330. killbrick = Instance.new("Part",rarm)
  2331. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2332. killbrick.Transparency = 1
  2333. killbrick:BreakJoints()
  2334. killbrick.CanCollide = false
  2335. killbrick.Anchored = true
  2336. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2337. lig = Instance.new("PointLight",player.Character.Torso)
  2338. lig.Color=Color3.new(255,0,0)
  2339. lig.Range = 20
  2340. local bv = Instance.new("BodyVelocity")
  2341. bv.maxForce = Vector3.new(1,1,1)
  2342. bv.velocity = root.CFrame.lookVector*150
  2343. bv.Parent = root
  2344. char.Head.face.Texture = "rbxassetid://126198982"
  2345. game:GetService("Debris"):AddItem(bv, 1)
  2346. local rng = Instance.new("Part", char)
  2347. rng.Anchored = true
  2348. rng.BrickColor = BrickColor.new("Neon orange")
  2349. rng.CanCollide = false
  2350. rng.FormFactor = 3
  2351. rng.Name = "Ring"
  2352. rng.Size = Vector3.new(1, 1, 1)
  2353. rng.Transparency = 0
  2354. rng.TopSurface = 0
  2355. rng.BottomSurface = 0
  2356. rng.CFrame = root.CFrame
  2357. local rngm = Instance.new("SpecialMesh", rng)
  2358. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2359. local rng2 = rng:Clone()
  2360. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2361. rng2.Parent = char
  2362. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2363. local rng2m = rng2.Mesh
  2364. local rng3 = rng:Clone()
  2365. rng3.Parent = char
  2366. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2367. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2368. local rng3m = rng3.Mesh
  2369. local rng4 = rng:Clone()
  2370. rng4.Parent = char
  2371. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2372. local rng4m = rng4.Mesh
  2373. local rng5 = rng:Clone()
  2374. rng5.Parent = char
  2375. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2376. local rng5m = rng5.Mesh
  2377. local rng6 = rng:Clone()
  2378. rng6.Material = "Neon"
  2379. rng6.CanCollide = false
  2380. rng6.BrickColor = BrickColor.new("Neon orange")
  2381. rng6.Parent = LeftLeg
  2382. local rng6m = rng6.Mesh
  2383. rng6m.Scale = vt(1,1,1)
  2384. rng6m.MeshType = "Sphere"
  2385. local rng7 = rng:Clone()
  2386. rng7.Material = "Plastic"
  2387. rng7.CanCollide = false
  2388. rng7.BrickColor = BrickColor.new("Bright red")
  2389. rng7.Parent = LeftLeg
  2390. local rng7m = rng7.Mesh
  2391. rng7m.Scale = vt(1,1,1)
  2392. rng7m.MeshType = "Sphere"
  2393. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2394. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2395. wait()
  2396. local scaler = 10/5
  2397. local scaler2 = 10/5
  2398. local hit = rng6.Touched:connect(function(hit)
  2399. Damagefunc(hit,67,75,math.random(60,70),"Normal",root,.2,1)
  2400. end)
  2401. for i = 0,10,0.1 do
  2402. swait()
  2403. rng.Transparency = rng.Transparency + 0.01
  2404. rng2.Transparency = rng2.Transparency + 0.01
  2405. rng3.Transparency = rng3.Transparency + 0.01
  2406. rng4.Transparency = rng4.Transparency + 0.01
  2407. rng5.Transparency = rng5.Transparency + 0.01
  2408. rng6.Transparency = rng5.Transparency + 0.001
  2409. rng7.Transparency = rng5.Transparency + 0.001
  2410. scaler = scaler - 0.125/5
  2411. scaler2 = scaler2 - 0.1/5
  2412. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0)
  2413. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0)
  2414. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0)
  2415. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2416. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2417. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2418. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2419. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2420. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2421. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2422. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2423. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2424. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2425. rng6.CFrame = killbrick.CFrame
  2426. rng7.CFrame = killbrick.CFrame
  2427.  
  2428. end
  2429. game:GetService("Debris"):AddItem(rng, 0.1)
  2430. game:GetService("Debris"):AddItem(rng2, 0.1)
  2431. game:GetService("Debris"):AddItem(rng3, 0.1)
  2432. game:GetService("Debris"):AddItem(rng4, 0.1)
  2433. game:GetService("Debris"):AddItem(rng5, 0.1)
  2434. hum.WalkSpeed = 16
  2435. hit:disconnect()
  2436. attack = false
  2437. killbrick:Destroy()
  2438. char.Head.face.Texture = "rbxassetid://29291814"
  2439. jumped = false
  2440. lig:Remove()
  2441. end
  2442.  
  2443.  
  2444. function Crater(hed,Radius)
  2445. spawn(function()
  2446. local Ray = Ray.new(hed.Position,Vector3.new(0,-1,0)*10)
  2447. local Ignore = {}
  2448. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2449. if v.Character ~= nil then
  2450. Ignore[#Ignore+1] = v.Character
  2451. end
  2452. end
  2453. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2454. if Hit == nil then return end
  2455. local Parts = {}
  2456. for i = 1,360,10 do
  2457. local P = Instance.new("Part",hed.Parent)
  2458. P.Anchored = true
  2459. P.FormFactor = "Custom"
  2460. P.BrickColor = Hit.BrickColor
  2461. P.Material = Hit.Material
  2462. P.TopSurface = "Smooth"
  2463. P.BottomSurface = "Smooth"
  2464. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2465. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2466. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  2467. if math.random(0,5) == 0 then -- rubble
  2468. local P = Instance.new("Part",hed.Parent)
  2469. P.Anchored = true
  2470. P.FormFactor = "Custom"
  2471. P.BrickColor = Hit.BrickColor
  2472. P.Material = Hit.Material
  2473. P.TopSurface = "Smooth"
  2474. P.BottomSurface = "Smooth"
  2475. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2476. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2477. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  2478. end
  2479. end
  2480. for i = 0,1,0.05 do
  2481. for i2,v in pairs(Parts) do
  2482. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2483. end
  2484. wait(0)
  2485. end
  2486. for i,v in pairs(Parts) do
  2487. if v[1].Size.X > 2.1 then
  2488. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2489. end
  2490. v[1].Anchored = false
  2491. end
  2492. for i = 0,1,0.05 do
  2493. for i2,v in pairs(Parts) do
  2494. v[1].Transparency = i
  2495. if i == 1 then
  2496. v[1]:Destroy()
  2497. elseif i >= 0.25 then
  2498. v[1].CanCollide = false
  2499. end
  2500. end
  2501. wait(0.02)
  2502. end
  2503. Parts = nil
  2504. end)
  2505. end
  2506.  
  2507.  
  2508. function shock()
  2509. attack = true
  2510. jumped = true
  2511. hum.WalkSpeed = 16
  2512. killbrick = Instance.new("Part",rarm)
  2513. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2514. killbrick.Transparency = 1
  2515. killbrick:BreakJoints()
  2516. killbrick.CanCollide = false
  2517. killbrick.Anchored = true
  2518. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2519. lig = Instance.new("PointLight",player.Character.Torso)
  2520. lig.Color=Color3.new(255,0,0)
  2521. lig.Range = 20
  2522. local bv = Instance.new("BodyVelocity")
  2523. bv.maxForce = Vector3.new(1,1,1)
  2524. bv.velocity = root.CFrame.lookVector*150
  2525. bv.Parent = root
  2526. char.Head.face.Texture = "rbxassetid://126198982"
  2527. game:GetService("Debris"):AddItem(bv, 1)
  2528. local rng = Instance.new("Part", char)
  2529. rng.Anchored = true
  2530. rng.BrickColor = BrickColor.new("Neon orange")
  2531. rng.CanCollide = false
  2532. rng.FormFactor = 3
  2533. rng.Name = "Ring"
  2534. rng.Size = Vector3.new(1, 1, 1)
  2535. rng.Transparency = 0
  2536. rng.TopSurface = 0
  2537. rng.BottomSurface = 0
  2538. rng.CFrame = root.CFrame
  2539. local rngm = Instance.new("SpecialMesh", rng)
  2540. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2541. local rng2 = rng:Clone()
  2542. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2543. rng2.Parent = char
  2544. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2545. local rng2m = rng2.Mesh
  2546. local rng3 = rng:Clone()
  2547. rng3.Parent = char
  2548. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2549. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2550. local rng3m = rng3.Mesh
  2551. local rng4 = rng:Clone()
  2552. rng4.Parent = char
  2553. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2554. local rng4m = rng4.Mesh
  2555. local rng5 = rng:Clone()
  2556. rng5.Parent = char
  2557. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2558. local rng5m = rng5.Mesh
  2559. local rng6 = rng:Clone()
  2560. rng6.Material = "Neon"
  2561. rng6.CanCollide = false
  2562. rng6.BrickColor = BrickColor.new("Neon orange")
  2563. rng6.Parent = LeftLeg
  2564. local rng6m = rng6.Mesh
  2565. rng6m.Scale = vt(1,1,1)
  2566. rng6m.MeshType = "Sphere"
  2567. local rng7 = rng:Clone()
  2568. rng7.Material = "Plastic"
  2569. rng7.CanCollide = false
  2570. rng7.BrickColor = BrickColor.new("Bright red")
  2571. rng7.Parent = LeftLeg
  2572. local rng7m = rng7.Mesh
  2573. rng7m.Scale = vt(1,1,1)
  2574. rng7m.MeshType = "Sphere"
  2575. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2576. wait()
  2577. local scaler = 10/5
  2578. local scaler2 = 10/5
  2579. local hit = rng6.Touched:connect(function(hit)
  2580. Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
  2581. end)
  2582. for i = 0,10,0.1 do
  2583. swait()
  2584. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2585. rng.Transparency = rng.Transparency + 0.01
  2586. rng2.Transparency = rng2.Transparency + 0.01
  2587. rng3.Transparency = rng3.Transparency + 0.01
  2588. rng4.Transparency = rng4.Transparency + 0.01
  2589. rng5.Transparency = rng5.Transparency + 0.01
  2590. rng6.Transparency = rng5.Transparency + 0.001
  2591. rng7.Transparency = rng5.Transparency + 0.001
  2592. scaler = scaler - 0.125/5
  2593. scaler2 = scaler2 - 0.1/5
  2594. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.25, scaler2/0.45, 0)
  2595. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.5, scaler2/0.7, 0)
  2596. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.75, scaler2/0.95, 0)
  2597. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/0.9, scaler2/0.9, 0)
  2598. rng6.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
  2599. rng7.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
  2600. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2601. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2602. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2603. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2604. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2605. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2606. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2607. rng6.CFrame = killbrick.CFrame
  2608. rng7.CFrame = killbrick.CFrame
  2609. end
  2610. game:GetService("Debris"):AddItem(rng, 0.1)
  2611. game:GetService("Debris"):AddItem(rng2, 0.1)
  2612. game:GetService("Debris"):AddItem(rng3, 0.1)
  2613. game:GetService("Debris"):AddItem(rng4, 0.1)
  2614. game:GetService("Debris"):AddItem(rng5, 0.1)
  2615. hum.WalkSpeed = 16
  2616. hit:disconnect()
  2617. attack = false
  2618. killbrick:Destroy()
  2619. char.Head.face.Texture = "rbxassetid://29291814"
  2620. jumped = false
  2621. lig:Remove()
  2622. end
  2623.  
  2624.  
  2625. function punch3()
  2626. attack = true
  2627. jumped = true
  2628. hum.WalkSpeed = 16
  2629. killbrick = Instance.new("Part",rarm)
  2630. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2631. killbrick.Transparency = 1
  2632. killbrick:BreakJoints()
  2633. killbrick.CanCollide = false
  2634. killbrick.Anchored = true
  2635. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2636.  
  2637. killbrick2 = Instance.new("Part",rarm)
  2638. killbrick2.Size = Vector3.new(0.1,0.1,0.1)
  2639. killbrick2.Transparency = 1
  2640. killbrick2:BreakJoints()
  2641. killbrick2.CanCollide = false
  2642. killbrick2.Anchored = true
  2643. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-30)
  2644. lig = Instance.new("PointLight",player.Character.Torso)
  2645. lig.Color=Color3.new(255,0,0)
  2646. lig.Range = 20
  2647. local bv = Instance.new("BodyVelocity")
  2648. bv.maxForce = Vector3.new(1,1,1)
  2649. bv.velocity = root.CFrame.lookVector*150
  2650. bv.Parent = root
  2651. char.Head.face.Texture = "rbxassetid://126198982"
  2652. game:GetService("Debris"):AddItem(bv, 1)
  2653. local rng = Instance.new("Part", char)
  2654. rng.Anchored = true
  2655. rng.BrickColor = BrickColor.new("Neon orange")
  2656. rng.CanCollide = false
  2657. rng.FormFactor = 3
  2658. rng.Name = "Ring"
  2659. rng.Size = Vector3.new(1, 1, 1)
  2660. rng.Transparency = 0
  2661. rng.TopSurface = 0
  2662. rng.BottomSurface = 0
  2663. rng.CFrame = root.CFrame
  2664. local rngm = Instance.new("SpecialMesh", rng)
  2665. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2666. local rng2 = rng:Clone()
  2667. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2668. rng2.Parent = char
  2669. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2670. local rng2m = rng2.Mesh
  2671. local rng3 = rng:Clone()
  2672. rng3.Parent = char
  2673. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2674. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2675. local rng3m = rng3.Mesh
  2676. local rng4 = rng:Clone()
  2677. rng4.Parent = char
  2678. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2679. local rng4m = rng4.Mesh
  2680. local rng5 = rng:Clone()
  2681. rng5.Parent = char
  2682. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2683. local rng5m = rng5.Mesh
  2684. local rng6 = rng:Clone()
  2685. rng6.Material = "Neon"
  2686. rng6.CanCollide = false
  2687. rng6.BrickColor = BrickColor.new("Neon orange")
  2688. rng6.Parent = LeftLeg
  2689. local rng6m = rng6.Mesh
  2690. rng6m.Scale = vt(1,1,1)
  2691. rng6m.MeshType = "Sphere"
  2692. local rng7 = rng:Clone()
  2693. rng7.Material = "Plastic"
  2694. rng7.CanCollide = false
  2695. rng7.BrickColor = BrickColor.new("Bright red")
  2696. rng7.Parent = LeftLeg
  2697. local rng7m = rng7.Mesh
  2698. rng7m.Scale = vt(1,1,1)
  2699. rng7m.MeshType = "Sphere"
  2700. local rng8 = rng6:Clone()
  2701. rng8.Material = "Neon"
  2702. rng8.CanCollide = false
  2703. rng8.BrickColor = BrickColor.new("Neon orange")
  2704. rng8.Parent = LeftLeg
  2705. local rng8m = rng7.Mesh
  2706. rng8m.Scale = vt(1,1,1)
  2707. rng8m.MeshType = "Sphere"
  2708. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2709. wait()
  2710. local scaler = 10/5
  2711. local scaler2 = 10/5
  2712. local hit = rng8.Touched:connect(function(hit)
  2713. Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
  2714. end)
  2715. for i = 0,10,0.1 do
  2716. swait()
  2717. rng.Transparency = rng.Transparency + 0.01
  2718. rng2.Transparency = rng2.Transparency + 0.01
  2719. rng3.Transparency = rng3.Transparency + 0.01
  2720. rng4.Transparency = rng4.Transparency + 0.01
  2721. rng5.Transparency = rng5.Transparency + 0.01
  2722. rng6.Transparency = rng5.Transparency + 0.001
  2723. rng7.Transparency = rng5.Transparency + 0.001
  2724. rng8.Transparency = rng5.Transparency + 0.001
  2725. scaler = scaler - 0.125/5
  2726. scaler2 = scaler2 - 0.1/5
  2727. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0)
  2728. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0)
  2729. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0)
  2730. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2731. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2732. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2733. rng8.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2734. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2735. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2736. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2737. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  2738. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2739. rng6.CFrame = killbrick.CFrame
  2740. rng7.CFrame = killbrick.CFrame
  2741. rng8.CFrame = killbrick2.CFrame
  2742. end
  2743. game:GetService("Debris"):AddItem(rng, 0.1)
  2744. game:GetService("Debris"):AddItem(rng2, 0.1)
  2745. game:GetService("Debris"):AddItem(rng3, 0.1)
  2746. game:GetService("Debris"):AddItem(rng4, 0.1)
  2747. game:GetService("Debris"):AddItem(rng5, 0.1)
  2748. hum.WalkSpeed = 16
  2749. hit:disconnect()
  2750. attack = false
  2751. killbrick:Destroy()
  2752. char.Head.face.Texture = "rbxassetid://29291814"
  2753. jumped = false
  2754. lig:Remove()
  2755. end
  2756.  
  2757.  
  2758.  
  2759. function boom()
  2760. attack = true
  2761. jumped = true
  2762. hum.WalkSpeed = 0
  2763. MagicBlock(bc("White"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  2764. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  2765. CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
  2766. for i = 0,15,0.1 do
  2767. swait()
  2768. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2769. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2770. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2771. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2772. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2773. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2774. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2775. char.Head.face.Texture = "rbxassetid://126198982"
  2776. end
  2777. local rng = Instance.new("Part", char)
  2778. rng.Anchored = true
  2779. rng.BrickColor = BrickColor.new("Neon orange")
  2780. rng.CanCollide = false
  2781. rng.FormFactor = 3
  2782. rng.Name = "Ring"
  2783. rng.Size = Vector3.new(1, 1, 1)
  2784. rng.Transparency = 0
  2785. rng.TopSurface = 0
  2786. rng.BottomSurface = 0
  2787. rng.Position = root.Position
  2788. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2789. local rngm = Instance.new("SpecialMesh", rng)
  2790. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2791. local rng2 = rng:Clone()
  2792. rng2.Parent = char
  2793. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2794. local rng2m = rng2.Mesh
  2795. local rng3 = rng:Clone()
  2796. rng3.Parent = char
  2797. local rng3m = rng3.Mesh
  2798. local rng4 = rng:Clone()
  2799. rng4.Parent = char
  2800. local rng4m = rng4.Mesh
  2801. local rng5 = rng:Clone()
  2802. rng5.Parent = char
  2803. rng5.BrickColor = BrickColor.new("Dark stone grey")
  2804. local rng5m = rng5.Mesh
  2805. local hit = rng5.Touched:connect(function(hit)
  2806. Damagefunc(hit,120,175,math.random(100,100),"Normal",root,.2,1)
  2807. end)
  2808. MagicBlock(bc("White"),root.CFrame,15,15,15,5,5,5,0.015)
  2809. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1)
  2810. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.85)
  2811. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 10, 1)
  2812. wait()
  2813. local scaler = 10
  2814. local scaler2 = 10
  2815. for i = 0,10,0.1 do
  2816. swait()
  2817. rng.Transparency = rng.Transparency + 0.01
  2818. rng2.Transparency = rng2.Transparency + 0.01
  2819. rng3.Transparency = rng3.Transparency + 0.01
  2820. rng4.Transparency = rng4.Transparency + 0.01
  2821. rng5.Transparency = rng5.Transparency + 0.01
  2822. scaler = scaler - 0.125
  2823. scaler2 = scaler2 - 0.1
  2824. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4)
  2825. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3)
  2826. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2)
  2827. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1)
  2828. rng5.Size = rng5m.Scale
  2829. rng5.CFrame = rng.CFrame
  2830. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5)
  2831. text.Text = " DIE! "
  2832. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2833. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2834. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2835. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2836. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2837. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2838. end
  2839. hit:disconnect()
  2840. game:GetService("Debris"):AddItem(rng, 1)
  2841. game:GetService("Debris"):AddItem(rng2, 1)
  2842. game:GetService("Debris"):AddItem(rng3, 1)
  2843. game:GetService("Debris"):AddItem(rng4, 1)
  2844. game:GetService("Debris"):AddItem(rng5, 1)
  2845. hum.WalkSpeed = 16
  2846. attack = false
  2847. text.Text = " "
  2848. char.Head.face.Texture = "rbxassetid://29291814"
  2849. jumped = false
  2850. end
  2851.  
  2852. function shooty()
  2853. attack = true
  2854. MagicBlock(bc("Neon orange"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  2855. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  2856. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
  2857. for i = 0,15,0.1 do
  2858. swait()
  2859. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2860. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2861. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2862. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  2863. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2864. char.Head.face.Texture = "rbxassetid://126198982"
  2865. end
  2866. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2867. local a = Instance.new("Part",Character)
  2868. a.Name = "Direction"
  2869. a.Anchored = true
  2870. a.BrickColor = bc("Neon orange")
  2871. a.Material = "Neon"
  2872. a.Transparency = 1
  2873. a.CanCollide = false
  2874. local ray = Ray.new(
  2875. root.CFrame.p, -- origin
  2876. (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction
  2877. )
  2878. local ignore = Character
  2879. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2880. a.BottomSurface = 10
  2881. a.TopSurface = 10
  2882. local distance = (root.CFrame.p - position).magnitude
  2883. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2884. a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0)
  2885. local lb = Instance.new("Part")
  2886. lb.Parent = char
  2887. lb.BrickColor = bc("Neon orange")
  2888. local pie22 = Instance.new("ParticleEmitter")
  2889. pie22.Parent = char.Torso
  2890. pie22.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color)
  2891. pie22.LightEmission = 0
  2892. pie22.Size = NumberSequence.new(10,5)
  2893. pie22.Texture = "http://www.roblox.com/asset/?id=254959503"
  2894. pie22.Transparency = NumberSequence.new(0, 1)
  2895. pie22.EmissionDirection = "Top"
  2896. pie22.Enabled = true
  2897. pie22.Lifetime = NumberRange.new(1)
  2898. pie22.Rotation = NumberRange.new(-17, 17)
  2899. pie22.Rate = 200
  2900. pie22.Speed = NumberRange.new(3)
  2901. pie22.LockedToPart = false
  2902. pie22.VelocitySpread = 3
  2903. pie22.Name = "Haa"
  2904. pie22.Parent = lb
  2905. lb.CanCollide = false
  2906. lb.Material = "Neon"
  2907. lb.Anchored = true
  2908. lb.TopSurface = 0
  2909. lb.BottomSurface = 0
  2910. lb.Transparency = 0
  2911. lb.Size = vt(0.5,0.5,0.5)
  2912. lb.CFrame = sorb.CFrame
  2913. lb.Anchored = false
  2914. local thingery = Instance.new("SpecialMesh",lb)
  2915. thingery.MeshType = "Sphere"
  2916. thingery.Scale = vt(25,25,25)
  2917. game:GetService("Debris"):AddItem(lb, 10)
  2918. local bv = Instance.new("BodyVelocity")
  2919. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2920. bv.velocity = a.CFrame.lookVector*150
  2921. bv.Parent = lb
  2922. game:GetService("Debris"):AddItem(a, 0.1)
  2923. wait(0.05)
  2924. local hitted = false
  2925. lb.Touched:connect(function(hit)
  2926. if hitted == false then
  2927. hitted = true
  2928. lb.Anchored = true
  2929. lb.Transparency = 1
  2930. local rng = Instance.new("Part", char)
  2931. rng.Anchored = true
  2932. rng.BrickColor = BrickColor.new("Neon orange")
  2933. rng.CanCollide = false
  2934. rng.FormFactor = 3
  2935. rng.Name = "Ring"
  2936. rng.Size = Vector3.new(1, 1, 1)
  2937. rng.Transparency = 0
  2938. rng.TopSurface = 0
  2939. rng.BottomSurface = 0
  2940. rng.CFrame = lb.CFrame
  2941. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2942. local rngm = Instance.new("SpecialMesh", rng)
  2943. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2944. local rng2 = rng:Clone()
  2945. rng2.Parent = char
  2946. local rng2m = rng2.Mesh
  2947. local rng3 = rng:Clone()
  2948. rng3.Parent = char
  2949. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2950. local rng3m = rng3.Mesh
  2951. local rng4 = rng:Clone()
  2952. rng4.Parent = char
  2953. local rng4m = rng4.Mesh
  2954. local rng5 = rng:Clone()
  2955. rng5.Parent = char
  2956. rng5.BrickColor = BrickColor.new("Dark stone grey")
  2957. rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2958. local rng5m = rng5.Mesh
  2959. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2960. rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2961. rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2962. MagicBlock(bc("White"),lb.CFrame,15,15,15,5,5,5,0.015)
  2963. local rng6 = rng:Clone()
  2964. rng6.Material = "Neon"
  2965. rng6.Parent = char
  2966. local rng6m = rng6.Mesh
  2967. rng6m.Scale = vt(1,1,1)
  2968. rng6m.MeshType = "Sphere"
  2969. local hita = rng6.Touched:connect(function(hit)
  2970. Damagefunc(hit,72,78,math.random(70,70),"Normal",root,.2,1)
  2971. end)
  2972. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1)
  2973. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.75)
  2974. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  2975. local scaler = 5
  2976. local scaler2 = 5
  2977. for i = 0,20,0.1 do
  2978. swait()
  2979. rng.Transparency = rng.Transparency + 0.005
  2980. rng2.Transparency = rng2.Transparency + 0.005
  2981. rng3.Transparency = rng3.Transparency + 0.005
  2982. rng4.Transparency = rng4.Transparency + 0.005
  2983. rng5.Transparency = rng5.Transparency + 0.005
  2984. rng6.Transparency = rng6.Transparency + 0.005
  2985. scaler = scaler - 0.005/2
  2986. scaler2 = scaler2 - 0.05/2
  2987. rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3)
  2988. rng6.CFrame = rng.CFrame
  2989. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2990. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2991. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2992. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  2993. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2994. end
  2995. hita:disconnect()
  2996. game:GetService("Debris"):AddItem(rng, 1)
  2997. game:GetService("Debris"):AddItem(rng2, 1)
  2998. game:GetService("Debris"):AddItem(rng3, 1)
  2999. game:GetService("Debris"):AddItem(rng4, 1)
  3000. game:GetService("Debris"):AddItem(rng5, 1)
  3001. game:GetService("Debris"):AddItem(rng6, 1)
  3002. end
  3003. end)
  3004. for i = 0,2,0.1 do
  3005. swait()
  3006. MagicBlock(bc("White"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  3007. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  3008. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  3009. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  3010. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  3011. text.Text = " DIE! "
  3012. end
  3013. attack = false
  3014. text.Text = " "
  3015. char.Head.face.Texture = "rbxassetid://29291814"
  3016. end
  3017.  
  3018. function superpunch()
  3019. attack = true
  3020. jumped = true
  3021. hum.WalkSpeed = 16
  3022. chatfunc("You'll be fine as long as you dodge!")
  3023. wait(1.5)
  3024. text.Text = " "
  3025. wait(0.5)
  3026. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  3027. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
  3028. wait(0.7)
  3029. chatfunc("Explosion Grenade!")
  3030. for i = 0,15,0.1 do
  3031. swait()
  3032. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  3033. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  3034. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  3035. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  3036. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  3037. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  3038. char.Head.face.Texture = "rbxassetid://126198982"
  3039. end
  3040. local rng = Instance.new("Part", char)
  3041. rng.Anchored = true
  3042. rng.BrickColor = BrickColor.new("Neon orange")
  3043. rng.CanCollide = false
  3044. rng.FormFactor = 3
  3045. rng.Name = "Ring"
  3046. rng.Size = Vector3.new(1, 1, 1)
  3047. rng.Transparency = 0
  3048. rng.TopSurface = 0
  3049. rng.BottomSurface = 0
  3050. rng.CFrame = root.CFrame
  3051. local rngm = Instance.new("SpecialMesh", rng)
  3052. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3053. local rng2 = rng:Clone()
  3054. rng2.Parent = char
  3055. rng2.BrickColor = BrickColor.new("Dark stone grey")
  3056. local rng2m = rng2.Mesh
  3057. local rng3 = rng:Clone()
  3058. rng3.Parent = char
  3059. local rng3m = rng3.Mesh
  3060. local rng4 = rng:Clone()
  3061. rng4.Parent = char
  3062. rng4.BrickColor = BrickColor.new("Dark stone grey")
  3063. local rng4m = rng4.Mesh
  3064. local rng5 = rng:Clone()
  3065. rng5.Parent = char
  3066. local rng5m = rng5.Mesh
  3067. local rng6 = rng:Clone()
  3068. rng6.Material = "Neon"
  3069. rng6.Parent = char
  3070. local rng6m = rng6.Mesh
  3071. rng6m.Scale = vt(1,1,1)
  3072. rng6m.MeshType = "Sphere"
  3073. local hita = rng6.Touched:connect(function(hit)
  3074. Damagefunc(hit,30000,44000,math.random(30000,40000),"Normal",root,.2,1)
  3075. end)
  3076. rng2.CFrame = root.CFrame
  3077. rng3.CFrame = root.CFrame
  3078. rng4.CFrame = root.CFrame
  3079. rng5.CFrame = root.CFrame
  3080. rng6.CFrame = root.CFrame
  3081. CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1)
  3082. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85)
  3083. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  3084. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  3085. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  3086. wait()
  3087. local scaler = 10/5
  3088. local scaler2 = 10/5
  3089. MagicBlock(bc("Dark stone grey"),root.CFrame,30,30,30,5,5,5,0.015)
  3090. for i = 0,10,0.1 do
  3091. swait()
  3092. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2
  3093. rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25
  3094. rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5
  3095. rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75
  3096. rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2
  3097. rng6.Size = rng6.Size + Vector3.new(scaler2/0.9, scaler2/0.9, scaler2/0.4)
  3098. rng6.CFrame = rng.CFrame
  3099. rng.Transparency = rng.Transparency + 0.01
  3100. rng2.Transparency = rng2.Transparency + 0.01
  3101. rng3.Transparency = rng3.Transparency + 0.01
  3102. rng4.Transparency = rng4.Transparency + 0.01
  3103. rng5.Transparency = rng5.Transparency + 0.01
  3104. rng6.Transparency = rng6.Transparency + 0.01
  3105. scaler = scaler - 0.125/5
  3106. scaler2 = scaler2 - 0.1/5
  3107. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5)
  3108. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1)
  3109. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5)
  3110. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  3111. rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2)
  3112. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  3113. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  3114. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  3115. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  3116. end
  3117. hita:disconnect()
  3118. game:GetService("Debris"):AddItem(rng, 1)
  3119. game:GetService("Debris"):AddItem(rng2, 1)
  3120. game:GetService("Debris"):AddItem(rng3, 1)
  3121. game:GetService("Debris"):AddItem(rng4, 1)
  3122. game:GetService("Debris"):AddItem(rng5, 1)
  3123. hum.WalkSpeed = 16
  3124. attack = false
  3125. char.Head.face.Texture = "rbxassetid://29291814"
  3126. jumped = false
  3127. end
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133.  
  3134.  
  3135. mouse.KeyDown:connect(function(k)
  3136. if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
  3137. jump()
  3138. end
  3139. if k == "x" and attack == false then
  3140. dash()
  3141. end
  3142. if k == "t" and attack == false then
  3143. dashh()
  3144. end
  3145. if k == "r" and attack == false then
  3146. dashs()
  3147. end
  3148. if k == "p" and attack == false then
  3149. asd:Stop()
  3150. end
  3151. if k == "g" and attack == false then
  3152. chatfunc("Deku!")
  3153. end
  3154. if k == "1" and attack == false then
  3155. chatfunc("Weak!")
  3156. end
  3157. if k == "2" and attack == false then
  3158. chatfunc("That's what you consider strong?!")
  3159. end
  3160. if k == "3" and attack == false then
  3161. chatfunc("Useless!")
  3162. end
  3163. if k == "4" and attack == false then
  3164. chatfunc("What?!")
  3165. end
  3166. if k == "5" and attack == false then
  3167. chatfunc("Hmph.")
  3168. end
  3169. if k == "6" and attack == false then
  3170. chatfunc("Trash!")
  3171. end
  3172. if k == "7" and attack == false then
  3173. chatfunc("You're Nothing!")
  3174. end
  3175. if k == "h" and attack == false then
  3176. chatfunc("Die!")
  3177. end
  3178. if k == "m" and attack == false then
  3179. char.Head.face.Texture = "rbxassetid://126198982"
  3180. chatfunc("I'll crush you!")
  3181. end
  3182. if k == "j" and attack == false then
  3183. chatfunc("Idiot!")
  3184. end
  3185. if k == "k" and attack == false then
  3186. chatfunc("I'll crush that Half-n-Half bastard..")
  3187. end
  3188. if k == "l" and attack == false then
  3189. chatfunc("Remember who you are.. YOU'RE BENEATH ME!")
  3190. end
  3191. if k == "f" and attack == false then
  3192. daash()
  3193. end
  3194. if k == "u" and attack == false then
  3195. asd:Play()
  3196. end
  3197. if k == "e" and attack == false then
  3198. punch()
  3199. end
  3200. if k == "y" and attack == false then
  3201. punch3()
  3202. end
  3203.  
  3204. if k == "q" and attack == false then
  3205. punch2()
  3206. end
  3207. if k == "c" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
  3208. boom()
  3209. end
  3210. if k == "v" and attack == false then
  3211. shooty()
  3212. end
  3213. if k == "l" and attack == false then
  3214. if Serious == true then
  3215. punchd()
  3216. end
  3217. end
  3218. if k == "b" and attack == false then
  3219. superpunch()
  3220. end
  3221. end)
  3222. mouse.KeyDown:connect(function(key)
  3223. if key=="8" then
  3224. Serious()
  3225. end
  3226. end)
  3227. Health = math.huge --------- Serious mode aura.
  3228. BaseHealth = math.huge
  3229.  
  3230.  
  3231.  
  3232.  
  3233. InForm = false
  3234.  
  3235. Player = game.Players.LocalPlayer
  3236. Char = Player.Character
  3237. Torso = Char.Torso
  3238.  
  3239. function Serious()
  3240. for X = 1, 1 do wait()
  3241. asd1 = Instance.new("Sound",char)
  3242. asd1.SoundId = "http://www.roblox.com/asset/?id = 934992368"
  3243. asd1.Volume = 2
  3244. asd1.Looped = true
  3245. asd1:Play()
  3246. chatfunc("...")
  3247. wait(1.6)
  3248. chatfunc("...You..")
  3249. wait(1.6)
  3250. chatfunc("...")
  3251. wait(1.6)
  3252. chatfunc("There's no point in winning if both sides don't give it their all.")
  3253. wait(8)
  3254. for X = 1, 1 do wait()
  3255. local Effect = Instance.new("Part")
  3256. Effect.Name = "Effect"
  3257. Effect.Parent = Torso
  3258. Effect.CFrame = Torso.CFrame
  3259. Effect.BrickColor = BrickColor.new("Neon orange")
  3260. Effect.Shape = "Ball"
  3261. Effect.Size = Vector3.new(1, 1, 1)
  3262. Effect.Anchored = true
  3263. Effect.Material = "Neon"
  3264. Effect.CanCollide = false
  3265. Effect.CFrame = Torso.CFrame
  3266. Effect.Size = Effect.Size + Vector3.new(0.5)
  3267. Effect.Transparency = Effect.Transparency + 0.04
  3268. end
  3269. end
  3270.  
  3271. repeat
  3272. Torso:FindFirstChild("Effect"):Remove()
  3273. until Torso:FindFirstChild("Effect") == nil
  3274.  
  3275.  
  3276. local Color1 = Color3.new(255, 255, 0)
  3277. local Color2 = Color3.new(255, 255, 0)
  3278.  
  3279.  
  3280. local Aura = Instance.new('ParticleEmitter')
  3281. Aura.Name = "Aura"
  3282. Aura.Texture = "rbxassetid://254959503"
  3283. Aura.Parent = Torso
  3284. Aura.LightEmission = 0.6
  3285. Aura.Transparency = NumberSequence.new(0.5)
  3286. Aura.Color = ColorSequence.new(BrickColor.new("Neon orange").Color)
  3287. Aura.Size = NumberSequence.new(7,4,1)
  3288. Aura.LockedToPart = false
  3289. Aura.Lifetime = NumberRange.new(3)
  3290. Aura.Rate = 40
  3291. Aura.Speed = NumberRange.new(2)
  3292. Aura.Rotation = NumberRange.new(-420,420)
  3293. Aura.EmissionDirection = "Top"
  3294. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  3295. punch2()
  3296. chatfunc("DON'T UNDERESTIMATE ME!")
  3297. Instance.new("ForceField",char).Visible = false
  3298. hum.Name = "youdungoofed"
  3299. local Aura2 = Instance.new('ParticleEmitter')
  3300. Aura2.Name = "Aura"
  3301. Aura2.Texture = "rbxassetid://254959503"
  3302. Aura2.Parent = Torso
  3303. Aura2.LightEmission = 0
  3304. Aura2.Transparency = NumberSequence.new(0.7)
  3305. Aura2.Color = ColorSequence.new(BrickColor.new("Grey").Color)
  3306. Aura2.Size = NumberSequence.new(10,6,1)
  3307. Aura2.LockedToPart = false
  3308. Aura2.Lifetime = NumberRange.new(3)
  3309. Aura2.Rate = 40
  3310. Aura2.Speed = NumberRange.new(2)
  3311. Aura2.Rotation = NumberRange.new(3,-3)
  3312. Aura2.EmissionDirection = "Top"
  3313. local Aura3 = Instance.new('ParticleEmitter')
  3314. Aura3.Name = "Aura"
  3315. Aura3.Texture = "rbxassetid://245595131"
  3316. Aura3.Parent = Torso
  3317. Aura3.LightEmission = 1
  3318. Aura3.Transparency = NumberSequence.new(0.7)
  3319. Aura3.Color = ColorSequence.new(BrickColor.new("Grey").Color)
  3320. Aura3.Size = NumberSequence.new(0.6)
  3321. Aura3.LockedToPart = false
  3322. Aura3.Lifetime = NumberRange.new(1)
  3323. Aura3.Rate = 40
  3324. Aura3.Speed = NumberRange.new(2)
  3325. Aura3.Rotation = NumberRange.new(3,-3)
  3326. Aura3.EmissionDirection = "Top"
  3327.  
  3328.  
  3329. InForm = true
  3330.  
  3331. Char.Humanoid.MaxHealth = Health
  3332. wait(0.3)
  3333. Char.Humanoid.Health = Health
  3334.  
  3335.  
  3336. end
  3337.  
  3338. function Base()
  3339. InForm = false
  3340. local Effect = Instance.new("Part")
  3341. Effect.Name = "Effect"
  3342. Effect.Parent = Torso
  3343. Effect.CFrame = Torso.CFrame
  3344. Effect.BrickColor = BrickColor.new("White")
  3345. Effect.Shape = "Ball"
  3346. Effect.Size = Vector3.new(8, 8, 8)
  3347. Effect.Anchored = true
  3348. Effect.Material = "Neon"
  3349. Effect.CanCollide = false
  3350. for loop = 1, 25 do wait()
  3351. Effect.CFrame = Torso.CFrame
  3352. Effect.Size = Effect.Size + Vector3.new(-0.5)
  3353. Effect.Transparency = Effect.Transparency + 0.04
  3354. end
  3355. repeat
  3356. Torso:FindFirstChild("Effect"):Remove()
  3357. until Torso:FindFirstChild("Effect") == nil
  3358.  
  3359. for i, v in pairs(Torso:GetChildren()) do
  3360. if v:IsA('ParticleEmitter') then
  3361. v:Remove()
  3362. asd1:Destroy()
  3363. killbrick:Destroy()
  3364. end
  3365. end
  3366. char.Humanoid.MaxHealth = BaseHealth
  3367. wait(0.3)
  3368. char.Humanoid.Health = BaseHealth
  3369.  
  3370. end
  3371.  
  3372. mouse.KeyDown:connect(function(key)
  3373. if key=="9" then
  3374. Base()
  3375. end
  3376. end)
  3377.  
  3378. Player.Chatted:connect(function(Message)
  3379. if Message == "Time to get serious." and InForm == false then
  3380. wait(0.10)
  3381. Serious()
  3382. end
  3383. if Message == "off" or Message == "Nice fight." and InForm == true then
  3384. Base()
  3385. end
  3386. end)
  3387. Humanoid.Animator.Parent = nil
  3388. idleanim=.4
  3389. while true do
  3390. swait()
  3391. sine = sine + change
  3392. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3393. local velderp=RootPart.Velocity.y
  3394. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3395. if equipped==true or equipped==false then
  3396. if attack==false then
  3397. idle=idle+1
  3398. else
  3399. idle=0
  3400. end
  3401. if idle>=500 then
  3402. if attack==false then
  3403. --Sheath()
  3404. end
  3405. end
  3406. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3407. Anim="Jump"
  3408. if attack==false then
  3409. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  3410. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3411. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3412. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  3413. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3414. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  3415. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3416. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  3417. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  3418. end
  3419. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3420. Anim="Fall"
  3421. if attack==false then
  3422. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  3423. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3424. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3425. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  3426. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3427. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  3428. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3429. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  3430. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  3431. end
  3432. elseif torvel<1 and hitfloor~=nil then
  3433. Anim="Idle"
  3434. if jumped == false then
  3435. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  3436. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  3437. end
  3438. if attack==false then
  3439. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3440. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3)
  3441. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(5 + 2.5 * math.cos(sine / 25))),.3)
  3442. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.3)
  3443. end
  3444. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3445. Anim="Walk"
  3446. if jumped == false then
  3447. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  3448. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  3449. end
  3450. if attack==false then
  3451. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  3452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3453. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3)
  3454. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3)
  3455. end
  3456. elseif torvel>=22 and hitfloor~=nil then
  3457. Anim="Run"
  3458. if jumped == false then
  3459. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  3460. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  3461. end
  3462. if attack==false then
  3463. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  3464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3465. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3)
  3466. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3)
  3467. end
  3468. end
  3469. end
  3470. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement