DISTROYER190

Untitled

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