Advertisement
Insanity_Mark

Dust Sans ROBLOX Script (May not work)

Jun 28th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 183.09 KB | None | 0 0
  1. p = game.Players.LocalPlayer
  2. char = p.Character
  3. torso = char.Torso
  4. hed = char.Head
  5. neck = char.Torso.Neck
  6. hum = char.Humanoid
  7. hum.MaxHealth = math.huge
  8. local msg = game:GetService("Chat")
  9. torso.BrickColor = BrickColor.new("Institutional white")
  10. hed.BrickColor = BrickColor.new("Institutional white")
  11. char["Right Arm"].BrickColor = BrickColor.new("Institutional white")
  12. char["Left Arm"].BrickColor = BrickColor.new("Institutional white")
  13. char["Left Leg"].BrickColor = BrickColor.new("Institutional white")
  14. char["Right Leg"].BrickColor = BrickColor.new("Institutional white")
  15. ypcall(function()
  16. shirt = Instance.new("Shirt", char)
  17. shirt.Name = "Shirt"
  18. pants = Instance.new("Pants", char)
  19. pants.Name = "Pants"
  20. char.Shirt.ShirtTemplate = "rbxassetid://1936808135"
  21. char.Pants.PantsTemplate = "rbxassetid://1688621380"
  22. end)
  23. hed.face.Texture = "http://www.roblox.com/asset/?id=888434012"
  24. p1 = Instance.new("Part",char)
  25. p1.FormFactor = Enum.FormFactor.Custom
  26. p1.Size = Vector3.new(2,4,3)
  27. p1.CanCollide = false
  28. p1.Locked = true
  29. p1.BottomSurface = Enum.SurfaceType.Smooth
  30. p1.TopSurface = Enum.SurfaceType.Smooth
  31. SMesh = Instance.new("SpecialMesh", p1)
  32. SMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  33. SMesh.MeshType = Enum.MeshType.FileMesh
  34. SMesh.Name = "Mesh"
  35. SMesh.TextureId = "http://www.roblox.com/asset/?id=0"
  36. w1 = Instance.new("Weld", hed)
  37. w1.Part0 = hed
  38. w1.C0 = CFrame.new(0,0.76,0.2)*CFrame.Angles(0.3,0,0)
  39. w1.Part1 = p1
  40. w1.C1 = CFrame.new(0, 0, 0)
  41. CV="Maroon"
  42. Player = game.Players.LocalPlayer
  43. Character = Player.Character
  44. local txt = Instance.new("BillboardGui", Character)
  45. txt.Adornee = Character .Head
  46. txt.Name = "_status"
  47. txt.Size = UDim2.new(2, 0, 1.2, 0)
  48. txt.StudsOffset = Vector3.new(-9, 8, 0)
  49. local text = Instance.new("TextLabel", txt)
  50. text.Size = UDim2.new(10, 0, 7, 0)
  51. text.FontSize = "Size24"
  52. text.TextScaled = true
  53. text.TextTransparency = 0
  54. text.BackgroundTransparency = 1
  55. text.TextTransparency = 0
  56. text.TextStrokeTransparency = 0
  57. text.Font = "Bodoni"
  58. text.TextStrokeColor3 = Color3.new(255,85,0)
  59.  
  60. v=Instance.new("Part")
  61. v.Name = "ColorBrick"
  62. v.Parent=Player.Character
  63. v.FormFactor="Symmetric"
  64. v.Anchored=true
  65. v.CanCollide=false
  66. v.BottomSurface="Smooth"
  67. v.TopSurface="Smooth"
  68. v.Size=Vector3.new(10,5,3)
  69. v.Transparency=1
  70. v.CFrame=Character.Torso.CFrame
  71. v.BrickColor=BrickColor.new(CV)
  72. v.Transparency=1
  73. text.TextColor3 = Color3.new(255,170,0)
  74. v.Shape="Block"
  75. text.Text = "Dust Sans"
  76. ----------------------------------------------------
  77. z = Instance.new("Sound", char)
  78. z.SoundId = "rbxassetid://975112789"--975112789
  79. z.Looped = true
  80. z.Pitch = 1
  81. z.Volume = 5
  82. wait(.001)
  83. z:Play()
  84. ----------------------------------------------------
  85. --Shark op
  86. --by osama44
  87. --for shark nigger
  88. --Converted to local by Scenius
  89.  
  90. Player=game.Players.LocalPlayer
  91. o1 = Instance.new("ParticleEmitter")
  92. o1.Name = "ora"
  93. o1.Parent = script
  94. o1.Transparency = NumberSequence.new(0,1)
  95. o1.Size = NumberSequence.new(1.5,3.5)
  96. o1.Color = ColorSequence.new(Color3.new(0, 0.333333, 1),Color3.new(0, 0.333333, 1))
  97. o1.Enabled = false
  98. o1.LightEmission = 1
  99. o1.Texture = "rbxassetid://243086902"
  100. o1.Lifetime = NumberRange.new(1,1)
  101. o1.Rate = 500
  102. o1.RotSpeed = NumberRange.new(90,90)
  103. o1.Speed = NumberRange.new(0,0)
  104. sv = Instance.new("Part")
  105. for i = 1, 2 do
  106. sv.Parent = script
  107. end
  108. sv.BrickColor = BrickColor.new("Deep orange")
  109. sv.Name = "sword"
  110. sv.Size = Vector3.new(0.248, 8.654, 1.153)
  111. sv.Orientation = Vector3.new(90, 90, 0)
  112. svm = Instance.new("FileMesh", sv)
  113. svm.MeshId = "rbxassetid://445556170"
  114. repeat wait() until Player.Character
  115. repeat wait() until #script:children() >= 0
  116. script.Parent=Player.PlayerGui
  117. Effects = { }
  118. --[[Credits to SazErenos for his Artificical Heartbeat]]--
  119. ArtificialHB = Instance.new("BindableEvent", script)
  120. ArtificialHB.Name = "Heartbeat"
  121.  
  122. script:WaitForChild("Heartbeat")
  123.  
  124. frame = 1 / 30
  125. tf = 0
  126. allowframeloss = false
  127. tossremainder = false
  128. lastframe = tick()
  129. script.Heartbeat:Fire()
  130.  
  131. game:GetService("RunService").Heartbeat:connect(function(s, p)
  132. tf = tf + s
  133. if tf >= frame then
  134. if allowframeloss then
  135. script.Heartbeat:Fire()
  136. lastframe = tick()
  137. else
  138. for i = 1, math.floor(tf / frame) do
  139. script.Heartbeat:Fire()
  140. end
  141. lastframe = tick()
  142. end
  143. if tossremainder then
  144. tf = 0
  145. else
  146. tf = tf - frame * math.floor(tf / frame)
  147. end
  148. end
  149. end)
  150.  
  151. function swait(num)
  152. if num == 0 or num == nil then
  153. ArtificialHB.Event:wait()
  154. else
  155. for i = 0, num do
  156. ArtificialHB.Event:wait()
  157. end
  158. end
  159. end
  160. ------------------[[Variables and Main Stuff]]--------------------
  161.  
  162.  
  163.  
  164. local Player = game.Players.localPlayer
  165. local Character = Player.Character
  166. local Humanoid = Character.Humanoid
  167. local char=Character
  168. local LeftArm = Character["Left Arm"]
  169. local RightArm = Character["Right Arm"]
  170. local LeftLeg = Character["Left Leg"]
  171. local RightLeg = Character["Right Leg"]
  172. local Head = Character.Head
  173. local Torso = Character.Torso
  174. local cam = game.Workspace.CurrentCamera
  175. local RootPart = Character.HumanoidRootPart
  176. local RootJoint = RootPart.RootJoint
  177. local equipped = false
  178. local attack = false
  179. local Anim = 'Idle'
  180. local idle = 0
  181. local attacktype = 1
  182. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  183. local velocity = RootPart.Velocity.y
  184. local sine = 0
  185. local change = 1
  186. local grabbed = false
  187. local cn = CFrame.new
  188. local mr = math.rad
  189. local angles = CFrame.Angles
  190. local ud = UDim2.new
  191. local c3 = Color3.new
  192. local ORW=Torso["Right Shoulder"]
  193. local OLW=Torso["Left Shoulder"]
  194. local OLH=Torso["Left Hip"]
  195. local ORH=Torso["Right Hip"]
  196. local DesiredSpeed=15
  197. local desiredjp=50
  198. EffectModel = Instance.new("Model", Character)
  199. it=Instance.new
  200. vt=Vector3.new
  201. cf=CFrame.new
  202. euler=CFrame.Angles
  203. EffectModel.Name = "Effects"
  204. local Animator=Humanoid.Animator
  205. local Animate=char.Animate
  206. local EffecMo=EffectModel
  207. euler=CFrame.Angles
  208. RotCF = euler(-1.57, 0, 3.14)
  209. it=Instance.new
  210. vt=Vector3.new
  211. LastMove=""
  212. Orbs={}
  213. EffecMo=EffectModel
  214. RootCF = CFrame.Angles(0, 0, 0)
  215. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  216. local RW=Instance.new("Motor",nil)
  217. RW.Name="Right Shoulder"
  218. local LW=Instance.new("Motor",nil)
  219. LW.Name="Left Shoulder"
  220. local RH=Instance.new("Motor",nil)
  221. RH.Name="Right Hip"
  222. local LH=Instance.new("Motor",nil)
  223. LH.Name="Left Hip"
  224. Neck=Torso.Neck
  225. r1m=RootJoint.C1
  226. r0m=RootJoint.C0
  227. n1m=Neck.C1
  228. n0m=Neck.C0
  229. local rarmc1 = RW.C1
  230. local larmc1 = LW.C1
  231. local rlegc1 = RH.C1
  232. local llegc1 = LH.C1
  233. local resetc1 = false
  234. Comboing=false
  235. HTime=0
  236. LastDamage=0
  237. ComboHits=0
  238.  
  239. local co1 = 10
  240. local co2 = 10
  241. local co3 = 20
  242. local co4 = 1
  243. local cooldown1 = 0
  244. local cooldown2 = 0
  245. local cooldown3 = 0
  246. local cooldown4 = 0
  247. local skillcolorscheme = BrickColor.new("Deep orange").Color
  248. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  249. makeframe = function(par, trans, pos, size, color)
  250.  
  251. local frame = Instance.new("Frame", par)
  252. frame.BackgroundTransparency = trans
  253. frame.BorderSizePixel = 0
  254. frame.Position = pos
  255. frame.Size = size
  256. frame.BackgroundColor3 = color
  257. return frame
  258. end
  259.  
  260. makelabel = function(par, text)
  261.  
  262. local label = Instance.new("TextLabel", par)
  263. label.BackgroundTransparency = 1
  264. label.Size = UDim2.new(1, 0, 1, 0)
  265. label.Position = UDim2.new(0, 0, 0, 0)
  266. label.TextColor3 = Color3.new(255, 255, 255)
  267. label.TextStrokeTransparency = 0
  268. label.FontSize = Enum.FontSize.Size32
  269. label.Font = Enum.Font.SourceSansLight
  270. label.BorderSizePixel = 0
  271. label.TextScaled = true
  272. label.Text = text
  273. end
  274.  
  275. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  276. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  277. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  278. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  279. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  280. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  281. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  282. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  283. text1 = Instance.new("TextLabel", framesk1)
  284. text1.BackgroundTransparency = 1
  285. text1.Size = UDim2.new(1, 0, 1, 0)
  286. text1.Position = UDim2.new(0, 0, 0, 0)
  287. text1.TextColor3 = Color3.new(255, 255, 255)
  288. text1.TextStrokeTransparency = 0
  289. text1.FontSize = Enum.FontSize.Size18
  290. text1.Font = Enum.Font.SourceSansLight
  291. text1.BorderSizePixel = 0
  292. text1.TextScaled = true
  293. text1.Text = "[Z]"
  294. text2 = Instance.new("TextLabel", framesk2)
  295. text2.BackgroundTransparency = 1
  296. text2.Size = UDim2.new(1, 0, 1, 0)
  297. text2.Position = UDim2.new(0, 0, 0, 0)
  298. text2.TextColor3 = Color3.new(255, 255, 255)
  299. text2.TextStrokeTransparency = 0
  300. text2.FontSize = Enum.FontSize.Size18
  301. text2.Font = Enum.Font.SourceSansLight
  302. text2.BorderSizePixel = 0
  303. text2.TextScaled = true
  304. text2.Text = "[X]"
  305. text3 = Instance.new("TextLabel", framesk3)
  306. text3.BackgroundTransparency = 1
  307. text3.Size = UDim2.new(1, 0, 1, 0)
  308. text3.Position = UDim2.new(0, 0, 0, 0)
  309. text3.TextColor3 = Color3.new(255, 255, 255)
  310. text3.TextStrokeTransparency = 0
  311. text3.FontSize = Enum.FontSize.Size18
  312. text3.Font = Enum.Font.SourceSansLight
  313. text3.BorderSizePixel = 0
  314. text3.TextScaled = false
  315. text3.Text = "[C]"
  316. text4 = Instance.new("TextLabel", framesk4)
  317. text4.BackgroundTransparency = 1
  318. text4.Size = UDim2.new(1, 0, 1, 0)
  319. text4.Position = UDim2.new(0, 0, 0, 0)
  320. text4.TextColor3 = Color3.new(255, 255, 255)
  321. text4.TextStrokeTransparency = 0
  322. text4.FontSize = Enum.FontSize.Size18
  323. text4.Font = Enum.Font.SourceSansLight
  324. text4.BorderSizePixel = 0
  325. text4.TextScaled = true
  326. text4.Text = "[V]"
  327.  
  328. ------------[[Particle Emitters]]---------------------
  329. local pe=Instance.new("ParticleEmitter",script)
  330. pe.Enabled=false
  331. pe.Name="pe"
  332. local col1= Color3.new(0, 85, 255)
  333. pe.Color=ColorSequence.new(col1)
  334. pe.Texture="rbxassetid://436792038"
  335. pe.LightEmission=1
  336. pe.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 1.65), NumberSequenceKeypoint.new(1, 0)})
  337. pe.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  338. pe.Lifetime=NumberRange.new(1.5)
  339. pe.Rate=500
  340. pe.Acceleration=Vector3.new(5,0,5)
  341. pe.Rotation=NumberRange.new(5)
  342. pe.RotSpeed=NumberRange.new(10)
  343. pe.Speed=NumberRange.new(5)
  344.  
  345. local pe=Instance.new("ParticleEmitter",script)
  346. pe.Enabled=false
  347. pe.Name="pe2"
  348. local col1= BrickColor.new("Deep orange").Color
  349. pe.Color=ColorSequence.new(col1)
  350. pe.Texture="rbxassetid://436792038"
  351. pe.LightEmission=.5
  352. pe.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 1.65), NumberSequenceKeypoint.new(1, 0)})
  353. pe.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  354. pe.Lifetime=NumberRange.new(1)
  355. pe.Rate=500
  356. pe.Rotation=NumberRange.new(5)
  357. pe.RotSpeed=NumberRange.new(10)
  358. pe.Speed=NumberRange.new(5)
  359. pe.VelocitySpread=360
  360.  
  361. ------------------[[Main Functions]]--------------------
  362.  
  363. function CameraShake(Times, Power)
  364. coroutine.resume(coroutine.create(function()
  365. FV = Instance.new("BoolValue", Character)
  366. FV.Name = "CameraShake"
  367. for ShakeNum=1,Times do
  368. swait()
  369. local ef=Power
  370. if ef>=1 then
  371. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  372. else
  373. ef=Power*10
  374. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  375. end
  376. end
  377. Humanoid.CameraOffset = Vector3.new(0,0,0)
  378. FV:Destroy()
  379. end))
  380. end
  381.  
  382. so = function(id, par, vol, pit)
  383. local sou = Instance.new("Sound", par or workspace)
  384. if par==char then sou.Parent=char.Torso end
  385. sou.Volume = vol
  386. sou.Pitch = pit or 1
  387. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  388. coroutine.resume(coroutine.create(function(Sound)
  389. swait()
  390. Sound:play()
  391. while sou.Parent.Parent ~= nil and sou.TimePosition >= sou.TimeLength do
  392. swait()
  393. end
  394. sou.Parent = char.Torso
  395. end), sou)
  396. game:GetService("Debris"):AddItem(sou, sou.TimeLength + 0.5)
  397. end
  398.  
  399. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  400. local fp = it("Part")
  401. fp.Parent = parent
  402. fp.Reflectance = reflectance
  403. fp.Transparency = transparency
  404. fp.CanCollide = false
  405. fp.Locked = true
  406. fp.BrickColor = brickcolor
  407. fp.Name = name
  408. fp.Size = size
  409. fp.Position = Torso.Position
  410. fp.Material = "SmoothPlastic"
  411. fp:BreakJoints()
  412. return fp
  413. end
  414. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  415. local mesh = it(Mesh)
  416. mesh.Parent = part
  417. if Mesh == "SpecialMesh" then
  418. mesh.MeshType = meshtype
  419. if meshid ~= "nil" then
  420. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  421. end
  422. end
  423. mesh.Offset = offset
  424. mesh.Scale = scale
  425. return mesh
  426. end
  427. local function weldBetween(a, b)
  428. local OR=CFrame.new(a.Position)
  429. local P1C, P2C=a.CFrame:inverse()*OR,b.CFrame:inverse()*OR
  430. local weld = Instance.new("ManualWeld", a)
  431. weld.Part0 = a
  432. weld.Part1 = b
  433. weld.C0 = P1C
  434. weld.C1=P2C
  435. return weld
  436. end
  437. lock=function(a,b)
  438. local vp2=Instance.new("BodyPosition",a)
  439. vp2.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  440. vp2.P=1e7
  441. vp2.D=1e3
  442. vp2.Position=b.Position
  443. local vp3=Instance.new("BodyGyro",a)
  444. vp3.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  445. vp3.P=1e7
  446. vp3.D=1e3
  447. vp3.cframe=a.CFrame
  448. return vp2,vp3
  449. end
  450. weld = function(parent, part0, part1, c0)
  451. local weld = it("Motor")
  452. weld.Parent = parent
  453. weld.Part0 = part0
  454. weld.Part1 = part1
  455. weld.C0 = c0
  456. return weld
  457. end
  458. function NoOutline(Part)
  459. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  460. end
  461.  
  462. Par=function(Parent,Name,Col,size,Mater)
  463. p=Instance.new("Part",Parent)
  464. p.Anchored=true
  465. p.CanCollide=false
  466. p.BrickColor=BrickColor.new(Col)
  467. p.Locked=true
  468. NoOutline(p)
  469. p.Size=size or Vector3.new(1,1,1)
  470. p.Material=Mater
  471. return p
  472. end
  473. Par2=function(size,cframe,color,meshtype,meshscale) --returns a basic part for further manipulation
  474. local par = Instance.new("Part")
  475. par.formFactor="Custom"
  476. par.TopSurface=0
  477. par.BottomSurface=0
  478. par.Size=size
  479. par.CFrame=cframe
  480. par.BrickColor=BrickColor.new(color)
  481. if meshtype then
  482. local m = Instance.new(meshtype,par)
  483. m.Scale=meshscale
  484. end
  485. return par
  486. end
  487. BillboardGui = function(image, position, size)
  488. local billpar = Instance.new("Part")
  489. billpar.Transparency = 1
  490. billpar.formFactor = "Custom"
  491. billpar.Size = Vector3.new(1, 1, 1)
  492. billpar.Anchored = true
  493. billpar.CanCollide = false
  494. billpar.CFrame = CFrame.new(position)
  495. billpar.Name = "BillboardGuiPart"
  496. local bill = Instance.new("BillboardGui", billpar)
  497. bill.Adornee = billpar
  498. bill.Size = UDim2.new(1, 0, 1, 0)
  499. bill.SizeOffset = Vector2.new(size, size)
  500. local d = Instance.new("ImageLabel", bill)
  501. d.BackgroundTransparency = 1
  502. d.Size = UDim2.new(1, 0, 1, 0)
  503. d.Image = image
  504. return billpar
  505. end
  506. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  507. local gui = it(GuiType)
  508. gui.Parent = parent
  509. gui.Text = text
  510. gui.BackgroundTransparency = backtrans
  511. gui.BackgroundColor3 = backcol
  512. gui.SizeConstraint = "RelativeXY"
  513. gui.TextXAlignment = "Center"
  514. gui.TextYAlignment = "Center"
  515. gui.Position = pos
  516. gui.Size = size
  517. gui.Font = "SciFi"
  518. gui.FontSize = "Size14"
  519. gui.TextWrapped = false
  520. gui.TextStrokeTransparency = 0
  521. gui.TextColor3 = Color3.new(255,255,127)
  522. return gui
  523. end
  524.  
  525. local TotalSuppressedTable = {}
  526. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  527. local RbxUtility = LoadLibrary("RbxUtility")
  528. local Create = RbxUtility.Create
  529. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  530. RemoveOutlines(Part)
  531. return Part
  532. end
  533.  
  534. function BreakEffect(brickcolor,cframe,x1,y1,z1) --Credits to Ace
  535. local prt=part(3,EffectModel,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  536. prt.Anchored=true
  537. prt.Material="Neon"
  538. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  539. game:GetService("Debris"):AddItem(prt,10)
  540. local msh=mesh("SpecialMesh",prt,"Sphere","nil",vt(0,0,0),vt(x1,y1,z1))
  541. local num=math.random(10,50)/1000
  542. table.insert(Effects,{prt,"Shatter",num,prt.CFrame,math.random()-math.random(),0,math.random(50,100)/100})
  543. end
  544.  
  545. local function CFrameFromTopBack(at, top, back)
  546. local right = top:Cross(back)
  547. return CFrame.new(at.x, at.y, at.z,
  548. right.x, top.x, back.x,
  549. right.y, top.y, back.y,
  550. right.z, top.z, back.z)
  551. end
  552. function clerp(a,b,t)
  553. return a:Lerp(b,t)
  554. end
  555. function QuaternionFromCFrame(cf)
  556. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  557. local trace = m00 + m11 + m22
  558. if trace > 0 then
  559. local s = math.sqrt(1 + trace)
  560. local recip = 0.5/s
  561. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  562. else
  563. local i = 0
  564. if m11 > m00 then
  565. i = 1
  566. end
  567. if m22 > (i == 0 and m00 or m11) then
  568. i = 2
  569. end
  570. if i == 0 then
  571. local s = math.sqrt(m00-m11-m22+1)
  572. local recip = 0.5/s
  573. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  574. elseif i == 1 then
  575. local s = math.sqrt(m11-m22-m00+1)
  576. local recip = 0.5/s
  577. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  578. elseif i == 2 then
  579. local s = math.sqrt(m22-m00-m11+1)
  580. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  581. end
  582. end
  583. end
  584. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  585. local xs, ys, zs = x + x, y + y, z + z
  586. local wx, wy, wz = w*xs, w*ys, w*zs
  587. local xx = x*xs
  588. local xy = x*ys
  589. local xz = x*zs
  590. local yy = y*ys
  591. local yz = y*zs
  592. local zz = z*zs
  593. 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))
  594. end
  595. function QuaternionSlerp(a, b, t)
  596. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  597. local startInterp, finishInterp;
  598. if cosTheta >= 0.0001 then
  599. if (1 - cosTheta) > 0.0001 then
  600. local theta = math.acos(cosTheta)
  601. local invSinTheta = 1/math.sin(theta)
  602. startInterp = math.sin((1-t)*theta)*invSinTheta
  603. finishInterp = math.sin(t*theta)*invSinTheta
  604. else
  605. startInterp = 1-t
  606. finishInterp = t
  607. end
  608. else
  609. if (1+cosTheta) > 0.0001 then
  610. local theta = math.acos(-cosTheta)
  611. local invSinTheta = 1/math.sin(theta)
  612. startInterp = math.sin((t-1)*theta)*invSinTheta
  613. finishInterp = math.sin(t*theta)*invSinTheta
  614. else
  615. startInterp = t-1
  616. finishInterp = t
  617. end
  618. end
  619. 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
  620. end
  621.  
  622. local newMotor = function(part0, part1, c0, c1)
  623. local w = Instance.new('Motor', part0)
  624. w.Part0 = part0
  625. w.Part1 = part1
  626. w.C0 = c0
  627. w.C1 = c1
  628. return w
  629. end
  630.  
  631. Triangle=function(a, b, c)
  632. local col=BrickColor.new("White")
  633. --Credit to Fenrier
  634. local edg1 = (c-a):Dot((b-a).unit)
  635. local edg2 = (a-b):Dot((c-b).unit)
  636. local edg3 = (b-c):Dot((a-c).unit)
  637. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  638. a, b, c = a, b, c
  639. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  640. a, b, c = b, c, a
  641. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  642. a, b, c = c, a, b
  643. else
  644. assert(false, "unreachable")
  645. end
  646.  
  647. local len1 = (c-a):Dot((b-a).unit)
  648. local len2 = (b-a).magnitude - len1
  649. local width = (a + (b-a).unit*len1 - c).magnitude
  650. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  651.  
  652. local list = {}
  653.  
  654. if len1 > 0.01 then
  655. local w1 = Instance.new('WedgePart', EffectModel)
  656. game:GetService("Debris"):AddItem(w1,5)
  657. coroutine.resume(coroutine.create(function(p)
  658. for i=1, 10 do
  659. p.Transparency=i/10
  660. swait()
  661. end
  662. p:Remove()
  663. end),w1)
  664. w1.FormFactor = "Custom"
  665. w1.BrickColor = col
  666. w1.Material = "SmoothPlastic"
  667. w1.CanCollide = false
  668. local sz = Vector3.new(0.2, width, len1)
  669. w1.Size = sz
  670. local sp = Instance.new("SpecialMesh",w1)
  671. sp.MeshType = "Wedge"
  672. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  673. w1:BreakJoints()
  674. w1.Anchored = true
  675. w1.Transparency = 0
  676. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  677. end
  678.  
  679. if len2 > 0.01 then
  680. local w2 = Instance.new('WedgePart', EffectModel)
  681. game:GetService("Debris"):AddItem(w2,5)
  682. coroutine.resume(coroutine.create(function(p)
  683. for i=1, 10 do
  684. p.Transparency=i/10
  685. swait()
  686. end
  687. p:Remove()
  688. end),w2)
  689.  
  690. w2.FormFactor = "Custom"
  691. w2.BrickColor = col
  692. w2.Material = "SmoothPlastic"
  693. w2.CanCollide = false
  694. local sz = Vector3.new(0.2, width, len2)
  695. w2.Size = sz
  696. local sp = Instance.new("SpecialMesh",w2)
  697. sp.MeshType = "Wedge"
  698. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  699. w2:BreakJoints()
  700. w2.Anchored = true
  701. w2.Transparency = 0
  702. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  703. end
  704. return unpack(list)
  705. end
  706.  
  707. osamachain = function(P0,P1,Color1,Color2,thickness1,thickness2,T)
  708. local Part0=P0.Position
  709. local Part1=P1.Position
  710. local magz = (Part0 - Part1).magnitude
  711. local curpos = Part0
  712. local parts = {}
  713. local lastpart=P0
  714. local model = Instance.new("Model",EffecMo)
  715. model.Name = "osama_chain"
  716. local par=model
  717. if par:FindFirstChild("TimeLeft")~=nil then
  718. par:FindFirstChild("TimeLeft"):Destroy()
  719. end
  720. local chains = {}
  721. local WAT=false
  722. local cb=Instance.new("Part",model)
  723. cb.Name="Main_chain"
  724. cb.Size=Vector3.new(.2,1,.2)
  725. cb.BrickColor=BrickColor.new(Color1)
  726. cb.Anchored=false
  727. cb.CanCollide=false
  728. cb.Locked=true
  729. cbM=Instance.new("CylinderMesh",cb)
  730. cbM.Name="Mesh"
  731. cb.CFrame = CFrame.new((Part0 + Part1)/2, Part0) * CFrame.Angles(math.pi/2, 0, 0)
  732. for j = 1, T do
  733. local Part0=P0.Position
  734. local Part1=P1.Position
  735. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/T).p
  736. local p = Instance.new("Part")
  737. p.Name="Outline"..j
  738. p.Size = Vector3.new(.2,1,.2)
  739. p.BrickColor = BrickColor.new(Color2)
  740. p.TopSurface = 0
  741. p.BottomSurface = 0
  742. p.CanCollide = false
  743. p.Locked=true
  744. p.Anchored=true
  745. p.Material = "Neon"
  746. p.TopSurface = 0
  747. p.BottomSurface = 0
  748. local mesh = Instance.new("CylinderMesh",p)
  749. mesh.Name = "Mesh"
  750. mesh.Scale = Vector3.new(1.5,magz/T,1.5)
  751. p.Parent = model
  752. p.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/T/2)
  753. curpos = p.CFrame*CFrame.new(0,0,magz/T/2).p
  754. p.CFrame=p.CFrame*CFrame.Angles(math.rad(90),0,0)
  755. p.Transparency=0.35
  756. local str=Instance.new("ObjectValue",p)
  757. str.Value=lastpart
  758. str.Name="LP"
  759. lastpart=p
  760. table.insert(parts,{p,p})
  761. table.insert(chains,{0,0,parts,0})
  762.  
  763. coroutine.resume(coroutine.create(function()
  764. while WAT==false do
  765. game:GetService("RunService").RenderStepped:wait()
  766. local Part0=P0.Position
  767. local Part1=P1.Position
  768. local ow=j
  769. local magz = (Part0 - Part1).magnitude
  770. local oldT=T
  771. local wtf=magz
  772. mesh.Scale = Vector3.new(thickness2,magz/T,thickness2)
  773. if ow>1 then
  774. local dangnigga=CFrame.new(str.Value.Position)*CFrame.new(0,0,wtf/oldT/2).p
  775. local trolpos = CFrame.new(dangnigga,Part1)*CFrame.new(0,0,wtf/oldT).p
  776. p.CFrame = CFrame.new(str.Value.Position,Part1)*CFrame.new(0,0,-(wtf/oldT))*CFrame.Angles(math.rad(90),0,0)
  777. end
  778. if ow<=1 then
  779. local dangnigga=Part0
  780. local trolpos = CFrame.new(dangnigga,Part1)*CFrame.new(0,0,wtf/oldT).p
  781. p.CFrame = CFrame.new(dangnigga,trolpos)*CFrame.new(0,0,wtf/oldT/2)*CFrame.Angles(math.rad(90),0,0)
  782. end
  783. end
  784. end))
  785. end
  786.  
  787.  
  788. coroutine.resume(coroutine.create(function()
  789. while WAT==false do
  790. local Part0=P0.Position
  791. local Part1=P1.Position
  792. cbM.Scale = Vector3.new(thickness1, (Part0 - Part1).magnitude, thickness1)
  793. cb.CFrame = CFrame.new((Part0 + Part1)/2, Part0) * CFrame.Angles(math.pi/2, 0, 0)
  794. for i, v in pairs(chains) do
  795. v[1] = v[1] %200 +4
  796. local dir = i%2 == 0 and 1 or -1
  797. for j, V in pairs(v[3]) do
  798. local val = math.sin(math.pi/2 * 2 * (((v[1] + (100 * j/#v[3])*dir) % 100)/100))
  799. V[2].Transparency = 0.12 + val * 0.85
  800. end
  801. end
  802. game:GetService("RunService").RenderStepped:wait()
  803. end
  804. end))
  805.  
  806. local t=Instance.new("BoolValue",par)
  807. t.Name="TimeLeft"
  808.  
  809. coroutine.resume(coroutine.create(function()
  810. repeat wait() until par:FindFirstChild("TimeLeft")==nil
  811. WAT=true
  812. for _,v in pairs(model:children()) do
  813. coroutine.resume(coroutine.create(function()
  814. for i=1,30 do
  815. swait()
  816. v.Mesh.Scale=v.Mesh.Scale-Vector3.new(.05,0,.05)
  817. v.Transparency=i/30
  818. end
  819. v:Destroy()
  820. end))
  821. game.Debris:AddItem(model,1)
  822. end
  823. end))
  824.  
  825. return t
  826. end
  827. AnimTab={}
  828. angles=CFrame.Angles
  829. euler=CFrame.fromEulerAnglesXYZ
  830. cf=CFrame.new
  831. AnimTab["Idle"]=function(frameN,sine)
  832. local frame={}
  833. frame[1]={
  834. CFrame.new(0.0749855712, -0.0629398525, 0.0235529467, 0.819152057, -0.0499904789, -0.571393847, 0.0499904789, 0.998626292, -0.0157019496, 0.571393847, -0.0157019496, 0.820525885) * CFrame.new(0, .05*math.cos(sine/16), 0) * CFrame.Angles(0, 0, 0),
  835. CFrame.new(-2.23517418e-008, 1.49999809, -5.96046448e-008, 0.707106829, 0, 0.707106948, -0.0616284125, 0.99619478, 0.0616284236, -0.704416037, -0.0871557444, 0.704416215) * CFrame.new(0, .02*math.cos(sine/16), 0) * CFrame.Angles( math.rad(2*math.cos(sine/16)), 0, 0),
  836. CFrame.new(1.39567375, 0.0430115312, 0.0315978527, 0.694800496, -0.393022656, -0.602318823, 0.404297799, 0.90606755, -0.12484619, 0.594807148, -0.156772524, 0.788436532) * CFrame.new(0, .05* math.cos(sine/16), 0) * CFrame.Angles(0, 0, math.rad(3.5*math.cos(sine/16))),
  837. CFrame.new(-1.58251691, 0.206372619, 0.0614111423, 0.471944094, 0.547303855, 0.691178441, -0.39397791, 0.832269073, -0.39001283, -0.788701952, -0.0882446468, 0.608410358) * CFrame.new(0, .05 * math.cos(sine/16), 0) * CFrame.Angles( math.rad(3.5*math.cos(sine/16)), 0, 0),
  838. CFrame.new(0.560000062, -1.83199704, 8.94069672e-008, 0.99619472, -0.0871557444, 2.98023224e-008, 0.0841859877, 0.962250233, 0.258819044, -0.0225575566, -0.257834196, 0.965925813) * CFrame.new(0,-.05*math.cos(sine/16), 0) * CFrame.Angles(0, 0, 0),
  839. CFrame.new(-0.612000167, -1.99999762, -4.47034836e-008, 0.936116815, 0.0871557519, 0.340718925, -0.0818995982, 0.996194839, -0.0298090391, -0.342020333, 1.3038516e-008, 0.939692676)* CFrame.new(0,-.05*math.cos(sine/16), 0) * CFrame.Angles(0, 0, 0),
  840. }
  841.  
  842. return frame[frameN]
  843. end
  844.  
  845. AnimTab["Walk"]=function(frameN,sine,num)
  846. local frame={}
  847. frame[1]={
  848. CFrame.new(-0.0113935694, 0.00570777431, 0.130231544, 0.984834015, 0.0075960937, -0.173317313, 0.00759613095, 0.99619472, 0.0868239552, 0.173317313, -0.0868239775, 0.981028795) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  849. CFrame.new(4.61004674e-007, 1.49999475, -2.23517418e-007, 0.996191978, 0.00759613141, 0.0868240595, -9.31322575e-010, 0.99619472, -0.0871556401, -0.0871557146, 0.0868239626, 0.992401242) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  850. CFrame.new(1.46789289, 0.0982637256, -0.144648015, 0.950443208, -0.30540812, -0.058124274, 0.310294747, 0.943467736, 0.116559155, 0.0192402601, -0.128818408, 0.99147892) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  851. CFrame.new(-1.51850045, 0.0611076728, -0.0488293171, 0.793944538, 0.343733251, -0.501494884, -0.374889195, 0.926151514, 0.0412922278, 0.478652835, 0.155221671, 0.864171624) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  852. CFrame.new(.5, -1.85 - 0.5 * math.cos(sine / num) / 2, 0 + 2 * math.sin(sine / num) / 2) * angles(math.rad(-60 * math.sin(sine / num)), math.rad(-5), math.rad(0)),
  853. CFrame.new(-.5, -1.85 + 0.5 * math.cos(sine / num) / 2, 0 - 2 * math.sin(sine / num) / 2) * angles(math.rad(60 * math.sin(sine / num)), math.rad(5), math.rad(0)),
  854. }
  855. return frame[frameN]
  856. end
  857.  
  858. AnimTab["Fall"]=function(frameN)
  859. local frame={}
  860. frame[1]={
  861. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  862. CFrame.new(0, 1.49999714, 4.47034836e-008, 1, 0, -0, 0, 0.996194601, -0.0871557221, 0, 0.0871557221, 0.996194601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  863. CFrame.new(1.52677226, 0.170301318, 0.120866239, 0.615058243, -0.725984514, -0.307655036, 0.75595212, 0.653862953, -0.0316542089, 0.224143073, -0.213102654, 0.950971305) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  864. CFrame.new(-1.74943757, 0.22577554, 0.248999774, -0.467496186, 0.588313401, 0.659799039, -0.437883109, 0.494264781, -0.750973344, -0.767922878, -0.639991939, 0.0265456047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  865. CFrame.new(0.5, -1.79199886, 0.372999966, 1, 0, 0, 0, 0.965925813, 0.258819044, 0, -0.258819044, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  866. CFrame.new(-0.5, -1.56999934, 3.57627869e-007, 1, 0, 0, 0, 0.906307697, 0.422618449, 0, -0.422618449, 0.906307697) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  867. }
  868. return frame[frameN]
  869. end
  870.  
  871. AnimTab["Jump"]=function(frameN)
  872. local frame={}
  873. frame[1]={
  874. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), 0, 0),
  875. CFrame.new(0, 1.49999642, -2.98023224e-007, 1, 0, -0, 0, 0.984807611, -0.173648387, 0, 0.173648387, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), 0, 0),
  876. CFrame.new(1.52818167, 0.149664342, 0.34200123, 0.642788768, -0.627507448, -0.439385235, 0.766045749, 0.526541293, 0.368688077, 2.44126284e-008, -0.573576927, 0.8191517) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  877. CFrame.new(-1.55943918, 0.108779103, 0.407002598, 0.0947543383, 0.640856326, 0.761791289, -0.612354636, 0.640856147, -0.462954849, -0.784887373, -0.422618419, 0.4531537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  878. CFrame.new(0.5, -1.79199874, 0.372999489, 1, 0, 0, 0, 0.819151998, 0.573576391, 0, -0.573576391, 0.819151998) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  879. CFrame.new(-0.5, -1.18119395, -0.181302905, 1, 0, 0, 0, 0.906307697, 0.422618449, 0, -0.422618449, 0.906307697) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  880. }
  881. return frame[frameN]
  882. end
  883.  
  884. AnimTab["ClickCombo"]=function(frameN)
  885. local frame={}
  886. frame[1]={
  887. CFrame.new(-0.0197398271, 0.00017363939, -0.0113914032, 0.819431186, 0.0131589621, -0.573026359, -0.0151344128, 0.999884605, 0.00131906569, 0.572977841, 0.00759153441, 0.819535732) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  888. CFrame.new(-5.12972474e-006, 1.49999857, 6.86198473e-006, 0.939692736, 0, -0.342020154, -0.0298089944, 0.99619472, -0.081899412, 0.340719104, 0.0871555582, 0.936116457) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  889. CFrame.new(1.46780205, 0.710095406, 0.234785587, -0.355826288, -0.865559995, 0.352411389, -0.172264263, -0.30988273, -0.935039043, 0.918538094, -0.393419534, -0.038840577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  890. CFrame.new(-1.43954968, -2.52574682e-006, 0.129604459, 0.836516142, 0.258819044, 0.482963055, -0.224143833, 0.965925813, -0.129409522, -0.499999762, 5.96046448e-008, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  891. CFrame.new(0.679453552, -2.00000072, -0.0836714357, 0.984807849, -0.173648208, 1.78813934e-007, 0.173648164, 0.984807789, 1.49011612e-008, 2.08616257e-007, -2.23517418e-008, 0.999999762) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  892. CFrame.new(-0.604891539, -2.00168324, 0.0733468086, 0.902858794, 0.0789898112, 0.422619224, -0.0871558189, 0.996194482, -8.33533704e-008, -0.421009451, -0.0368335843, 0.906307936) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  893. }
  894. frame[2]={
  895. CFrame.new(-0.0613368936, 0.00152878393, 0.0285331458, 0.76637429, 0.0408957675, 0.641089976, -0.0435777232, 0.99898237, -0.0116322488, -0.640913188, -0.0190227255, 0.767376542) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  896. CFrame.new(-7.62548461e-006, 1.49999809, -3.71038914e-006, 0.999998212, 0, 2.98023224e-008, 5.58793545e-009, 0.99619478, 0.0871554092, 0, -0.0871555507, 0.996193051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  897. CFrame.new(0.00463496707, 0.187205061, -0.965997756, 0.367293179, 0.711594164, 0.598938942, 0.427254975, 0.442903399, -0.788219512, -0.826164603, 0.545407176, -0.141356587) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  898. CFrame.new(-1.49999774, 3.53902578e-006, 1.47521496e-005, 0.907670081, 0.258818388, 0.330364645, -0.243210018, 0.965925872, -0.0885214061, -0.342019051, -2.08616257e-007, 0.939689517) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  899. CFrame.new(0.499999136, -2.00000024, -3.50921755e-006, 0.999998271, 1.86264515e-009, 5.96046448e-008, 1.86264515e-009, 1.00000012, -1.37835741e-007, 5.96046448e-008, -1.37835741e-007, 0.99999845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  900. CFrame.new(-0.645505011, -2.00401926, 0.0868109241, 0.924950242, 0.16841127, 0.340715557, -0.168411225, 0.985266805, -0.0298095532, -0.340716124, -0.0298096016, 0.939684689) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  901. }
  902. frame[3]={
  903. CFrame.new(1.55471647e-009, -0.0068855267, -5.47999889e-006, 0.793305218, -2.25794793e-007, 0.608824253, 0.000484734424, 0.999999702, -0.000631258881, -0.608824015, 0.000795871951, 0.79330498) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  904. CFrame.new(0.0225859769, 1.49797451, 0.0388732702, 0.883248448, 0.0451714694, 0.466724664, -0.00345645775, 0.995949268, -0.089850761, -0.468892813, 0.0777472705, 0.879826784) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  905. CFrame.new(1.58917701, 0.14805764, 0.334518611, 0.0183337033, -0.201969534, -0.979220271, 0.697920084, 0.70388478, -0.132113129, 0.715941131, -0.680995286, 0.153863311) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  906. CFrame.new(-1.88436937, 0.643480539, -0.285786152, 0.300701588, 0.768738747, 0.564463854, 0.950921416, -0.286961168, -0.115765437, 0.0729858056, 0.571571708, -0.817299783) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  907. CFrame.new(0.412421823, -2.00387192, 0.0902987272, 0.791517377, 0.00115086511, -0.611145437, 0.00795604475, 0.999894083, 0.0121870684, 0.611094832, -0.0145086367, 0.791424394) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  908. CFrame.new(-0.409770161, -1.99211299, -0.0764102042, 0.792799294, 0.000281186076, -0.609482467, 0.00198945496, 0.999993384, 0.00304915174, 0.609479368, -0.00362995872, 0.792793512) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  909. }
  910. frame[4]={
  911. CFrame.new(2.62498816e-007, -0.000344276341, -2.2777408e-007, 0.803031087, 0, -0.595937431, -0.000474512577, 0.999999702, -0.000639379025, 0.595937312, 0.000796243548, 0.80303061) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  912. CFrame.new(-0.0595012531, 1.49132609, -0.0711210817, 0.77105993, -0.119002283, 0.62554419, 0.00120455027, 0.982652485, 0.185453147, -0.636761785, -0.14224194, 0.757826924) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  913. CFrame.new(1.59903359, 0.230916396, 0.409287423, 0.0014244318, -0.198947608, -0.980009317, 0.835885108, 0.538167715, -0.108036242, 0.54890269, -0.819021165, 0.167063877) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  914. CFrame.new(-0.625070512, 0.361982256, -0.745636106, 0.285767585, -0.796516061, 0.532822251, 0.955926418, 0.276036203, -0.100043766, -0.0673916936, 0.537928045, 0.840292692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  915. CFrame.new(0.398624241, -1.9999733, -0.0658840984, 0.804467261, -0.000422894955, 0.593996882, -5.37931919e-005, 0.999999702, 0.000784777105, -0.593996882, -0.000663250685, 0.804466903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  916. CFrame.new(-0.398404002, -1.99966228, 0.0658915937, 0.803506851, -0.000106021762, 0.595295787, -1.34408474e-005, 1, 0.000196315348, -0.595295668, -0.000165745616, 0.803506553) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  917. }
  918. frame[5]={
  919. CFrame.new(-1.14056382e-008, -0.196045384, -0.000156056514, 1, 5.81785571e-008, -0.00159262121, -1.21010919e-006, 0.99999994, -0.000796537439, 0.00159247965, 0.000796022301, 0.999999464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  920. CFrame.new(9.34411162e-008, 1.47852278, -0.144922316, 0.99999392, 7.4505806e-008, -5.21540642e-008, 5.78365871e-008, 0.957062781, 0.289872348, -7.4505806e-008, -0.289865702, 0.957063496) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  921. CFrame.new(0.663555026, 0.49231568, -0.850663185, 0.015370708, 0.692666352, 0.721096218, 0.999231637, 0.0153704779, -0.036063727, -0.0360642895, 0.721095979, -0.691897511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  922. CFrame.new(-0.663553596, 0.492314607, -0.850663126, 0.0153705887, -0.692666411, -0.721096218, -0.999231517, 0.015370396, -0.0360638089, 0.0360642895, 0.721096158, -0.691897392) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  923. CFrame.new(0.499701917, -1.92411804, 0.38171339, 0.999994397, 0.000301316381, -0.000750280917, 5.81403583e-006, 0.924113035, 0.382118583, 0.000808849931, -0.382119298, 0.924106598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  924. CFrame.new(-0.401899934, -1.79915607, -0.00056552887, 0.999996126, -7.83959404e-005, 0.000813350081, -9.8903547e-007, 0.995200098, 0.0978638232, -0.000817283988, -0.0978644416, 0.995195687) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  925. }
  926. frame[6]={
  927. CFrame.new(-0, -0.828355193, 0.211025894, 1, 0, 0, 0, 0.939692676, 0.342019737, 0, -0.342019737, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  928. CFrame.new(0, 1.49999678, 3.7252903e-006, 1, 0, 0, 0, 0.996194541, -0.0871557444, 0, 0.0871557444, 0.996194541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  929. CFrame.new(1.87859392, 0.514964342, 0.34640047, -0.0871552005, -0.936116815, -0.340718567, 0.996194661, -0.0818997845, -0.029810369, -1.13248825e-006, -0.342018634, 0.939689815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  930. CFrame.new(-1.68897307, 0.493994951, 0.408263475, 2.7980894e-008, 0.906309366, 0.422614932, -0.999999881, 6.40749931e-007, -1.28149986e-006, -1.43051147e-006, -0.422614932, 0.906309187) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  931. CFrame.new(0.5, -1.59677243, -0.49357605, 1, 0, 0, 0, 0.984807909, -0.17364797, 0, 0.17364797, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  932. CFrame.new(-0.5, -1.90224135, 0.424649239, 1, 0, 0, 0, 0.906307638, 0.422618598, 0, -0.422618598, 0.906307638) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  933. }
  934. frame[7]={
  935. CFrame.new(-0, 0, 0, 0.960631907, 0.00137611502, 0.277821034, -0.159289986, 0.822030306, 0.546711087, -0.227624968, -0.569442153, 0.789887726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  936. CFrame.new(-0.0181836374, 1.50775862, -0.0594066978, 0.999913454, -0.0105673671, -0.00784052908, 0.0118241087, 0.983038306, 0.183019012, 0.00577357411, -0.183095813, 0.983078241) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  937. CFrame.new(1.5073173, 1.31327307, -0.909579456, 0.94229573, -0.200924531, 0.267783791, 0.109451406, -0.571028471, -0.813601255, 0.316384584, 0.795962393, -0.516086161) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  938. CFrame.new(-1.57927585, 0.317291111, 0.397556216, 0.809802711, 0.208654553, 0.548345804, -0.517000973, 0.695623755, 0.498816311, -0.277362049, -0.687437952, 0.671192646) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  939. CFrame.new(0.655821919, -1.91117561, 0.471306443, 0.991203368, 0.0697749257, 0.112460986, -0.110218167, 0.905595839, 0.409570932, -0.0732664168, -0.418363273, 0.905320168) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  940. CFrame.new(-0.524112225, -1.89465261, -0.507151604, 0.994412482, 0.0338317044, -0.100033343, -0.0809665471, 0.852411568, -0.516580105, 0.0677920207, 0.521791637, 0.850385308) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  941. }
  942. return frame[frameN]
  943. end
  944.  
  945. AnimTab["C"]=function(frameN)
  946. local frame={}
  947. frame[1]={
  948. CFrame.new(2.84053385e-007, -0.699999809, -2.38418579e-007, 0.965778768, -0.258819073, -0.0168577731, 0.232835919, 0.836516201, 0.496012032, -0.114275634, -0.482962906, 0.868152142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  949. CFrame.new(-5.63820706e-008, 1.49240422, 0.0868239999, 1, -4.84287739e-008, -8.94069672e-008, -4.47034836e-008, 0.98480767, -0.173648149, -2.98023224e-008, 0.173648193, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  950. CFrame.new(1.74633741, 0.23793821, 0.0817345008, 0.855079293, -0.517596483, -0.0305508971, 0.513783395, 0.837906241, 0.18422699, -0.0697565079, -0.173225164, 0.982408822) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  951. CFrame.new(-1.49061811, 0.166142434, -1.07410741, -0.0469467044, 0.428182781, -0.9024719, -0.761570275, 0.569285035, 0.309717506, 0.64637953, 0.701836109, 0.299365371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  952. CFrame.new(0.463051915, -0.780309081, -0.937637031, 0.941776395, 0.166060507, -0.29237175, -0.294348687, 0.827483535, -0.478152335, 0.162530512, 0.536371887, 0.828184247) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  953. CFrame.new(-0.799590945, -1.51444077, -0.389154136, 0.970662296, 0.0849219561, 0.224951029, -0.22485368, 0.652014375, 0.724098086, -0.0851795673, -0.75343585, 0.651980817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  954. }
  955. return frame[frameN]
  956. end
  957.  
  958. AnimTab["Z"]=function(frameN)
  959. local frame={}
  960. frame[1]={
  961. CFrame.new(-0, -0, 0, 0.939692557, 0, 0.342020363, 0, 1, 0, -0.342020363, 0, 0.939692557) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  962. CFrame.new(7.67409801e-007, 1.49999976, -2.84612179e-006, 0.965925753, -0.0449434593, -0.254887015, 0, 0.98480773, -0.173648164, 0.258819044, 0.167731255, 0.951251149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  963. CFrame.new(1.45801651, 1.30391252, -0.184753254, 0.908105314, -0.402072936, 0.116977036, -0.316420078, -0.841866553, -0.43720898, 0.274269402, 0.360022634, -0.891720653) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  964. CFrame.new(-1.49999797, -1.36718154e-006, -4.20212746e-006, 0.907673359, 0.258819044, -0.330366075, -0.243210346, 0.965925813, 0.0885213241, 0.342020154, 0, 0.939692616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  965. CFrame.new(0.552665412, -2.01035452, 0.0304116532, 0.962249815, -0.0871557146, -0.257833838, 0.0841859728, 0.996194422, -0.022557551, 0.258818924, -5.58793545e-009, 0.965926111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  966. CFrame.new(-0.49999544, -2, -1.74716115e-006, 0.99619472, 0, 0.0871555209, 0, 1, 0, -0.0871555209, 0, 0.99619472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  967. }
  968. return frame[frameN]
  969. end
  970.  
  971. AnimTab["X"]=function(frameN)
  972. local frame={}
  973. frame[1]={
  974. CFrame.new(0, -0, 0, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  975. CFrame.new(0, 1.5, 0, 1.19248824e-008, 0, -1, 0, 1, 0, 1, 0, 1.19248824e-008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  976. CFrame.new(1.875, 0.443000317, 2.5331974e-007, -3.09086197e-008, -1, 3.09086197e-008, 0.707106769, -4.37113883e-008, -0.707106769, 0.707106769, 0, 0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  977. CFrame.new(-1.30599999, 0.0260016322, -4.529953e-006, 0.694272041, 0.422618032, 0.58256346, -0.323744178, 0.906307817, -0.271653652, -0.642787516, 1.08828191e-008, 0.766044438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  978. CFrame.new(0.677001357, -1.99999976, 0, 0.98480773, -0.173648179, 0, 0.173648179, 0.98480773, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  979. CFrame.new(-0.500001073, -2, 7.00354576e-007, 0.866025329, 0, 0.500000179, 0, 1, 0, -0.500000179, 0, 0.866025329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  980. }
  981. return frame[frameN]
  982. end
  983. lastcframe={RootJoint.C0,Neck.C0,RW.C0,LW.C0,RH.C0,LH.C0}
  984. function PlayAnimationFromTable(tabl, speed, bool)
  985. RootJoint.C0 = clerp(RootJoint.C0, tabl[1], speed)
  986. Neck.C0 = clerp(Neck.C0, tabl[2], speed)
  987. RW.C0 = clerp(RW.C0, tabl[3], speed)
  988. LW.C0 = clerp(LW.C0, tabl[4], speed)
  989. RH.C0 = clerp(RH.C0, tabl[5], speed)
  990. LH.C0 = clerp(LH.C0, tabl[6], speed)
  991. lastcframe={RootJoint.C0,Neck.C0,RW.C0,LW.C0,RH.C0,LH.C0}
  992. if bool == true then
  993. if resetc1 == false then
  994. resetc1 = true
  995. RootJoint.C1 = RootJoint.C1
  996. Torso.Neck.C1 = Torso.Neck.C1
  997. RW.C1 = rarmc1
  998. LW.C1 = larmc1
  999. RH.C1 = rlegc1
  1000. LH.C1 = llegc1
  1001. end
  1002. end
  1003.  
  1004. end
  1005.  
  1006. CamShake=function(Part,Distan,Power,Times)
  1007. local de=Part.Position
  1008. for i,v in pairs(workspace:children()) do
  1009. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  1010. for _,c in pairs(v:children()) do
  1011. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  1012. local Noob=v.Humanoid
  1013. if Noob~=nil then
  1014. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  1015. --[[local ss=script.CamShake:clone()
  1016. ss.Parent=Noob
  1017. ss.Power.Value=Power
  1018. ss.Times.Value=Times
  1019. ss.Disabled=false]]
  1020. CameraShake(Times, Power)
  1021. end
  1022. end
  1023. end
  1024. end
  1025. end
  1026. end
  1027. end
  1028.  
  1029. local RbxUtility = LoadLibrary("RbxUtility")
  1030. local Create = RbxUtility.Create
  1031.  
  1032. function RemoveOutlines(part)
  1033. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1034. end
  1035.  
  1036. function rayCast(Position, Direction, Range, Ignore)
  1037. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1038. end
  1039. function rayCastWithIngore(Position, Direction, Range, Ignore)
  1040. return game:service("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1041. end
  1042.  
  1043. detect_state = function()
  1044. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1045. velocity = RootPart.Velocity.y
  1046. sine = sine + change
  1047. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1048. if equipped == true then
  1049. if RootPart.Velocity.y > 1 and hit == nil then
  1050. Anim = "Jump"
  1051. elseif RootPart.Velocity.y < -1 and hit == nil then
  1052. Anim = "Fall"
  1053. elseif Torsovelocity < 1 and hit ~= nil then
  1054. Anim = "Idle"
  1055. elseif Torsovelocity > 2 and hit ~= nil then
  1056. Anim = "Walk"
  1057. end
  1058. end
  1059. end
  1060.  
  1061. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  1062. local magz = (Part0 - Part1).magnitude
  1063. local curpos = Part0
  1064. local trz = {-Offset,Offset}
  1065. for i=1,Times do
  1066. local li =Par(EffectModel,"Lightning",Color,Vector3.new(Thickness,Thickness,magz/Times),"Neon")
  1067. li.Transparency = Trans
  1068. li.BrickColor = BrickColor.new(Color)
  1069. ora=Instance.new("BlockMesh",li)
  1070. ora.Scale=Vector3.new(Thickness,Thickness,1)
  1071. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1072. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1073. if Times == i then
  1074. local magz2 = (curpos - Part1).magnitude
  1075. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1076. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1077. else
  1078. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1079. end
  1080. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1081. game.Debris:AddItem(li,.1)
  1082. end
  1083. end
  1084. function Lightning2(Part0,Part1,Times,Offset,Color,Thickness,Trans,V) -- Lightning module
  1085. local magz = (Part0 - Part1).magnitude
  1086. local curpos = Part0
  1087. local trz = {-Offset,Offset}
  1088. for i=1,Times do
  1089. local li =Par(EffectModel,"Lightning",Color,Vector3.new(Thickness,Thickness,magz/Times),"Neon")
  1090. li.Transparency = Trans
  1091. ora=Instance.new("BlockMesh",li)
  1092. ora.Scale=Vector3.new(Thickness,Thickness,1)
  1093. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1094. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1095. if Times == i then
  1096. local magz2 = (curpos - Part1).magnitude
  1097. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1098. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1099. else
  1100. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1101. end
  1102. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1103. coroutine.resume(coroutine.create(function()
  1104. for i=1,V do
  1105. swait()
  1106. li.Transparency=i/V
  1107. end
  1108. li:Destroy()
  1109. end))
  1110. end
  1111. end
  1112. function Lightning3(Part0,Part1,Times,Offset,Color,Thickness,Trans,last) -- Lightning module
  1113. local magz = (Part0 - Part1).magnitude
  1114. local curpos = Part0
  1115. local trz = {-Offset,Offset}
  1116. for i=1,Times do
  1117. local li =Par(EffectModel,"Lightning",Color,Vector3.new(Thickness,Thickness,magz/Times),"Neon")
  1118. li.Transparency = Trans
  1119. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1120. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1121. if Times == i then
  1122. local magz2 = (curpos - Part1).magnitude
  1123. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1124. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1125. else
  1126. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1127. end
  1128. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1129. game.Debris:AddItem(li,5)
  1130. coroutine.resume(coroutine.create(function()
  1131. for i=1,20 do
  1132. swait()
  1133. li.Transparency=li.Transparency+last
  1134. end
  1135. li:Destroy()
  1136. end))
  1137. end
  1138. end
  1139.  
  1140. GET_THE_NEAREST_FAGGOT = function(pos)
  1141. local list = (game.Workspace:children())
  1142. local torso = nil
  1143. local DISTANCE_u_BITCH = 1000
  1144. local temp, human, temp2 = nil, nil, nil
  1145. for x = 1, #list do
  1146. temp2 = list[x]
  1147. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1148. temp = temp2:findFirstChild("Torso")
  1149. human = temp2:findFirstChild("Humanoid")
  1150. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < DISTANCE_u_BITCH then
  1151. local FOUND_YOU = true
  1152. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(temp.Parent) ~= nil then
  1153. FOUND_YOU = false
  1154. end
  1155. if FOUND_YOU == true then
  1156. torso = temp
  1157. DISTANCE_u_BITCH = (temp.Position - pos).magnitude
  1158. end
  1159. end
  1160. end
  1161. end
  1162. return torso, DISTANCE_u_BITCH
  1163. end
  1164. Damagefunc=function(hit,Damage, knockback,tiem, Type, Delay,stun,removebodypos)
  1165. local Hited=false
  1166. if hit.Parent == nil then
  1167. return
  1168. end
  1169.  
  1170. h = hit.Parent:FindFirstChild("Humanoid")
  1171. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1172. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1173. return
  1174. end
  1175. if h.Health<=0 then return end
  1176. h = hit.Parent:FindFirstChild("Humanoid")
  1177. c = Instance.new("ObjectValue")
  1178. c.Name = "creator"
  1179. c.Value = game:service("Players").LocalPlayer
  1180. c.Parent = h
  1181. game:GetService("Debris"):AddItem(c, 0.5)
  1182. if Type=="H2" then
  1183. local eff = Par2(Vector3.new(1, 1, 1), hit.CFrame * CFrame.new(math.random(-15, 15) / 10, math.random(-20, 15) / 10, math.random(-5, 5) / 10) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "SpecialMesh", Vector3.new(0.5, 0.5, 0.5))
  1184. eff.Parent = EffectModel
  1185. eff.Name = "BloodEffect"
  1186. eff.Mesh.MeshType = "Sphere"
  1187. eff.Anchored = true
  1188. eff.CanCollide = false
  1189. game:GetService("Debris"):AddItem(eff, 5)
  1190. coroutine.resume(coroutine.create(function(p, A)
  1191. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  1192. for i = 1, 6 do
  1193. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.85, 0.85, 0.85)
  1194. p.Transparency =1
  1195. p.CFrame = p.CFrame * A
  1196. swait()
  1197. end
  1198. p:Remove()
  1199. end), eff, CFrame.Angles(math.rad(math.random(-4, 4) * 4), math.rad(math.random(-4, 4) * 3), math.rad(math.random(-4, 4) * 2)), 0)
  1200. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069772", eff.Position, 0)
  1201. eb.Parent = EffectModel
  1202. eb.BillboardGui.ImageLabel.ImageColor3=Color3.new(255, 0, 0)
  1203. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  1204. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  1205. game:GetService("Debris"):AddItem(eb, 3)
  1206. coroutine.resume(coroutine.create(function(p)
  1207. local r = math.random(-3, 3) * 9
  1208. if r > -12 and r < 1 then
  1209. r = -12
  1210. else
  1211. if r < 12 and r > -1 then
  1212. r = 12
  1213. end
  1214. end
  1215. for i = 1, 6 do
  1216. p.BillboardGui.ImageLabel.ImageTransparency = 0.25 + i / 6
  1217. p.BillboardGui.Size = UDim2.new(2 + i / 1.75, 0, 2 + i / 1.75, 0)
  1218. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  1219. swait()
  1220. end
  1221. p:Remove()
  1222. end), eb)
  1223.  
  1224. local hitnum = math.random(1, 8)
  1225. if hitnum == 1 then
  1226. so("153092274", hit, 1, 1)
  1227. end
  1228. if hitnum == 2 then
  1229. so("199149186", hit, 2, .5)
  1230. end
  1231. if hitnum == 3 then
  1232. so("153092296", hit, 1, .3)
  1233. end
  1234. if hitnum == 4 then
  1235. so("199149235", hit, 1, .5)
  1236. end
  1237. if hitnum == 5 then
  1238. so("199149269", hit, 1, .4)
  1239. end
  1240. if hitnum == 6 then
  1241. so("199149297", hit, 1, .5)
  1242. end
  1243. if hitnum == 7 then
  1244. so("201858024", hit, 1, .6)
  1245. end
  1246. if hitnum == 8 then
  1247. so("201858024", hit, 1, .5)
  1248. end
  1249. end
  1250.  
  1251. if Type=="H1" then
  1252. local hitnum=math.random(2,4)
  1253. p=Par(EffectModel,"EffectHi","White",Vector3.new(1,1,1),"SmoothPlastic")
  1254. p.CFrame=hit.Parent.Torso.CFrame
  1255. m=Instance.new("SpecialMesh")
  1256. m.MeshType="Sphere"
  1257. m.Parent=p
  1258. game:GetService("Debris"):AddItem(p,5)
  1259. coroutine.resume(coroutine.create(function(p)
  1260. for i=1, 8 do
  1261. p.Transparency=i/8
  1262. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(.5,.5,.5)
  1263. swait(.5)
  1264. end
  1265. p:Remove() end),p)
  1266.  
  1267. if hitnum==1 then
  1268. so("153092274", hit, 1, 1)
  1269. else
  1270. if hitnum == 2 then
  1271. so("153092217", hit, 1, 1)
  1272. else
  1273. if hitnum == 3 then
  1274. so("153092227", hit, 1, 1)
  1275. else
  1276. if hitnum == 4 then
  1277. so("153092238", hit, 1, 1)
  1278. end
  1279. end
  1280. end end
  1281. end
  1282.  
  1283. Noob=hit.Parent
  1284. HTime=time()+1.8
  1285. LastDamage=LastDamage + Damage*1
  1286. ComboHits=ComboHits+1
  1287. Comboing=true
  1288. Hited=true
  1289. local ded=false
  1290. Comboing=true
  1291.  
  1292. h:TakeDamage(Damage)
  1293. local Part=hit
  1294. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 3.5, 0), -Damage, 1.5, BrickColor.new("Deep orange").Color)
  1295. if stun==true then
  1296. local t=hit.Parent.Torso
  1297. if hit.Parent.Torso:FindFirstChild("EBOLA")==nil then
  1298. local r=Instance.new("BodyGyro")
  1299. r.P=1e7
  1300. r.D=1e3
  1301. r.maxTorque=Vector3.new(50000,50000,50000)*50000000000
  1302. r.cframe=r.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  1303. r.Parent=t
  1304. game:GetService("Debris"):AddItem(r,1)
  1305. r.Name="EBOLA"
  1306. local fff=Instance.new("BodyForce")
  1307. fff.force=Vector3.new(0,1200,0)
  1308. fff.Parent=t
  1309. game:GetService("Debris"):AddItem(fff,1)
  1310. local hum = hit.Parent.Humanoid
  1311. local bodvol = Instance.new("BodyVelocity")
  1312. bodvol.velocity = Vector3.new(0,0,0)+RootPart.CFrame.lookVector*4
  1313. bodvol.Name="EBOLA"
  1314. bodvol.P = 4000
  1315. bodvol.maxForce=Vector3.new(50000000,5000000,50000000)*10000
  1316. bodvol.Parent = hit
  1317. game.Debris:AddItem(bodvol,.5)
  1318.  
  1319. end
  1320.  
  1321. end
  1322. if stun~=true then
  1323. if removebodypos==true then
  1324. for _,v in pairs(hit:children()) do
  1325. if v.ClassName=="BodyPosition" or v.ClassName=="BodyVelocity" then
  1326. v.Parent=nil
  1327. end
  1328. end
  1329. end
  1330. local hum = hit.Parent.Humanoid
  1331. if hit:FindFirstChild("EBOLA")~=nil then hit:FindFirstChild("EBOLA").Parent=nil end
  1332. local bodvol = Instance.new("BodyVelocity")
  1333. bodvol.Name="EBOLA"
  1334. bodvol.velocity = knockback
  1335. bodvol.P = 4000
  1336. bodvol.maxForce=Vector3.new(50000000,5000000,50000000)*10000
  1337. bodvol.Parent = hit
  1338. game.Debris:AddItem(bodvol,tiem)
  1339.  
  1340. end
  1341.  
  1342. local debounce = Instance.new("BoolValue")
  1343. debounce.Name = "DebounceHit"
  1344. debounce.Parent = hit.Parent
  1345. debounce.Value = true
  1346. game:GetService("Debris"):AddItem(debounce, Delay)
  1347. c = Instance.new("ObjectValue")
  1348. c.Name = "creator"
  1349. c.Value = Player
  1350. c.Parent = h
  1351. game:GetService("Debris"):AddItem(c, 0.5)
  1352. local CRIT = false
  1353. end
  1354. end
  1355. function MagnitudeDamage(Part, magni,Damage, knockback,tiem, Type, Delay ,stun,removebodypos)
  1356. for _, c in pairs(workspace:children()) do
  1357. local hum = c:findFirstChild("Humanoid")
  1358. if hum ~= nil then
  1359. local head = c:findFirstChild("Torso")
  1360. if head ~= nil then
  1361. local targ = head.Position - Part.Position
  1362. local mag = targ.magnitude
  1363. if mag <= magni and c.Name ~= Player.Name then
  1364. Damagefunc(head,Damage, knockback,tiem, Type, Delay,stun,removebodypos)
  1365. end
  1366. end
  1367. end
  1368. end
  1369. end
  1370. Cooldown=function(name,duration)
  1371. local t=Instance.new("BoolValue",char)
  1372. t.Name=name
  1373. coroutine.resume(coroutine.create(function()
  1374. swait((duration*30)-1)
  1375. game.Debris:AddItem(t,.1)
  1376. end))
  1377. end
  1378.  
  1379. Koy=""
  1380. Dmoves=nil
  1381.  
  1382. Stop = function()
  1383. canjump = false
  1384. end
  1385. Resume= function()
  1386. canjump = true
  1387. end
  1388.  
  1389. Player.Character.Humanoid.Changed:connect(function()
  1390. if canjump == false then
  1391. Player.Character.Humanoid.Jump = false
  1392. end
  1393. end)
  1394.  
  1395. doingmoves=function(value)
  1396. if value==true then
  1397. LastMove=""
  1398. Stop()
  1399. input=""
  1400. Koy=""
  1401. CanCancel=false
  1402. Dmoves=true
  1403. DIR=RootPart.CFrame.lookVector
  1404. end
  1405.  
  1406. if value==false then
  1407. Dmoves=false
  1408. LastMove=""
  1409. Koy=""
  1410. if Dmoves==false then
  1411. CanCancel=true
  1412. char.Humanoid.WalkSpeed=DesiredSpeed
  1413. Resume()
  1414. end
  1415. Dmoves=false
  1416. end
  1417.  
  1418. end
  1419.  
  1420. Dmoves=false
  1421.  
  1422. input=""
  1423. age=0
  1424. cam_ing=false
  1425. local Input_MaxTime=.8
  1426. local Input_Time=Input_MaxTime
  1427. local Input_Addition=.2
  1428. local Input_Lose=.1
  1429. local Max_Input=20
  1430. local Running_Timer=false
  1431.  
  1432. coroutine.resume(coroutine.create(function()
  1433. while true do
  1434. swait()
  1435. if Input_Time>0 then
  1436. Input_Time=Input_Time-Input_Lose
  1437. elseif Input_Time < 0 then
  1438. Input_Time=0
  1439. input=""
  1440. elseif Input_Time == 0 then
  1441. input=""
  1442. elseif Input_Time > Input_MaxTime then
  1443. Input_Time = Input_MaxTime
  1444. end
  1445. end
  1446. end))
  1447.  
  1448. getDirection=function()
  1449. local par=RootPart
  1450. Cam=workspace.CurrentCamera
  1451. return {CFrame.new(par.Position,Vector3.new(Cam.CoordinateFrame.x,par.Position.y,Cam.CoordinateFrame.z))*CFrame.fromEulerAnglesXYZ(0,math.pi,0),Vector3.new(Cam.CoordinateFrame.p.x,par.CFrame.p.y,Cam.CoordinateFrame.p.z)}
  1452. end
  1453. getrek=function()
  1454. Cam=workspace.CurrentCamera
  1455. Cam=workspace.CurrentCamera
  1456. return {CFrame.new(RootPart.Position,Vector3.new(Noob.Torso.Position.x,RootPart.Position.y,Noob.Torso.Position.z)),Vector3.new(Noob.Torso.CFrame.p.x,Noob.Torso.CFrame.p.y,Noob.Torso.CFrame.p.z)}
  1457. end
  1458. FaceMouse=function()
  1459. Cam=workspace.CurrentCamera
  1460. return {CFrame.new(char.Torso.Position,Vector3.new(mouse.Hit.p.x,char.Torso.Position.y,mouse.Hit.p.z)),Vector3.new(mouse.Hit.p.x,mouse.Hit.p.y,mouse.Hit.p.z)}
  1461. end
  1462. FaceForward=function()
  1463. RootPart.CFrame=getDirection()[1]
  1464. return RootPart.CFrame
  1465. end
  1466.  
  1467.  
  1468. ph0segui = function(Char, Dealt,color)
  1469. local holder = Instance.new("Model",Char)
  1470. holder.Name = "Effect"
  1471. local c = Par(holder,"Head","White",Vector3.new(1, 0.4, 1),"SmoothPlastic")
  1472. c.Transparency = 1
  1473. local b = Instance.new("BillboardGui", c)
  1474. b.Size = UDim2.new(5, 0, 5, 0)
  1475. b.AlwaysOnTop = true
  1476. local damgui = it("TextLabel")
  1477. damgui.Parent = b
  1478. damgui.Text = Dealt
  1479. damgui.BackgroundTransparency = 1
  1480. damgui.BackgroundColor3 = Color3.new(0, 0, 0)
  1481. damgui.SizeConstraint = "RelativeXY"
  1482. damgui.TextXAlignment = "Center"
  1483. damgui.TextYAlignment = "Center"
  1484. damgui.Position = UDim2.new(0, 0, 0, 0)
  1485. damgui.Size = UDim2.new(1, 0, 1, 0)
  1486. damgui.Font = "ArialBold"
  1487. damgui.FontSize = "Size14"
  1488. damgui.TextWrapped = false
  1489. damgui.TextStrokeTransparency = 0
  1490. damgui.TextColor3 = BrickColor.new(color).Color
  1491. damgui.TextScaled = true
  1492. local ms = Instance.new("CylinderMesh")
  1493. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  1494. ms.Parent = c
  1495. c.Reflectance = 0
  1496. Instance.new("BodyGyro").Parent = c
  1497. c.Parent = holder
  1498. if Char:findFirstChild("Head") ~= nil then
  1499. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  1500. else
  1501. if Char.Parent:findFirstChild("Head") ~= nil then
  1502. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  1503. end
  1504. end
  1505. local f = Instance.new("BodyPosition")
  1506. f.P = 2000
  1507. f.D = 100
  1508. f.maxForce = Vector3.new(545000, 545000, 545000)
  1509. f.position = c.Position + Vector3.new(0, 1, 0)
  1510. f.Parent = c
  1511. c.CanCollide = false
  1512. c.CanCollide = false
  1513. coroutine.resume(coroutine.create(function()
  1514. swait(20)
  1515. for i=1,15 do
  1516. swait()
  1517. damgui.TextTransparency=i/15
  1518. damgui.TextStrokeTransparency=i/15
  1519. f.position=f.position+Vector3.new(0,.3,0)
  1520. end
  1521. end))
  1522. game:GetService("Debris"):AddItem(m, 1)
  1523. end
  1524. mouse=nil
  1525. ShowDamage = function(Pos, Text, Time, Color)
  1526.  
  1527. local Rate = 0.033333333333333
  1528. if not Pos then
  1529. local Pos = Vector3.new(0, 0, 0)
  1530. end
  1531. local Text = Text or ""
  1532. local Time = Time or 2
  1533. if not Color then
  1534. local Color = Color3.new(1, 0, 1)
  1535. end
  1536. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1537. EffectPart.Anchored = true
  1538. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  1539. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1540. game.Debris:AddItem(EffectPart, Time + 0.1)
  1541. EffectPart.Parent = game:GetService("Workspace")
  1542. delay(0, function()
  1543.  
  1544. local Frames = Time / Rate
  1545. for Frame = 1, Frames do
  1546. wait(Rate)
  1547. local Percent = Frame / Frames
  1548. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1549. TextLabel.TextTransparency = Percent
  1550. end
  1551. if EffectPart and EffectPart.Parent then
  1552. EffectPart:Destroy()
  1553. end
  1554. end
  1555. )
  1556. end
  1557. equip=function()
  1558. repeat wait() until Dmoves==false
  1559. input=""
  1560. Koy=""
  1561. ORH=Torso["Right Hip"]
  1562. OLW=Torso["Left Shoulder"]
  1563. OLH=Torso["Left Hip"]
  1564. ORW=Torso["Right Shoulder"]
  1565. ORH.Parent=nil
  1566. OLW.Parent=nil
  1567. OLH.Parent=nil
  1568. ORW.Parent=nil
  1569. Animate.Parent=nil
  1570. Animator.Parent=nil
  1571. RW.Parent=Torso
  1572. RW.Part0=Torso
  1573. RW.Part1=RightArm
  1574. RW.C0=CFrame.new(1.5, 0, 0)
  1575. RW.C1=CFrame.new(0, 0, 0)
  1576. LW.Parent=Torso
  1577. LW.Part0=Torso
  1578. LW.Part1=LeftArm
  1579. LW.C0=CFrame.new(-1.5, 0, 0)
  1580. LW.C1=CFrame.new(0, 0, 0)
  1581. RH.Parent=Torso
  1582. RH.Part0=Torso
  1583. RH.Part1=RightLeg
  1584. RH.C0=CFrame.new(.5, -2, 0)
  1585. RH.C1=CFrame.new(0, 0, 0)
  1586. LH.Parent=Torso
  1587. LH.Part0=Torso
  1588. LH.Part1=LeftLeg
  1589. LH.C0=CFrame.new(-.5, -2, 0)
  1590. LH.C1=CFrame.new(0, 0, 0)
  1591. RootJoint.C1 = CFrame.new(0, 0, 0)
  1592. RootJoint.C0 = CFrame.new(0, 0, 0)
  1593. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1594. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1595. equipped=true
  1596. doingmoves(true)
  1597. --hi
  1598. doingmoves(false)
  1599. end
  1600.  
  1601.  
  1602. de_equip=function()
  1603. if equipped==false then return end
  1604. repeat wait() until Dmoves==false
  1605. doingmoves(true)
  1606.  
  1607. --bye
  1608. doingmoves(false)
  1609. input=""
  1610. RW.Parent=nil
  1611. LW.Parent=nil
  1612. RH.Parent=nil
  1613. LH.Parent=nil
  1614.  
  1615. ORW.Parent=Torso
  1616. ORH.Parent=Torso
  1617. OLW.Parent=Torso
  1618. OLH.Parent=Torso
  1619. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1620. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1621. RootJoint.C0=clerp(RootJoint.C0,RootCF,1)
  1622. Animate.Parent=char
  1623. Animator.Parent=Humanoid
  1624. RootJoint.C1=r1m
  1625. RootJoint.C0=r0m
  1626. Neck.C1=n1m
  1627. Neck.C0=n0m
  1628. Humanoid.WalkSpeed=16
  1629. r1m=RootJoint.C1
  1630. r0m=RootJoint.C0
  1631. n1m=Neck.C1
  1632. n0m=Neck.C0
  1633. equipped=false
  1634. end
  1635. ------------------[[Attacks]]--------------------
  1636. MovesTable={}
  1637. table.insert(MovesTable,{["Key"] = "c" ,["Name"]="", ["CanCancel"] = false ,
  1638. ["Conditions"] = function()
  1639. local Viable = false
  1640. local Move = nil
  1641. for _,p in pairs(MovesTable) do
  1642. if p["Key"] == "c" then
  1643. Move = p
  1644. break
  1645. end
  1646. end
  1647.  
  1648. if CanCancel==true and cooldown3 >= co3 then
  1649. cooldown3=0
  1650. Viable=true
  1651. end
  1652.  
  1653. return Viable
  1654. end,
  1655. ["function"] = function()
  1656. doingmoves(true)
  1657. for i=1,10 do
  1658. swait()
  1659. PlayAnimationFromTable(AnimTab["C"](1),.3,false)
  1660. end
  1661. Humanoid.WalkSpeed=0
  1662. local lightning=true
  1663. p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  1664. p.CFrame=RootPart.CFrame*CFrame.new(0,17,0)
  1665. p.Transparency=1
  1666. local from=p
  1667. local bill=Instance.new("BillboardGui",p)
  1668. bill.Size=UDim2.new(15,0,15,0)
  1669. local ORGbill=bill
  1670. local billimg=Instance.new("ImageLabel",bill)
  1671. local ORGbillimg=billimg
  1672. billimg.BackgroundTransparency=1
  1673. billimg.Size=UDim2.new(1,0,1,0)
  1674. billimg.Image="rbxgameasset://Images/oyes"
  1675. billimg.ImageColor3=BrickColor.new("Lapis").Color
  1676.  
  1677. for i=1,5 do
  1678. swait()
  1679. local orb1=Instance.new("Part",EffectModel)
  1680. orb1.Anchored=false
  1681. orb1.Transparency=1
  1682. orb1.CanCollide=false
  1683. orb1.Size=Vector3.new()
  1684. local orb2=Instance.new("Part",orb1)
  1685. orb2.Anchored=false
  1686. orb2.Transparency=1
  1687. orb2.CanCollide=false
  1688. orb2.BrickColor=BrickColor.new("New Yeller")
  1689. orb2.Material = "Neon"
  1690. orb2.Size=Vector3.new()
  1691. local OrbMesh = Instance.new("SpecialMesh",orb2)
  1692. OrbMesh.MeshType="Sphere"
  1693. OrbMesh.Scale=Vector3.new(1,1,1)
  1694. local orbW = weld(orb1, orb1, RootPart,CFrame.new())
  1695. local orbW2 = weld(orb2, orb2, orb1, cf(0, 0, 0))
  1696. table.insert(Orbs, {orb1, "Orb", orb2, orbW, orbW2, 400, 0, CFrame.new(0, math.random(10,30), 0), 0, CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, math.random(2, 5) / 100, math.random(10, 15) / 100, math.random(2, 5) / 100, 0})
  1697. local pe=script.pe:clone()
  1698. pe.Parent=orb2
  1699. pe.Enabled=true
  1700. coroutine.resume(coroutine.create(function()
  1701. repeat wait() until lightning==false
  1702. pe.Enabled=false
  1703. game.Debris:AddItem(orb1,1)
  1704. end))
  1705. end
  1706. coroutine.resume(coroutine.create(function()
  1707. local num=0
  1708. while lightning do
  1709. num=num+1
  1710. if num>=3 then
  1711. num=0
  1712. so("206083232",RootPart,1,.8)
  1713. so("206083252",RootPart,1,2)
  1714. end
  1715. swait()
  1716. local ecksdee=27
  1717. billimg.Rotation=billimg.Rotation+5
  1718. Lightning2(from.Position,Torso.Position+Vector3.new(math.random(-ecksdee,ecksdee),0,math.random(-ecksdee,ecksdee)),6,2,"White",.5,.5,5)
  1719. end
  1720. for i=1,10 do
  1721. swait()
  1722. bill.Size=bill.Size+UDim2.new(1,0,1,0)
  1723. billimg.ImageTransparency=i/10
  1724. end
  1725. from:Destroy()
  1726. end))
  1727. for i=1,25 do
  1728. swait(2)
  1729. MagnitudeDamage(RootPart,28,1,Vector3.new(0,1,0)+DIR*5,0.5,"H2",0,false,false)
  1730. CamShake(RootPart,27,.4,5)
  1731. local p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  1732. p.CFrame=CFrame.new(Character.Torso.Position-Vector3.new(0,1.5,0))*CFrame.Angles(0,math.random(-50,50),0)
  1733. game:GetService("Debris"):AddItem(p,8)
  1734. local m=Instance.new("SpecialMesh",p)
  1735. m.MeshId="http://www.roblox.com/asset/?id=20329976"
  1736. m.Scale=Vector3.new(2,2,2)
  1737. coroutine.resume(coroutine.create(function(p,s)
  1738. for i=1, 20 do
  1739. p.Transparency=.5+i/20
  1740. m.Scale=m.Scale + Vector3.new(3.5,-.1,3.5)
  1741. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(10 + i),0) - Vector3.new(0,.05,0)
  1742. swait()
  1743. end
  1744. p:Remove()
  1745. end),p)
  1746.  
  1747. local p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  1748. p.CFrame=CFrame.new(Character.Torso.Position-Vector3.new(0,1.5,0))*CFrame.Angles(0,math.random(-50,50),0)
  1749. game:GetService("Debris"):AddItem(p,8)
  1750. local m=Instance.new("SpecialMesh",p)
  1751. m.MeshId="http://www.roblox.com/asset/?id=737406442"
  1752. m.Scale=Vector3.new(.1,0,.1)
  1753. coroutine.resume(coroutine.create(function(p,s)
  1754. for i=1, 20 do
  1755. p.Transparency=.5+i/20
  1756. m.Scale=m.Scale + Vector3.new(.01,0,.01)
  1757. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(10 + i),0)
  1758. swait()
  1759. end
  1760. p:Remove()
  1761. end),p)
  1762.  
  1763. end
  1764. lightning=false
  1765. doingmoves(false)
  1766. end})
  1767.  
  1768. table.insert(MovesTable,{["Key"] = "z" ,["Name"]="", ["CanCancel"] = false ,
  1769. ["Conditions"] = function()
  1770. local Viable = false
  1771. local Move = nil
  1772. for _,p in pairs(MovesTable) do
  1773. if p["Key"] == "z" then
  1774. Move = p
  1775. break
  1776. end
  1777. end
  1778.  
  1779. if CanCancel==true and cooldown1 >= co1 then
  1780. cooldown1=0
  1781. Viable=true
  1782. end
  1783.  
  1784. return Viable
  1785. end,
  1786. ["function"] = function()
  1787. doingmoves(true)
  1788. for i=1,10 do
  1789. swait()
  1790. PlayAnimationFromTable(AnimTab["Z"](1),.3,false)
  1791. local blast2=Par(EffectModel,"Effect","White",vt(.5,.5,.5),"Neon")
  1792. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1793. local m=Instance.new("SpecialMesh",blast2)
  1794. m.Scale=Vector3.new(1.5,1.5,1.5)
  1795. m.MeshType="Brick"
  1796. coroutine.resume(coroutine.create(function(p)
  1797. for i=1, 15 do
  1798. blast2.Transparency=i/15
  1799. m.Scale=m.Scale+Vector3.new(.1,.1,.1)
  1800. swait()
  1801. end
  1802. blast2:Remove()
  1803. end),p)
  1804.  
  1805. end
  1806.  
  1807. for i=1,8 do
  1808. BreakEffect(BrickColor.new("White"),RightArm.CFrame*CFrame.new(0,-1.4,0),math.random(20,50)/100,math.random(1,5)*3,math.random(20,50)/100)
  1809. end
  1810.  
  1811. local sref=part(3,nil,0,1,BrickColor.new("Black"),"Reference",vt())
  1812. sref.Anchored=true
  1813. for i=1,math.random(2,4) do
  1814. local MouseLook=cf((RootPart.Position+mouse.Hit.p)/2,mouse.Hit.p)
  1815. local hit,pos=rayCast(RootPart.Position,MouseLook.lookVector,9999,Character)
  1816. local random=cf(math.random(-1000,1000)/100,0,math.random(-1000,1000)/100)
  1817. sref.CFrame=cf(pos)*random
  1818. local hit,pos=rayCast(sref.Position,(CFrame.new(sref.Position,sref.Position - Vector3.new(0,1,0))).lookVector,999,Character)
  1819.  
  1820. local blast2=Par(EffectModel,"Effect","White",vt(1,1,1),"Neon")
  1821. blast2.CFrame=sref.CFrame
  1822. local m=Instance.new("CylinderMesh",blast2)
  1823. m.Scale=Vector3.new(10,.003,10)
  1824. local bmeo=Par(EffectModel,"Effect","Lapis",vt(1,1,1),"Neon")
  1825. bmeo.CFrame=sref.CFrame
  1826. local m=Instance.new("CylinderMesh",bmeo)
  1827. m.Scale=Vector3.new(10,.003,10)
  1828. bmeo.Mesh.Scale=Vector3.new(0,.005,0)
  1829. bmeo.Size=bmeo.Size+Vector3.new(0,0.1,0)
  1830. bmeo.BrickColor=BrickColor.new("Lapis")
  1831. bmeo.Transparency=0.5
  1832. local coo=sref.CFrame
  1833. coroutine.resume(coroutine.create(function(p)
  1834. for i=1, 50 do
  1835. local ee=10/50
  1836. bmeo.Mesh.Scale=bmeo.Mesh.Scale+Vector3.new(ee,0,ee)
  1837. swait()
  1838. end
  1839. for i=1, 2 do
  1840. p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  1841. p.CFrame=coo * CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1842. m=Instance.new("SpecialMesh")
  1843. m.MeshId="http://www.roblox.com/asset/?id=3270017"
  1844. m.Scale=Vector3.new(10,10,0)
  1845. m.Parent=p
  1846. game:GetService("Debris"):AddItem(p,5)
  1847. coroutine.resume(coroutine.create(function(p,l)
  1848. for i=1, 20 do
  1849. p.Transparency=.5+i/20
  1850. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(.5*3,.5*3,0)
  1851. swait()
  1852. end
  1853. p:Remove() end),p,3/3)
  1854. end
  1855.  
  1856. for i=1,8 do
  1857. BreakEffect(BrickColor.new("White"),coo*cf(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100),math.random(20,50)/100,math.random(1,5)*3,math.random(20,50)/100)
  1858. end
  1859. for loel = 1,2 do
  1860. local pc2 = Par2(Vector3.new(1, 1, 1), coo * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Deep orange", "BlockMesh", Vector3.new(3,3,3))
  1861. pc2.Parent = EffectModel
  1862. pc2.Anchored = true
  1863. pc2.CanCollide = false
  1864. game:GetService("Debris"):AddItem(pc2, 5)
  1865. pc2.Material="Neon"
  1866. coroutine.resume(coroutine.create(function(p, V, x)
  1867. for i = 1, 15 do
  1868. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 18, 14 + loel * 18, 14 + loel * 18) / 45
  1869. p.Transparency = 0.25 + i / 15
  1870. p.CFrame = p.CFrame * V
  1871. swait()
  1872. end
  1873. p:Remove()
  1874. end), pc2, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  1875. end
  1876. so("338594574",blast2,1,1)
  1877. MagnitudeDamage(blast2,12,math.random(13,20),Vector3.new(0,5,0)+DIR*13,0.5,"H2",0.1,false,false)
  1878. CamShake(blast2,12,.3,10)
  1879. for i=1,25 do
  1880. swait()
  1881. blast2.Transparency=i/25
  1882. bmeo.Transparency=0.5+i/25
  1883. end
  1884. bmeo.Parent=nil
  1885. blast2:Remove()
  1886. end),p)
  1887.  
  1888. end
  1889. sref:Destroy()
  1890. swait(10)
  1891. doingmoves(false)
  1892. end})
  1893.  
  1894. table.insert(MovesTable,{["Key"] = "x" ,["Name"]="", ["CanCancel"] = false ,
  1895. ["Conditions"] = function()
  1896. local Viable = false
  1897. local Move = nil
  1898. for _,p in pairs(MovesTable) do
  1899. if p["Key"] == "x" then
  1900. Move = p
  1901. break
  1902. end
  1903. end
  1904.  
  1905. if CanCancel==true and cooldown2>=co2 then
  1906. cooldown2=0
  1907. Viable=true
  1908. end
  1909.  
  1910. return Viable
  1911. end,
  1912. ["function"] = function()
  1913. doingmoves(true)
  1914. Humanoid.WalkSpeed=0
  1915.  
  1916. local goto=part(3,EffectModel,0,1,BrickColor.new("Black"),"Reference",vt())
  1917. goto.Anchored=true
  1918. goto.CFrame=RootPart.CFrame*CFrame.new(0,0,-10)
  1919. local startpos=part(3,EffectModel,0,1,BrickColor.new("Black"),"Reference",vt())
  1920. startpos.Anchored=true
  1921. startpos.Transparency=1
  1922. goto.Transparency=1
  1923. local num=0
  1924. for i=1,60 do
  1925. PlayAnimationFromTable(AnimTab["X"](1),.3,false)
  1926. swait()
  1927. local DIR=RootPart.CFrame.lookVector
  1928. local CPlayer=char
  1929. local p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  1930. p.Transparency=.5
  1931. p.Anchored=true
  1932. p.CFrame=CFrame.new(startpos.Position,CPlayer["HumanoidRootPart"].Position+DIR*20) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.random(-360,360),0)
  1933. m=Instance.new("SpecialMesh",p)
  1934. m.MeshId="http://www.roblox.com/asset/?id=20329976"
  1935. m.Scale=Vector3.new(2,2,2)
  1936. coroutine.resume(coroutine.create(function(p) for i=1, 15 do
  1937. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(1.5-i*.1,.15,1.5-i*.1)
  1938. p.Transparency=0.5+i/15
  1939. p.CFrame=p.CFrame*CFrame.new(0,.5,0)*CFrame.fromEulerAnglesXYZ(0,math.rad(8),0)
  1940. swait()
  1941. end
  1942. p:Destroy()
  1943. end),p)
  1944. startpos.CFrame=RootPart.CFrame*CFrame.new(0,.5,-3)
  1945. local hit,pos=rayCast(startpos.Position,startpos.CFrame.lookVector,100,Character)
  1946. goto.CFrame=CFrame.new(pos)
  1947. local endpos=goto
  1948. local beam=it("Part",EffectModel)
  1949. beam.Anchored=true
  1950. beam.CanCollide=false
  1951. beam.BrickColor=BrickColor.new("Lapis")
  1952. local beamM=it("CylinderMesh",beam)
  1953. beam.Material="Neon"
  1954. beam.Size = Vector3.new(2, (startpos.Position - endpos.Position).magnitude,2)
  1955. beam.CFrame = CFrame.new((startpos.Position+ endpos.Position)/2, startpos.Position) * CFrame.Angles(math.pi/2, 0, 0)
  1956. coroutine.resume(coroutine.create(function() for i=1,5 do swait() beam.Transparency=i/5 beamM.Scale=beamM.Scale+Vector3.new(.6,0,.6) end beam:Destroy() end))
  1957.  
  1958. num=num+1
  1959. if num>=3 then
  1960.  
  1961. local p =Par(EffectModel,"Effect","Black",vt(1,1,1),"Neon")
  1962. local s = math.random(1,35)/10
  1963. local m = Instance.new("BlockMesh",p)
  1964. m.Scale = Vector3.new(s,s,s)
  1965. p.CFrame = RootPart.CFrame*CFrame.new(math.random(-10,10),math.random(-2,4),math.random(-10,10))*CFrame.Angles(math.random(),math.random(),math.random())
  1966. coroutine.resume(coroutine.create(function(p)
  1967. for i=1,30 do
  1968. swait()
  1969. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.4,0)
  1970. p.Transparency = i/30
  1971. end p.Parent=nil end),p)
  1972.  
  1973. so("183763515", endpos, 1, 1.2)
  1974. so("178452221", endpos, 1, 0.7)
  1975. so("161006069", endpos, 1, 1)
  1976. num=0
  1977. MagnitudeDamage(endpos,10,1,Vector3.new(),.5,"H2",0,false,false)
  1978. CamShake(endpos,10,.2,8)
  1979. CamShake(RootPart,7,.2,8)
  1980. local blast2=Instance.new("Part",EffectModel)
  1981. blast2.Anchored=true
  1982. blast2.CanCollide=false
  1983. blast2.Size=Vector3.new(1,1,1)
  1984. blast2.CFrame=cf(pos)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1985. m=Instance.new("SpecialMesh",blast2)
  1986. m.Scale=Vector3.new(3.5,3.5,3.5)
  1987. m.MeshType="Brick"
  1988. blast2.BrickColor=BrickColor.new("Lapis")
  1989. blast2.Material="Neon"
  1990. coroutine.resume(coroutine.create(function(p)
  1991. local R = CFrame.Angles(math.random(-3,3),math.random(-4,4),math.random(-5,5))
  1992. local C = Vector3.new(math.random(-5,5)/40,math.random(-5,5)/40,math.random(-5,5)/40)
  1993. for i=1, 20 do
  1994. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1,1,1)/30
  1995. p.Transparency = .5 + i/40
  1996. p.CFrame = p.CFrame * R - Vector3.new(0,9.82/30/11*i,0) + C
  1997. swait()
  1998. end
  1999. p:Remove()
  2000. end),blast2)
  2001.  
  2002. p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  2003. p.CFrame=cf(pos)* CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2004. m=Instance.new("SpecialMesh")
  2005. m.MeshId="http://www.roblox.com/asset/?id=3270017"
  2006. m.Scale=Vector3.new(10,10,0)
  2007. m.Parent=p
  2008. game:GetService("Debris"):AddItem(p,5)
  2009. coroutine.resume(coroutine.create(function(p,l)
  2010. for i=1, 20 do
  2011. p.Transparency=.5+i/20
  2012. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(.5*1,.5*1,0)
  2013. swait()
  2014. end
  2015. p:Remove() end),p,3/3)
  2016. num=0
  2017. end
  2018. end
  2019.  
  2020. doingmoves(false)
  2021. end})
  2022.  
  2023.  
  2024. -------------[[Click Combo]]----------------------
  2025. ClickOne=function()
  2026. doingmoves(true)
  2027. for i=1,10 do
  2028. swait()
  2029. PlayAnimationFromTable(AnimTab["ClickCombo"](1),.3,false)
  2030. end
  2031. so("200632136",RightArm,1,1)
  2032. for i=1,10 do
  2033. local blast2=Par(EffectModel,"Effect","White",vt(.5,.5,.5),"Neon")
  2034. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2035. local m=Instance.new("SpecialMesh",blast2)
  2036. m.Scale=Vector3.new(1.5,1.5,1.5)
  2037. m.MeshType="Sphere"
  2038. coroutine.resume(coroutine.create(function(p)
  2039. for i=1, 15 do
  2040. blast2.Transparency=i/15
  2041. swait()
  2042. end
  2043. blast2:Remove()
  2044. end),p)
  2045. local blast2=Par(EffectModel,"Effect","Deep orange",vt(.5,.5,.5),"Neon")
  2046. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2047. local m=Instance.new("SpecialMesh",blast2)
  2048. m.Scale=Vector3.new(3,3,3)
  2049. m.MeshType="Sphere"
  2050. coroutine.resume(coroutine.create(function(p)
  2051. for i=1, 30 do
  2052. blast2.Transparency=i/15
  2053. swait()
  2054. end
  2055. blast2:Remove()
  2056. end),p)
  2057.  
  2058. MagnitudeDamage(RootPart,7,math.random(3,6),Vector3.new(0,2,0)+DIR*3,.5,"H2",.4,false,false)
  2059. swait()
  2060. PlayAnimationFromTable(AnimTab["ClickCombo"](2),.3,false)
  2061. end
  2062. doingmoves(false)
  2063. end
  2064.  
  2065. ClickTwo=function()
  2066. doingmoves(true)
  2067. for i=1,10 do
  2068. swait()
  2069. PlayAnimationFromTable(AnimTab["ClickCombo"](3),.3,false)
  2070. end
  2071. so("200632211",LeftLeg,1,1)
  2072. for i=1,10 do
  2073. local blast2=Par(EffectModel,"Effect","White",vt(.5,.5,.5),"Neon")
  2074. blast2.CFrame=LeftArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2075. m=Instance.new("SpecialMesh",blast2)
  2076. m.Scale=Vector3.new(1.5,1.5,1.5)
  2077. m.MeshType="Sphere"
  2078. coroutine.resume(coroutine.create(function(p)
  2079. for i=1, 15 do
  2080. blast2.Transparency=i/15
  2081. swait()
  2082. end
  2083. blast2:Remove()
  2084. end),p)
  2085. local blast2=Par(EffectModel,"Effect","Deep orange",vt(.5,.5,.5),"Neon")
  2086. blast2.CFrame=LeftArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2087. m=Instance.new("SpecialMesh",blast2)
  2088. m.Scale=Vector3.new(3,3,3)
  2089. m.MeshType="Sphere"
  2090. coroutine.resume(coroutine.create(function(p)
  2091. for i=1, 30 do
  2092. blast2.Transparency=i/15
  2093. swait()
  2094. end
  2095. blast2:Remove()
  2096. end),p)
  2097.  
  2098. MagnitudeDamage(RootPart,7,math.random(3,6),Vector3.new(0,2,0)+DIR*3,.5,"H2",.4,false,false)
  2099. swait()
  2100. PlayAnimationFromTable(AnimTab["ClickCombo"](4),.3,false)
  2101. end
  2102. doingmoves(false)
  2103. end
  2104.  
  2105. ClickThree=function()
  2106. doingmoves(true)
  2107. local swording=true
  2108. for i=1,10 do
  2109. swait()
  2110. PlayAnimationFromTable(AnimTab["ClickCombo"](5),.3,false)
  2111. end
  2112. local sword = script.sword:clone()
  2113. sword.Anchored=false
  2114. sword.Parent=EffectModel
  2115. sword.CFrame=RightArm.CFrame*CFrame.new(0,-1.1,-2.6)*CFrame.Angles(math.rad(-90),0,math.rad(0))
  2116. local w1=weldBetween(RightArm,sword)
  2117. local sword2 = script.sword:clone()
  2118. sword2.Anchored=false
  2119. sword2.Parent=EffectModel
  2120. sword2.CFrame=LeftArm.CFrame*CFrame.new(0,-1.1,-2.6)*CFrame.Angles(math.rad(-90),0,math.rad(0))
  2121. local w2=weldBetween(LeftArm,sword2)
  2122. coroutine.resume(coroutine.create(function(sw,sw2)
  2123. while swording do
  2124. swait()
  2125. local blast2=Par(EffectModel,"Effect","Lapis",vt(),"Neon")
  2126. local X=sword.Size.X
  2127. local Y=sword.Size.Y
  2128. local Z=sword.Size.Z
  2129. blast2.CFrame=sword.CFrame*CFrame.new(math.random(-X,X),math.random(-Y,Y),math.random(-Z,Z))*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2130. local m=Instance.new("SpecialMesh",blast2)
  2131. m.Scale=Vector3.new(4,4,4)
  2132. m.MeshType="Brick"
  2133. coroutine.resume(coroutine.create(function()
  2134. for i=1, 20 do
  2135. blast2.Transparency=0.25+ i/20
  2136. m.Scale=m.Scale-vt(-.1,-.1,-.1)
  2137. swait()
  2138. blast2.CFrame=blast2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2139. end
  2140. blast2:Remove()
  2141. end))
  2142. local blast2=Par(EffectModel,"Effect","Lapis",vt(),"Neon")
  2143. local X=4
  2144. local Y=sword.Size.Y
  2145. local Z=sword.Size.Z
  2146. blast2.CFrame=sword2.CFrame*CFrame.new(math.random(-X,X),math.random(-Y,Y),math.random(-Z,Z))*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2147. local m=Instance.new("SpecialMesh",blast2)
  2148. m.Scale=Vector3.new(4,4,4)
  2149. m.MeshType="Brick"
  2150. coroutine.resume(coroutine.create(function()
  2151. for i=1, 20 do
  2152. blast2.Transparency=0.25+ i/20
  2153. m.Scale=m.Scale-vt(-.1,-.1,-.1)
  2154. swait()
  2155. blast2.CFrame=blast2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2156. end
  2157. blast2:Remove()
  2158. end))
  2159.  
  2160. end
  2161. end))
  2162. so("199146359",sword,1,.6)
  2163. so("228343324",sword,.6,.5)
  2164. so("199146359",sword,1,.8)
  2165. for i=1,13 do
  2166. swait()
  2167. sword.Transparency=i/13
  2168. sword2.Transparency=i/13
  2169. PlayAnimationFromTable(AnimTab["ClickCombo"](6),.3,false)
  2170. MagnitudeDamage(RootPart,9,math.random(4,7),Vector3.new(0,2,0)+DIR*3,.5,"H2",.2,false,false)
  2171. end
  2172. sword.Parent=nil
  2173. sword2.Parent=nil
  2174. swording=false
  2175. doingmoves(false)
  2176. end
  2177.  
  2178. ClickFour=function()
  2179. doingmoves(true)
  2180. local ora=Instance.new("Part",EffectModel)
  2181. ora.Size=Vector3.new()
  2182. ora.Transparency=1
  2183. ora.Anchored=true
  2184. ora.CanCollide=false
  2185. ora.CFrame=RightArm.CFrame*CFrame.new(0,-1.4,0)
  2186. local pe = script.ora:Clone()
  2187. pe.Parent=ora
  2188. --pe.Enabled=true
  2189. for i=1,15 do
  2190. swait()
  2191. PlayAnimationFromTable(AnimTab["ClickCombo"](7),.3,false)
  2192. RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 1
  2193. ora.CFrame=RightArm.CFrame*CFrame.new(0,-1.4,0)
  2194. MagnitudeDamage(RootPart,7,math.random(5,8),Vector3.new(0,7,0)+DIR*8,.5,"H2",.6,false,false)
  2195. pe:Emit(10)
  2196. end
  2197. pe.Enabled=false
  2198. game.Debris:AddItem(ora,5)
  2199. doingmoves(false)
  2200. end
  2201. CanCancel=true
  2202. qhold=false
  2203. chold=false
  2204. dHold=false
  2205. aHold=false
  2206. facestate=""
  2207. facestating=false
  2208. ForwardKey=""
  2209. BackwardKey=""
  2210. mouse=Player:GetMouse()
  2211. MouseClicks=1
  2212. mouse.Button1Down:connect(function()
  2213. if equipped==false then return end
  2214. if Dmoves == false and MouseClicks == 1 then
  2215. MouseClicks = 2
  2216. ClickOne()
  2217. else
  2218. if Dmoves == false and MouseClicks == 2 then
  2219. MouseClicks = 3
  2220. ClickTwo()
  2221. else
  2222. if Dmoves == false and MouseClicks == 3 then
  2223. MouseClicks = 4
  2224. ClickThree()
  2225. else
  2226. if Dmoves==false and MouseClicks==4 then
  2227. MouseClicks=1
  2228. ClickFour()
  2229. end
  2230. end
  2231. end
  2232. end
  2233. end)
  2234.  
  2235.  
  2236. keyDOWN=function(key)
  2237. key=key:lower()
  2238. if key=="f" then
  2239. if equipped==false then
  2240. eq()
  2241. else
  2242. deq()
  2243. end
  2244. end
  2245. if equipped==false then return end
  2246. Koy = key
  2247. if key=="z" or key=="x" or key=="c" or key=="v" then
  2248. for _,m in pairs(MovesTable) do
  2249. if key == m["Key"] then
  2250. local Viable=m["Conditions"]()
  2251. if Viable then
  2252. m["function"]()
  2253. break
  2254. else
  2255. break
  2256. end
  2257. end
  2258. end
  2259. end
  2260. end
  2261.  
  2262. keyUP=function(key)
  2263. end
  2264.  
  2265. mouse.KeyDown:connect(keyDOWN)
  2266. mouse.KeyUp:connect(keyUP)
  2267. eq=function()
  2268. equip()
  2269. Humanoid.JumpPower=desiredjp
  2270. mouse=game.Players.LocalPlayer:GetMouse()
  2271. end
  2272.  
  2273. deq=function()
  2274. de_equip()
  2275. Humanoid.JumpPower=60
  2276. end
  2277.  
  2278. Humanoid.Died:connect( function()
  2279. equipped=false
  2280. end)
  2281. local num=0
  2282. ArtificialHB.Event:connect(function()
  2283. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2284. local velocity = RootPart.Velocity.y
  2285. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2286. if Dmoves==false and equipped==true then
  2287. num=num+1
  2288. if num>=2 then
  2289. num=0
  2290. local blast2=Instance.new("Part",EffectModel)
  2291. blast2.Anchored=true
  2292. blast2.CanCollide=false
  2293. blast2.Size=Vector3.new(1,1,1)
  2294. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-1.4,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2295. m=Instance.new("SpecialMesh",blast2)
  2296. m.Scale=Vector3.new(1.5,1.5,1.5)
  2297. m.MeshType="Brick"
  2298. blast2.BrickColor=BrickColor.new("Deep orange")
  2299. blast2.Material="Neon"
  2300. coroutine.resume(coroutine.create(function(p)
  2301. local R = CFrame.Angles(math.random(-3,3),math.random(-4,4),math.random(-5,5))
  2302. local C = Vector3.new(math.random(-5,5)/40,math.random(-5,5)/40,math.random(-5,5)/40)
  2303. for i=1, 20 do
  2304. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1,1,1)/30
  2305. p.Transparency = .5 + i/40
  2306. p.CFrame = p.CFrame * R - Vector3.new(0,9.82/30/11*i,0) + C
  2307. swait()
  2308. end
  2309. p:Remove()
  2310. end),blast2)
  2311. end
  2312. for i, v in pairs(Character:GetChildren()) do
  2313. if v:IsA'Model' then
  2314. for _, c in pairs(v:GetChildren()) do
  2315. if c:IsA'Part' then
  2316. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2317. end
  2318. end
  2319. end
  2320. end
  2321. sine = sine + change
  2322. detect_state()
  2323. if Anim == "Jump" then
  2324. PlayAnimationFromTable(AnimTab["Jump"](1),.3,false)
  2325. end
  2326.  
  2327. if Anim == "Fall" then
  2328. PlayAnimationFromTable(AnimTab["Fall"](1),.3,false)
  2329. end
  2330.  
  2331. if Anim == "Idle" then
  2332. change=1.5
  2333. PlayAnimationFromTable(AnimTab["Idle"](1,sine),.3,false)
  2334. end
  2335.  
  2336. if Anim == "Walk" then
  2337. change = 1.5
  2338. local num=11
  2339. PlayAnimationFromTable(AnimTab["Walk"](1,sine,num),.3,false)
  2340. end
  2341. end
  2342. end)
  2343.  
  2344. print("osama's engine l0aded")
  2345. print("shark loaded")
  2346. local fold=Instance.new("Folder",Player.PlayerGui)
  2347. script.Parent=fold
  2348. coroutine.resume(coroutine.create(function()
  2349. while wait() do
  2350. fold.Archivable=false
  2351. Player.Archivable=false
  2352. Player.PlayerGui.Archivable=false
  2353. for i,v in pairs (fold:children()) do
  2354. v.Archivable=false
  2355. end
  2356. end
  2357. end))
  2358. updateskills = function()
  2359.  
  2360. if cooldown1 <= co1 then
  2361. cooldown1 = cooldown1 + 0.033333333333333
  2362. end
  2363. if cooldown2 <= co2 then
  2364. cooldown2 = cooldown2 + 0.033333333333333
  2365. end
  2366. if cooldown3 <= co3 then
  2367. cooldown3 = cooldown3 + 0.033333333333333
  2368. end
  2369. if cooldown4 <= co4 then
  2370. cooldown4 = cooldown4 + 0.033333333333333
  2371. end
  2372. end
  2373.  
  2374. while 1 do
  2375. if 0 < #Orbs then
  2376. for e = 1, #Orbs do
  2377. if Orbs[e] ~= nil then
  2378.  
  2379. local OrbProperty = Orbs[e]
  2380. OrbProperty[6] = OrbProperty[6] - 1
  2381. OrbProperty[7] = OrbProperty[7] + OrbProperty[12]
  2382. OrbProperty[9] = OrbProperty[9] + OrbProperty[13]
  2383. OrbProperty[11] = OrbProperty[11] + OrbProperty[14]
  2384. OrbProperty[4].C0 = OrbProperty[10]
  2385. OrbProperty[5].C0 = OrbProperty[8] * euler(OrbProperty[9], OrbProperty[7], OrbProperty[11])
  2386. end
  2387. end
  2388. end
  2389.  
  2390. if #Effects > 0 then
  2391. for e = 1, #Effects do
  2392. if Effects[e] ~= nil then
  2393. local Thing = Effects[e]
  2394. if Thing ~= nil then
  2395. local Part = Thing[1]
  2396. local Mode = Thing[2]
  2397. local Delay = Thing[3]
  2398. local IncX = Thing[4]
  2399. local IncY = Thing[5]
  2400. local IncZ = Thing[6]
  2401. if Thing[1].Transparency <= 1 then
  2402. if Thing[2] == "Block1" then
  2403. elseif Thing[2] == "Shatter" then
  2404. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2405. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2406. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2407. Thing[6] = Thing[6] + Thing[5]
  2408. end
  2409. else
  2410. Part.Parent = nil
  2411. table.remove(Effects, e)
  2412. end
  2413. end
  2414. end
  2415. end
  2416. end
  2417.  
  2418. swait()
  2419. updateskills()
  2420. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  2421. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  2422. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  2423. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  2424. end
  2425. RAW Paste Data
  2426.  
  2427. p = game.Players.LocalPlayer
  2428. char = p.Character
  2429. torso = char.Torso
  2430. hed = char.Head
  2431. neck = char.Torso.Neck
  2432. hum = char.Humanoid
  2433. hum.MaxHealth = math.huge
  2434. local msg = game:GetService("Chat")
  2435. torso.BrickColor = BrickColor.new("Institutional white")
  2436. hed.BrickColor = BrickColor.new("Institutional white")
  2437. char["Right Arm"].BrickColor = BrickColor.new("Institutional white")
  2438. char["Left Arm"].BrickColor = BrickColor.new("Institutional white")
  2439. char["Left Leg"].BrickColor = BrickColor.new("Institutional white")
  2440. char["Right Leg"].BrickColor = BrickColor.new("Institutional white")
  2441. ypcall(function()
  2442. shirt = Instance.new("Shirt", char)
  2443. shirt.Name = "Shirt"
  2444. pants = Instance.new("Pants", char)
  2445. pants.Name = "Pants"
  2446. char.Shirt.ShirtTemplate = "rbxassetid://527139198"
  2447. char.Pants.PantsTemplate = "rbxassetid://1002356841"
  2448. end)
  2449. hed.face.Texture = "http://www.roblox.com/asset/?id=888434012"
  2450. p1 = Instance.new("Part",char)
  2451. p1.FormFactor = Enum.FormFactor.Custom
  2452. p1.Size = Vector3.new(2,4,3)
  2453. p1.CanCollide = false
  2454. p1.Locked = true
  2455. p1.BottomSurface = Enum.SurfaceType.Smooth
  2456. p1.TopSurface = Enum.SurfaceType.Smooth
  2457. SMesh = Instance.new("SpecialMesh", p1)
  2458. SMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  2459. SMesh.MeshType = Enum.MeshType.FileMesh
  2460. SMesh.Name = "Mesh"
  2461. SMesh.TextureId = "http://www.roblox.com/asset/?id=0"
  2462. w1 = Instance.new("Weld", hed)
  2463. w1.Part0 = hed
  2464. w1.C0 = CFrame.new(0,0.76,0.2)*CFrame.Angles(0.3,0,0)
  2465. w1.Part1 = p1
  2466. w1.C1 = CFrame.new(0, 0, 0)
  2467. CV="Maroon"
  2468. Player = game.Players.LocalPlayer
  2469. Character = Player.Character
  2470. local txt = Instance.new("BillboardGui", Character)
  2471. txt.Adornee = Character .Head
  2472. txt.Name = "_status"
  2473. txt.Size = UDim2.new(2, 0, 1.2, 0)
  2474. txt.StudsOffset = Vector3.new(-9, 8, 0)
  2475. local text = Instance.new("TextLabel", txt)
  2476. text.Size = UDim2.new(10, 0, 7, 0)
  2477. text.FontSize = "Size24"
  2478. text.TextScaled = true
  2479. text.TextTransparency = 0
  2480. text.BackgroundTransparency = 1
  2481. text.TextTransparency = 0
  2482. text.TextStrokeTransparency = 0
  2483. text.Font = "Bodoni"
  2484. text.TextStrokeColor3 = Color3.new(255,85,0)
  2485.  
  2486. v=Instance.new("Part")
  2487. v.Name = "ColorBrick"
  2488. v.Parent=Player.Character
  2489. v.FormFactor="Symmetric"
  2490. v.Anchored=true
  2491. v.CanCollide=false
  2492. v.BottomSurface="Smooth"
  2493. v.TopSurface="Smooth"
  2494. v.Size=Vector3.new(10,5,3)
  2495. v.Transparency=1
  2496. v.CFrame=Character.Torso.CFrame
  2497. v.BrickColor=BrickColor.new(CV)
  2498. v.Transparency=1
  2499. text.TextColor3 = Color3.new(255,170,0)
  2500. v.Shape="Block"
  2501. text.Text = "Papyrus Disbelief"
  2502. ----------------------------------------------------
  2503. z = Instance.new("Sound", char)
  2504. z.SoundId = "rbxassetid://321451733"--321451733
  2505. z.Looped = true
  2506. z.Pitch = 1
  2507. z.Volume = 5
  2508. wait(.001)
  2509. z:Play()
  2510. ----------------------------------------------------
  2511. --Shark op
  2512. --by osama44
  2513. --for shark nigger
  2514. --Converted to local by Scenius
  2515.  
  2516. Player=game.Players.LocalPlayer
  2517. o1 = Instance.new("ParticleEmitter")
  2518. o1.Name = "ora"
  2519. o1.Parent = script
  2520. o1.Transparency = NumberSequence.new(0,1)
  2521. o1.Size = NumberSequence.new(1.5,3.5)
  2522. o1.Color = ColorSequence.new(Color3.new(0, 0.333333, 1),Color3.new(0, 0.333333, 1))
  2523. o1.Enabled = false
  2524. o1.LightEmission = 1
  2525. o1.Texture = "rbxassetid://243086902"
  2526. o1.Lifetime = NumberRange.new(1,1)
  2527. o1.Rate = 500
  2528. o1.RotSpeed = NumberRange.new(90,90)
  2529. o1.Speed = NumberRange.new(0,0)
  2530. sv = Instance.new("Part")
  2531. for i = 1, 2 do
  2532. sv.Parent = script
  2533. end
  2534. sv.BrickColor = BrickColor.new("Deep orange")
  2535. sv.Name = "sword"
  2536. sv.Size = Vector3.new(0.248, 8.654, 1.153)
  2537. sv.Orientation = Vector3.new(90, 90, 0)
  2538. svm = Instance.new("FileMesh", sv)
  2539. svm.MeshId = "rbxassetid://445556170"
  2540. repeat wait() until Player.Character
  2541. repeat wait() until #script:children() >= 0
  2542. script.Parent=Player.PlayerGui
  2543. Effects = { }
  2544. --[[Credits to SazErenos for his Artificical Heartbeat]]--
  2545. ArtificialHB = Instance.new("BindableEvent", script)
  2546. ArtificialHB.Name = "Heartbeat"
  2547.  
  2548. script:WaitForChild("Heartbeat")
  2549.  
  2550. frame = 1 / 30
  2551. tf = 0
  2552. allowframeloss = false
  2553. tossremainder = false
  2554. lastframe = tick()
  2555. script.Heartbeat:Fire()
  2556.  
  2557. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2558. tf = tf + s
  2559. if tf >= frame then
  2560. if allowframeloss then
  2561. script.Heartbeat:Fire()
  2562. lastframe = tick()
  2563. else
  2564. for i = 1, math.floor(tf / frame) do
  2565. script.Heartbeat:Fire()
  2566. end
  2567. lastframe = tick()
  2568. end
  2569. if tossremainder then
  2570. tf = 0
  2571. else
  2572. tf = tf - frame * math.floor(tf / frame)
  2573. end
  2574. end
  2575. end)
  2576.  
  2577. function swait(num)
  2578. if num == 0 or num == nil then
  2579. ArtificialHB.Event:wait()
  2580. else
  2581. for i = 0, num do
  2582. ArtificialHB.Event:wait()
  2583. end
  2584. end
  2585. end
  2586. ------------------[[Variables and Main Stuff]]--------------------
  2587.  
  2588.  
  2589.  
  2590. local Player = game.Players.localPlayer
  2591. local Character = Player.Character
  2592. local Humanoid = Character.Humanoid
  2593. local char=Character
  2594. local LeftArm = Character["Left Arm"]
  2595. local RightArm = Character["Right Arm"]
  2596. local LeftLeg = Character["Left Leg"]
  2597. local RightLeg = Character["Right Leg"]
  2598. local Head = Character.Head
  2599. local Torso = Character.Torso
  2600. local cam = game.Workspace.CurrentCamera
  2601. local RootPart = Character.HumanoidRootPart
  2602. local RootJoint = RootPart.RootJoint
  2603. local equipped = false
  2604. local attack = false
  2605. local Anim = 'Idle'
  2606. local idle = 0
  2607. local attacktype = 1
  2608. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2609. local velocity = RootPart.Velocity.y
  2610. local sine = 0
  2611. local change = 1
  2612. local grabbed = false
  2613. local cn = CFrame.new
  2614. local mr = math.rad
  2615. local angles = CFrame.Angles
  2616. local ud = UDim2.new
  2617. local c3 = Color3.new
  2618. local ORW=Torso["Right Shoulder"]
  2619. local OLW=Torso["Left Shoulder"]
  2620. local OLH=Torso["Left Hip"]
  2621. local ORH=Torso["Right Hip"]
  2622. local DesiredSpeed=15
  2623. local desiredjp=50
  2624. EffectModel = Instance.new("Model", Character)
  2625. it=Instance.new
  2626. vt=Vector3.new
  2627. cf=CFrame.new
  2628. euler=CFrame.Angles
  2629. EffectModel.Name = "Effects"
  2630. local Animator=Humanoid.Animator
  2631. local Animate=char.Animate
  2632. local EffecMo=EffectModel
  2633. euler=CFrame.Angles
  2634. RotCF = euler(-1.57, 0, 3.14)
  2635. it=Instance.new
  2636. vt=Vector3.new
  2637. LastMove=""
  2638. Orbs={}
  2639. EffecMo=EffectModel
  2640. RootCF = CFrame.Angles(0, 0, 0)
  2641. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2642. local RW=Instance.new("Motor",nil)
  2643. RW.Name="Right Shoulder"
  2644. local LW=Instance.new("Motor",nil)
  2645. LW.Name="Left Shoulder"
  2646. local RH=Instance.new("Motor",nil)
  2647. RH.Name="Right Hip"
  2648. local LH=Instance.new("Motor",nil)
  2649. LH.Name="Left Hip"
  2650. Neck=Torso.Neck
  2651. r1m=RootJoint.C1
  2652. r0m=RootJoint.C0
  2653. n1m=Neck.C1
  2654. n0m=Neck.C0
  2655. local rarmc1 = RW.C1
  2656. local larmc1 = LW.C1
  2657. local rlegc1 = RH.C1
  2658. local llegc1 = LH.C1
  2659. local resetc1 = false
  2660. Comboing=false
  2661. HTime=0
  2662. LastDamage=0
  2663. ComboHits=0
  2664.  
  2665. local co1 = 10
  2666. local co2 = 10
  2667. local co3 = 20
  2668. local co4 = 1
  2669. local cooldown1 = 0
  2670. local cooldown2 = 0
  2671. local cooldown3 = 0
  2672. local cooldown4 = 0
  2673. local skillcolorscheme = BrickColor.new("Deep orange").Color
  2674. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  2675. makeframe = function(par, trans, pos, size, color)
  2676.  
  2677. local frame = Instance.new("Frame", par)
  2678. frame.BackgroundTransparency = trans
  2679. frame.BorderSizePixel = 0
  2680. frame.Position = pos
  2681. frame.Size = size
  2682. frame.BackgroundColor3 = color
  2683. return frame
  2684. end
  2685.  
  2686. makelabel = function(par, text)
  2687.  
  2688. local label = Instance.new("TextLabel", par)
  2689. label.BackgroundTransparency = 1
  2690. label.Size = UDim2.new(1, 0, 1, 0)
  2691. label.Position = UDim2.new(0, 0, 0, 0)
  2692. label.TextColor3 = Color3.new(255, 255, 255)
  2693. label.TextStrokeTransparency = 0
  2694. label.FontSize = Enum.FontSize.Size32
  2695. label.Font = Enum.Font.SourceSansLight
  2696. label.BorderSizePixel = 0
  2697. label.TextScaled = true
  2698. label.Text = text
  2699. end
  2700.  
  2701. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  2702. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  2703. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  2704. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  2705. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  2706. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  2707. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  2708. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  2709. text1 = Instance.new("TextLabel", framesk1)
  2710. text1.BackgroundTransparency = 1
  2711. text1.Size = UDim2.new(1, 0, 1, 0)
  2712. text1.Position = UDim2.new(0, 0, 0, 0)
  2713. text1.TextColor3 = Color3.new(255, 255, 255)
  2714. text1.TextStrokeTransparency = 0
  2715. text1.FontSize = Enum.FontSize.Size18
  2716. text1.Font = Enum.Font.SourceSansLight
  2717. text1.BorderSizePixel = 0
  2718. text1.TextScaled = true
  2719. text1.Text = "[Z]"
  2720. text2 = Instance.new("TextLabel", framesk2)
  2721. text2.BackgroundTransparency = 1
  2722. text2.Size = UDim2.new(1, 0, 1, 0)
  2723. text2.Position = UDim2.new(0, 0, 0, 0)
  2724. text2.TextColor3 = Color3.new(255, 255, 255)
  2725. text2.TextStrokeTransparency = 0
  2726. text2.FontSize = Enum.FontSize.Size18
  2727. text2.Font = Enum.Font.SourceSansLight
  2728. text2.BorderSizePixel = 0
  2729. text2.TextScaled = true
  2730. text2.Text = "[X]"
  2731. text3 = Instance.new("TextLabel", framesk3)
  2732. text3.BackgroundTransparency = 1
  2733. text3.Size = UDim2.new(1, 0, 1, 0)
  2734. text3.Position = UDim2.new(0, 0, 0, 0)
  2735. text3.TextColor3 = Color3.new(255, 255, 255)
  2736. text3.TextStrokeTransparency = 0
  2737. text3.FontSize = Enum.FontSize.Size18
  2738. text3.Font = Enum.Font.SourceSansLight
  2739. text3.BorderSizePixel = 0
  2740. text3.TextScaled = false
  2741. text3.Text = "[C]"
  2742. text4 = Instance.new("TextLabel", framesk4)
  2743. text4.BackgroundTransparency = 1
  2744. text4.Size = UDim2.new(1, 0, 1, 0)
  2745. text4.Position = UDim2.new(0, 0, 0, 0)
  2746. text4.TextColor3 = Color3.new(255, 255, 255)
  2747. text4.TextStrokeTransparency = 0
  2748. text4.FontSize = Enum.FontSize.Size18
  2749. text4.Font = Enum.Font.SourceSansLight
  2750. text4.BorderSizePixel = 0
  2751. text4.TextScaled = true
  2752. text4.Text = "[V]"
  2753.  
  2754. ------------[[Particle Emitters]]---------------------
  2755. local pe=Instance.new("ParticleEmitter",script)
  2756. pe.Enabled=false
  2757. pe.Name="pe"
  2758. local col1= Color3.new(0, 85, 255)
  2759. pe.Color=ColorSequence.new(col1)
  2760. pe.Texture="rbxassetid://436792038"
  2761. pe.LightEmission=1
  2762. pe.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 1.65), NumberSequenceKeypoint.new(1, 0)})
  2763. pe.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2764. pe.Lifetime=NumberRange.new(1.5)
  2765. pe.Rate=500
  2766. pe.Acceleration=Vector3.new(5,0,5)
  2767. pe.Rotation=NumberRange.new(5)
  2768. pe.RotSpeed=NumberRange.new(10)
  2769. pe.Speed=NumberRange.new(5)
  2770.  
  2771. local pe=Instance.new("ParticleEmitter",script)
  2772. pe.Enabled=false
  2773. pe.Name="pe2"
  2774. local col1= BrickColor.new("Deep orange").Color
  2775. pe.Color=ColorSequence.new(col1)
  2776. pe.Texture="rbxassetid://436792038"
  2777. pe.LightEmission=.5
  2778. pe.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 1.65), NumberSequenceKeypoint.new(1, 0)})
  2779. pe.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2780. pe.Lifetime=NumberRange.new(1)
  2781. pe.Rate=500
  2782. pe.Rotation=NumberRange.new(5)
  2783. pe.RotSpeed=NumberRange.new(10)
  2784. pe.Speed=NumberRange.new(5)
  2785. pe.VelocitySpread=360
  2786.  
  2787. ------------------[[Main Functions]]--------------------
  2788.  
  2789. function CameraShake(Times, Power)
  2790. coroutine.resume(coroutine.create(function()
  2791. FV = Instance.new("BoolValue", Character)
  2792. FV.Name = "CameraShake"
  2793. for ShakeNum=1,Times do
  2794. swait()
  2795. local ef=Power
  2796. if ef>=1 then
  2797. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  2798. else
  2799. ef=Power*10
  2800. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  2801. end
  2802. end
  2803. Humanoid.CameraOffset = Vector3.new(0,0,0)
  2804. FV:Destroy()
  2805. end))
  2806. end
  2807.  
  2808. so = function(id, par, vol, pit)
  2809. local sou = Instance.new("Sound", par or workspace)
  2810. if par==char then sou.Parent=char.Torso end
  2811. sou.Volume = vol
  2812. sou.Pitch = pit or 1
  2813. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  2814. coroutine.resume(coroutine.create(function(Sound)
  2815. swait()
  2816. Sound:play()
  2817. while sou.Parent.Parent ~= nil and sou.TimePosition >= sou.TimeLength do
  2818. swait()
  2819. end
  2820. sou.Parent = char.Torso
  2821. end), sou)
  2822. game:GetService("Debris"):AddItem(sou, sou.TimeLength + 0.5)
  2823. end
  2824.  
  2825. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  2826. local fp = it("Part")
  2827. fp.Parent = parent
  2828. fp.Reflectance = reflectance
  2829. fp.Transparency = transparency
  2830. fp.CanCollide = false
  2831. fp.Locked = true
  2832. fp.BrickColor = brickcolor
  2833. fp.Name = name
  2834. fp.Size = size
  2835. fp.Position = Torso.Position
  2836. fp.Material = "SmoothPlastic"
  2837. fp:BreakJoints()
  2838. return fp
  2839. end
  2840. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  2841. local mesh = it(Mesh)
  2842. mesh.Parent = part
  2843. if Mesh == "SpecialMesh" then
  2844. mesh.MeshType = meshtype
  2845. if meshid ~= "nil" then
  2846. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  2847. end
  2848. end
  2849. mesh.Offset = offset
  2850. mesh.Scale = scale
  2851. return mesh
  2852. end
  2853. local function weldBetween(a, b)
  2854. local OR=CFrame.new(a.Position)
  2855. local P1C, P2C=a.CFrame:inverse()*OR,b.CFrame:inverse()*OR
  2856. local weld = Instance.new("ManualWeld", a)
  2857. weld.Part0 = a
  2858. weld.Part1 = b
  2859. weld.C0 = P1C
  2860. weld.C1=P2C
  2861. return weld
  2862. end
  2863. lock=function(a,b)
  2864. local vp2=Instance.new("BodyPosition",a)
  2865. vp2.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  2866. vp2.P=1e7
  2867. vp2.D=1e3
  2868. vp2.Position=b.Position
  2869. local vp3=Instance.new("BodyGyro",a)
  2870. vp3.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2871. vp3.P=1e7
  2872. vp3.D=1e3
  2873. vp3.cframe=a.CFrame
  2874. return vp2,vp3
  2875. end
  2876. weld = function(parent, part0, part1, c0)
  2877. local weld = it("Motor")
  2878. weld.Parent = parent
  2879. weld.Part0 = part0
  2880. weld.Part1 = part1
  2881. weld.C0 = c0
  2882. return weld
  2883. end
  2884. function NoOutline(Part)
  2885. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2886. end
  2887.  
  2888. Par=function(Parent,Name,Col,size,Mater)
  2889. p=Instance.new("Part",Parent)
  2890. p.Anchored=true
  2891. p.CanCollide=false
  2892. p.BrickColor=BrickColor.new(Col)
  2893. p.Locked=true
  2894. NoOutline(p)
  2895. p.Size=size or Vector3.new(1,1,1)
  2896. p.Material=Mater
  2897. return p
  2898. end
  2899. Par2=function(size,cframe,color,meshtype,meshscale) --returns a basic part for further manipulation
  2900. local par = Instance.new("Part")
  2901. par.formFactor="Custom"
  2902. par.TopSurface=0
  2903. par.BottomSurface=0
  2904. par.Size=size
  2905. par.CFrame=cframe
  2906. par.BrickColor=BrickColor.new(color)
  2907. if meshtype then
  2908. local m = Instance.new(meshtype,par)
  2909. m.Scale=meshscale
  2910. end
  2911. return par
  2912. end
  2913. BillboardGui = function(image, position, size)
  2914. local billpar = Instance.new("Part")
  2915. billpar.Transparency = 1
  2916. billpar.formFactor = "Custom"
  2917. billpar.Size = Vector3.new(1, 1, 1)
  2918. billpar.Anchored = true
  2919. billpar.CanCollide = false
  2920. billpar.CFrame = CFrame.new(position)
  2921. billpar.Name = "BillboardGuiPart"
  2922. local bill = Instance.new("BillboardGui", billpar)
  2923. bill.Adornee = billpar
  2924. bill.Size = UDim2.new(1, 0, 1, 0)
  2925. bill.SizeOffset = Vector2.new(size, size)
  2926. local d = Instance.new("ImageLabel", bill)
  2927. d.BackgroundTransparency = 1
  2928. d.Size = UDim2.new(1, 0, 1, 0)
  2929. d.Image = image
  2930. return billpar
  2931. end
  2932. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  2933. local gui = it(GuiType)
  2934. gui.Parent = parent
  2935. gui.Text = text
  2936. gui.BackgroundTransparency = backtrans
  2937. gui.BackgroundColor3 = backcol
  2938. gui.SizeConstraint = "RelativeXY"
  2939. gui.TextXAlignment = "Center"
  2940. gui.TextYAlignment = "Center"
  2941. gui.Position = pos
  2942. gui.Size = size
  2943. gui.Font = "SciFi"
  2944. gui.FontSize = "Size14"
  2945. gui.TextWrapped = false
  2946. gui.TextStrokeTransparency = 0
  2947. gui.TextColor3 = Color3.new(255,255,127)
  2948. return gui
  2949. end
  2950.  
  2951. local TotalSuppressedTable = {}
  2952. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2953. local RbxUtility = LoadLibrary("RbxUtility")
  2954. local Create = RbxUtility.Create
  2955. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  2956. RemoveOutlines(Part)
  2957. return Part
  2958. end
  2959.  
  2960. function BreakEffect(brickcolor,cframe,x1,y1,z1) --Credits to Ace
  2961. local prt=part(3,EffectModel,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2962. prt.Anchored=true
  2963. prt.Material="Neon"
  2964. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2965. game:GetService("Debris"):AddItem(prt,10)
  2966. local msh=mesh("SpecialMesh",prt,"Sphere","nil",vt(0,0,0),vt(x1,y1,z1))
  2967. local num=math.random(10,50)/1000
  2968. table.insert(Effects,{prt,"Shatter",num,prt.CFrame,math.random()-math.random(),0,math.random(50,100)/100})
  2969. end
  2970.  
  2971. local function CFrameFromTopBack(at, top, back)
  2972. local right = top:Cross(back)
  2973. return CFrame.new(at.x, at.y, at.z,
  2974. right.x, top.x, back.x,
  2975. right.y, top.y, back.y,
  2976. right.z, top.z, back.z)
  2977. end
  2978. function clerp(a,b,t)
  2979. return a:Lerp(b,t)
  2980. end
  2981. function QuaternionFromCFrame(cf)
  2982. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2983. local trace = m00 + m11 + m22
  2984. if trace > 0 then
  2985. local s = math.sqrt(1 + trace)
  2986. local recip = 0.5/s
  2987. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2988. else
  2989. local i = 0
  2990. if m11 > m00 then
  2991. i = 1
  2992. end
  2993. if m22 > (i == 0 and m00 or m11) then
  2994. i = 2
  2995. end
  2996. if i == 0 then
  2997. local s = math.sqrt(m00-m11-m22+1)
  2998. local recip = 0.5/s
  2999. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3000. elseif i == 1 then
  3001. local s = math.sqrt(m11-m22-m00+1)
  3002. local recip = 0.5/s
  3003. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3004. elseif i == 2 then
  3005. local s = math.sqrt(m22-m00-m11+1)
  3006. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3007. end
  3008. end
  3009. end
  3010. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3011. local xs, ys, zs = x + x, y + y, z + z
  3012. local wx, wy, wz = w*xs, w*ys, w*zs
  3013. local xx = x*xs
  3014. local xy = x*ys
  3015. local xz = x*zs
  3016. local yy = y*ys
  3017. local yz = y*zs
  3018. local zz = z*zs
  3019. 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))
  3020. end
  3021. function QuaternionSlerp(a, b, t)
  3022. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3023. local startInterp, finishInterp;
  3024. if cosTheta >= 0.0001 then
  3025. if (1 - cosTheta) > 0.0001 then
  3026. local theta = math.acos(cosTheta)
  3027. local invSinTheta = 1/math.sin(theta)
  3028. startInterp = math.sin((1-t)*theta)*invSinTheta
  3029. finishInterp = math.sin(t*theta)*invSinTheta
  3030. else
  3031. startInterp = 1-t
  3032. finishInterp = t
  3033. end
  3034. else
  3035. if (1+cosTheta) > 0.0001 then
  3036. local theta = math.acos(-cosTheta)
  3037. local invSinTheta = 1/math.sin(theta)
  3038. startInterp = math.sin((t-1)*theta)*invSinTheta
  3039. finishInterp = math.sin(t*theta)*invSinTheta
  3040. else
  3041. startInterp = t-1
  3042. finishInterp = t
  3043. end
  3044. end
  3045. 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
  3046. end
  3047.  
  3048. local newMotor = function(part0, part1, c0, c1)
  3049. local w = Instance.new('Motor', part0)
  3050. w.Part0 = part0
  3051. w.Part1 = part1
  3052. w.C0 = c0
  3053. w.C1 = c1
  3054. return w
  3055. end
  3056.  
  3057. Triangle=function(a, b, c)
  3058. local col=BrickColor.new("White")
  3059. --Credit to Fenrier
  3060. local edg1 = (c-a):Dot((b-a).unit)
  3061. local edg2 = (a-b):Dot((c-b).unit)
  3062. local edg3 = (b-c):Dot((a-c).unit)
  3063. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3064. a, b, c = a, b, c
  3065. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3066. a, b, c = b, c, a
  3067. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3068. a, b, c = c, a, b
  3069. else
  3070. assert(false, "unreachable")
  3071. end
  3072.  
  3073. local len1 = (c-a):Dot((b-a).unit)
  3074. local len2 = (b-a).magnitude - len1
  3075. local width = (a + (b-a).unit*len1 - c).magnitude
  3076. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3077.  
  3078. local list = {}
  3079.  
  3080. if len1 > 0.01 then
  3081. local w1 = Instance.new('WedgePart', EffectModel)
  3082. game:GetService("Debris"):AddItem(w1,5)
  3083. coroutine.resume(coroutine.create(function(p)
  3084. for i=1, 10 do
  3085. p.Transparency=i/10
  3086. swait()
  3087. end
  3088. p:Remove()
  3089. end),w1)
  3090. w1.FormFactor = "Custom"
  3091. w1.BrickColor = col
  3092. w1.Material = "SmoothPlastic"
  3093. w1.CanCollide = false
  3094. local sz = Vector3.new(0.2, width, len1)
  3095. w1.Size = sz
  3096. local sp = Instance.new("SpecialMesh",w1)
  3097. sp.MeshType = "Wedge"
  3098. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3099. w1:BreakJoints()
  3100. w1.Anchored = true
  3101. w1.Transparency = 0
  3102. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3103. end
  3104.  
  3105. if len2 > 0.01 then
  3106. local w2 = Instance.new('WedgePart', EffectModel)
  3107. game:GetService("Debris"):AddItem(w2,5)
  3108. coroutine.resume(coroutine.create(function(p)
  3109. for i=1, 10 do
  3110. p.Transparency=i/10
  3111. swait()
  3112. end
  3113. p:Remove()
  3114. end),w2)
  3115.  
  3116. w2.FormFactor = "Custom"
  3117. w2.BrickColor = col
  3118. w2.Material = "SmoothPlastic"
  3119. w2.CanCollide = false
  3120. local sz = Vector3.new(0.2, width, len2)
  3121. w2.Size = sz
  3122. local sp = Instance.new("SpecialMesh",w2)
  3123. sp.MeshType = "Wedge"
  3124. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3125. w2:BreakJoints()
  3126. w2.Anchored = true
  3127. w2.Transparency = 0
  3128. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3129. end
  3130. return unpack(list)
  3131. end
  3132.  
  3133. osamachain = function(P0,P1,Color1,Color2,thickness1,thickness2,T)
  3134. local Part0=P0.Position
  3135. local Part1=P1.Position
  3136. local magz = (Part0 - Part1).magnitude
  3137. local curpos = Part0
  3138. local parts = {}
  3139. local lastpart=P0
  3140. local model = Instance.new("Model",EffecMo)
  3141. model.Name = "osama_chain"
  3142. local par=model
  3143. if par:FindFirstChild("TimeLeft")~=nil then
  3144. par:FindFirstChild("TimeLeft"):Destroy()
  3145. end
  3146. local chains = {}
  3147. local WAT=false
  3148. local cb=Instance.new("Part",model)
  3149. cb.Name="Main_chain"
  3150. cb.Size=Vector3.new(.2,1,.2)
  3151. cb.BrickColor=BrickColor.new(Color1)
  3152. cb.Anchored=false
  3153. cb.CanCollide=false
  3154. cb.Locked=true
  3155. cbM=Instance.new("CylinderMesh",cb)
  3156. cbM.Name="Mesh"
  3157. cb.CFrame = CFrame.new((Part0 + Part1)/2, Part0) * CFrame.Angles(math.pi/2, 0, 0)
  3158. for j = 1, T do
  3159. local Part0=P0.Position
  3160. local Part1=P1.Position
  3161. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/T).p
  3162. local p = Instance.new("Part")
  3163. p.Name="Outline"..j
  3164. p.Size = Vector3.new(.2,1,.2)
  3165. p.BrickColor = BrickColor.new(Color2)
  3166. p.TopSurface = 0
  3167. p.BottomSurface = 0
  3168. p.CanCollide = false
  3169. p.Locked=true
  3170. p.Anchored=true
  3171. p.Material = "Neon"
  3172. p.TopSurface = 0
  3173. p.BottomSurface = 0
  3174. local mesh = Instance.new("CylinderMesh",p)
  3175. mesh.Name = "Mesh"
  3176. mesh.Scale = Vector3.new(1.5,magz/T,1.5)
  3177. p.Parent = model
  3178. p.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/T/2)
  3179. curpos = p.CFrame*CFrame.new(0,0,magz/T/2).p
  3180. p.CFrame=p.CFrame*CFrame.Angles(math.rad(90),0,0)
  3181. p.Transparency=0.35
  3182. local str=Instance.new("ObjectValue",p)
  3183. str.Value=lastpart
  3184. str.Name="LP"
  3185. lastpart=p
  3186. table.insert(parts,{p,p})
  3187. table.insert(chains,{0,0,parts,0})
  3188.  
  3189. coroutine.resume(coroutine.create(function()
  3190. while WAT==false do
  3191. game:GetService("RunService").RenderStepped:wait()
  3192. local Part0=P0.Position
  3193. local Part1=P1.Position
  3194. local ow=j
  3195. local magz = (Part0 - Part1).magnitude
  3196. local oldT=T
  3197. local wtf=magz
  3198. mesh.Scale = Vector3.new(thickness2,magz/T,thickness2)
  3199. if ow>1 then
  3200. local dangnigga=CFrame.new(str.Value.Position)*CFrame.new(0,0,wtf/oldT/2).p
  3201. local trolpos = CFrame.new(dangnigga,Part1)*CFrame.new(0,0,wtf/oldT).p
  3202. p.CFrame = CFrame.new(str.Value.Position,Part1)*CFrame.new(0,0,-(wtf/oldT))*CFrame.Angles(math.rad(90),0,0)
  3203. end
  3204. if ow<=1 then
  3205. local dangnigga=Part0
  3206. local trolpos = CFrame.new(dangnigga,Part1)*CFrame.new(0,0,wtf/oldT).p
  3207. p.CFrame = CFrame.new(dangnigga,trolpos)*CFrame.new(0,0,wtf/oldT/2)*CFrame.Angles(math.rad(90),0,0)
  3208. end
  3209. end
  3210. end))
  3211. end
  3212.  
  3213.  
  3214. coroutine.resume(coroutine.create(function()
  3215. while WAT==false do
  3216. local Part0=P0.Position
  3217. local Part1=P1.Position
  3218. cbM.Scale = Vector3.new(thickness1, (Part0 - Part1).magnitude, thickness1)
  3219. cb.CFrame = CFrame.new((Part0 + Part1)/2, Part0) * CFrame.Angles(math.pi/2, 0, 0)
  3220. for i, v in pairs(chains) do
  3221. v[1] = v[1] %200 +4
  3222. local dir = i%2 == 0 and 1 or -1
  3223. for j, V in pairs(v[3]) do
  3224. local val = math.sin(math.pi/2 * 2 * (((v[1] + (100 * j/#v[3])*dir) % 100)/100))
  3225. V[2].Transparency = 0.12 + val * 0.85
  3226. end
  3227. end
  3228. game:GetService("RunService").RenderStepped:wait()
  3229. end
  3230. end))
  3231.  
  3232. local t=Instance.new("BoolValue",par)
  3233. t.Name="TimeLeft"
  3234.  
  3235. coroutine.resume(coroutine.create(function()
  3236. repeat wait() until par:FindFirstChild("TimeLeft")==nil
  3237. WAT=true
  3238. for _,v in pairs(model:children()) do
  3239. coroutine.resume(coroutine.create(function()
  3240. for i=1,30 do
  3241. swait()
  3242. v.Mesh.Scale=v.Mesh.Scale-Vector3.new(.05,0,.05)
  3243. v.Transparency=i/30
  3244. end
  3245. v:Destroy()
  3246. end))
  3247. game.Debris:AddItem(model,1)
  3248. end
  3249. end))
  3250.  
  3251. return t
  3252. end
  3253. AnimTab={}
  3254. angles=CFrame.Angles
  3255. euler=CFrame.fromEulerAnglesXYZ
  3256. cf=CFrame.new
  3257. AnimTab["Idle"]=function(frameN,sine)
  3258. local frame={}
  3259. frame[1]={
  3260. CFrame.new(0.0749855712, -0.0629398525, 0.0235529467, 0.819152057, -0.0499904789, -0.571393847, 0.0499904789, 0.998626292, -0.0157019496, 0.571393847, -0.0157019496, 0.820525885) * CFrame.new(0, .05*math.cos(sine/16), 0) * CFrame.Angles(0, 0, 0),
  3261. CFrame.new(-2.23517418e-008, 1.49999809, -5.96046448e-008, 0.707106829, 0, 0.707106948, -0.0616284125, 0.99619478, 0.0616284236, -0.704416037, -0.0871557444, 0.704416215) * CFrame.new(0, .02*math.cos(sine/16), 0) * CFrame.Angles( math.rad(2*math.cos(sine/16)), 0, 0),
  3262. CFrame.new(1.39567375, 0.0430115312, 0.0315978527, 0.694800496, -0.393022656, -0.602318823, 0.404297799, 0.90606755, -0.12484619, 0.594807148, -0.156772524, 0.788436532) * CFrame.new(0, .05* math.cos(sine/16), 0) * CFrame.Angles(0, 0, math.rad(3.5*math.cos(sine/16))),
  3263. CFrame.new(-1.58251691, 0.206372619, 0.0614111423, 0.471944094, 0.547303855, 0.691178441, -0.39397791, 0.832269073, -0.39001283, -0.788701952, -0.0882446468, 0.608410358) * CFrame.new(0, .05 * math.cos(sine/16), 0) * CFrame.Angles( math.rad(3.5*math.cos(sine/16)), 0, 0),
  3264. CFrame.new(0.560000062, -1.83199704, 8.94069672e-008, 0.99619472, -0.0871557444, 2.98023224e-008, 0.0841859877, 0.962250233, 0.258819044, -0.0225575566, -0.257834196, 0.965925813) * CFrame.new(0,-.05*math.cos(sine/16), 0) * CFrame.Angles(0, 0, 0),
  3265. CFrame.new(-0.612000167, -1.99999762, -4.47034836e-008, 0.936116815, 0.0871557519, 0.340718925, -0.0818995982, 0.996194839, -0.0298090391, -0.342020333, 1.3038516e-008, 0.939692676)* CFrame.new(0,-.05*math.cos(sine/16), 0) * CFrame.Angles(0, 0, 0),
  3266. }
  3267.  
  3268. return frame[frameN]
  3269. end
  3270.  
  3271. AnimTab["Walk"]=function(frameN,sine,num)
  3272. local frame={}
  3273. frame[1]={
  3274. CFrame.new(-0.0113935694, 0.00570777431, 0.130231544, 0.984834015, 0.0075960937, -0.173317313, 0.00759613095, 0.99619472, 0.0868239552, 0.173317313, -0.0868239775, 0.981028795) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3275. CFrame.new(4.61004674e-007, 1.49999475, -2.23517418e-007, 0.996191978, 0.00759613141, 0.0868240595, -9.31322575e-010, 0.99619472, -0.0871556401, -0.0871557146, 0.0868239626, 0.992401242) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3276. CFrame.new(1.46789289, 0.0982637256, -0.144648015, 0.950443208, -0.30540812, -0.058124274, 0.310294747, 0.943467736, 0.116559155, 0.0192402601, -0.128818408, 0.99147892) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3277. CFrame.new(-1.51850045, 0.0611076728, -0.0488293171, 0.793944538, 0.343733251, -0.501494884, -0.374889195, 0.926151514, 0.0412922278, 0.478652835, 0.155221671, 0.864171624) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3278. CFrame.new(.5, -1.85 - 0.5 * math.cos(sine / num) / 2, 0 + 2 * math.sin(sine / num) / 2) * angles(math.rad(-60 * math.sin(sine / num)), math.rad(-5), math.rad(0)),
  3279. CFrame.new(-.5, -1.85 + 0.5 * math.cos(sine / num) / 2, 0 - 2 * math.sin(sine / num) / 2) * angles(math.rad(60 * math.sin(sine / num)), math.rad(5), math.rad(0)),
  3280. }
  3281. return frame[frameN]
  3282. end
  3283.  
  3284. AnimTab["Fall"]=function(frameN)
  3285. local frame={}
  3286. frame[1]={
  3287. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3288. CFrame.new(0, 1.49999714, 4.47034836e-008, 1, 0, -0, 0, 0.996194601, -0.0871557221, 0, 0.0871557221, 0.996194601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3289. CFrame.new(1.52677226, 0.170301318, 0.120866239, 0.615058243, -0.725984514, -0.307655036, 0.75595212, 0.653862953, -0.0316542089, 0.224143073, -0.213102654, 0.950971305) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3290. CFrame.new(-1.74943757, 0.22577554, 0.248999774, -0.467496186, 0.588313401, 0.659799039, -0.437883109, 0.494264781, -0.750973344, -0.767922878, -0.639991939, 0.0265456047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3291. CFrame.new(0.5, -1.79199886, 0.372999966, 1, 0, 0, 0, 0.965925813, 0.258819044, 0, -0.258819044, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3292. CFrame.new(-0.5, -1.56999934, 3.57627869e-007, 1, 0, 0, 0, 0.906307697, 0.422618449, 0, -0.422618449, 0.906307697) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3293. }
  3294. return frame[frameN]
  3295. end
  3296.  
  3297. AnimTab["Jump"]=function(frameN)
  3298. local frame={}
  3299. frame[1]={
  3300. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), 0, 0),
  3301. CFrame.new(0, 1.49999642, -2.98023224e-007, 1, 0, -0, 0, 0.984807611, -0.173648387, 0, 0.173648387, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), 0, 0),
  3302. CFrame.new(1.52818167, 0.149664342, 0.34200123, 0.642788768, -0.627507448, -0.439385235, 0.766045749, 0.526541293, 0.368688077, 2.44126284e-008, -0.573576927, 0.8191517) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3303. CFrame.new(-1.55943918, 0.108779103, 0.407002598, 0.0947543383, 0.640856326, 0.761791289, -0.612354636, 0.640856147, -0.462954849, -0.784887373, -0.422618419, 0.4531537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3304. CFrame.new(0.5, -1.79199874, 0.372999489, 1, 0, 0, 0, 0.819151998, 0.573576391, 0, -0.573576391, 0.819151998) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3305. CFrame.new(-0.5, -1.18119395, -0.181302905, 1, 0, 0, 0, 0.906307697, 0.422618449, 0, -0.422618449, 0.906307697) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3306. }
  3307. return frame[frameN]
  3308. end
  3309.  
  3310. AnimTab["ClickCombo"]=function(frameN)
  3311. local frame={}
  3312. frame[1]={
  3313. CFrame.new(-0.0197398271, 0.00017363939, -0.0113914032, 0.819431186, 0.0131589621, -0.573026359, -0.0151344128, 0.999884605, 0.00131906569, 0.572977841, 0.00759153441, 0.819535732) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3314. CFrame.new(-5.12972474e-006, 1.49999857, 6.86198473e-006, 0.939692736, 0, -0.342020154, -0.0298089944, 0.99619472, -0.081899412, 0.340719104, 0.0871555582, 0.936116457) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3315. CFrame.new(1.46780205, 0.710095406, 0.234785587, -0.355826288, -0.865559995, 0.352411389, -0.172264263, -0.30988273, -0.935039043, 0.918538094, -0.393419534, -0.038840577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3316. CFrame.new(-1.43954968, -2.52574682e-006, 0.129604459, 0.836516142, 0.258819044, 0.482963055, -0.224143833, 0.965925813, -0.129409522, -0.499999762, 5.96046448e-008, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3317. CFrame.new(0.679453552, -2.00000072, -0.0836714357, 0.984807849, -0.173648208, 1.78813934e-007, 0.173648164, 0.984807789, 1.49011612e-008, 2.08616257e-007, -2.23517418e-008, 0.999999762) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3318. CFrame.new(-0.604891539, -2.00168324, 0.0733468086, 0.902858794, 0.0789898112, 0.422619224, -0.0871558189, 0.996194482, -8.33533704e-008, -0.421009451, -0.0368335843, 0.906307936) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3319. }
  3320. frame[2]={
  3321. CFrame.new(-0.0613368936, 0.00152878393, 0.0285331458, 0.76637429, 0.0408957675, 0.641089976, -0.0435777232, 0.99898237, -0.0116322488, -0.640913188, -0.0190227255, 0.767376542) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3322. CFrame.new(-7.62548461e-006, 1.49999809, -3.71038914e-006, 0.999998212, 0, 2.98023224e-008, 5.58793545e-009, 0.99619478, 0.0871554092, 0, -0.0871555507, 0.996193051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3323. CFrame.new(0.00463496707, 0.187205061, -0.965997756, 0.367293179, 0.711594164, 0.598938942, 0.427254975, 0.442903399, -0.788219512, -0.826164603, 0.545407176, -0.141356587) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3324. CFrame.new(-1.49999774, 3.53902578e-006, 1.47521496e-005, 0.907670081, 0.258818388, 0.330364645, -0.243210018, 0.965925872, -0.0885214061, -0.342019051, -2.08616257e-007, 0.939689517) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3325. CFrame.new(0.499999136, -2.00000024, -3.50921755e-006, 0.999998271, 1.86264515e-009, 5.96046448e-008, 1.86264515e-009, 1.00000012, -1.37835741e-007, 5.96046448e-008, -1.37835741e-007, 0.99999845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3326. CFrame.new(-0.645505011, -2.00401926, 0.0868109241, 0.924950242, 0.16841127, 0.340715557, -0.168411225, 0.985266805, -0.0298095532, -0.340716124, -0.0298096016, 0.939684689) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3327. }
  3328. frame[3]={
  3329. CFrame.new(1.55471647e-009, -0.0068855267, -5.47999889e-006, 0.793305218, -2.25794793e-007, 0.608824253, 0.000484734424, 0.999999702, -0.000631258881, -0.608824015, 0.000795871951, 0.79330498) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3330. CFrame.new(0.0225859769, 1.49797451, 0.0388732702, 0.883248448, 0.0451714694, 0.466724664, -0.00345645775, 0.995949268, -0.089850761, -0.468892813, 0.0777472705, 0.879826784) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3331. CFrame.new(1.58917701, 0.14805764, 0.334518611, 0.0183337033, -0.201969534, -0.979220271, 0.697920084, 0.70388478, -0.132113129, 0.715941131, -0.680995286, 0.153863311) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3332. CFrame.new(-1.88436937, 0.643480539, -0.285786152, 0.300701588, 0.768738747, 0.564463854, 0.950921416, -0.286961168, -0.115765437, 0.0729858056, 0.571571708, -0.817299783) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3333. CFrame.new(0.412421823, -2.00387192, 0.0902987272, 0.791517377, 0.00115086511, -0.611145437, 0.00795604475, 0.999894083, 0.0121870684, 0.611094832, -0.0145086367, 0.791424394) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3334. CFrame.new(-0.409770161, -1.99211299, -0.0764102042, 0.792799294, 0.000281186076, -0.609482467, 0.00198945496, 0.999993384, 0.00304915174, 0.609479368, -0.00362995872, 0.792793512) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3335. }
  3336. frame[4]={
  3337. CFrame.new(2.62498816e-007, -0.000344276341, -2.2777408e-007, 0.803031087, 0, -0.595937431, -0.000474512577, 0.999999702, -0.000639379025, 0.595937312, 0.000796243548, 0.80303061) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3338. CFrame.new(-0.0595012531, 1.49132609, -0.0711210817, 0.77105993, -0.119002283, 0.62554419, 0.00120455027, 0.982652485, 0.185453147, -0.636761785, -0.14224194, 0.757826924) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3339. CFrame.new(1.59903359, 0.230916396, 0.409287423, 0.0014244318, -0.198947608, -0.980009317, 0.835885108, 0.538167715, -0.108036242, 0.54890269, -0.819021165, 0.167063877) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3340. CFrame.new(-0.625070512, 0.361982256, -0.745636106, 0.285767585, -0.796516061, 0.532822251, 0.955926418, 0.276036203, -0.100043766, -0.0673916936, 0.537928045, 0.840292692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3341. CFrame.new(0.398624241, -1.9999733, -0.0658840984, 0.804467261, -0.000422894955, 0.593996882, -5.37931919e-005, 0.999999702, 0.000784777105, -0.593996882, -0.000663250685, 0.804466903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3342. CFrame.new(-0.398404002, -1.99966228, 0.0658915937, 0.803506851, -0.000106021762, 0.595295787, -1.34408474e-005, 1, 0.000196315348, -0.595295668, -0.000165745616, 0.803506553) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3343. }
  3344. frame[5]={
  3345. CFrame.new(-1.14056382e-008, -0.196045384, -0.000156056514, 1, 5.81785571e-008, -0.00159262121, -1.21010919e-006, 0.99999994, -0.000796537439, 0.00159247965, 0.000796022301, 0.999999464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3346. CFrame.new(9.34411162e-008, 1.47852278, -0.144922316, 0.99999392, 7.4505806e-008, -5.21540642e-008, 5.78365871e-008, 0.957062781, 0.289872348, -7.4505806e-008, -0.289865702, 0.957063496) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3347. CFrame.new(0.663555026, 0.49231568, -0.850663185, 0.015370708, 0.692666352, 0.721096218, 0.999231637, 0.0153704779, -0.036063727, -0.0360642895, 0.721095979, -0.691897511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3348. CFrame.new(-0.663553596, 0.492314607, -0.850663126, 0.0153705887, -0.692666411, -0.721096218, -0.999231517, 0.015370396, -0.0360638089, 0.0360642895, 0.721096158, -0.691897392) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3349. CFrame.new(0.499701917, -1.92411804, 0.38171339, 0.999994397, 0.000301316381, -0.000750280917, 5.81403583e-006, 0.924113035, 0.382118583, 0.000808849931, -0.382119298, 0.924106598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3350. CFrame.new(-0.401899934, -1.79915607, -0.00056552887, 0.999996126, -7.83959404e-005, 0.000813350081, -9.8903547e-007, 0.995200098, 0.0978638232, -0.000817283988, -0.0978644416, 0.995195687) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3351. }
  3352. frame[6]={
  3353. CFrame.new(-0, -0.828355193, 0.211025894, 1, 0, 0, 0, 0.939692676, 0.342019737, 0, -0.342019737, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3354. CFrame.new(0, 1.49999678, 3.7252903e-006, 1, 0, 0, 0, 0.996194541, -0.0871557444, 0, 0.0871557444, 0.996194541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3355. CFrame.new(1.87859392, 0.514964342, 0.34640047, -0.0871552005, -0.936116815, -0.340718567, 0.996194661, -0.0818997845, -0.029810369, -1.13248825e-006, -0.342018634, 0.939689815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3356. CFrame.new(-1.68897307, 0.493994951, 0.408263475, 2.7980894e-008, 0.906309366, 0.422614932, -0.999999881, 6.40749931e-007, -1.28149986e-006, -1.43051147e-006, -0.422614932, 0.906309187) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3357. CFrame.new(0.5, -1.59677243, -0.49357605, 1, 0, 0, 0, 0.984807909, -0.17364797, 0, 0.17364797, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3358. CFrame.new(-0.5, -1.90224135, 0.424649239, 1, 0, 0, 0, 0.906307638, 0.422618598, 0, -0.422618598, 0.906307638) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3359. }
  3360. frame[7]={
  3361. CFrame.new(-0, 0, 0, 0.960631907, 0.00137611502, 0.277821034, -0.159289986, 0.822030306, 0.546711087, -0.227624968, -0.569442153, 0.789887726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3362. CFrame.new(-0.0181836374, 1.50775862, -0.0594066978, 0.999913454, -0.0105673671, -0.00784052908, 0.0118241087, 0.983038306, 0.183019012, 0.00577357411, -0.183095813, 0.983078241) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3363. CFrame.new(1.5073173, 1.31327307, -0.909579456, 0.94229573, -0.200924531, 0.267783791, 0.109451406, -0.571028471, -0.813601255, 0.316384584, 0.795962393, -0.516086161) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3364. CFrame.new(-1.57927585, 0.317291111, 0.397556216, 0.809802711, 0.208654553, 0.548345804, -0.517000973, 0.695623755, 0.498816311, -0.277362049, -0.687437952, 0.671192646) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3365. CFrame.new(0.655821919, -1.91117561, 0.471306443, 0.991203368, 0.0697749257, 0.112460986, -0.110218167, 0.905595839, 0.409570932, -0.0732664168, -0.418363273, 0.905320168) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3366. CFrame.new(-0.524112225, -1.89465261, -0.507151604, 0.994412482, 0.0338317044, -0.100033343, -0.0809665471, 0.852411568, -0.516580105, 0.0677920207, 0.521791637, 0.850385308) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3367. }
  3368. return frame[frameN]
  3369. end
  3370.  
  3371. AnimTab["C"]=function(frameN)
  3372. local frame={}
  3373. frame[1]={
  3374. CFrame.new(2.84053385e-007, -0.699999809, -2.38418579e-007, 0.965778768, -0.258819073, -0.0168577731, 0.232835919, 0.836516201, 0.496012032, -0.114275634, -0.482962906, 0.868152142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3375. CFrame.new(-5.63820706e-008, 1.49240422, 0.0868239999, 1, -4.84287739e-008, -8.94069672e-008, -4.47034836e-008, 0.98480767, -0.173648149, -2.98023224e-008, 0.173648193, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3376. CFrame.new(1.74633741, 0.23793821, 0.0817345008, 0.855079293, -0.517596483, -0.0305508971, 0.513783395, 0.837906241, 0.18422699, -0.0697565079, -0.173225164, 0.982408822) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3377. CFrame.new(-1.49061811, 0.166142434, -1.07410741, -0.0469467044, 0.428182781, -0.9024719, -0.761570275, 0.569285035, 0.309717506, 0.64637953, 0.701836109, 0.299365371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3378. CFrame.new(0.463051915, -0.780309081, -0.937637031, 0.941776395, 0.166060507, -0.29237175, -0.294348687, 0.827483535, -0.478152335, 0.162530512, 0.536371887, 0.828184247) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3379. CFrame.new(-0.799590945, -1.51444077, -0.389154136, 0.970662296, 0.0849219561, 0.224951029, -0.22485368, 0.652014375, 0.724098086, -0.0851795673, -0.75343585, 0.651980817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3380. }
  3381. return frame[frameN]
  3382. end
  3383.  
  3384. AnimTab["Z"]=function(frameN)
  3385. local frame={}
  3386. frame[1]={
  3387. CFrame.new(-0, -0, 0, 0.939692557, 0, 0.342020363, 0, 1, 0, -0.342020363, 0, 0.939692557) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3388. CFrame.new(7.67409801e-007, 1.49999976, -2.84612179e-006, 0.965925753, -0.0449434593, -0.254887015, 0, 0.98480773, -0.173648164, 0.258819044, 0.167731255, 0.951251149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3389. CFrame.new(1.45801651, 1.30391252, -0.184753254, 0.908105314, -0.402072936, 0.116977036, -0.316420078, -0.841866553, -0.43720898, 0.274269402, 0.360022634, -0.891720653) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3390. CFrame.new(-1.49999797, -1.36718154e-006, -4.20212746e-006, 0.907673359, 0.258819044, -0.330366075, -0.243210346, 0.965925813, 0.0885213241, 0.342020154, 0, 0.939692616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3391. CFrame.new(0.552665412, -2.01035452, 0.0304116532, 0.962249815, -0.0871557146, -0.257833838, 0.0841859728, 0.996194422, -0.022557551, 0.258818924, -5.58793545e-009, 0.965926111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3392. CFrame.new(-0.49999544, -2, -1.74716115e-006, 0.99619472, 0, 0.0871555209, 0, 1, 0, -0.0871555209, 0, 0.99619472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3393. }
  3394. return frame[frameN]
  3395. end
  3396.  
  3397. AnimTab["X"]=function(frameN)
  3398. local frame={}
  3399. frame[1]={
  3400. CFrame.new(0, -0, 0, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3401. CFrame.new(0, 1.5, 0, 1.19248824e-008, 0, -1, 0, 1, 0, 1, 0, 1.19248824e-008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3402. CFrame.new(1.875, 0.443000317, 2.5331974e-007, -3.09086197e-008, -1, 3.09086197e-008, 0.707106769, -4.37113883e-008, -0.707106769, 0.707106769, 0, 0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3403. CFrame.new(-1.30599999, 0.0260016322, -4.529953e-006, 0.694272041, 0.422618032, 0.58256346, -0.323744178, 0.906307817, -0.271653652, -0.642787516, 1.08828191e-008, 0.766044438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3404. CFrame.new(0.677001357, -1.99999976, 0, 0.98480773, -0.173648179, 0, 0.173648179, 0.98480773, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3405. CFrame.new(-0.500001073, -2, 7.00354576e-007, 0.866025329, 0, 0.500000179, 0, 1, 0, -0.500000179, 0, 0.866025329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3406. }
  3407. return frame[frameN]
  3408. end
  3409. lastcframe={RootJoint.C0,Neck.C0,RW.C0,LW.C0,RH.C0,LH.C0}
  3410. function PlayAnimationFromTable(tabl, speed, bool)
  3411. RootJoint.C0 = clerp(RootJoint.C0, tabl[1], speed)
  3412. Neck.C0 = clerp(Neck.C0, tabl[2], speed)
  3413. RW.C0 = clerp(RW.C0, tabl[3], speed)
  3414. LW.C0 = clerp(LW.C0, tabl[4], speed)
  3415. RH.C0 = clerp(RH.C0, tabl[5], speed)
  3416. LH.C0 = clerp(LH.C0, tabl[6], speed)
  3417. lastcframe={RootJoint.C0,Neck.C0,RW.C0,LW.C0,RH.C0,LH.C0}
  3418. if bool == true then
  3419. if resetc1 == false then
  3420. resetc1 = true
  3421. RootJoint.C1 = RootJoint.C1
  3422. Torso.Neck.C1 = Torso.Neck.C1
  3423. RW.C1 = rarmc1
  3424. LW.C1 = larmc1
  3425. RH.C1 = rlegc1
  3426. LH.C1 = llegc1
  3427. end
  3428. end
  3429.  
  3430. end
  3431.  
  3432. CamShake=function(Part,Distan,Power,Times)
  3433. local de=Part.Position
  3434. for i,v in pairs(workspace:children()) do
  3435. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  3436. for _,c in pairs(v:children()) do
  3437. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  3438. local Noob=v.Humanoid
  3439. if Noob~=nil then
  3440. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  3441. --[[local ss=script.CamShake:clone()
  3442. ss.Parent=Noob
  3443. ss.Power.Value=Power
  3444. ss.Times.Value=Times
  3445. ss.Disabled=false]]
  3446. CameraShake(Times, Power)
  3447. end
  3448. end
  3449. end
  3450. end
  3451. end
  3452. end
  3453. end
  3454.  
  3455. local RbxUtility = LoadLibrary("RbxUtility")
  3456. local Create = RbxUtility.Create
  3457.  
  3458. function RemoveOutlines(part)
  3459. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  3460. end
  3461.  
  3462. function rayCast(Position, Direction, Range, Ignore)
  3463. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  3464. end
  3465. function rayCastWithIngore(Position, Direction, Range, Ignore)
  3466. return game:service("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  3467. end
  3468.  
  3469. detect_state = function()
  3470. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3471. velocity = RootPart.Velocity.y
  3472. sine = sine + change
  3473. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  3474. if equipped == true then
  3475. if RootPart.Velocity.y > 1 and hit == nil then
  3476. Anim = "Jump"
  3477. elseif RootPart.Velocity.y < -1 and hit == nil then
  3478. Anim = "Fall"
  3479. elseif Torsovelocity < 1 and hit ~= nil then
  3480. Anim = "Idle"
  3481. elseif Torsovelocity > 2 and hit ~= nil then
  3482. Anim = "Walk"
  3483. end
  3484. end
  3485. end
  3486.  
  3487. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  3488. local magz = (Part0 - Part1).magnitude
  3489. local curpos = Part0
  3490. local trz = {-Offset,Offset}
  3491. for i=1,Times do
  3492. local li =Par(EffectModel,"Lightning",Color,Vector3.new(Thickness,Thickness,magz/Times),"Neon")
  3493. li.Transparency = Trans
  3494. li.BrickColor = BrickColor.new(Color)
  3495. ora=Instance.new("BlockMesh",li)
  3496. ora.Scale=Vector3.new(Thickness,Thickness,1)
  3497. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3498. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3499. if Times == i then
  3500. local magz2 = (curpos - Part1).magnitude
  3501. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3502. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3503. else
  3504. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3505. end
  3506. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3507. game.Debris:AddItem(li,.1)
  3508. end
  3509. end
  3510. function Lightning2(Part0,Part1,Times,Offset,Color,Thickness,Trans,V) -- Lightning module
  3511. local magz = (Part0 - Part1).magnitude
  3512. local curpos = Part0
  3513. local trz = {-Offset,Offset}
  3514. for i=1,Times do
  3515. local li =Par(EffectModel,"Lightning",Color,Vector3.new(Thickness,Thickness,magz/Times),"Neon")
  3516. li.Transparency = Trans
  3517. ora=Instance.new("BlockMesh",li)
  3518. ora.Scale=Vector3.new(Thickness,Thickness,1)
  3519. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3520. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3521. if Times == i then
  3522. local magz2 = (curpos - Part1).magnitude
  3523. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3524. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3525. else
  3526. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3527. end
  3528. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3529. coroutine.resume(coroutine.create(function()
  3530. for i=1,V do
  3531. swait()
  3532. li.Transparency=i/V
  3533. end
  3534. li:Destroy()
  3535. end))
  3536. end
  3537. end
  3538. function Lightning3(Part0,Part1,Times,Offset,Color,Thickness,Trans,last) -- Lightning module
  3539. local magz = (Part0 - Part1).magnitude
  3540. local curpos = Part0
  3541. local trz = {-Offset,Offset}
  3542. for i=1,Times do
  3543. local li =Par(EffectModel,"Lightning",Color,Vector3.new(Thickness,Thickness,magz/Times),"Neon")
  3544. li.Transparency = Trans
  3545. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3546. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3547. if Times == i then
  3548. local magz2 = (curpos - Part1).magnitude
  3549. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3550. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3551. else
  3552. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3553. end
  3554. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3555. game.Debris:AddItem(li,5)
  3556. coroutine.resume(coroutine.create(function()
  3557. for i=1,20 do
  3558. swait()
  3559. li.Transparency=li.Transparency+last
  3560. end
  3561. li:Destroy()
  3562. end))
  3563. end
  3564. end
  3565.  
  3566. GET_THE_NEAREST_FAGGOT = function(pos)
  3567. local list = (game.Workspace:children())
  3568. local torso = nil
  3569. local DISTANCE_u_BITCH = 1000
  3570. local temp, human, temp2 = nil, nil, nil
  3571. for x = 1, #list do
  3572. temp2 = list[x]
  3573. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  3574. temp = temp2:findFirstChild("Torso")
  3575. human = temp2:findFirstChild("Humanoid")
  3576. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < DISTANCE_u_BITCH then
  3577. local FOUND_YOU = true
  3578. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(temp.Parent) ~= nil then
  3579. FOUND_YOU = false
  3580. end
  3581. if FOUND_YOU == true then
  3582. torso = temp
  3583. DISTANCE_u_BITCH = (temp.Position - pos).magnitude
  3584. end
  3585. end
  3586. end
  3587. end
  3588. return torso, DISTANCE_u_BITCH
  3589. end
  3590. Damagefunc=function(hit,Damage, knockback,tiem, Type, Delay,stun,removebodypos)
  3591. local Hited=false
  3592. if hit.Parent == nil then
  3593. return
  3594. end
  3595.  
  3596. h = hit.Parent:FindFirstChild("Humanoid")
  3597. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3598. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3599. return
  3600. end
  3601. if h.Health<=0 then return end
  3602. h = hit.Parent:FindFirstChild("Humanoid")
  3603. c = Instance.new("ObjectValue")
  3604. c.Name = "creator"
  3605. c.Value = game:service("Players").LocalPlayer
  3606. c.Parent = h
  3607. game:GetService("Debris"):AddItem(c, 0.5)
  3608. if Type=="H2" then
  3609. local eff = Par2(Vector3.new(1, 1, 1), hit.CFrame * CFrame.new(math.random(-15, 15) / 10, math.random(-20, 15) / 10, math.random(-5, 5) / 10) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "SpecialMesh", Vector3.new(0.5, 0.5, 0.5))
  3610. eff.Parent = EffectModel
  3611. eff.Name = "BloodEffect"
  3612. eff.Mesh.MeshType = "Sphere"
  3613. eff.Anchored = true
  3614. eff.CanCollide = false
  3615. game:GetService("Debris"):AddItem(eff, 5)
  3616. coroutine.resume(coroutine.create(function(p, A)
  3617. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  3618. for i = 1, 6 do
  3619. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.85, 0.85, 0.85)
  3620. p.Transparency =1
  3621. p.CFrame = p.CFrame * A
  3622. swait()
  3623. end
  3624. p:Remove()
  3625. end), eff, CFrame.Angles(math.rad(math.random(-4, 4) * 4), math.rad(math.random(-4, 4) * 3), math.rad(math.random(-4, 4) * 2)), 0)
  3626. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069772", eff.Position, 0)
  3627. eb.Parent = EffectModel
  3628. eb.BillboardGui.ImageLabel.ImageColor3=Color3.new(255, 0, 0)
  3629. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  3630. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  3631. game:GetService("Debris"):AddItem(eb, 3)
  3632. coroutine.resume(coroutine.create(function(p)
  3633. local r = math.random(-3, 3) * 9
  3634. if r > -12 and r < 1 then
  3635. r = -12
  3636. else
  3637. if r < 12 and r > -1 then
  3638. r = 12
  3639. end
  3640. end
  3641. for i = 1, 6 do
  3642. p.BillboardGui.ImageLabel.ImageTransparency = 0.25 + i / 6
  3643. p.BillboardGui.Size = UDim2.new(2 + i / 1.75, 0, 2 + i / 1.75, 0)
  3644. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  3645. swait()
  3646. end
  3647. p:Remove()
  3648. end), eb)
  3649.  
  3650. local hitnum = math.random(1, 8)
  3651. if hitnum == 1 then
  3652. so("153092274", hit, 1, 1)
  3653. end
  3654. if hitnum == 2 then
  3655. so("199149186", hit, 2, .5)
  3656. end
  3657. if hitnum == 3 then
  3658. so("153092296", hit, 1, .3)
  3659. end
  3660. if hitnum == 4 then
  3661. so("199149235", hit, 1, .5)
  3662. end
  3663. if hitnum == 5 then
  3664. so("199149269", hit, 1, .4)
  3665. end
  3666. if hitnum == 6 then
  3667. so("199149297", hit, 1, .5)
  3668. end
  3669. if hitnum == 7 then
  3670. so("201858024", hit, 1, .6)
  3671. end
  3672. if hitnum == 8 then
  3673. so("201858024", hit, 1, .5)
  3674. end
  3675. end
  3676.  
  3677. if Type=="H1" then
  3678. local hitnum=math.random(2,4)
  3679. p=Par(EffectModel,"EffectHi","White",Vector3.new(1,1,1),"SmoothPlastic")
  3680. p.CFrame=hit.Parent.Torso.CFrame
  3681. m=Instance.new("SpecialMesh")
  3682. m.MeshType="Sphere"
  3683. m.Parent=p
  3684. game:GetService("Debris"):AddItem(p,5)
  3685. coroutine.resume(coroutine.create(function(p)
  3686. for i=1, 8 do
  3687. p.Transparency=i/8
  3688. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(.5,.5,.5)
  3689. swait(.5)
  3690. end
  3691. p:Remove() end),p)
  3692.  
  3693. if hitnum==1 then
  3694. so("153092274", hit, 1, 1)
  3695. else
  3696. if hitnum == 2 then
  3697. so("153092217", hit, 1, 1)
  3698. else
  3699. if hitnum == 3 then
  3700. so("153092227", hit, 1, 1)
  3701. else
  3702. if hitnum == 4 then
  3703. so("153092238", hit, 1, 1)
  3704. end
  3705. end
  3706. end end
  3707. end
  3708.  
  3709. Noob=hit.Parent
  3710. HTime=time()+1.8
  3711. LastDamage=LastDamage + Damage*1
  3712. ComboHits=ComboHits+1
  3713. Comboing=true
  3714. Hited=true
  3715. local ded=false
  3716. Comboing=true
  3717.  
  3718. h:TakeDamage(Damage)
  3719. local Part=hit
  3720. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 3.5, 0), -Damage, 1.5, BrickColor.new("Deep orange").Color)
  3721. if stun==true then
  3722. local t=hit.Parent.Torso
  3723. if hit.Parent.Torso:FindFirstChild("EBOLA")==nil then
  3724. local r=Instance.new("BodyGyro")
  3725. r.P=1e7
  3726. r.D=1e3
  3727. r.maxTorque=Vector3.new(50000,50000,50000)*50000000000
  3728. r.cframe=r.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  3729. r.Parent=t
  3730. game:GetService("Debris"):AddItem(r,1)
  3731. r.Name="EBOLA"
  3732. local fff=Instance.new("BodyForce")
  3733. fff.force=Vector3.new(0,1200,0)
  3734. fff.Parent=t
  3735. game:GetService("Debris"):AddItem(fff,1)
  3736. local hum = hit.Parent.Humanoid
  3737. local bodvol = Instance.new("BodyVelocity")
  3738. bodvol.velocity = Vector3.new(0,0,0)+RootPart.CFrame.lookVector*4
  3739. bodvol.Name="EBOLA"
  3740. bodvol.P = 4000
  3741. bodvol.maxForce=Vector3.new(50000000,5000000,50000000)*10000
  3742. bodvol.Parent = hit
  3743. game.Debris:AddItem(bodvol,.5)
  3744.  
  3745. end
  3746.  
  3747. end
  3748. if stun~=true then
  3749. if removebodypos==true then
  3750. for _,v in pairs(hit:children()) do
  3751. if v.ClassName=="BodyPosition" or v.ClassName=="BodyVelocity" then
  3752. v.Parent=nil
  3753. end
  3754. end
  3755. end
  3756. local hum = hit.Parent.Humanoid
  3757. if hit:FindFirstChild("EBOLA")~=nil then hit:FindFirstChild("EBOLA").Parent=nil end
  3758. local bodvol = Instance.new("BodyVelocity")
  3759. bodvol.Name="EBOLA"
  3760. bodvol.velocity = knockback
  3761. bodvol.P = 4000
  3762. bodvol.maxForce=Vector3.new(50000000,5000000,50000000)*10000
  3763. bodvol.Parent = hit
  3764. game.Debris:AddItem(bodvol,tiem)
  3765.  
  3766. end
  3767.  
  3768. local debounce = Instance.new("BoolValue")
  3769. debounce.Name = "DebounceHit"
  3770. debounce.Parent = hit.Parent
  3771. debounce.Value = true
  3772. game:GetService("Debris"):AddItem(debounce, Delay)
  3773. c = Instance.new("ObjectValue")
  3774. c.Name = "creator"
  3775. c.Value = Player
  3776. c.Parent = h
  3777. game:GetService("Debris"):AddItem(c, 0.5)
  3778. local CRIT = false
  3779. end
  3780. end
  3781. function MagnitudeDamage(Part, magni,Damage, knockback,tiem, Type, Delay ,stun,removebodypos)
  3782. for _, c in pairs(workspace:children()) do
  3783. local hum = c:findFirstChild("Humanoid")
  3784. if hum ~= nil then
  3785. local head = c:findFirstChild("Torso")
  3786. if head ~= nil then
  3787. local targ = head.Position - Part.Position
  3788. local mag = targ.magnitude
  3789. if mag <= magni and c.Name ~= Player.Name then
  3790. Damagefunc(head,Damage, knockback,tiem, Type, Delay,stun,removebodypos)
  3791. end
  3792. end
  3793. end
  3794. end
  3795. end
  3796. Cooldown=function(name,duration)
  3797. local t=Instance.new("BoolValue",char)
  3798. t.Name=name
  3799. coroutine.resume(coroutine.create(function()
  3800. swait((duration*30)-1)
  3801. game.Debris:AddItem(t,.1)
  3802. end))
  3803. end
  3804.  
  3805. Koy=""
  3806. Dmoves=nil
  3807.  
  3808. Stop = function()
  3809. canjump = false
  3810. end
  3811. Resume= function()
  3812. canjump = true
  3813. end
  3814.  
  3815. Player.Character.Humanoid.Changed:connect(function()
  3816. if canjump == false then
  3817. Player.Character.Humanoid.Jump = false
  3818. end
  3819. end)
  3820.  
  3821. doingmoves=function(value)
  3822. if value==true then
  3823. LastMove=""
  3824. Stop()
  3825. input=""
  3826. Koy=""
  3827. CanCancel=false
  3828. Dmoves=true
  3829. DIR=RootPart.CFrame.lookVector
  3830. end
  3831.  
  3832. if value==false then
  3833. Dmoves=false
  3834. LastMove=""
  3835. Koy=""
  3836. if Dmoves==false then
  3837. CanCancel=true
  3838. char.Humanoid.WalkSpeed=DesiredSpeed
  3839. Resume()
  3840. end
  3841. Dmoves=false
  3842. end
  3843.  
  3844. end
  3845.  
  3846. Dmoves=false
  3847.  
  3848. input=""
  3849. age=0
  3850. cam_ing=false
  3851. local Input_MaxTime=.8
  3852. local Input_Time=Input_MaxTime
  3853. local Input_Addition=.2
  3854. local Input_Lose=.1
  3855. local Max_Input=20
  3856. local Running_Timer=false
  3857.  
  3858. coroutine.resume(coroutine.create(function()
  3859. while true do
  3860. swait()
  3861. if Input_Time>0 then
  3862. Input_Time=Input_Time-Input_Lose
  3863. elseif Input_Time < 0 then
  3864. Input_Time=0
  3865. input=""
  3866. elseif Input_Time == 0 then
  3867. input=""
  3868. elseif Input_Time > Input_MaxTime then
  3869. Input_Time = Input_MaxTime
  3870. end
  3871. end
  3872. end))
  3873.  
  3874. getDirection=function()
  3875. local par=RootPart
  3876. Cam=workspace.CurrentCamera
  3877. return {CFrame.new(par.Position,Vector3.new(Cam.CoordinateFrame.x,par.Position.y,Cam.CoordinateFrame.z))*CFrame.fromEulerAnglesXYZ(0,math.pi,0),Vector3.new(Cam.CoordinateFrame.p.x,par.CFrame.p.y,Cam.CoordinateFrame.p.z)}
  3878. end
  3879. getrek=function()
  3880. Cam=workspace.CurrentCamera
  3881. Cam=workspace.CurrentCamera
  3882. return {CFrame.new(RootPart.Position,Vector3.new(Noob.Torso.Position.x,RootPart.Position.y,Noob.Torso.Position.z)),Vector3.new(Noob.Torso.CFrame.p.x,Noob.Torso.CFrame.p.y,Noob.Torso.CFrame.p.z)}
  3883. end
  3884. FaceMouse=function()
  3885. Cam=workspace.CurrentCamera
  3886. return {CFrame.new(char.Torso.Position,Vector3.new(mouse.Hit.p.x,char.Torso.Position.y,mouse.Hit.p.z)),Vector3.new(mouse.Hit.p.x,mouse.Hit.p.y,mouse.Hit.p.z)}
  3887. end
  3888. FaceForward=function()
  3889. RootPart.CFrame=getDirection()[1]
  3890. return RootPart.CFrame
  3891. end
  3892.  
  3893.  
  3894. ph0segui = function(Char, Dealt,color)
  3895. local holder = Instance.new("Model",Char)
  3896. holder.Name = "Effect"
  3897. local c = Par(holder,"Head","White",Vector3.new(1, 0.4, 1),"SmoothPlastic")
  3898. c.Transparency = 1
  3899. local b = Instance.new("BillboardGui", c)
  3900. b.Size = UDim2.new(5, 0, 5, 0)
  3901. b.AlwaysOnTop = true
  3902. local damgui = it("TextLabel")
  3903. damgui.Parent = b
  3904. damgui.Text = Dealt
  3905. damgui.BackgroundTransparency = 1
  3906. damgui.BackgroundColor3 = Color3.new(0, 0, 0)
  3907. damgui.SizeConstraint = "RelativeXY"
  3908. damgui.TextXAlignment = "Center"
  3909. damgui.TextYAlignment = "Center"
  3910. damgui.Position = UDim2.new(0, 0, 0, 0)
  3911. damgui.Size = UDim2.new(1, 0, 1, 0)
  3912. damgui.Font = "ArialBold"
  3913. damgui.FontSize = "Size14"
  3914. damgui.TextWrapped = false
  3915. damgui.TextStrokeTransparency = 0
  3916. damgui.TextColor3 = BrickColor.new(color).Color
  3917. damgui.TextScaled = true
  3918. local ms = Instance.new("CylinderMesh")
  3919. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  3920. ms.Parent = c
  3921. c.Reflectance = 0
  3922. Instance.new("BodyGyro").Parent = c
  3923. c.Parent = holder
  3924. if Char:findFirstChild("Head") ~= nil then
  3925. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3926. else
  3927. if Char.Parent:findFirstChild("Head") ~= nil then
  3928. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3929. end
  3930. end
  3931. local f = Instance.new("BodyPosition")
  3932. f.P = 2000
  3933. f.D = 100
  3934. f.maxForce = Vector3.new(545000, 545000, 545000)
  3935. f.position = c.Position + Vector3.new(0, 1, 0)
  3936. f.Parent = c
  3937. c.CanCollide = false
  3938. c.CanCollide = false
  3939. coroutine.resume(coroutine.create(function()
  3940. swait(20)
  3941. for i=1,15 do
  3942. swait()
  3943. damgui.TextTransparency=i/15
  3944. damgui.TextStrokeTransparency=i/15
  3945. f.position=f.position+Vector3.new(0,.3,0)
  3946. end
  3947. end))
  3948. game:GetService("Debris"):AddItem(m, 1)
  3949. end
  3950. mouse=nil
  3951. ShowDamage = function(Pos, Text, Time, Color)
  3952.  
  3953. local Rate = 0.033333333333333
  3954. if not Pos then
  3955. local Pos = Vector3.new(0, 0, 0)
  3956. end
  3957. local Text = Text or ""
  3958. local Time = Time or 2
  3959. if not Color then
  3960. local Color = Color3.new(1, 0, 1)
  3961. end
  3962. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3963. EffectPart.Anchored = true
  3964. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  3965. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  3966. game.Debris:AddItem(EffectPart, Time + 0.1)
  3967. EffectPart.Parent = game:GetService("Workspace")
  3968. delay(0, function()
  3969.  
  3970. local Frames = Time / Rate
  3971. for Frame = 1, Frames do
  3972. wait(Rate)
  3973. local Percent = Frame / Frames
  3974. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3975. TextLabel.TextTransparency = Percent
  3976. end
  3977. if EffectPart and EffectPart.Parent then
  3978. EffectPart:Destroy()
  3979. end
  3980. end
  3981. )
  3982. end
  3983. equip=function()
  3984. repeat wait() until Dmoves==false
  3985. input=""
  3986. Koy=""
  3987. ORH=Torso["Right Hip"]
  3988. OLW=Torso["Left Shoulder"]
  3989. OLH=Torso["Left Hip"]
  3990. ORW=Torso["Right Shoulder"]
  3991. ORH.Parent=nil
  3992. OLW.Parent=nil
  3993. OLH.Parent=nil
  3994. ORW.Parent=nil
  3995. Animate.Parent=nil
  3996. Animator.Parent=nil
  3997. RW.Parent=Torso
  3998. RW.Part0=Torso
  3999. RW.Part1=RightArm
  4000. RW.C0=CFrame.new(1.5, 0, 0)
  4001. RW.C1=CFrame.new(0, 0, 0)
  4002. LW.Parent=Torso
  4003. LW.Part0=Torso
  4004. LW.Part1=LeftArm
  4005. LW.C0=CFrame.new(-1.5, 0, 0)
  4006. LW.C1=CFrame.new(0, 0, 0)
  4007. RH.Parent=Torso
  4008. RH.Part0=Torso
  4009. RH.Part1=RightLeg
  4010. RH.C0=CFrame.new(.5, -2, 0)
  4011. RH.C1=CFrame.new(0, 0, 0)
  4012. LH.Parent=Torso
  4013. LH.Part0=Torso
  4014. LH.Part1=LeftLeg
  4015. LH.C0=CFrame.new(-.5, -2, 0)
  4016. LH.C1=CFrame.new(0, 0, 0)
  4017. RootJoint.C1 = CFrame.new(0, 0, 0)
  4018. RootJoint.C0 = CFrame.new(0, 0, 0)
  4019. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  4020. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  4021. equipped=true
  4022. doingmoves(true)
  4023. --hi
  4024. doingmoves(false)
  4025. end
  4026.  
  4027.  
  4028. de_equip=function()
  4029. if equipped==false then return end
  4030. repeat wait() until Dmoves==false
  4031. doingmoves(true)
  4032.  
  4033. --bye
  4034. doingmoves(false)
  4035. input=""
  4036. RW.Parent=nil
  4037. LW.Parent=nil
  4038. RH.Parent=nil
  4039. LH.Parent=nil
  4040.  
  4041. ORW.Parent=Torso
  4042. ORH.Parent=Torso
  4043. OLW.Parent=Torso
  4044. OLH.Parent=Torso
  4045. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  4046. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  4047. RootJoint.C0=clerp(RootJoint.C0,RootCF,1)
  4048. Animate.Parent=char
  4049. Animator.Parent=Humanoid
  4050. RootJoint.C1=r1m
  4051. RootJoint.C0=r0m
  4052. Neck.C1=n1m
  4053. Neck.C0=n0m
  4054. Humanoid.WalkSpeed=16
  4055. r1m=RootJoint.C1
  4056. r0m=RootJoint.C0
  4057. n1m=Neck.C1
  4058. n0m=Neck.C0
  4059. equipped=false
  4060. end
  4061. ------------------[[Attacks]]--------------------
  4062. MovesTable={}
  4063. table.insert(MovesTable,{["Key"] = "c" ,["Name"]="", ["CanCancel"] = false ,
  4064. ["Conditions"] = function()
  4065. local Viable = false
  4066. local Move = nil
  4067. for _,p in pairs(MovesTable) do
  4068. if p["Key"] == "c" then
  4069. Move = p
  4070. break
  4071. end
  4072. end
  4073.  
  4074. if CanCancel==true and cooldown3 >= co3 then
  4075. cooldown3=0
  4076. Viable=true
  4077. end
  4078.  
  4079. return Viable
  4080. end,
  4081. ["function"] = function()
  4082. doingmoves(true)
  4083. for i=1,10 do
  4084. swait()
  4085. PlayAnimationFromTable(AnimTab["C"](1),.3,false)
  4086. end
  4087. Humanoid.WalkSpeed=0
  4088. local lightning=true
  4089. p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  4090. p.CFrame=RootPart.CFrame*CFrame.new(0,17,0)
  4091. p.Transparency=1
  4092. local from=p
  4093. local bill=Instance.new("BillboardGui",p)
  4094. bill.Size=UDim2.new(15,0,15,0)
  4095. local ORGbill=bill
  4096. local billimg=Instance.new("ImageLabel",bill)
  4097. local ORGbillimg=billimg
  4098. billimg.BackgroundTransparency=1
  4099. billimg.Size=UDim2.new(1,0,1,0)
  4100. billimg.Image="rbxgameasset://Images/oyes"
  4101. billimg.ImageColor3=BrickColor.new("Lapis").Color
  4102.  
  4103. for i=1,5 do
  4104. swait()
  4105. local orb1=Instance.new("Part",EffectModel)
  4106. orb1.Anchored=false
  4107. orb1.Transparency=1
  4108. orb1.CanCollide=false
  4109. orb1.Size=Vector3.new()
  4110. local orb2=Instance.new("Part",orb1)
  4111. orb2.Anchored=false
  4112. orb2.Transparency=1
  4113. orb2.CanCollide=false
  4114. orb2.BrickColor=BrickColor.new("New Yeller")
  4115. orb2.Material = "Neon"
  4116. orb2.Size=Vector3.new()
  4117. local OrbMesh = Instance.new("SpecialMesh",orb2)
  4118. OrbMesh.MeshType="Sphere"
  4119. OrbMesh.Scale=Vector3.new(1,1,1)
  4120. local orbW = weld(orb1, orb1, RootPart,CFrame.new())
  4121. local orbW2 = weld(orb2, orb2, orb1, cf(0, 0, 0))
  4122. table.insert(Orbs, {orb1, "Orb", orb2, orbW, orbW2, 400, 0, CFrame.new(0, math.random(10,30), 0), 0, CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, math.random(2, 5) / 100, math.random(10, 15) / 100, math.random(2, 5) / 100, 0})
  4123. local pe=script.pe:clone()
  4124. pe.Parent=orb2
  4125. pe.Enabled=true
  4126. coroutine.resume(coroutine.create(function()
  4127. repeat wait() until lightning==false
  4128. pe.Enabled=false
  4129. game.Debris:AddItem(orb1,1)
  4130. end))
  4131. end
  4132. coroutine.resume(coroutine.create(function()
  4133. local num=0
  4134. while lightning do
  4135. num=num+1
  4136. if num>=3 then
  4137. num=0
  4138. so("206083232",RootPart,1,.8)
  4139. so("206083252",RootPart,1,2)
  4140. end
  4141. swait()
  4142. local ecksdee=27
  4143. billimg.Rotation=billimg.Rotation+5
  4144. Lightning2(from.Position,Torso.Position+Vector3.new(math.random(-ecksdee,ecksdee),0,math.random(-ecksdee,ecksdee)),6,2,"White",.5,.5,5)
  4145. end
  4146. for i=1,10 do
  4147. swait()
  4148. bill.Size=bill.Size+UDim2.new(1,0,1,0)
  4149. billimg.ImageTransparency=i/10
  4150. end
  4151. from:Destroy()
  4152. end))
  4153. for i=1,25 do
  4154. swait(2)
  4155. MagnitudeDamage(RootPart,28,1,Vector3.new(0,1,0)+DIR*5,0.5,"H2",0,false,false)
  4156. CamShake(RootPart,27,.4,5)
  4157. local p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  4158. p.CFrame=CFrame.new(Character.Torso.Position-Vector3.new(0,1.5,0))*CFrame.Angles(0,math.random(-50,50),0)
  4159. game:GetService("Debris"):AddItem(p,8)
  4160. local m=Instance.new("SpecialMesh",p)
  4161. m.MeshId="http://www.roblox.com/asset/?id=20329976"
  4162. m.Scale=Vector3.new(2,2,2)
  4163. coroutine.resume(coroutine.create(function(p,s)
  4164. for i=1, 20 do
  4165. p.Transparency=.5+i/20
  4166. m.Scale=m.Scale + Vector3.new(3.5,-.1,3.5)
  4167. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(10 + i),0) - Vector3.new(0,.05,0)
  4168. swait()
  4169. end
  4170. p:Remove()
  4171. end),p)
  4172.  
  4173. local p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  4174. p.CFrame=CFrame.new(Character.Torso.Position-Vector3.new(0,1.5,0))*CFrame.Angles(0,math.random(-50,50),0)
  4175. game:GetService("Debris"):AddItem(p,8)
  4176. local m=Instance.new("SpecialMesh",p)
  4177. m.MeshId="http://www.roblox.com/asset/?id=737406442"
  4178. m.Scale=Vector3.new(.1,0,.1)
  4179. coroutine.resume(coroutine.create(function(p,s)
  4180. for i=1, 20 do
  4181. p.Transparency=.5+i/20
  4182. m.Scale=m.Scale + Vector3.new(.01,0,.01)
  4183. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(10 + i),0)
  4184. swait()
  4185. end
  4186. p:Remove()
  4187. end),p)
  4188.  
  4189. end
  4190. lightning=false
  4191. doingmoves(false)
  4192. end})
  4193.  
  4194. table.insert(MovesTable,{["Key"] = "z" ,["Name"]="", ["CanCancel"] = false ,
  4195. ["Conditions"] = function()
  4196. local Viable = false
  4197. local Move = nil
  4198. for _,p in pairs(MovesTable) do
  4199. if p["Key"] == "z" then
  4200. Move = p
  4201. break
  4202. end
  4203. end
  4204.  
  4205. if CanCancel==true and cooldown1 >= co1 then
  4206. cooldown1=0
  4207. Viable=true
  4208. end
  4209.  
  4210. return Viable
  4211. end,
  4212. ["function"] = function()
  4213. doingmoves(true)
  4214. for i=1,10 do
  4215. swait()
  4216. PlayAnimationFromTable(AnimTab["Z"](1),.3,false)
  4217. local blast2=Par(EffectModel,"Effect","White",vt(.5,.5,.5),"Neon")
  4218. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4219. local m=Instance.new("SpecialMesh",blast2)
  4220. m.Scale=Vector3.new(1.5,1.5,1.5)
  4221. m.MeshType="Brick"
  4222. coroutine.resume(coroutine.create(function(p)
  4223. for i=1, 15 do
  4224. blast2.Transparency=i/15
  4225. m.Scale=m.Scale+Vector3.new(.1,.1,.1)
  4226. swait()
  4227. end
  4228. blast2:Remove()
  4229. end),p)
  4230.  
  4231. end
  4232.  
  4233. for i=1,8 do
  4234. BreakEffect(BrickColor.new("White"),RightArm.CFrame*CFrame.new(0,-1.4,0),math.random(20,50)/100,math.random(1,5)*3,math.random(20,50)/100)
  4235. end
  4236.  
  4237. local sref=part(3,nil,0,1,BrickColor.new("Black"),"Reference",vt())
  4238. sref.Anchored=true
  4239. for i=1,math.random(2,4) do
  4240. local MouseLook=cf((RootPart.Position+mouse.Hit.p)/2,mouse.Hit.p)
  4241. local hit,pos=rayCast(RootPart.Position,MouseLook.lookVector,9999,Character)
  4242. local random=cf(math.random(-1000,1000)/100,0,math.random(-1000,1000)/100)
  4243. sref.CFrame=cf(pos)*random
  4244. local hit,pos=rayCast(sref.Position,(CFrame.new(sref.Position,sref.Position - Vector3.new(0,1,0))).lookVector,999,Character)
  4245.  
  4246. local blast2=Par(EffectModel,"Effect","White",vt(1,1,1),"Neon")
  4247. blast2.CFrame=sref.CFrame
  4248. local m=Instance.new("CylinderMesh",blast2)
  4249. m.Scale=Vector3.new(10,.003,10)
  4250. local bmeo=Par(EffectModel,"Effect","Lapis",vt(1,1,1),"Neon")
  4251. bmeo.CFrame=sref.CFrame
  4252. local m=Instance.new("CylinderMesh",bmeo)
  4253. m.Scale=Vector3.new(10,.003,10)
  4254. bmeo.Mesh.Scale=Vector3.new(0,.005,0)
  4255. bmeo.Size=bmeo.Size+Vector3.new(0,0.1,0)
  4256. bmeo.BrickColor=BrickColor.new("Lapis")
  4257. bmeo.Transparency=0.5
  4258. local coo=sref.CFrame
  4259. coroutine.resume(coroutine.create(function(p)
  4260. for i=1, 50 do
  4261. local ee=10/50
  4262. bmeo.Mesh.Scale=bmeo.Mesh.Scale+Vector3.new(ee,0,ee)
  4263. swait()
  4264. end
  4265. for i=1, 2 do
  4266. p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  4267. p.CFrame=coo * CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4268. m=Instance.new("SpecialMesh")
  4269. m.MeshId="http://www.roblox.com/asset/?id=3270017"
  4270. m.Scale=Vector3.new(10,10,0)
  4271. m.Parent=p
  4272. game:GetService("Debris"):AddItem(p,5)
  4273. coroutine.resume(coroutine.create(function(p,l)
  4274. for i=1, 20 do
  4275. p.Transparency=.5+i/20
  4276. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(.5*3,.5*3,0)
  4277. swait()
  4278. end
  4279. p:Remove() end),p,3/3)
  4280. end
  4281.  
  4282. for i=1,8 do
  4283. BreakEffect(BrickColor.new("White"),coo*cf(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100),math.random(20,50)/100,math.random(1,5)*3,math.random(20,50)/100)
  4284. end
  4285. for loel = 1,2 do
  4286. local pc2 = Par2(Vector3.new(1, 1, 1), coo * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Deep orange", "BlockMesh", Vector3.new(3,3,3))
  4287. pc2.Parent = EffectModel
  4288. pc2.Anchored = true
  4289. pc2.CanCollide = false
  4290. game:GetService("Debris"):AddItem(pc2, 5)
  4291. pc2.Material="Neon"
  4292. coroutine.resume(coroutine.create(function(p, V, x)
  4293. for i = 1, 15 do
  4294. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 18, 14 + loel * 18, 14 + loel * 18) / 45
  4295. p.Transparency = 0.25 + i / 15
  4296. p.CFrame = p.CFrame * V
  4297. swait()
  4298. end
  4299. p:Remove()
  4300. end), pc2, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  4301. end
  4302. so("338594574",blast2,1,1)
  4303. MagnitudeDamage(blast2,12,math.random(13,20),Vector3.new(0,5,0)+DIR*13,0.5,"H2",0.1,false,false)
  4304. CamShake(blast2,12,.3,10)
  4305. for i=1,25 do
  4306. swait()
  4307. blast2.Transparency=i/25
  4308. bmeo.Transparency=0.5+i/25
  4309. end
  4310. bmeo.Parent=nil
  4311. blast2:Remove()
  4312. end),p)
  4313.  
  4314. end
  4315. sref:Destroy()
  4316. swait(10)
  4317. doingmoves(false)
  4318. end})
  4319.  
  4320. table.insert(MovesTable,{["Key"] = "x" ,["Name"]="", ["CanCancel"] = false ,
  4321. ["Conditions"] = function()
  4322. local Viable = false
  4323. local Move = nil
  4324. for _,p in pairs(MovesTable) do
  4325. if p["Key"] == "x" then
  4326. Move = p
  4327. break
  4328. end
  4329. end
  4330.  
  4331. if CanCancel==true and cooldown2>=co2 then
  4332. cooldown2=0
  4333. Viable=true
  4334. end
  4335.  
  4336. return Viable
  4337. end,
  4338. ["function"] = function()
  4339. doingmoves(true)
  4340. Humanoid.WalkSpeed=0
  4341.  
  4342. local goto=part(3,EffectModel,0,1,BrickColor.new("Black"),"Reference",vt())
  4343. goto.Anchored=true
  4344. goto.CFrame=RootPart.CFrame*CFrame.new(0,0,-10)
  4345. local startpos=part(3,EffectModel,0,1,BrickColor.new("Black"),"Reference",vt())
  4346. startpos.Anchored=true
  4347. startpos.Transparency=1
  4348. goto.Transparency=1
  4349. local num=0
  4350. for i=1,60 do
  4351. PlayAnimationFromTable(AnimTab["X"](1),.3,false)
  4352. swait()
  4353. local DIR=RootPart.CFrame.lookVector
  4354. local CPlayer=char
  4355. local p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  4356. p.Transparency=.5
  4357. p.Anchored=true
  4358. p.CFrame=CFrame.new(startpos.Position,CPlayer["HumanoidRootPart"].Position+DIR*20) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.random(-360,360),0)
  4359. m=Instance.new("SpecialMesh",p)
  4360. m.MeshId="http://www.roblox.com/asset/?id=20329976"
  4361. m.Scale=Vector3.new(2,2,2)
  4362. coroutine.resume(coroutine.create(function(p) for i=1, 15 do
  4363. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(1.5-i*.1,.15,1.5-i*.1)
  4364. p.Transparency=0.5+i/15
  4365. p.CFrame=p.CFrame*CFrame.new(0,.5,0)*CFrame.fromEulerAnglesXYZ(0,math.rad(8),0)
  4366. swait()
  4367. end
  4368. p:Destroy()
  4369. end),p)
  4370. startpos.CFrame=RootPart.CFrame*CFrame.new(0,.5,-3)
  4371. local hit,pos=rayCast(startpos.Position,startpos.CFrame.lookVector,100,Character)
  4372. goto.CFrame=CFrame.new(pos)
  4373. local endpos=goto
  4374. local beam=it("Part",EffectModel)
  4375. beam.Anchored=true
  4376. beam.CanCollide=false
  4377. beam.BrickColor=BrickColor.new("Lapis")
  4378. local beamM=it("CylinderMesh",beam)
  4379. beam.Material="Neon"
  4380. beam.Size = Vector3.new(2, (startpos.Position - endpos.Position).magnitude,2)
  4381. beam.CFrame = CFrame.new((startpos.Position+ endpos.Position)/2, startpos.Position) * CFrame.Angles(math.pi/2, 0, 0)
  4382. coroutine.resume(coroutine.create(function() for i=1,5 do swait() beam.Transparency=i/5 beamM.Scale=beamM.Scale+Vector3.new(.6,0,.6) end beam:Destroy() end))
  4383.  
  4384. num=num+1
  4385. if num>=3 then
  4386.  
  4387. local p =Par(EffectModel,"Effect","Black",vt(1,1,1),"Neon")
  4388. local s = math.random(1,35)/10
  4389. local m = Instance.new("BlockMesh",p)
  4390. m.Scale = Vector3.new(s,s,s)
  4391. p.CFrame = RootPart.CFrame*CFrame.new(math.random(-10,10),math.random(-2,4),math.random(-10,10))*CFrame.Angles(math.random(),math.random(),math.random())
  4392. coroutine.resume(coroutine.create(function(p)
  4393. for i=1,30 do
  4394. swait()
  4395. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.4,0)
  4396. p.Transparency = i/30
  4397. end p.Parent=nil end),p)
  4398.  
  4399. so("183763515", endpos, 1, 1.2)
  4400. so("178452221", endpos, 1, 0.7)
  4401. so("161006069", endpos, 1, 1)
  4402. num=0
  4403. MagnitudeDamage(endpos,10,1,Vector3.new(),.5,"H2",0,false,false)
  4404. CamShake(endpos,10,.2,8)
  4405. CamShake(RootPart,7,.2,8)
  4406. local blast2=Instance.new("Part",EffectModel)
  4407. blast2.Anchored=true
  4408. blast2.CanCollide=false
  4409. blast2.Size=Vector3.new(1,1,1)
  4410. blast2.CFrame=cf(pos)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4411. m=Instance.new("SpecialMesh",blast2)
  4412. m.Scale=Vector3.new(3.5,3.5,3.5)
  4413. m.MeshType="Brick"
  4414. blast2.BrickColor=BrickColor.new("Lapis")
  4415. blast2.Material="Neon"
  4416. coroutine.resume(coroutine.create(function(p)
  4417. local R = CFrame.Angles(math.random(-3,3),math.random(-4,4),math.random(-5,5))
  4418. local C = Vector3.new(math.random(-5,5)/40,math.random(-5,5)/40,math.random(-5,5)/40)
  4419. for i=1, 20 do
  4420. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1,1,1)/30
  4421. p.Transparency = .5 + i/40
  4422. p.CFrame = p.CFrame * R - Vector3.new(0,9.82/30/11*i,0) + C
  4423. swait()
  4424. end
  4425. p:Remove()
  4426. end),blast2)
  4427.  
  4428. p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  4429. p.CFrame=cf(pos)* CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4430. m=Instance.new("SpecialMesh")
  4431. m.MeshId="http://www.roblox.com/asset/?id=3270017"
  4432. m.Scale=Vector3.new(10,10,0)
  4433. m.Parent=p
  4434. game:GetService("Debris"):AddItem(p,5)
  4435. coroutine.resume(coroutine.create(function(p,l)
  4436. for i=1, 20 do
  4437. p.Transparency=.5+i/20
  4438. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(.5*1,.5*1,0)
  4439. swait()
  4440. end
  4441. p:Remove() end),p,3/3)
  4442. num=0
  4443. end
  4444. end
  4445.  
  4446. doingmoves(false)
  4447. end})
  4448.  
  4449.  
  4450. -------------[[Click Combo]]----------------------
  4451. ClickOne=function()
  4452. doingmoves(true)
  4453. for i=1,10 do
  4454. swait()
  4455. PlayAnimationFromTable(AnimTab["ClickCombo"](1),.3,false)
  4456. end
  4457. so("200632136",RightArm,1,1)
  4458. for i=1,10 do
  4459. local blast2=Par(EffectModel,"Effect","White",vt(.5,.5,.5),"Neon")
  4460. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4461. local m=Instance.new("SpecialMesh",blast2)
  4462. m.Scale=Vector3.new(1.5,1.5,1.5)
  4463. m.MeshType="Sphere"
  4464. coroutine.resume(coroutine.create(function(p)
  4465. for i=1, 15 do
  4466. blast2.Transparency=i/15
  4467. swait()
  4468. end
  4469. blast2:Remove()
  4470. end),p)
  4471. local blast2=Par(EffectModel,"Effect","Deep orange",vt(.5,.5,.5),"Neon")
  4472. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4473. local m=Instance.new("SpecialMesh",blast2)
  4474. m.Scale=Vector3.new(3,3,3)
  4475. m.MeshType="Sphere"
  4476. coroutine.resume(coroutine.create(function(p)
  4477. for i=1, 30 do
  4478. blast2.Transparency=i/15
  4479. swait()
  4480. end
  4481. blast2:Remove()
  4482. end),p)
  4483.  
  4484. MagnitudeDamage(RootPart,7,math.random(3,6),Vector3.new(0,2,0)+DIR*3,.5,"H2",.4,false,false)
  4485. swait()
  4486. PlayAnimationFromTable(AnimTab["ClickCombo"](2),.3,false)
  4487. end
  4488. doingmoves(false)
  4489. end
  4490.  
  4491. ClickTwo=function()
  4492. doingmoves(true)
  4493. for i=1,10 do
  4494. swait()
  4495. PlayAnimationFromTable(AnimTab["ClickCombo"](3),.3,false)
  4496. end
  4497. so("200632211",LeftLeg,1,1)
  4498. for i=1,10 do
  4499. local blast2=Par(EffectModel,"Effect","White",vt(.5,.5,.5),"Neon")
  4500. blast2.CFrame=LeftArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4501. m=Instance.new("SpecialMesh",blast2)
  4502. m.Scale=Vector3.new(1.5,1.5,1.5)
  4503. m.MeshType="Sphere"
  4504. coroutine.resume(coroutine.create(function(p)
  4505. for i=1, 15 do
  4506. blast2.Transparency=i/15
  4507. swait()
  4508. end
  4509. blast2:Remove()
  4510. end),p)
  4511. local blast2=Par(EffectModel,"Effect","Deep orange",vt(.5,.5,.5),"Neon")
  4512. blast2.CFrame=LeftArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4513. m=Instance.new("SpecialMesh",blast2)
  4514. m.Scale=Vector3.new(3,3,3)
  4515. m.MeshType="Sphere"
  4516. coroutine.resume(coroutine.create(function(p)
  4517. for i=1, 30 do
  4518. blast2.Transparency=i/15
  4519. swait()
  4520. end
  4521. blast2:Remove()
  4522. end),p)
  4523.  
  4524. MagnitudeDamage(RootPart,7,math.random(3,6),Vector3.new(0,2,0)+DIR*3,.5,"H2",.4,false,false)
  4525. swait()
  4526. PlayAnimationFromTable(AnimTab["ClickCombo"](4),.3,false)
  4527. end
  4528. doingmoves(false)
  4529. end
  4530.  
  4531. ClickThree=function()
  4532. doingmoves(true)
  4533. local swording=true
  4534. for i=1,10 do
  4535. swait()
  4536. PlayAnimationFromTable(AnimTab["ClickCombo"](5),.3,false)
  4537. end
  4538. local sword = script.sword:clone()
  4539. sword.Anchored=false
  4540. sword.Parent=EffectModel
  4541. sword.CFrame=RightArm.CFrame*CFrame.new(0,-1.1,-2.6)*CFrame.Angles(math.rad(-90),0,math.rad(0))
  4542. local w1=weldBetween(RightArm,sword)
  4543. local sword2 = script.sword:clone()
  4544. sword2.Anchored=false
  4545. sword2.Parent=EffectModel
  4546. sword2.CFrame=LeftArm.CFrame*CFrame.new(0,-1.1,-2.6)*CFrame.Angles(math.rad(-90),0,math.rad(0))
  4547. local w2=weldBetween(LeftArm,sword2)
  4548. coroutine.resume(coroutine.create(function(sw,sw2)
  4549. while swording do
  4550. swait()
  4551. local blast2=Par(EffectModel,"Effect","Lapis",vt(),"Neon")
  4552. local X=sword.Size.X
  4553. local Y=sword.Size.Y
  4554. local Z=sword.Size.Z
  4555. blast2.CFrame=sword.CFrame*CFrame.new(math.random(-X,X),math.random(-Y,Y),math.random(-Z,Z))*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4556. local m=Instance.new("SpecialMesh",blast2)
  4557. m.Scale=Vector3.new(4,4,4)
  4558. m.MeshType="Brick"
  4559. coroutine.resume(coroutine.create(function()
  4560. for i=1, 20 do
  4561. blast2.Transparency=0.25+ i/20
  4562. m.Scale=m.Scale-vt(-.1,-.1,-.1)
  4563. swait()
  4564. blast2.CFrame=blast2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4565. end
  4566. blast2:Remove()
  4567. end))
  4568. local blast2=Par(EffectModel,"Effect","Lapis",vt(),"Neon")
  4569. local X=4
  4570. local Y=sword.Size.Y
  4571. local Z=sword.Size.Z
  4572. blast2.CFrame=sword2.CFrame*CFrame.new(math.random(-X,X),math.random(-Y,Y),math.random(-Z,Z))*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4573. local m=Instance.new("SpecialMesh",blast2)
  4574. m.Scale=Vector3.new(4,4,4)
  4575. m.MeshType="Brick"
  4576. coroutine.resume(coroutine.create(function()
  4577. for i=1, 20 do
  4578. blast2.Transparency=0.25+ i/20
  4579. m.Scale=m.Scale-vt(-.1,-.1,-.1)
  4580. swait()
  4581. blast2.CFrame=blast2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4582. end
  4583. blast2:Remove()
  4584. end))
  4585.  
  4586. end
  4587. end))
  4588. so("199146359",sword,1,.6)
  4589. so("228343324",sword,.6,.5)
  4590. so("199146359",sword,1,.8)
  4591. for i=1,13 do
  4592. swait()
  4593. sword.Transparency=i/13
  4594. sword2.Transparency=i/13
  4595. PlayAnimationFromTable(AnimTab["ClickCombo"](6),.3,false)
  4596. MagnitudeDamage(RootPart,9,math.random(4,7),Vector3.new(0,2,0)+DIR*3,.5,"H2",.2,false,false)
  4597. end
  4598. sword.Parent=nil
  4599. sword2.Parent=nil
  4600. swording=false
  4601. doingmoves(false)
  4602. end
  4603.  
  4604. ClickFour=function()
  4605. doingmoves(true)
  4606. local ora=Instance.new("Part",EffectModel)
  4607. ora.Size=Vector3.new()
  4608. ora.Transparency=1
  4609. ora.Anchored=true
  4610. ora.CanCollide=false
  4611. ora.CFrame=RightArm.CFrame*CFrame.new(0,-1.4,0)
  4612. local pe = script.ora:Clone()
  4613. pe.Parent=ora
  4614. --pe.Enabled=true
  4615. for i=1,15 do
  4616. swait()
  4617. PlayAnimationFromTable(AnimTab["ClickCombo"](7),.3,false)
  4618. RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 1
  4619. ora.CFrame=RightArm.CFrame*CFrame.new(0,-1.4,0)
  4620. MagnitudeDamage(RootPart,7,math.random(5,8),Vector3.new(0,7,0)+DIR*8,.5,"H2",.6,false,false)
  4621. pe:Emit(10)
  4622. end
  4623. pe.Enabled=false
  4624. game.Debris:AddItem(ora,5)
  4625. doingmoves(false)
  4626. end
  4627. CanCancel=true
  4628. qhold=false
  4629. chold=false
  4630. dHold=false
  4631. aHold=false
  4632. facestate=""
  4633. facestating=false
  4634. ForwardKey=""
  4635. BackwardKey=""
  4636. mouse=Player:GetMouse()
  4637. MouseClicks=1
  4638. mouse.Button1Down:connect(function()
  4639. if equipped==false then return end
  4640. if Dmoves == false and MouseClicks == 1 then
  4641. MouseClicks = 2
  4642. ClickOne()
  4643. else
  4644. if Dmoves == false and MouseClicks == 2 then
  4645. MouseClicks = 3
  4646. ClickTwo()
  4647. else
  4648. if Dmoves == false and MouseClicks == 3 then
  4649. MouseClicks = 4
  4650. ClickThree()
  4651. else
  4652. if Dmoves==false and MouseClicks==4 then
  4653. MouseClicks=1
  4654. ClickFour()
  4655. end
  4656. end
  4657. end
  4658. end
  4659. end)
  4660.  
  4661.  
  4662. keyDOWN=function(key)
  4663. key=key:lower()
  4664. if key=="f" then
  4665. if equipped==false then
  4666. eq()
  4667. else
  4668. deq()
  4669. end
  4670. end
  4671. if equipped==false then return end
  4672. Koy = key
  4673. if key=="z" or key=="x" or key=="c" or key=="v" then
  4674. for _,m in pairs(MovesTable) do
  4675. if key == m["Key"] then
  4676. local Viable=m["Conditions"]()
  4677. if Viable then
  4678. m["function"]()
  4679. break
  4680. else
  4681. break
  4682. end
  4683. end
  4684. end
  4685. end
  4686. end
  4687.  
  4688. keyUP=function(key)
  4689. end
  4690.  
  4691. mouse.KeyDown:connect(keyDOWN)
  4692. mouse.KeyUp:connect(keyUP)
  4693. eq=function()
  4694. equip()
  4695. Humanoid.JumpPower=desiredjp
  4696. mouse=game.Players.LocalPlayer:GetMouse()
  4697. end
  4698.  
  4699. deq=function()
  4700. de_equip()
  4701. Humanoid.JumpPower=60
  4702. end
  4703.  
  4704. Humanoid.Died:connect( function()
  4705. equipped=false
  4706. end)
  4707. local num=0
  4708. ArtificialHB.Event:connect(function()
  4709. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  4710. local velocity = RootPart.Velocity.y
  4711. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  4712. if Dmoves==false and equipped==true then
  4713. num=num+1
  4714. if num>=2 then
  4715. num=0
  4716. local blast2=Instance.new("Part",EffectModel)
  4717. blast2.Anchored=true
  4718. blast2.CanCollide=false
  4719. blast2.Size=Vector3.new(1,1,1)
  4720. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-1.4,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4721. m=Instance.new("SpecialMesh",blast2)
  4722. m.Scale=Vector3.new(1.5,1.5,1.5)
  4723. m.MeshType="Brick"
  4724. blast2.BrickColor=BrickColor.new("Deep orange")
  4725. blast2.Material="Neon"
  4726. coroutine.resume(coroutine.create(function(p)
  4727. local R = CFrame.Angles(math.random(-3,3),math.random(-4,4),math.random(-5,5))
  4728. local C = Vector3.new(math.random(-5,5)/40,math.random(-5,5)/40,math.random(-5,5)/40)
  4729. for i=1, 20 do
  4730. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1,1,1)/30
  4731. p.Transparency = .5 + i/40
  4732. p.CFrame = p.CFrame * R - Vector3.new(0,9.82/30/11*i,0) + C
  4733. swait()
  4734. end
  4735. p:Remove()
  4736. end),blast2)
  4737. end
  4738. for i, v in pairs(Character:GetChildren()) do
  4739. if v:IsA'Model' then
  4740. for _, c in pairs(v:GetChildren()) do
  4741. if c:IsA'Part' then
  4742. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  4743. end
  4744. end
  4745. end
  4746. end
  4747. sine = sine + change
  4748. detect_state()
  4749. if Anim == "Jump" then
  4750. PlayAnimationFromTable(AnimTab["Jump"](1),.3,false)
  4751. end
  4752.  
  4753. if Anim == "Fall" then
  4754. PlayAnimationFromTable(AnimTab["Fall"](1),.3,false)
  4755. end
  4756.  
  4757. if Anim == "Idle" then
  4758. change=1.5
  4759. PlayAnimationFromTable(AnimTab["Idle"](1,sine),.3,false)
  4760. end
  4761.  
  4762. if Anim == "Walk" then
  4763. change = 1.5
  4764. local num=11
  4765. PlayAnimationFromTable(AnimTab["Walk"](1,sine,num),.3,false)
  4766. end
  4767. end
  4768. end)
  4769.  
  4770. print("osama's engine l0aded")
  4771. print("shark loaded")
  4772. local fold=Instance.new("Folder",Player.PlayerGui)
  4773. script.Parent=fold
  4774. coroutine.resume(coroutine.create(function()
  4775. while wait() do
  4776. fold.Archivable=false
  4777. Player.Archivable=false
  4778. Player.PlayerGui.Archivable=false
  4779. for i,v in pairs (fold:children()) do
  4780. v.Archivable=false
  4781. end
  4782. end
  4783. end))
  4784. updateskills = function()
  4785.  
  4786. if cooldown1 <= co1 then
  4787. cooldown1 = cooldown1 + 0.033333333333333
  4788. end
  4789. if cooldown2 <= co2 then
  4790. cooldown2 = cooldown2 + 0.033333333333333
  4791. end
  4792. if cooldown3 <= co3 then
  4793. cooldown3 = cooldown3 + 0.033333333333333
  4794. end
  4795. if cooldown4 <= co4 then
  4796. cooldown4 = cooldown4 + 0.033333333333333
  4797. end
  4798. end
  4799.  
  4800. while 1 do
  4801. if 0 < #Orbs then
  4802. for e = 1, #Orbs do
  4803. if Orbs[e] ~= nil then
  4804.  
  4805. local OrbProperty = Orbs[e]
  4806. OrbProperty[6] = OrbProperty[6] - 1
  4807. OrbProperty[7] = OrbProperty[7] + OrbProperty[12]
  4808. OrbProperty[9] = OrbProperty[9] + OrbProperty[13]
  4809. OrbProperty[11] = OrbProperty[11] + OrbProperty[14]
  4810. OrbProperty[4].C0 = OrbProperty[10]
  4811. OrbProperty[5].C0 = OrbProperty[8] * euler(OrbProperty[9], OrbProperty[7], OrbProperty[11])
  4812. end
  4813. end
  4814. end
  4815.  
  4816. if #Effects > 0 then
  4817. for e = 1, #Effects do
  4818. if Effects[e] ~= nil then
  4819. local Thing = Effects[e]
  4820. if Thing ~= nil then
  4821. local Part = Thing[1]
  4822. local Mode = Thing[2]
  4823. local Delay = Thing[3]
  4824. local IncX = Thing[4]
  4825. local IncY = Thing[5]
  4826. local IncZ = Thing[6]
  4827. if Thing[1].Transparency <= 1 then
  4828. if Thing[2] == "Block1" then
  4829. elseif Thing[2] == "Shatter" then
  4830. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4831. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  4832. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4833. Thing[6] = Thing[6] + Thing[5]
  4834. end
  4835. else
  4836. Part.Parent = nil
  4837. table.remove(Effects, e)
  4838. end
  4839. end
  4840. end
  4841. end
  4842. end
  4843.  
  4844. swait()
  4845. updateskills()
  4846. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  4847. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  4848. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  4849. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  4850. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement