DontDoItIDareU

thanos

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