Advertisement
Guest User

Untitled

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