Advertisement
StarzoZero

Roblox FE Disbelief Papyrus

Jan 5th, 2019
781
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.90 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by StarzoZero");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Papyrus doesn't believe in you anymore...")
  141.  
  142. p = game.Players.LocalPlayer
  143. char = p.Character
  144. torso = char.Torso
  145. hed = char.Head
  146. neck = char.Torso.Neck
  147. hum = char.Humanoid
  148. hum.MaxHealth = math.huge
  149. local msg = game:GetService("Chat")
  150. torso.BrickColor = BrickColor.new("Institutional white")
  151. hed.BrickColor = BrickColor.new("Institutional white")
  152. char["Right Arm"].BrickColor = BrickColor.new("Institutional white")
  153. char["Left Arm"].BrickColor = BrickColor.new("Institutional white")
  154. char["Left Leg"].BrickColor = BrickColor.new("Institutional white")
  155. char["Right Leg"].BrickColor = BrickColor.new("Institutional white")
  156. ypcall(function()
  157. shirt = Instance.new("Shirt", char)
  158. shirt.Name = "Shirt"
  159. pants = Instance.new("Pants", char)
  160. pants.Name = "Pants"
  161. char.Shirt.ShirtTemplate = "rbxassetid://527139198"
  162. char.Pants.PantsTemplate = "rbxassetid://1002356841"
  163. end)
  164. hed.face.Texture = "http://www.roblox.com/asset/?id=888434012"
  165. p1 = Instance.new("Part",char)
  166. p1.FormFactor = Enum.FormFactor.Custom
  167. p1.Size = Vector3.new(2,4,3)
  168. p1.CanCollide = false
  169. p1.Locked = true
  170. p1.BottomSurface = Enum.SurfaceType.Smooth
  171. p1.TopSurface = Enum.SurfaceType.Smooth
  172. SMesh = Instance.new("SpecialMesh", p1)
  173. SMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  174. SMesh.MeshType = Enum.MeshType.FileMesh
  175. SMesh.Name = "Mesh"
  176. SMesh.TextureId = "http://www.roblox.com/asset/?id=0"
  177. w1 = Instance.new("Weld", hed)
  178. w1.Part0 = hed
  179. w1.C0 = CFrame.new(0,0.76,0.2)*CFrame.Angles(0.3,0,0)
  180. w1.Part1 = p1
  181. w1.C1 = CFrame.new(0, 0, 0)
  182. CV="Maroon"
  183. Player = game.Players.LocalPlayer
  184. Character = Player.Character
  185. local txt = Instance.new("BillboardGui", Character)
  186. txt.Adornee = Character .Head
  187. txt.Name = "_status"
  188. txt.Size = UDim2.new(2, 0, 1.2, 0)
  189. txt.StudsOffset = Vector3.new(-9, 8, 0)
  190. local text = Instance.new("TextLabel", txt)
  191. text.Size = UDim2.new(10, 0, 7, 0)
  192. text.FontSize = "Size24"
  193. text.TextScaled = true
  194. text.TextTransparency = 0
  195. text.BackgroundTransparency = 1
  196. text.TextTransparency = 0
  197. text.TextStrokeTransparency = 0
  198. text.Font = "Bodoni"
  199. text.TextStrokeColor3 = Color3.new(255,85,0)
  200.  
  201. v=Instance.new("Part")
  202. v.Name = "ColorBrick"
  203. v.Parent=Player.Character
  204. v.FormFactor="Symmetric"
  205. v.Anchored=true
  206. v.CanCollide=false
  207. v.BottomSurface="Smooth"
  208. v.TopSurface="Smooth"
  209. v.Size=Vector3.new(10,5,3)
  210. v.Transparency=1
  211. v.CFrame=Character.Torso.CFrame
  212. v.BrickColor=BrickColor.new(CV)
  213. v.Transparency=1
  214. text.TextColor3 = Color3.new(255,170,0)
  215. v.Shape="Block"
  216. text.Text = "Papyrus Disbelief"
  217. ----------------------------------------------------
  218. z = Instance.new("Sound", char)
  219. z.SoundId = "rbxassetid://1046137668"
  220. z.Looped = true
  221. z.Pitch = 1
  222. z.Volume = 5
  223. wait(.001)
  224. z:Play()
  225. ----------------------------------------------------
  226. --Shark op
  227. --by osama44
  228. --for shark nigger
  229. --Converted to local by Scenius
  230.  
  231. Player=game.Players.LocalPlayer
  232. o1 = Instance.new("ParticleEmitter")
  233. o1.Name = "ora"
  234. o1.Parent = script
  235. o1.Transparency = NumberSequence.new(0,1)
  236. o1.Size = NumberSequence.new(1.5,3.5)
  237. o1.Color = ColorSequence.new(Color3.new(0, 0.333333, 1),Color3.new(0, 0.333333, 1))
  238. o1.Enabled = false
  239. o1.LightEmission = 1
  240. o1.Texture = "rbxassetid://243086902"
  241. o1.Lifetime = NumberRange.new(1,1)
  242. o1.Rate = 500
  243. o1.RotSpeed = NumberRange.new(90,90)
  244. o1.Speed = NumberRange.new(0,0)
  245. sv = Instance.new("Part")
  246. for i = 1, 2 do
  247. sv.Parent = script
  248. end
  249. sv.BrickColor = BrickColor.new("Deep orange")
  250. sv.Name = "sword"
  251. sv.Size = Vector3.new(0.248, 8.654, 1.153)
  252. sv.Orientation = Vector3.new(90, 90, 0)
  253. svm = Instance.new("FileMesh", sv)
  254. svm.MeshId = "rbxassetid://445556170"
  255. repeat wait() until Player.Character
  256. repeat wait() until #script:children() >= 0
  257. script.Parent=Player.PlayerGui
  258. Effects = { }
  259. --[[Credits to SazErenos for his Artificical Heartbeat]]--
  260. ArtificialHB = Instance.new("BindableEvent", script)
  261. ArtificialHB.Name = "Heartbeat"
  262.  
  263. script:WaitForChild("Heartbeat")
  264.  
  265. frame = 1 / 30
  266. tf = 0
  267. allowframeloss = false
  268. tossremainder = false
  269. lastframe = tick()
  270. script.Heartbeat:Fire()
  271.  
  272. game:GetService("RunService").Heartbeat:connect(function(s, p)
  273. tf = tf + s
  274. if tf >= frame then
  275. if allowframeloss then
  276. script.Heartbeat:Fire()
  277. lastframe = tick()
  278. else
  279. for i = 1, math.floor(tf / frame) do
  280. script.Heartbeat:Fire()
  281. end
  282. lastframe = tick()
  283. end
  284. if tossremainder then
  285. tf = 0
  286. else
  287. tf = tf - frame * math.floor(tf / frame)
  288. end
  289. end
  290. end)
  291.  
  292. function swait(num)
  293. if num == 0 or num == nil then
  294. ArtificialHB.Event:wait()
  295. else
  296. for i = 0, num do
  297. ArtificialHB.Event:wait()
  298. end
  299. end
  300. end
  301. ------------------[[Variables and Main Stuff]]--------------------
  302.  
  303.  
  304.  
  305. local Player = game.Players.localPlayer
  306. local Character = Player.Character
  307. local Humanoid = Character.Humanoid
  308. local char=Character
  309. local LeftArm = Character["Left Arm"]
  310. local RightArm = Character["Right Arm"]
  311. local LeftLeg = Character["Left Leg"]
  312. local RightLeg = Character["Right Leg"]
  313. local Head = Character.Head
  314. local Torso = Character.Torso
  315. local cam = game.Workspace.CurrentCamera
  316. local RootPart = Character.HumanoidRootPart
  317. local RootJoint = RootPart.RootJoint
  318. local equipped = false
  319. local attack = false
  320. local Anim = 'Idle'
  321. local idle = 0
  322. local attacktype = 1
  323. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  324. local velocity = RootPart.Velocity.y
  325. local sine = 0
  326. local change = 1
  327. local grabbed = false
  328. local cn = CFrame.new
  329. local mr = math.rad
  330. local angles = CFrame.Angles
  331. local ud = UDim2.new
  332. local c3 = Color3.new
  333. local ORW=Torso["Right Shoulder"]
  334. local OLW=Torso["Left Shoulder"]
  335. local OLH=Torso["Left Hip"]
  336. local ORH=Torso["Right Hip"]
  337. local DesiredSpeed=15
  338. local desiredjp=50
  339. EffectModel = Instance.new("Model", Character)
  340. it=Instance.new
  341. vt=Vector3.new
  342. cf=CFrame.new
  343. euler=CFrame.Angles
  344. EffectModel.Name = "Effects"
  345. local Animator=Humanoid.Animator
  346. local Animate=char.Animate
  347. local EffecMo=EffectModel
  348. euler=CFrame.Angles
  349. RotCF = euler(-1.57, 0, 3.14)
  350. it=Instance.new
  351. vt=Vector3.new
  352. LastMove=""
  353. Orbs={}
  354. EffecMo=EffectModel
  355. RootCF = CFrame.Angles(0, 0, 0)
  356. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  357. local RW=Instance.new("Motor",nil)
  358. RW.Name="Right Shoulder"
  359. local LW=Instance.new("Motor",nil)
  360. LW.Name="Left Shoulder"
  361. local RH=Instance.new("Motor",nil)
  362. RH.Name="Right Hip"
  363. local LH=Instance.new("Motor",nil)
  364. LH.Name="Left Hip"
  365. Neck=Torso.Neck
  366. r1m=RootJoint.C1
  367. r0m=RootJoint.C0
  368. n1m=Neck.C1
  369. n0m=Neck.C0
  370. local rarmc1 = RW.C1
  371. local larmc1 = LW.C1
  372. local rlegc1 = RH.C1
  373. local llegc1 = LH.C1
  374. local resetc1 = false
  375. Comboing=false
  376. HTime=0
  377. LastDamage=0
  378. ComboHits=0
  379.  
  380. local co1 = 10
  381. local co2 = 10
  382. local co3 = 20
  383. local co4 = 1
  384. local cooldown1 = 0
  385. local cooldown2 = 0
  386. local cooldown3 = 0
  387. local cooldown4 = 0
  388. local skillcolorscheme = BrickColor.new("Deep orange").Color
  389. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  390. makeframe = function(par, trans, pos, size, color)
  391.  
  392. local frame = Instance.new("Frame", par)
  393. frame.BackgroundTransparency = trans
  394. frame.BorderSizePixel = 0
  395. frame.Position = pos
  396. frame.Size = size
  397. frame.BackgroundColor3 = color
  398. return frame
  399. end
  400.  
  401. makelabel = function(par, text)
  402.  
  403. local label = Instance.new("TextLabel", par)
  404. label.BackgroundTransparency = 1
  405. label.Size = UDim2.new(1, 0, 1, 0)
  406. label.Position = UDim2.new(0, 0, 0, 0)
  407. label.TextColor3 = Color3.new(255, 255, 255)
  408. label.TextStrokeTransparency = 0
  409. label.FontSize = Enum.FontSize.Size32
  410. label.Font = Enum.Font.SourceSansLight
  411. label.BorderSizePixel = 0
  412. label.TextScaled = true
  413. label.Text = text
  414. end
  415.  
  416. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  417. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  418. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  419. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  420. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  421. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  422. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  423. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  424. text1 = Instance.new("TextLabel", framesk1)
  425. text1.BackgroundTransparency = 1
  426. text1.Size = UDim2.new(1, 0, 1, 0)
  427. text1.Position = UDim2.new(0, 0, 0, 0)
  428. text1.TextColor3 = Color3.new(255, 255, 255)
  429. text1.TextStrokeTransparency = 0
  430. text1.FontSize = Enum.FontSize.Size18
  431. text1.Font = Enum.Font.SourceSansLight
  432. text1.BorderSizePixel = 0
  433. text1.TextScaled = true
  434. text1.Text = "[Z]"
  435. text2 = Instance.new("TextLabel", framesk2)
  436. text2.BackgroundTransparency = 1
  437. text2.Size = UDim2.new(1, 0, 1, 0)
  438. text2.Position = UDim2.new(0, 0, 0, 0)
  439. text2.TextColor3 = Color3.new(255, 255, 255)
  440. text2.TextStrokeTransparency = 0
  441. text2.FontSize = Enum.FontSize.Size18
  442. text2.Font = Enum.Font.SourceSansLight
  443. text2.BorderSizePixel = 0
  444. text2.TextScaled = true
  445. text2.Text = "[X]"
  446. text3 = Instance.new("TextLabel", framesk3)
  447. text3.BackgroundTransparency = 1
  448. text3.Size = UDim2.new(1, 0, 1, 0)
  449. text3.Position = UDim2.new(0, 0, 0, 0)
  450. text3.TextColor3 = Color3.new(255, 255, 255)
  451. text3.TextStrokeTransparency = 0
  452. text3.FontSize = Enum.FontSize.Size18
  453. text3.Font = Enum.Font.SourceSansLight
  454. text3.BorderSizePixel = 0
  455. text3.TextScaled = false
  456. text3.Text = "[C]"
  457. text4 = Instance.new("TextLabel", framesk4)
  458. text4.BackgroundTransparency = 1
  459. text4.Size = UDim2.new(1, 0, 1, 0)
  460. text4.Position = UDim2.new(0, 0, 0, 0)
  461. text4.TextColor3 = Color3.new(255, 255, 255)
  462. text4.TextStrokeTransparency = 0
  463. text4.FontSize = Enum.FontSize.Size18
  464. text4.Font = Enum.Font.SourceSansLight
  465. text4.BorderSizePixel = 0
  466. text4.TextScaled = true
  467. text4.Text = "[V]"
  468.  
  469. ------------[[Particle Emitters]]---------------------
  470. local pe=Instance.new("ParticleEmitter",script)
  471. pe.Enabled=false
  472. pe.Name="pe"
  473. local col1= Color3.new(0, 85, 255)
  474. pe.Color=ColorSequence.new(col1)
  475. pe.Texture="rbxassetid://436792038"
  476. pe.LightEmission=1
  477. pe.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 1.65), NumberSequenceKeypoint.new(1, 0)})
  478. pe.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  479. pe.Lifetime=NumberRange.new(1.5)
  480. pe.Rate=500
  481. pe.Acceleration=Vector3.new(5,0,5)
  482. pe.Rotation=NumberRange.new(5)
  483. pe.RotSpeed=NumberRange.new(10)
  484. pe.Speed=NumberRange.new(5)
  485.  
  486. local pe=Instance.new("ParticleEmitter",script)
  487. pe.Enabled=false
  488. pe.Name="pe2"
  489. local col1= BrickColor.new("Deep orange").Color
  490. pe.Color=ColorSequence.new(col1)
  491. pe.Texture="rbxassetid://436792038"
  492. pe.LightEmission=.5
  493. pe.Size=NumberSequence.new({NumberSequenceKeypoint.new(0, 1.65), NumberSequenceKeypoint.new(1, 0)})
  494. pe.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  495. pe.Lifetime=NumberRange.new(1)
  496. pe.Rate=500
  497. pe.Rotation=NumberRange.new(5)
  498. pe.RotSpeed=NumberRange.new(10)
  499. pe.Speed=NumberRange.new(5)
  500. pe.VelocitySpread=360
  501.  
  502. ------------------[[Main Functions]]--------------------
  503.  
  504. function CameraShake(Times, Power)
  505. coroutine.resume(coroutine.create(function()
  506. FV = Instance.new("BoolValue", Character)
  507. FV.Name = "CameraShake"
  508. for ShakeNum=1,Times do
  509. swait()
  510. local ef=Power
  511. if ef>=1 then
  512. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  513. else
  514. ef=Power*10
  515. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  516. end
  517. end
  518. Humanoid.CameraOffset = Vector3.new(0,0,0)
  519. FV:Destroy()
  520. end))
  521. end
  522.  
  523. so = function(id, par, vol, pit)
  524. local sou = Instance.new("Sound", par or workspace)
  525. if par==char then sou.Parent=char.Torso end
  526. sou.Volume = vol
  527. sou.Pitch = pit or 1
  528. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  529. coroutine.resume(coroutine.create(function(Sound)
  530. swait()
  531. Sound:play()
  532. while sou.Parent.Parent ~= nil and sou.TimePosition >= sou.TimeLength do
  533. swait()
  534. end
  535. sou.Parent = char.Torso
  536. end), sou)
  537. game:GetService("Debris"):AddItem(sou, sou.TimeLength + 0.5)
  538. end
  539.  
  540. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  541. local fp = it("Part")
  542. fp.Parent = parent
  543. fp.Reflectance = reflectance
  544. fp.Transparency = transparency
  545. fp.CanCollide = false
  546. fp.Locked = true
  547. fp.BrickColor = brickcolor
  548. fp.Name = name
  549. fp.Size = size
  550. fp.Position = Torso.Position
  551. fp.Material = "SmoothPlastic"
  552. fp:BreakJoints()
  553. return fp
  554. end
  555. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  556. local mesh = it(Mesh)
  557. mesh.Parent = part
  558. if Mesh == "SpecialMesh" then
  559. mesh.MeshType = meshtype
  560. if meshid ~= "nil" then
  561. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  562. end
  563. end
  564. mesh.Offset = offset
  565. mesh.Scale = scale
  566. return mesh
  567. end
  568. local function weldBetween(a, b)
  569. local OR=CFrame.new(a.Position)
  570. local P1C, P2C=a.CFrame:inverse()*OR,b.CFrame:inverse()*OR
  571. local weld = Instance.new("ManualWeld", a)
  572. weld.Part0 = a
  573. weld.Part1 = b
  574. weld.C0 = P1C
  575. weld.C1=P2C
  576. return weld
  577. end
  578. lock=function(a,b)
  579. local vp2=Instance.new("BodyPosition",a)
  580. vp2.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  581. vp2.P=1e7
  582. vp2.D=1e3
  583. vp2.Position=b.Position
  584. local vp3=Instance.new("BodyGyro",a)
  585. vp3.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
  586. vp3.P=1e7
  587. vp3.D=1e3
  588. vp3.cframe=a.CFrame
  589. return vp2,vp3
  590. end
  591. weld = function(parent, part0, part1, c0)
  592. local weld = it("Motor")
  593. weld.Parent = parent
  594. weld.Part0 = part0
  595. weld.Part1 = part1
  596. weld.C0 = c0
  597. return weld
  598. end
  599. function NoOutline(Part)
  600. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  601. end
  602.  
  603. Par=function(Parent,Name,Col,size,Mater)
  604. p=Instance.new("Part",Parent)
  605. p.Anchored=true
  606. p.CanCollide=false
  607. p.BrickColor=BrickColor.new(Col)
  608. p.Locked=true
  609. NoOutline(p)
  610. p.Size=size or Vector3.new(1,1,1)
  611. p.Material=Mater
  612. return p
  613. end
  614. Par2=function(size,cframe,color,meshtype,meshscale) --returns a basic part for further manipulation
  615. local par = Instance.new("Part")
  616. par.formFactor="Custom"
  617. par.TopSurface=0
  618. par.BottomSurface=0
  619. par.Size=size
  620. par.CFrame=cframe
  621. par.BrickColor=BrickColor.new(color)
  622. if meshtype then
  623. local m = Instance.new(meshtype,par)
  624. m.Scale=meshscale
  625. end
  626. return par
  627. end
  628. BillboardGui = function(image, position, size)
  629. local billpar = Instance.new("Part")
  630. billpar.Transparency = 1
  631. billpar.formFactor = "Custom"
  632. billpar.Size = Vector3.new(1, 1, 1)
  633. billpar.Anchored = true
  634. billpar.CanCollide = false
  635. billpar.CFrame = CFrame.new(position)
  636. billpar.Name = "BillboardGuiPart"
  637. local bill = Instance.new("BillboardGui", billpar)
  638. bill.Adornee = billpar
  639. bill.Size = UDim2.new(1, 0, 1, 0)
  640. bill.SizeOffset = Vector2.new(size, size)
  641. local d = Instance.new("ImageLabel", bill)
  642. d.BackgroundTransparency = 1
  643. d.Size = UDim2.new(1, 0, 1, 0)
  644. d.Image = image
  645. return billpar
  646. end
  647. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  648. local gui = it(GuiType)
  649. gui.Parent = parent
  650. gui.Text = text
  651. gui.BackgroundTransparency = backtrans
  652. gui.BackgroundColor3 = backcol
  653. gui.SizeConstraint = "RelativeXY"
  654. gui.TextXAlignment = "Center"
  655. gui.TextYAlignment = "Center"
  656. gui.Position = pos
  657. gui.Size = size
  658. gui.Font = "SciFi"
  659. gui.FontSize = "Size14"
  660. gui.TextWrapped = false
  661. gui.TextStrokeTransparency = 0
  662. gui.TextColor3 = Color3.new(255,255,127)
  663. return gui
  664. end
  665.  
  666. local TotalSuppressedTable = {}
  667. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  668. local RbxUtility = LoadLibrary("RbxUtility")
  669. local Create = RbxUtility.Create
  670. 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})
  671. RemoveOutlines(Part)
  672. return Part
  673. end
  674.  
  675. function BreakEffect(brickcolor,cframe,x1,y1,z1) --Credits to Ace
  676. local prt=part(3,EffectModel,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  677. prt.Anchored=true
  678. prt.Material="Neon"
  679. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  680. game:GetService("Debris"):AddItem(prt,10)
  681. local msh=mesh("SpecialMesh",prt,"Sphere","nil",vt(0,0,0),vt(x1,y1,z1))
  682. local num=math.random(10,50)/1000
  683. table.insert(Effects,{prt,"Shatter",num,prt.CFrame,math.random()-math.random(),0,math.random(50,100)/100})
  684. end
  685.  
  686. local function CFrameFromTopBack(at, top, back)
  687. local right = top:Cross(back)
  688. return CFrame.new(at.x, at.y, at.z,
  689. right.x, top.x, back.x,
  690. right.y, top.y, back.y,
  691. right.z, top.z, back.z)
  692. end
  693. function clerp(a,b,t)
  694. return a:Lerp(b,t)
  695. end
  696. function QuaternionFromCFrame(cf)
  697. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  698. local trace = m00 + m11 + m22
  699. if trace > 0 then
  700. local s = math.sqrt(1 + trace)
  701. local recip = 0.5/s
  702. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  703. else
  704. local i = 0
  705. if m11 > m00 then
  706. i = 1
  707. end
  708. if m22 > (i == 0 and m00 or m11) then
  709. i = 2
  710. end
  711. if i == 0 then
  712. local s = math.sqrt(m00-m11-m22+1)
  713. local recip = 0.5/s
  714. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  715. elseif i == 1 then
  716. local s = math.sqrt(m11-m22-m00+1)
  717. local recip = 0.5/s
  718. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  719. elseif i == 2 then
  720. local s = math.sqrt(m22-m00-m11+1)
  721. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  722. end
  723. end
  724. end
  725. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  726. local xs, ys, zs = x + x, y + y, z + z
  727. local wx, wy, wz = w*xs, w*ys, w*zs
  728. local xx = x*xs
  729. local xy = x*ys
  730. local xz = x*zs
  731. local yy = y*ys
  732. local yz = y*zs
  733. local zz = z*zs
  734. 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))
  735. end
  736. function QuaternionSlerp(a, b, t)
  737. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  738. local startInterp, finishInterp;
  739. if cosTheta >= 0.0001 then
  740. if (1 - cosTheta) > 0.0001 then
  741. local theta = math.acos(cosTheta)
  742. local invSinTheta = 1/math.sin(theta)
  743. startInterp = math.sin((1-t)*theta)*invSinTheta
  744. finishInterp = math.sin(t*theta)*invSinTheta
  745. else
  746. startInterp = 1-t
  747. finishInterp = t
  748. end
  749. else
  750. if (1+cosTheta) > 0.0001 then
  751. local theta = math.acos(-cosTheta)
  752. local invSinTheta = 1/math.sin(theta)
  753. startInterp = math.sin((t-1)*theta)*invSinTheta
  754. finishInterp = math.sin(t*theta)*invSinTheta
  755. else
  756. startInterp = t-1
  757. finishInterp = t
  758. end
  759. end
  760. 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
  761. end
  762.  
  763. local newMotor = function(part0, part1, c0, c1)
  764. local w = Instance.new('Motor', part0)
  765. w.Part0 = part0
  766. w.Part1 = part1
  767. w.C0 = c0
  768. w.C1 = c1
  769. return w
  770. end
  771.  
  772. Triangle=function(a, b, c)
  773. local col=BrickColor.new("White")
  774. --Credit to Fenrier
  775. local edg1 = (c-a):Dot((b-a).unit)
  776. local edg2 = (a-b):Dot((c-b).unit)
  777. local edg3 = (b-c):Dot((a-c).unit)
  778. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  779. a, b, c = a, b, c
  780. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  781. a, b, c = b, c, a
  782. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  783. a, b, c = c, a, b
  784. else
  785. assert(false, "unreachable")
  786. end
  787.  
  788. local len1 = (c-a):Dot((b-a).unit)
  789. local len2 = (b-a).magnitude - len1
  790. local width = (a + (b-a).unit*len1 - c).magnitude
  791. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  792.  
  793. local list = {}
  794.  
  795. if len1 > 0.01 then
  796. local w1 = Instance.new('WedgePart', EffectModel)
  797. game:GetService("Debris"):AddItem(w1,5)
  798. coroutine.resume(coroutine.create(function(p)
  799. for i=1, 10 do
  800. p.Transparency=i/10
  801. swait()
  802. end
  803. p:Remove()
  804. end),w1)
  805. w1.FormFactor = "Custom"
  806. w1.BrickColor = col
  807. w1.Material = "SmoothPlastic"
  808. w1.CanCollide = false
  809. local sz = Vector3.new(0.2, width, len1)
  810. w1.Size = sz
  811. local sp = Instance.new("SpecialMesh",w1)
  812. sp.MeshType = "Wedge"
  813. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  814. w1:BreakJoints()
  815. w1.Anchored = true
  816. w1.Transparency = 0
  817. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  818. end
  819.  
  820. if len2 > 0.01 then
  821. local w2 = Instance.new('WedgePart', EffectModel)
  822. game:GetService("Debris"):AddItem(w2,5)
  823. coroutine.resume(coroutine.create(function(p)
  824. for i=1, 10 do
  825. p.Transparency=i/10
  826. swait()
  827. end
  828. p:Remove()
  829. end),w2)
  830.  
  831. w2.FormFactor = "Custom"
  832. w2.BrickColor = col
  833. w2.Material = "SmoothPlastic"
  834. w2.CanCollide = false
  835. local sz = Vector3.new(0.2, width, len2)
  836. w2.Size = sz
  837. local sp = Instance.new("SpecialMesh",w2)
  838. sp.MeshType = "Wedge"
  839. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  840. w2:BreakJoints()
  841. w2.Anchored = true
  842. w2.Transparency = 0
  843. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  844. end
  845. return unpack(list)
  846. end
  847.  
  848. osamachain = function(P0,P1,Color1,Color2,thickness1,thickness2,T)
  849. local Part0=P0.Position
  850. local Part1=P1.Position
  851. local magz = (Part0 - Part1).magnitude
  852. local curpos = Part0
  853. local parts = {}
  854. local lastpart=P0
  855. local model = Instance.new("Model",EffecMo)
  856. model.Name = "osama_chain"
  857. local par=model
  858. if par:FindFirstChild("TimeLeft")~=nil then
  859. par:FindFirstChild("TimeLeft"):Destroy()
  860. end
  861. local chains = {}
  862. local WAT=false
  863. local cb=Instance.new("Part",model)
  864. cb.Name="Main_chain"
  865. cb.Size=Vector3.new(.2,1,.2)
  866. cb.BrickColor=BrickColor.new(Color1)
  867. cb.Anchored=false
  868. cb.CanCollide=false
  869. cb.Locked=true
  870. cbM=Instance.new("CylinderMesh",cb)
  871. cbM.Name="Mesh"
  872. cb.CFrame = CFrame.new((Part0 + Part1)/2, Part0) * CFrame.Angles(math.pi/2, 0, 0)
  873. for j = 1, T do
  874. local Part0=P0.Position
  875. local Part1=P1.Position
  876. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/T).p
  877. local p = Instance.new("Part")
  878. p.Name="Outline"..j
  879. p.Size = Vector3.new(.2,1,.2)
  880. p.BrickColor = BrickColor.new(Color2)
  881. p.TopSurface = 0
  882. p.BottomSurface = 0
  883. p.CanCollide = false
  884. p.Locked=true
  885. p.Anchored=true
  886. p.Material = "Neon"
  887. p.TopSurface = 0
  888. p.BottomSurface = 0
  889. local mesh = Instance.new("CylinderMesh",p)
  890. mesh.Name = "Mesh"
  891. mesh.Scale = Vector3.new(1.5,magz/T,1.5)
  892. p.Parent = model
  893. p.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/T/2)
  894. curpos = p.CFrame*CFrame.new(0,0,magz/T/2).p
  895. p.CFrame=p.CFrame*CFrame.Angles(math.rad(90),0,0)
  896. p.Transparency=0.35
  897. local str=Instance.new("ObjectValue",p)
  898. str.Value=lastpart
  899. str.Name="LP"
  900. lastpart=p
  901. table.insert(parts,{p,p})
  902. table.insert(chains,{0,0,parts,0})
  903.  
  904. coroutine.resume(coroutine.create(function()
  905. while WAT==false do
  906. game:GetService("RunService").RenderStepped:wait()
  907. local Part0=P0.Position
  908. local Part1=P1.Position
  909. local ow=j
  910. local magz = (Part0 - Part1).magnitude
  911. local oldT=T
  912. local wtf=magz
  913. mesh.Scale = Vector3.new(thickness2,magz/T,thickness2)
  914. if ow>1 then
  915. local dangnigga=CFrame.new(str.Value.Position)*CFrame.new(0,0,wtf/oldT/2).p
  916. local trolpos = CFrame.new(dangnigga,Part1)*CFrame.new(0,0,wtf/oldT).p
  917. p.CFrame = CFrame.new(str.Value.Position,Part1)*CFrame.new(0,0,-(wtf/oldT))*CFrame.Angles(math.rad(90),0,0)
  918. end
  919. if ow<=1 then
  920. local dangnigga=Part0
  921. local trolpos = CFrame.new(dangnigga,Part1)*CFrame.new(0,0,wtf/oldT).p
  922. p.CFrame = CFrame.new(dangnigga,trolpos)*CFrame.new(0,0,wtf/oldT/2)*CFrame.Angles(math.rad(90),0,0)
  923. end
  924. end
  925. end))
  926. end
  927.  
  928.  
  929. coroutine.resume(coroutine.create(function()
  930. while WAT==false do
  931. local Part0=P0.Position
  932. local Part1=P1.Position
  933. cbM.Scale = Vector3.new(thickness1, (Part0 - Part1).magnitude, thickness1)
  934. cb.CFrame = CFrame.new((Part0 + Part1)/2, Part0) * CFrame.Angles(math.pi/2, 0, 0)
  935. for i, v in pairs(chains) do
  936. v[1] = v[1] %200 +4
  937. local dir = i%2 == 0 and 1 or -1
  938. for j, V in pairs(v[3]) do
  939. local val = math.sin(math.pi/2 * 2 * (((v[1] + (100 * j/#v[3])*dir) % 100)/100))
  940. V[2].Transparency = 0.12 + val * 0.85
  941. end
  942. end
  943. game:GetService("RunService").RenderStepped:wait()
  944. end
  945. end))
  946.  
  947. local t=Instance.new("BoolValue",par)
  948. t.Name="TimeLeft"
  949.  
  950. coroutine.resume(coroutine.create(function()
  951. repeat wait() until par:FindFirstChild("TimeLeft")==nil
  952. WAT=true
  953. for _,v in pairs(model:children()) do
  954. coroutine.resume(coroutine.create(function()
  955. for i=1,30 do
  956. swait()
  957. v.Mesh.Scale=v.Mesh.Scale-Vector3.new(.05,0,.05)
  958. v.Transparency=i/30
  959. end
  960. v:Destroy()
  961. end))
  962. game.Debris:AddItem(model,1)
  963. end
  964. end))
  965.  
  966. return t
  967. end
  968. AnimTab={}
  969. angles=CFrame.Angles
  970. euler=CFrame.fromEulerAnglesXYZ
  971. cf=CFrame.new
  972. AnimTab["Idle"]=function(frameN,sine)
  973. local frame={}
  974. frame[1]={
  975. 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),
  976. 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),
  977. 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))),
  978. 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),
  979. 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),
  980. 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),
  981. }
  982.  
  983. return frame[frameN]
  984. end
  985.  
  986. AnimTab["Walk"]=function(frameN,sine,num)
  987. local frame={}
  988. frame[1]={
  989. 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),
  990. 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),
  991. 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),
  992. 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),
  993. 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)),
  994. 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)),
  995. }
  996. return frame[frameN]
  997. end
  998.  
  999. AnimTab["Fall"]=function(frameN)
  1000. local frame={}
  1001. frame[1]={
  1002. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1003. 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),
  1004. 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),
  1005. 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),
  1006. 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),
  1007. 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),
  1008. }
  1009. return frame[frameN]
  1010. end
  1011.  
  1012. AnimTab["Jump"]=function(frameN)
  1013. local frame={}
  1014. frame[1]={
  1015. 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),
  1016. 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),
  1017. 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),
  1018. 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),
  1019. 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),
  1020. 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),
  1021. }
  1022. return frame[frameN]
  1023. end
  1024.  
  1025. AnimTab["ClickCombo"]=function(frameN)
  1026. local frame={}
  1027. frame[1]={
  1028. 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),
  1029. 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),
  1030. 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),
  1031. 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),
  1032. 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),
  1033. 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),
  1034. }
  1035. frame[2]={
  1036. 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),
  1037. 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),
  1038. 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),
  1039. 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),
  1040. 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),
  1041. 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),
  1042. }
  1043. frame[3]={
  1044. 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),
  1045. 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),
  1046. 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),
  1047. 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),
  1048. 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),
  1049. 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),
  1050. }
  1051. frame[4]={
  1052. 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),
  1053. 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),
  1054. 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),
  1055. 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),
  1056. 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),
  1057. 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),
  1058. }
  1059. frame[5]={
  1060. 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),
  1061. 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),
  1062. 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),
  1063. 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),
  1064. 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),
  1065. 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),
  1066. }
  1067. frame[6]={
  1068. 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),
  1069. 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),
  1070. 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),
  1071. 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),
  1072. 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),
  1073. 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),
  1074. }
  1075. frame[7]={
  1076. 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),
  1077. 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),
  1078. 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),
  1079. 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),
  1080. 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),
  1081. 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),
  1082. }
  1083. return frame[frameN]
  1084. end
  1085.  
  1086. AnimTab["C"]=function(frameN)
  1087. local frame={}
  1088. frame[1]={
  1089. 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),
  1090. 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),
  1091. 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),
  1092. 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),
  1093. 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),
  1094. 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),
  1095. }
  1096. return frame[frameN]
  1097. end
  1098.  
  1099. AnimTab["Z"]=function(frameN)
  1100. local frame={}
  1101. frame[1]={
  1102. 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),
  1103. 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),
  1104. 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),
  1105. 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),
  1106. 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),
  1107. 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),
  1108. }
  1109. return frame[frameN]
  1110. end
  1111.  
  1112. AnimTab["X"]=function(frameN)
  1113. local frame={}
  1114. frame[1]={
  1115. 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),
  1116. 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),
  1117. 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),
  1118. 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),
  1119. 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),
  1120. 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),
  1121. }
  1122. return frame[frameN]
  1123. end
  1124. lastcframe={RootJoint.C0,Neck.C0,RW.C0,LW.C0,RH.C0,LH.C0}
  1125. function PlayAnimationFromTable(tabl, speed, bool)
  1126. RootJoint.C0 = clerp(RootJoint.C0, tabl[1], speed)
  1127. Neck.C0 = clerp(Neck.C0, tabl[2], speed)
  1128. RW.C0 = clerp(RW.C0, tabl[3], speed)
  1129. LW.C0 = clerp(LW.C0, tabl[4], speed)
  1130. RH.C0 = clerp(RH.C0, tabl[5], speed)
  1131. LH.C0 = clerp(LH.C0, tabl[6], speed)
  1132. lastcframe={RootJoint.C0,Neck.C0,RW.C0,LW.C0,RH.C0,LH.C0}
  1133. if bool == true then
  1134. if resetc1 == false then
  1135. resetc1 = true
  1136. RootJoint.C1 = RootJoint.C1
  1137. Torso.Neck.C1 = Torso.Neck.C1
  1138. RW.C1 = rarmc1
  1139. LW.C1 = larmc1
  1140. RH.C1 = rlegc1
  1141. LH.C1 = llegc1
  1142. end
  1143. end
  1144.  
  1145. end
  1146.  
  1147. CamShake=function(Part,Distan,Power,Times)
  1148. local de=Part.Position
  1149. for i,v in pairs(workspace:children()) do
  1150. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  1151. for _,c in pairs(v:children()) do
  1152. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  1153. local Noob=v.Humanoid
  1154. if Noob~=nil then
  1155. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  1156. --[[local ss=script.CamShake:clone()
  1157. ss.Parent=Noob
  1158. ss.Power.Value=Power
  1159. ss.Times.Value=Times
  1160. ss.Disabled=false]]
  1161. CameraShake(Times, Power)
  1162. end
  1163. end
  1164. end
  1165. end
  1166. end
  1167. end
  1168. end
  1169.  
  1170. local RbxUtility = LoadLibrary("RbxUtility")
  1171. local Create = RbxUtility.Create
  1172.  
  1173. function RemoveOutlines(part)
  1174. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1175. end
  1176.  
  1177. function rayCast(Position, Direction, Range, Ignore)
  1178. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1179. end
  1180. function rayCastWithIngore(Position, Direction, Range, Ignore)
  1181. return game:service("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1182. end
  1183.  
  1184. detect_state = function()
  1185. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1186. velocity = RootPart.Velocity.y
  1187. sine = sine + change
  1188. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1189. if equipped == true then
  1190. if RootPart.Velocity.y > 1 and hit == nil then
  1191. Anim = "Jump"
  1192. elseif RootPart.Velocity.y < -1 and hit == nil then
  1193. Anim = "Fall"
  1194. elseif Torsovelocity < 1 and hit ~= nil then
  1195. Anim = "Idle"
  1196. elseif Torsovelocity > 2 and hit ~= nil then
  1197. Anim = "Walk"
  1198. end
  1199. end
  1200. end
  1201.  
  1202. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  1203. local magz = (Part0 - Part1).magnitude
  1204. local curpos = Part0
  1205. local trz = {-Offset,Offset}
  1206. for i=1,Times do
  1207. local li =Par(EffectModel,"Lightning",Color,Vector3.new(Thickness,Thickness,magz/Times),"Neon")
  1208. li.Transparency = Trans
  1209. li.BrickColor = BrickColor.new(Color)
  1210. ora=Instance.new("BlockMesh",li)
  1211. ora.Scale=Vector3.new(Thickness,Thickness,1)
  1212. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1213. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1214. if Times == i then
  1215. local magz2 = (curpos - Part1).magnitude
  1216. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1217. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1218. else
  1219. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1220. end
  1221. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1222. game.Debris:AddItem(li,.1)
  1223. end
  1224. end
  1225. function Lightning2(Part0,Part1,Times,Offset,Color,Thickness,Trans,V) -- Lightning module
  1226. local magz = (Part0 - Part1).magnitude
  1227. local curpos = Part0
  1228. local trz = {-Offset,Offset}
  1229. for i=1,Times do
  1230. local li =Par(EffectModel,"Lightning",Color,Vector3.new(Thickness,Thickness,magz/Times),"Neon")
  1231. li.Transparency = Trans
  1232. ora=Instance.new("BlockMesh",li)
  1233. ora.Scale=Vector3.new(Thickness,Thickness,1)
  1234. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1235. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1236. if Times == i then
  1237. local magz2 = (curpos - Part1).magnitude
  1238. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1239. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1240. else
  1241. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1242. end
  1243. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1244. coroutine.resume(coroutine.create(function()
  1245. for i=1,V do
  1246. swait()
  1247. li.Transparency=i/V
  1248. end
  1249. li:Destroy()
  1250. end))
  1251. end
  1252. end
  1253. function Lightning3(Part0,Part1,Times,Offset,Color,Thickness,Trans,last) -- Lightning module
  1254. local magz = (Part0 - Part1).magnitude
  1255. local curpos = Part0
  1256. local trz = {-Offset,Offset}
  1257. for i=1,Times do
  1258. local li =Par(EffectModel,"Lightning",Color,Vector3.new(Thickness,Thickness,magz/Times),"Neon")
  1259. li.Transparency = Trans
  1260. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1261. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1262. if Times == i then
  1263. local magz2 = (curpos - Part1).magnitude
  1264. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1265. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1266. else
  1267. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1268. end
  1269. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1270. game.Debris:AddItem(li,5)
  1271. coroutine.resume(coroutine.create(function()
  1272. for i=1,20 do
  1273. swait()
  1274. li.Transparency=li.Transparency+last
  1275. end
  1276. li:Destroy()
  1277. end))
  1278. end
  1279. end
  1280.  
  1281. GET_THE_NEAREST_FAGGOT = function(pos)
  1282. local list = (game.Workspace:children())
  1283. local torso = nil
  1284. local DISTANCE_u_BITCH = 1000
  1285. local temp, human, temp2 = nil, nil, nil
  1286. for x = 1, #list do
  1287. temp2 = list[x]
  1288. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1289. temp = temp2:findFirstChild("Torso")
  1290. human = temp2:findFirstChild("Humanoid")
  1291. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < DISTANCE_u_BITCH then
  1292. local FOUND_YOU = true
  1293. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(temp.Parent) ~= nil then
  1294. FOUND_YOU = false
  1295. end
  1296. if FOUND_YOU == true then
  1297. torso = temp
  1298. DISTANCE_u_BITCH = (temp.Position - pos).magnitude
  1299. end
  1300. end
  1301. end
  1302. end
  1303. return torso, DISTANCE_u_BITCH
  1304. end
  1305. Damagefunc=function(hit,Damage, knockback,tiem, Type, Delay,stun,removebodypos)
  1306. local Hited=false
  1307. if hit.Parent == nil then
  1308. return
  1309. end
  1310.  
  1311. h = hit.Parent:FindFirstChild("Humanoid")
  1312. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1313. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1314. return
  1315. end
  1316. if h.Health<=0 then return end
  1317. h = hit.Parent:FindFirstChild("Humanoid")
  1318. c = Instance.new("ObjectValue")
  1319. c.Name = "creator"
  1320. c.Value = game:service("Players").LocalPlayer
  1321. c.Parent = h
  1322. game:GetService("Debris"):AddItem(c, 0.5)
  1323. if Type=="H2" then
  1324. 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))
  1325. eff.Parent = EffectModel
  1326. eff.Name = "BloodEffect"
  1327. eff.Mesh.MeshType = "Sphere"
  1328. eff.Anchored = true
  1329. eff.CanCollide = false
  1330. game:GetService("Debris"):AddItem(eff, 5)
  1331. coroutine.resume(coroutine.create(function(p, A)
  1332. local R = Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)) / 50
  1333. for i = 1, 6 do
  1334. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(0.85, 0.85, 0.85)
  1335. p.Transparency =1
  1336. p.CFrame = p.CFrame * A
  1337. swait()
  1338. end
  1339. p:Remove()
  1340. 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)
  1341. local eb = BillboardGui("http://www.roblox.com/asset/?id=233069772", eff.Position, 0)
  1342. eb.Parent = EffectModel
  1343. eb.BillboardGui.ImageLabel.ImageColor3=Color3.new(255, 0, 0)
  1344. eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
  1345. eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
  1346. game:GetService("Debris"):AddItem(eb, 3)
  1347. coroutine.resume(coroutine.create(function(p)
  1348. local r = math.random(-3, 3) * 9
  1349. if r > -12 and r < 1 then
  1350. r = -12
  1351. else
  1352. if r < 12 and r > -1 then
  1353. r = 12
  1354. end
  1355. end
  1356. for i = 1, 6 do
  1357. p.BillboardGui.ImageLabel.ImageTransparency = 0.25 + i / 6
  1358. p.BillboardGui.Size = UDim2.new(2 + i / 1.75, 0, 2 + i / 1.75, 0)
  1359. p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
  1360. swait()
  1361. end
  1362. p:Remove()
  1363. end), eb)
  1364.  
  1365. local hitnum = math.random(1, 8)
  1366. if hitnum == 1 then
  1367. so("153092274", hit, 1, 1)
  1368. end
  1369. if hitnum == 2 then
  1370. so("199149186", hit, 2, .5)
  1371. end
  1372. if hitnum == 3 then
  1373. so("153092296", hit, 1, .3)
  1374. end
  1375. if hitnum == 4 then
  1376. so("199149235", hit, 1, .5)
  1377. end
  1378. if hitnum == 5 then
  1379. so("199149269", hit, 1, .4)
  1380. end
  1381. if hitnum == 6 then
  1382. so("199149297", hit, 1, .5)
  1383. end
  1384. if hitnum == 7 then
  1385. so("201858024", hit, 1, .6)
  1386. end
  1387. if hitnum == 8 then
  1388. so("201858024", hit, 1, .5)
  1389. end
  1390. end
  1391.  
  1392. if Type=="H1" then
  1393. local hitnum=math.random(2,4)
  1394. p=Par(EffectModel,"EffectHi","White",Vector3.new(1,1,1),"SmoothPlastic")
  1395. p.CFrame=hit.Parent.Torso.CFrame
  1396. m=Instance.new("SpecialMesh")
  1397. m.MeshType="Sphere"
  1398. m.Parent=p
  1399. game:GetService("Debris"):AddItem(p,5)
  1400. coroutine.resume(coroutine.create(function(p)
  1401. for i=1, 8 do
  1402. p.Transparency=i/8
  1403. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(.5,.5,.5)
  1404. swait(.5)
  1405. end
  1406. p:Remove() end),p)
  1407.  
  1408. if hitnum==1 then
  1409. so("153092274", hit, 1, 1)
  1410. else
  1411. if hitnum == 2 then
  1412. so("153092217", hit, 1, 1)
  1413. else
  1414. if hitnum == 3 then
  1415. so("153092227", hit, 1, 1)
  1416. else
  1417. if hitnum == 4 then
  1418. so("153092238", hit, 1, 1)
  1419. end
  1420. end
  1421. end end
  1422. end
  1423.  
  1424. Noob=hit.Parent
  1425. HTime=time()+1.8
  1426. LastDamage=LastDamage + Damage*1
  1427. ComboHits=ComboHits+1
  1428. Comboing=true
  1429. Hited=true
  1430. local ded=false
  1431. Comboing=true
  1432.  
  1433. h:TakeDamage(Damage)
  1434. local Part=hit
  1435. 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)
  1436. if stun==true then
  1437. local t=hit.Parent.Torso
  1438. if hit.Parent.Torso:FindFirstChild("EBOLA")==nil then
  1439. local r=Instance.new("BodyGyro")
  1440. r.P=1e7
  1441. r.D=1e3
  1442. r.maxTorque=Vector3.new(50000,50000,50000)*50000000000
  1443. r.cframe=r.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  1444. r.Parent=t
  1445. game:GetService("Debris"):AddItem(r,1)
  1446. r.Name="EBOLA"
  1447. local fff=Instance.new("BodyForce")
  1448. fff.force=Vector3.new(0,1200,0)
  1449. fff.Parent=t
  1450. game:GetService("Debris"):AddItem(fff,1)
  1451. local hum = hit.Parent.Humanoid
  1452. local bodvol = Instance.new("BodyVelocity")
  1453. bodvol.velocity = Vector3.new(0,0,0)+RootPart.CFrame.lookVector*4
  1454. bodvol.Name="EBOLA"
  1455. bodvol.P = 4000
  1456. bodvol.maxForce=Vector3.new(50000000,5000000,50000000)*10000
  1457. bodvol.Parent = hit
  1458. game.Debris:AddItem(bodvol,.5)
  1459.  
  1460. end
  1461.  
  1462. end
  1463. if stun~=true then
  1464. if removebodypos==true then
  1465. for _,v in pairs(hit:children()) do
  1466. if v.ClassName=="BodyPosition" or v.ClassName=="BodyVelocity" then
  1467. v.Parent=nil
  1468. end
  1469. end
  1470. end
  1471. local hum = hit.Parent.Humanoid
  1472. if hit:FindFirstChild("EBOLA")~=nil then hit:FindFirstChild("EBOLA").Parent=nil end
  1473. local bodvol = Instance.new("BodyVelocity")
  1474. bodvol.Name="EBOLA"
  1475. bodvol.velocity = knockback
  1476. bodvol.P = 4000
  1477. bodvol.maxForce=Vector3.new(50000000,5000000,50000000)*10000
  1478. bodvol.Parent = hit
  1479. game.Debris:AddItem(bodvol,tiem)
  1480.  
  1481. end
  1482.  
  1483. local debounce = Instance.new("BoolValue")
  1484. debounce.Name = "DebounceHit"
  1485. debounce.Parent = hit.Parent
  1486. debounce.Value = true
  1487. game:GetService("Debris"):AddItem(debounce, Delay)
  1488. c = Instance.new("ObjectValue")
  1489. c.Name = "creator"
  1490. c.Value = Player
  1491. c.Parent = h
  1492. game:GetService("Debris"):AddItem(c, 0.5)
  1493. local CRIT = false
  1494. end
  1495. end
  1496. function MagnitudeDamage(Part, magni,Damage, knockback,tiem, Type, Delay ,stun,removebodypos)
  1497. for _, c in pairs(workspace:children()) do
  1498. local hum = c:findFirstChild("Humanoid")
  1499. if hum ~= nil then
  1500. local head = c:findFirstChild("Torso")
  1501. if head ~= nil then
  1502. local targ = head.Position - Part.Position
  1503. local mag = targ.magnitude
  1504. if mag <= magni and c.Name ~= Player.Name then
  1505. Damagefunc(head,Damage, knockback,tiem, Type, Delay,stun,removebodypos)
  1506. end
  1507. end
  1508. end
  1509. end
  1510. end
  1511. Cooldown=function(name,duration)
  1512. local t=Instance.new("BoolValue",char)
  1513. t.Name=name
  1514. coroutine.resume(coroutine.create(function()
  1515. swait((duration*30)-1)
  1516. game.Debris:AddItem(t,.1)
  1517. end))
  1518. end
  1519.  
  1520. Koy=""
  1521. Dmoves=nil
  1522.  
  1523. Stop = function()
  1524. canjump = false
  1525. end
  1526. Resume= function()
  1527. canjump = true
  1528. end
  1529.  
  1530. Player.Character.Humanoid.Changed:connect(function()
  1531. if canjump == false then
  1532. Player.Character.Humanoid.Jump = false
  1533. end
  1534. end)
  1535.  
  1536. doingmoves=function(value)
  1537. if value==true then
  1538. LastMove=""
  1539. Stop()
  1540. input=""
  1541. Koy=""
  1542. CanCancel=false
  1543. Dmoves=true
  1544. DIR=RootPart.CFrame.lookVector
  1545. end
  1546.  
  1547. if value==false then
  1548. Dmoves=false
  1549. LastMove=""
  1550. Koy=""
  1551. if Dmoves==false then
  1552. CanCancel=true
  1553. char.Humanoid.WalkSpeed=DesiredSpeed
  1554. Resume()
  1555. end
  1556. Dmoves=false
  1557. end
  1558.  
  1559. end
  1560.  
  1561. Dmoves=false
  1562.  
  1563. input=""
  1564. age=0
  1565. cam_ing=false
  1566. local Input_MaxTime=.8
  1567. local Input_Time=Input_MaxTime
  1568. local Input_Addition=.2
  1569. local Input_Lose=.1
  1570. local Max_Input=20
  1571. local Running_Timer=false
  1572.  
  1573. coroutine.resume(coroutine.create(function()
  1574. while true do
  1575. swait()
  1576. if Input_Time>0 then
  1577. Input_Time=Input_Time-Input_Lose
  1578. elseif Input_Time < 0 then
  1579. Input_Time=0
  1580. input=""
  1581. elseif Input_Time == 0 then
  1582. input=""
  1583. elseif Input_Time > Input_MaxTime then
  1584. Input_Time = Input_MaxTime
  1585. end
  1586. end
  1587. end))
  1588.  
  1589. getDirection=function()
  1590. local par=RootPart
  1591. Cam=workspace.CurrentCamera
  1592. 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)}
  1593. end
  1594. getrek=function()
  1595. Cam=workspace.CurrentCamera
  1596. Cam=workspace.CurrentCamera
  1597. 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)}
  1598. end
  1599. FaceMouse=function()
  1600. Cam=workspace.CurrentCamera
  1601. 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)}
  1602. end
  1603. FaceForward=function()
  1604. RootPart.CFrame=getDirection()[1]
  1605. return RootPart.CFrame
  1606. end
  1607.  
  1608.  
  1609. ph0segui = function(Char, Dealt,color)
  1610. local holder = Instance.new("Model",Char)
  1611. holder.Name = "Effect"
  1612. local c = Par(holder,"Head","White",Vector3.new(1, 0.4, 1),"SmoothPlastic")
  1613. c.Transparency = 1
  1614. local b = Instance.new("BillboardGui", c)
  1615. b.Size = UDim2.new(5, 0, 5, 0)
  1616. b.AlwaysOnTop = true
  1617. local damgui = it("TextLabel")
  1618. damgui.Parent = b
  1619. damgui.Text = Dealt
  1620. damgui.BackgroundTransparency = 1
  1621. damgui.BackgroundColor3 = Color3.new(0, 0, 0)
  1622. damgui.SizeConstraint = "RelativeXY"
  1623. damgui.TextXAlignment = "Center"
  1624. damgui.TextYAlignment = "Center"
  1625. damgui.Position = UDim2.new(0, 0, 0, 0)
  1626. damgui.Size = UDim2.new(1, 0, 1, 0)
  1627. damgui.Font = "ArialBold"
  1628. damgui.FontSize = "Size14"
  1629. damgui.TextWrapped = false
  1630. damgui.TextStrokeTransparency = 0
  1631. damgui.TextColor3 = BrickColor.new(color).Color
  1632. damgui.TextScaled = true
  1633. local ms = Instance.new("CylinderMesh")
  1634. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  1635. ms.Parent = c
  1636. c.Reflectance = 0
  1637. Instance.new("BodyGyro").Parent = c
  1638. c.Parent = holder
  1639. if Char:findFirstChild("Head") ~= nil then
  1640. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  1641. else
  1642. if Char.Parent:findFirstChild("Head") ~= nil then
  1643. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  1644. end
  1645. end
  1646. local f = Instance.new("BodyPosition")
  1647. f.P = 2000
  1648. f.D = 100
  1649. f.maxForce = Vector3.new(545000, 545000, 545000)
  1650. f.position = c.Position + Vector3.new(0, 1, 0)
  1651. f.Parent = c
  1652. c.CanCollide = false
  1653. c.CanCollide = false
  1654. coroutine.resume(coroutine.create(function()
  1655. swait(20)
  1656. for i=1,15 do
  1657. swait()
  1658. damgui.TextTransparency=i/15
  1659. damgui.TextStrokeTransparency=i/15
  1660. f.position=f.position+Vector3.new(0,.3,0)
  1661. end
  1662. end))
  1663. game:GetService("Debris"):AddItem(m, 1)
  1664. end
  1665. mouse=nil
  1666. ShowDamage = function(Pos, Text, Time, Color)
  1667.  
  1668. local Rate = 0.033333333333333
  1669. if not Pos then
  1670. local Pos = Vector3.new(0, 0, 0)
  1671. end
  1672. local Text = Text or ""
  1673. local Time = Time or 2
  1674. if not Color then
  1675. local Color = Color3.new(1, 0, 1)
  1676. end
  1677. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1678. EffectPart.Anchored = true
  1679. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  1680. 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})
  1681. game.Debris:AddItem(EffectPart, Time + 0.1)
  1682. EffectPart.Parent = game:GetService("Workspace")
  1683. delay(0, function()
  1684.  
  1685. local Frames = Time / Rate
  1686. for Frame = 1, Frames do
  1687. wait(Rate)
  1688. local Percent = Frame / Frames
  1689. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1690. TextLabel.TextTransparency = Percent
  1691. end
  1692. if EffectPart and EffectPart.Parent then
  1693. EffectPart:Destroy()
  1694. end
  1695. end
  1696. )
  1697. end
  1698. equip=function()
  1699. repeat wait() until Dmoves==false
  1700. input=""
  1701. Koy=""
  1702. ORH=Torso["Right Hip"]
  1703. OLW=Torso["Left Shoulder"]
  1704. OLH=Torso["Left Hip"]
  1705. ORW=Torso["Right Shoulder"]
  1706. ORH.Parent=nil
  1707. OLW.Parent=nil
  1708. OLH.Parent=nil
  1709. ORW.Parent=nil
  1710. Animate.Parent=nil
  1711. Animator.Parent=nil
  1712. RW.Parent=Torso
  1713. RW.Part0=Torso
  1714. RW.Part1=RightArm
  1715. RW.C0=CFrame.new(1.5, 0, 0)
  1716. RW.C1=CFrame.new(0, 0, 0)
  1717. LW.Parent=Torso
  1718. LW.Part0=Torso
  1719. LW.Part1=LeftArm
  1720. LW.C0=CFrame.new(-1.5, 0, 0)
  1721. LW.C1=CFrame.new(0, 0, 0)
  1722. RH.Parent=Torso
  1723. RH.Part0=Torso
  1724. RH.Part1=RightLeg
  1725. RH.C0=CFrame.new(.5, -2, 0)
  1726. RH.C1=CFrame.new(0, 0, 0)
  1727. LH.Parent=Torso
  1728. LH.Part0=Torso
  1729. LH.Part1=LeftLeg
  1730. LH.C0=CFrame.new(-.5, -2, 0)
  1731. LH.C1=CFrame.new(0, 0, 0)
  1732. RootJoint.C1 = CFrame.new(0, 0, 0)
  1733. RootJoint.C0 = CFrame.new(0, 0, 0)
  1734. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1735. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1736. equipped=true
  1737. doingmoves(true)
  1738. --hi
  1739. doingmoves(false)
  1740. end
  1741.  
  1742.  
  1743. de_equip=function()
  1744. if equipped==false then return end
  1745. repeat wait() until Dmoves==false
  1746. doingmoves(true)
  1747.  
  1748. --bye
  1749. doingmoves(false)
  1750. input=""
  1751. RW.Parent=nil
  1752. LW.Parent=nil
  1753. RH.Parent=nil
  1754. LH.Parent=nil
  1755.  
  1756. ORW.Parent=Torso
  1757. ORH.Parent=Torso
  1758. OLW.Parent=Torso
  1759. OLH.Parent=Torso
  1760. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1761. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1762. RootJoint.C0=clerp(RootJoint.C0,RootCF,1)
  1763. Animate.Parent=char
  1764. Animator.Parent=Humanoid
  1765. RootJoint.C1=r1m
  1766. RootJoint.C0=r0m
  1767. Neck.C1=n1m
  1768. Neck.C0=n0m
  1769. Humanoid.WalkSpeed=16
  1770. r1m=RootJoint.C1
  1771. r0m=RootJoint.C0
  1772. n1m=Neck.C1
  1773. n0m=Neck.C0
  1774. equipped=false
  1775. end
  1776. ------------------[[Attacks]]--------------------
  1777. MovesTable={}
  1778. table.insert(MovesTable,{["Key"] = "c" ,["Name"]="", ["CanCancel"] = false ,
  1779. ["Conditions"] = function()
  1780. local Viable = false
  1781. local Move = nil
  1782. for _,p in pairs(MovesTable) do
  1783. if p["Key"] == "c" then
  1784. Move = p
  1785. break
  1786. end
  1787. end
  1788.  
  1789. if CanCancel==true and cooldown3 >= co3 then
  1790. cooldown3=0
  1791. Viable=true
  1792. end
  1793.  
  1794. return Viable
  1795. end,
  1796. ["function"] = function()
  1797. doingmoves(true)
  1798. for i=1,10 do
  1799. swait()
  1800. PlayAnimationFromTable(AnimTab["C"](1),.3,false)
  1801. end
  1802. Humanoid.WalkSpeed=0
  1803. local lightning=true
  1804. p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  1805. p.CFrame=RootPart.CFrame*CFrame.new(0,17,0)
  1806. p.Transparency=1
  1807. local from=p
  1808. local bill=Instance.new("BillboardGui",p)
  1809. bill.Size=UDim2.new(15,0,15,0)
  1810. local ORGbill=bill
  1811. local billimg=Instance.new("ImageLabel",bill)
  1812. local ORGbillimg=billimg
  1813. billimg.BackgroundTransparency=1
  1814. billimg.Size=UDim2.new(1,0,1,0)
  1815. billimg.Image="rbxgameasset://Images/oyes"
  1816. billimg.ImageColor3=BrickColor.new("Lapis").Color
  1817.  
  1818. for i=1,5 do
  1819. swait()
  1820. local orb1=Instance.new("Part",EffectModel)
  1821. orb1.Anchored=false
  1822. orb1.Transparency=1
  1823. orb1.CanCollide=false
  1824. orb1.Size=Vector3.new()
  1825. local orb2=Instance.new("Part",orb1)
  1826. orb2.Anchored=false
  1827. orb2.Transparency=1
  1828. orb2.CanCollide=false
  1829. orb2.BrickColor=BrickColor.new("New Yeller")
  1830. orb2.Material = "Neon"
  1831. orb2.Size=Vector3.new()
  1832. local OrbMesh = Instance.new("SpecialMesh",orb2)
  1833. OrbMesh.MeshType="Sphere"
  1834. OrbMesh.Scale=Vector3.new(1,1,1)
  1835. local orbW = weld(orb1, orb1, RootPart,CFrame.new())
  1836. local orbW2 = weld(orb2, orb2, orb1, cf(0, 0, 0))
  1837. 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})
  1838. local pe=script.pe:clone()
  1839. pe.Parent=orb2
  1840. pe.Enabled=true
  1841. coroutine.resume(coroutine.create(function()
  1842. repeat wait() until lightning==false
  1843. pe.Enabled=false
  1844. game.Debris:AddItem(orb1,1)
  1845. end))
  1846. end
  1847. coroutine.resume(coroutine.create(function()
  1848. local num=0
  1849. while lightning do
  1850. num=num+1
  1851. if num>=3 then
  1852. num=0
  1853. so("206083232",RootPart,1,.8)
  1854. so("206083252",RootPart,1,2)
  1855. end
  1856. swait()
  1857. local ecksdee=27
  1858. billimg.Rotation=billimg.Rotation+5
  1859. Lightning2(from.Position,Torso.Position+Vector3.new(math.random(-ecksdee,ecksdee),0,math.random(-ecksdee,ecksdee)),6,2,"White",.5,.5,5)
  1860. end
  1861. for i=1,10 do
  1862. swait()
  1863. bill.Size=bill.Size+UDim2.new(1,0,1,0)
  1864. billimg.ImageTransparency=i/10
  1865. end
  1866. from:Destroy()
  1867. end))
  1868. for i=1,25 do
  1869. swait(2)
  1870. MagnitudeDamage(RootPart,28,1,Vector3.new(0,1,0)+DIR*5,0.5,"H2",0,false,false)
  1871. CamShake(RootPart,27,.4,5)
  1872. local p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  1873. p.CFrame=CFrame.new(Character.Torso.Position-Vector3.new(0,1.5,0))*CFrame.Angles(0,math.random(-50,50),0)
  1874. game:GetService("Debris"):AddItem(p,8)
  1875. local m=Instance.new("SpecialMesh",p)
  1876. m.MeshId="http://www.roblox.com/asset/?id=20329976"
  1877. m.Scale=Vector3.new(2,2,2)
  1878. coroutine.resume(coroutine.create(function(p,s)
  1879. for i=1, 20 do
  1880. p.Transparency=.5+i/20
  1881. m.Scale=m.Scale + Vector3.new(3.5,-.1,3.5)
  1882. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(10 + i),0) - Vector3.new(0,.05,0)
  1883. swait()
  1884. end
  1885. p:Remove()
  1886. end),p)
  1887.  
  1888. local p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  1889. p.CFrame=CFrame.new(Character.Torso.Position-Vector3.new(0,1.5,0))*CFrame.Angles(0,math.random(-50,50),0)
  1890. game:GetService("Debris"):AddItem(p,8)
  1891. local m=Instance.new("SpecialMesh",p)
  1892. m.MeshId="http://www.roblox.com/asset/?id=737406442"
  1893. m.Scale=Vector3.new(.1,0,.1)
  1894. coroutine.resume(coroutine.create(function(p,s)
  1895. for i=1, 20 do
  1896. p.Transparency=.5+i/20
  1897. m.Scale=m.Scale + Vector3.new(.01,0,.01)
  1898. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(10 + i),0)
  1899. swait()
  1900. end
  1901. p:Remove()
  1902. end),p)
  1903.  
  1904. end
  1905. lightning=false
  1906. doingmoves(false)
  1907. end})
  1908.  
  1909. table.insert(MovesTable,{["Key"] = "z" ,["Name"]="", ["CanCancel"] = false ,
  1910. ["Conditions"] = function()
  1911. local Viable = false
  1912. local Move = nil
  1913. for _,p in pairs(MovesTable) do
  1914. if p["Key"] == "z" then
  1915. Move = p
  1916. break
  1917. end
  1918. end
  1919.  
  1920. if CanCancel==true and cooldown1 >= co1 then
  1921. cooldown1=0
  1922. Viable=true
  1923. end
  1924.  
  1925. return Viable
  1926. end,
  1927. ["function"] = function()
  1928. doingmoves(true)
  1929. for i=1,10 do
  1930. swait()
  1931. PlayAnimationFromTable(AnimTab["Z"](1),.3,false)
  1932. local blast2=Par(EffectModel,"Effect","White",vt(.5,.5,.5),"Neon")
  1933. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1934. local m=Instance.new("SpecialMesh",blast2)
  1935. m.Scale=Vector3.new(1.5,1.5,1.5)
  1936. m.MeshType="Brick"
  1937. coroutine.resume(coroutine.create(function(p)
  1938. for i=1, 15 do
  1939. blast2.Transparency=i/15
  1940. m.Scale=m.Scale+Vector3.new(.1,.1,.1)
  1941. swait()
  1942. end
  1943. blast2:Remove()
  1944. end),p)
  1945.  
  1946. end
  1947.  
  1948. for i=1,8 do
  1949. 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)
  1950. end
  1951.  
  1952. local sref=part(3,nil,0,1,BrickColor.new("Black"),"Reference",vt())
  1953. sref.Anchored=true
  1954. for i=1,math.random(2,4) do
  1955. local MouseLook=cf((RootPart.Position+mouse.Hit.p)/2,mouse.Hit.p)
  1956. local hit,pos=rayCast(RootPart.Position,MouseLook.lookVector,9999,Character)
  1957. local random=cf(math.random(-1000,1000)/100,0,math.random(-1000,1000)/100)
  1958. sref.CFrame=cf(pos)*random
  1959. local hit,pos=rayCast(sref.Position,(CFrame.new(sref.Position,sref.Position - Vector3.new(0,1,0))).lookVector,999,Character)
  1960.  
  1961. local blast2=Par(EffectModel,"Effect","White",vt(1,1,1),"Neon")
  1962. blast2.CFrame=sref.CFrame
  1963. local m=Instance.new("CylinderMesh",blast2)
  1964. m.Scale=Vector3.new(10,.003,10)
  1965. local bmeo=Par(EffectModel,"Effect","Lapis",vt(1,1,1),"Neon")
  1966. bmeo.CFrame=sref.CFrame
  1967. local m=Instance.new("CylinderMesh",bmeo)
  1968. m.Scale=Vector3.new(10,.003,10)
  1969. bmeo.Mesh.Scale=Vector3.new(0,.005,0)
  1970. bmeo.Size=bmeo.Size+Vector3.new(0,0.1,0)
  1971. bmeo.BrickColor=BrickColor.new("Lapis")
  1972. bmeo.Transparency=0.5
  1973. local coo=sref.CFrame
  1974. coroutine.resume(coroutine.create(function(p)
  1975. for i=1, 50 do
  1976. local ee=10/50
  1977. bmeo.Mesh.Scale=bmeo.Mesh.Scale+Vector3.new(ee,0,ee)
  1978. swait()
  1979. end
  1980. for i=1, 2 do
  1981. p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  1982. p.CFrame=coo * CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1983. m=Instance.new("SpecialMesh")
  1984. m.MeshId="http://www.roblox.com/asset/?id=3270017"
  1985. m.Scale=Vector3.new(10,10,0)
  1986. m.Parent=p
  1987. game:GetService("Debris"):AddItem(p,5)
  1988. coroutine.resume(coroutine.create(function(p,l)
  1989. for i=1, 20 do
  1990. p.Transparency=.5+i/20
  1991. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(.5*3,.5*3,0)
  1992. swait()
  1993. end
  1994. p:Remove() end),p,3/3)
  1995. end
  1996.  
  1997. for i=1,8 do
  1998. 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)
  1999. end
  2000. for loel = 1,2 do
  2001. 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))
  2002. pc2.Parent = EffectModel
  2003. pc2.Anchored = true
  2004. pc2.CanCollide = false
  2005. game:GetService("Debris"):AddItem(pc2, 5)
  2006. pc2.Material="Neon"
  2007. coroutine.resume(coroutine.create(function(p, V, x)
  2008. for i = 1, 15 do
  2009. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 18, 14 + loel * 18, 14 + loel * 18) / 45
  2010. p.Transparency = 0.25 + i / 15
  2011. p.CFrame = p.CFrame * V
  2012. swait()
  2013. end
  2014. p:Remove()
  2015. end), pc2, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
  2016. end
  2017. so("338594574",blast2,1,1)
  2018. MagnitudeDamage(blast2,12,math.random(13,20),Vector3.new(0,5,0)+DIR*13,0.5,"H2",0.1,false,false)
  2019. CamShake(blast2,12,.3,10)
  2020. for i=1,25 do
  2021. swait()
  2022. blast2.Transparency=i/25
  2023. bmeo.Transparency=0.5+i/25
  2024. end
  2025. bmeo.Parent=nil
  2026. blast2:Remove()
  2027. end),p)
  2028.  
  2029. end
  2030. sref:Destroy()
  2031. swait(10)
  2032. doingmoves(false)
  2033. end})
  2034.  
  2035. table.insert(MovesTable,{["Key"] = "x" ,["Name"]="", ["CanCancel"] = false ,
  2036. ["Conditions"] = function()
  2037. local Viable = false
  2038. local Move = nil
  2039. for _,p in pairs(MovesTable) do
  2040. if p["Key"] == "x" then
  2041. Move = p
  2042. break
  2043. end
  2044. end
  2045.  
  2046. if CanCancel==true and cooldown2>=co2 then
  2047. cooldown2=0
  2048. Viable=true
  2049. end
  2050.  
  2051. return Viable
  2052. end,
  2053. ["function"] = function()
  2054. doingmoves(true)
  2055. Humanoid.WalkSpeed=0
  2056.  
  2057. local goto=part(3,EffectModel,0,1,BrickColor.new("Black"),"Reference",vt())
  2058. goto.Anchored=true
  2059. goto.CFrame=RootPart.CFrame*CFrame.new(0,0,-10)
  2060. local startpos=part(3,EffectModel,0,1,BrickColor.new("Black"),"Reference",vt())
  2061. startpos.Anchored=true
  2062. startpos.Transparency=1
  2063. goto.Transparency=1
  2064. local num=0
  2065. for i=1,60 do
  2066. PlayAnimationFromTable(AnimTab["X"](1),.3,false)
  2067. swait()
  2068. local DIR=RootPart.CFrame.lookVector
  2069. local CPlayer=char
  2070. local p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  2071. p.Transparency=.5
  2072. p.Anchored=true
  2073. p.CFrame=CFrame.new(startpos.Position,CPlayer["HumanoidRootPart"].Position+DIR*20) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.random(-360,360),0)
  2074. m=Instance.new("SpecialMesh",p)
  2075. m.MeshId="http://www.roblox.com/asset/?id=20329976"
  2076. m.Scale=Vector3.new(2,2,2)
  2077. coroutine.resume(coroutine.create(function(p) for i=1, 15 do
  2078. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(1.5-i*.1,.15,1.5-i*.1)
  2079. p.Transparency=0.5+i/15
  2080. p.CFrame=p.CFrame*CFrame.new(0,.5,0)*CFrame.fromEulerAnglesXYZ(0,math.rad(8),0)
  2081. swait()
  2082. end
  2083. p:Destroy()
  2084. end),p)
  2085. startpos.CFrame=RootPart.CFrame*CFrame.new(0,.5,-3)
  2086. local hit,pos=rayCast(startpos.Position,startpos.CFrame.lookVector,100,Character)
  2087. goto.CFrame=CFrame.new(pos)
  2088. local endpos=goto
  2089. local beam=it("Part",EffectModel)
  2090. beam.Anchored=true
  2091. beam.CanCollide=false
  2092. beam.BrickColor=BrickColor.new("Lapis")
  2093. local beamM=it("CylinderMesh",beam)
  2094. beam.Material="Neon"
  2095. beam.Size = Vector3.new(2, (startpos.Position - endpos.Position).magnitude,2)
  2096. beam.CFrame = CFrame.new((startpos.Position+ endpos.Position)/2, startpos.Position) * CFrame.Angles(math.pi/2, 0, 0)
  2097. 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))
  2098.  
  2099. num=num+1
  2100. if num>=3 then
  2101.  
  2102. local p =Par(EffectModel,"Effect","Black",vt(1,1,1),"Neon")
  2103. local s = math.random(1,35)/10
  2104. local m = Instance.new("BlockMesh",p)
  2105. m.Scale = Vector3.new(s,s,s)
  2106. 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())
  2107. coroutine.resume(coroutine.create(function(p)
  2108. for i=1,30 do
  2109. swait()
  2110. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.4,0)
  2111. p.Transparency = i/30
  2112. end p.Parent=nil end),p)
  2113.  
  2114. so("183763515", endpos, 1, 1.2)
  2115. so("178452221", endpos, 1, 0.7)
  2116. so("161006069", endpos, 1, 1)
  2117. num=0
  2118. MagnitudeDamage(endpos,10,1,Vector3.new(),.5,"H2",0,false,false)
  2119. CamShake(endpos,10,.2,8)
  2120. CamShake(RootPart,7,.2,8)
  2121. local blast2=Instance.new("Part",EffectModel)
  2122. blast2.Anchored=true
  2123. blast2.CanCollide=false
  2124. blast2.Size=Vector3.new(1,1,1)
  2125. blast2.CFrame=cf(pos)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2126. m=Instance.new("SpecialMesh",blast2)
  2127. m.Scale=Vector3.new(3.5,3.5,3.5)
  2128. m.MeshType="Brick"
  2129. blast2.BrickColor=BrickColor.new("Lapis")
  2130. blast2.Material="Neon"
  2131. coroutine.resume(coroutine.create(function(p)
  2132. local R = CFrame.Angles(math.random(-3,3),math.random(-4,4),math.random(-5,5))
  2133. local C = Vector3.new(math.random(-5,5)/40,math.random(-5,5)/40,math.random(-5,5)/40)
  2134. for i=1, 20 do
  2135. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1,1,1)/30
  2136. p.Transparency = .5 + i/40
  2137. p.CFrame = p.CFrame * R - Vector3.new(0,9.82/30/11*i,0) + C
  2138. swait()
  2139. end
  2140. p:Remove()
  2141. end),blast2)
  2142.  
  2143. p=Par(EffectModel,"Effect","White",vt(1,1,1),"SmoothPlastic")
  2144. p.CFrame=cf(pos)* CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2145. m=Instance.new("SpecialMesh")
  2146. m.MeshId="http://www.roblox.com/asset/?id=3270017"
  2147. m.Scale=Vector3.new(10,10,0)
  2148. m.Parent=p
  2149. game:GetService("Debris"):AddItem(p,5)
  2150. coroutine.resume(coroutine.create(function(p,l)
  2151. for i=1, 20 do
  2152. p.Transparency=.5+i/20
  2153. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(.5*1,.5*1,0)
  2154. swait()
  2155. end
  2156. p:Remove() end),p,3/3)
  2157. num=0
  2158. end
  2159. end
  2160.  
  2161. doingmoves(false)
  2162. end})
  2163.  
  2164.  
  2165. -------------[[Click Combo]]----------------------
  2166. ClickOne=function()
  2167. doingmoves(true)
  2168. for i=1,10 do
  2169. swait()
  2170. PlayAnimationFromTable(AnimTab["ClickCombo"](1),.3,false)
  2171. end
  2172. so("200632136",RightArm,1,1)
  2173. for i=1,10 do
  2174. local blast2=Par(EffectModel,"Effect","White",vt(.5,.5,.5),"Neon")
  2175. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2176. local m=Instance.new("SpecialMesh",blast2)
  2177. m.Scale=Vector3.new(1.5,1.5,1.5)
  2178. m.MeshType="Sphere"
  2179. coroutine.resume(coroutine.create(function(p)
  2180. for i=1, 15 do
  2181. blast2.Transparency=i/15
  2182. swait()
  2183. end
  2184. blast2:Remove()
  2185. end),p)
  2186. local blast2=Par(EffectModel,"Effect","Deep orange",vt(.5,.5,.5),"Neon")
  2187. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2188. local m=Instance.new("SpecialMesh",blast2)
  2189. m.Scale=Vector3.new(3,3,3)
  2190. m.MeshType="Sphere"
  2191. coroutine.resume(coroutine.create(function(p)
  2192. for i=1, 30 do
  2193. blast2.Transparency=i/15
  2194. swait()
  2195. end
  2196. blast2:Remove()
  2197. end),p)
  2198.  
  2199. MagnitudeDamage(RootPart,7,math.random(3,6),Vector3.new(0,2,0)+DIR*3,.5,"H2",.4,false,false)
  2200. swait()
  2201. PlayAnimationFromTable(AnimTab["ClickCombo"](2),.3,false)
  2202. end
  2203. doingmoves(false)
  2204. end
  2205.  
  2206. ClickTwo=function()
  2207. doingmoves(true)
  2208. for i=1,10 do
  2209. swait()
  2210. PlayAnimationFromTable(AnimTab["ClickCombo"](3),.3,false)
  2211. end
  2212. so("200632211",LeftLeg,1,1)
  2213. for i=1,10 do
  2214. local blast2=Par(EffectModel,"Effect","White",vt(.5,.5,.5),"Neon")
  2215. blast2.CFrame=LeftArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2216. m=Instance.new("SpecialMesh",blast2)
  2217. m.Scale=Vector3.new(1.5,1.5,1.5)
  2218. m.MeshType="Sphere"
  2219. coroutine.resume(coroutine.create(function(p)
  2220. for i=1, 15 do
  2221. blast2.Transparency=i/15
  2222. swait()
  2223. end
  2224. blast2:Remove()
  2225. end),p)
  2226. local blast2=Par(EffectModel,"Effect","Deep orange",vt(.5,.5,.5),"Neon")
  2227. blast2.CFrame=LeftArm.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2228. m=Instance.new("SpecialMesh",blast2)
  2229. m.Scale=Vector3.new(3,3,3)
  2230. m.MeshType="Sphere"
  2231. coroutine.resume(coroutine.create(function(p)
  2232. for i=1, 30 do
  2233. blast2.Transparency=i/15
  2234. swait()
  2235. end
  2236. blast2:Remove()
  2237. end),p)
  2238.  
  2239. MagnitudeDamage(RootPart,7,math.random(3,6),Vector3.new(0,2,0)+DIR*3,.5,"H2",.4,false,false)
  2240. swait()
  2241. PlayAnimationFromTable(AnimTab["ClickCombo"](4),.3,false)
  2242. end
  2243. doingmoves(false)
  2244. end
  2245.  
  2246. ClickThree=function()
  2247. doingmoves(true)
  2248. local swording=true
  2249. for i=1,10 do
  2250. swait()
  2251. PlayAnimationFromTable(AnimTab["ClickCombo"](5),.3,false)
  2252. end
  2253. local sword = script.sword:clone()
  2254. sword.Anchored=false
  2255. sword.Parent=EffectModel
  2256. sword.CFrame=RightArm.CFrame*CFrame.new(0,-1.1,-2.6)*CFrame.Angles(math.rad(-90),0,math.rad(0))
  2257. local w1=weldBetween(RightArm,sword)
  2258. local sword2 = script.sword:clone()
  2259. sword2.Anchored=false
  2260. sword2.Parent=EffectModel
  2261. sword2.CFrame=LeftArm.CFrame*CFrame.new(0,-1.1,-2.6)*CFrame.Angles(math.rad(-90),0,math.rad(0))
  2262. local w2=weldBetween(LeftArm,sword2)
  2263. coroutine.resume(coroutine.create(function(sw,sw2)
  2264. while swording do
  2265. swait()
  2266. local blast2=Par(EffectModel,"Effect","Lapis",vt(),"Neon")
  2267. local X=sword.Size.X
  2268. local Y=sword.Size.Y
  2269. local Z=sword.Size.Z
  2270. 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))
  2271. local m=Instance.new("SpecialMesh",blast2)
  2272. m.Scale=Vector3.new(4,4,4)
  2273. m.MeshType="Brick"
  2274. coroutine.resume(coroutine.create(function()
  2275. for i=1, 20 do
  2276. blast2.Transparency=0.25+ i/20
  2277. m.Scale=m.Scale-vt(-.1,-.1,-.1)
  2278. swait()
  2279. blast2.CFrame=blast2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2280. end
  2281. blast2:Remove()
  2282. end))
  2283. local blast2=Par(EffectModel,"Effect","Lapis",vt(),"Neon")
  2284. local X=4
  2285. local Y=sword.Size.Y
  2286. local Z=sword.Size.Z
  2287. 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))
  2288. local m=Instance.new("SpecialMesh",blast2)
  2289. m.Scale=Vector3.new(4,4,4)
  2290. m.MeshType="Brick"
  2291. coroutine.resume(coroutine.create(function()
  2292. for i=1, 20 do
  2293. blast2.Transparency=0.25+ i/20
  2294. m.Scale=m.Scale-vt(-.1,-.1,-.1)
  2295. swait()
  2296. blast2.CFrame=blast2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2297. end
  2298. blast2:Remove()
  2299. end))
  2300.  
  2301. end
  2302. end))
  2303. so("199146359",sword,1,.6)
  2304. so("228343324",sword,.6,.5)
  2305. so("199146359",sword,1,.8)
  2306. for i=1,13 do
  2307. swait()
  2308. sword.Transparency=i/13
  2309. sword2.Transparency=i/13
  2310. PlayAnimationFromTable(AnimTab["ClickCombo"](6),.3,false)
  2311. MagnitudeDamage(RootPart,9,math.random(4,7),Vector3.new(0,2,0)+DIR*3,.5,"H2",.2,false,false)
  2312. end
  2313. sword.Parent=nil
  2314. sword2.Parent=nil
  2315. swording=false
  2316. doingmoves(false)
  2317. end
  2318.  
  2319. ClickFour=function()
  2320. doingmoves(true)
  2321. local ora=Instance.new("Part",EffectModel)
  2322. ora.Size=Vector3.new()
  2323. ora.Transparency=1
  2324. ora.Anchored=true
  2325. ora.CanCollide=false
  2326. ora.CFrame=RightArm.CFrame*CFrame.new(0,-1.4,0)
  2327. local pe = script.ora:Clone()
  2328. pe.Parent=ora
  2329. --pe.Enabled=true
  2330. for i=1,15 do
  2331. swait()
  2332. PlayAnimationFromTable(AnimTab["ClickCombo"](7),.3,false)
  2333. RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector * 1
  2334. ora.CFrame=RightArm.CFrame*CFrame.new(0,-1.4,0)
  2335. MagnitudeDamage(RootPart,7,math.random(5,8),Vector3.new(0,7,0)+DIR*8,.5,"H2",.6,false,false)
  2336. pe:Emit(10)
  2337. end
  2338. pe.Enabled=false
  2339. game.Debris:AddItem(ora,5)
  2340. doingmoves(false)
  2341. end
  2342. CanCancel=true
  2343. qhold=false
  2344. chold=false
  2345. dHold=false
  2346. aHold=false
  2347. facestate=""
  2348. facestating=false
  2349. ForwardKey=""
  2350. BackwardKey=""
  2351. mouse=Player:GetMouse()
  2352. MouseClicks=1
  2353. mouse.Button1Down:connect(function()
  2354. if equipped==false then return end
  2355. if Dmoves == false and MouseClicks == 1 then
  2356. MouseClicks = 2
  2357. ClickOne()
  2358. else
  2359. if Dmoves == false and MouseClicks == 2 then
  2360. MouseClicks = 3
  2361. ClickTwo()
  2362. else
  2363. if Dmoves == false and MouseClicks == 3 then
  2364. MouseClicks = 4
  2365. ClickThree()
  2366. else
  2367. if Dmoves==false and MouseClicks==4 then
  2368. MouseClicks=1
  2369. ClickFour()
  2370. end
  2371. end
  2372. end
  2373. end
  2374. end)
  2375.  
  2376.  
  2377. keyDOWN=function(key)
  2378. key=key:lower()
  2379. if key=="f" then
  2380. if equipped==false then
  2381. eq()
  2382. else
  2383. deq()
  2384. end
  2385. end
  2386. if equipped==false then return end
  2387. Koy = key
  2388. if key=="z" or key=="x" or key=="c" or key=="v" then
  2389. for _,m in pairs(MovesTable) do
  2390. if key == m["Key"] then
  2391. local Viable=m["Conditions"]()
  2392. if Viable then
  2393. m["function"]()
  2394. break
  2395. else
  2396. break
  2397. end
  2398. end
  2399. end
  2400. end
  2401. end
  2402.  
  2403. keyUP=function(key)
  2404. end
  2405.  
  2406. mouse.KeyDown:connect(keyDOWN)
  2407. mouse.KeyUp:connect(keyUP)
  2408. eq=function()
  2409. equip()
  2410. Humanoid.JumpPower=desiredjp
  2411. mouse=game.Players.LocalPlayer:GetMouse()
  2412. end
  2413.  
  2414. deq=function()
  2415. de_equip()
  2416. Humanoid.JumpPower=60
  2417. end
  2418.  
  2419. Humanoid.Died:connect( function()
  2420. equipped=false
  2421. end)
  2422. local num=0
  2423. ArtificialHB.Event:connect(function()
  2424. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2425. local velocity = RootPart.Velocity.y
  2426. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2427. if Dmoves==false and equipped==true then
  2428. num=num+1
  2429. if num>=2 then
  2430. num=0
  2431. local blast2=Instance.new("Part",EffectModel)
  2432. blast2.Anchored=true
  2433. blast2.CanCollide=false
  2434. blast2.Size=Vector3.new(1,1,1)
  2435. blast2.CFrame=RightArm.CFrame*CFrame.new(0,-1.4,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2436. m=Instance.new("SpecialMesh",blast2)
  2437. m.Scale=Vector3.new(1.5,1.5,1.5)
  2438. m.MeshType="Brick"
  2439. blast2.BrickColor=BrickColor.new("Deep orange")
  2440. blast2.Material="Neon"
  2441. coroutine.resume(coroutine.create(function(p)
  2442. local R = CFrame.Angles(math.random(-3,3),math.random(-4,4),math.random(-5,5))
  2443. local C = Vector3.new(math.random(-5,5)/40,math.random(-5,5)/40,math.random(-5,5)/40)
  2444. for i=1, 20 do
  2445. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1,1,1)/30
  2446. p.Transparency = .5 + i/40
  2447. p.CFrame = p.CFrame * R - Vector3.new(0,9.82/30/11*i,0) + C
  2448. swait()
  2449. end
  2450. p:Remove()
  2451. end),blast2)
  2452. end
  2453. for i, v in pairs(Character:GetChildren()) do
  2454. if v:IsA'Model' then
  2455. for _, c in pairs(v:GetChildren()) do
  2456. if c:IsA'Part' then
  2457. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2458. end
  2459. end
  2460. end
  2461. end
  2462. sine = sine + change
  2463. detect_state()
  2464. if Anim == "Jump" then
  2465. PlayAnimationFromTable(AnimTab["Jump"](1),.3,false)
  2466. end
  2467.  
  2468. if Anim == "Fall" then
  2469. PlayAnimationFromTable(AnimTab["Fall"](1),.3,false)
  2470. end
  2471.  
  2472. if Anim == "Idle" then
  2473. change=1.5
  2474. PlayAnimationFromTable(AnimTab["Idle"](1,sine),.3,false)
  2475. end
  2476.  
  2477. if Anim == "Walk" then
  2478. change = 1.5
  2479. local num=11
  2480. PlayAnimationFromTable(AnimTab["Walk"](1,sine,num),.3,false)
  2481. end
  2482. end
  2483. end)
  2484.  
  2485. print("osama's engine l0aded")
  2486. print("shark loaded")
  2487. local fold=Instance.new("Folder",Player.PlayerGui)
  2488. script.Parent=fold
  2489. coroutine.resume(coroutine.create(function()
  2490. while wait() do
  2491. fold.Archivable=false
  2492. Player.Archivable=false
  2493. Player.PlayerGui.Archivable=false
  2494. for i,v in pairs (fold:children()) do
  2495. v.Archivable=false
  2496. end
  2497. end
  2498. end))
  2499. updateskills = function()
  2500.  
  2501. if cooldown1 <= co1 then
  2502. cooldown1 = cooldown1 + 0.033333333333333
  2503. end
  2504. if cooldown2 <= co2 then
  2505. cooldown2 = cooldown2 + 0.033333333333333
  2506. end
  2507. if cooldown3 <= co3 then
  2508. cooldown3 = cooldown3 + 0.033333333333333
  2509. end
  2510. if cooldown4 <= co4 then
  2511. cooldown4 = cooldown4 + 0.033333333333333
  2512. end
  2513. end
  2514.  
  2515. while 1 do
  2516. if 0 < #Orbs then
  2517. for e = 1, #Orbs do
  2518. if Orbs[e] ~= nil then
  2519.  
  2520. local OrbProperty = Orbs[e]
  2521. OrbProperty[6] = OrbProperty[6] - 1
  2522. OrbProperty[7] = OrbProperty[7] + OrbProperty[12]
  2523. OrbProperty[9] = OrbProperty[9] + OrbProperty[13]
  2524. OrbProperty[11] = OrbProperty[11] + OrbProperty[14]
  2525. OrbProperty[4].C0 = OrbProperty[10]
  2526. OrbProperty[5].C0 = OrbProperty[8] * euler(OrbProperty[9], OrbProperty[7], OrbProperty[11])
  2527. end
  2528. end
  2529. end
  2530.  
  2531. if #Effects > 0 then
  2532. for e = 1, #Effects do
  2533. if Effects[e] ~= nil then
  2534. local Thing = Effects[e]
  2535. if Thing ~= nil then
  2536. local Part = Thing[1]
  2537. local Mode = Thing[2]
  2538. local Delay = Thing[3]
  2539. local IncX = Thing[4]
  2540. local IncY = Thing[5]
  2541. local IncZ = Thing[6]
  2542. if Thing[1].Transparency <= 1 then
  2543. if Thing[2] == "Block1" then
  2544. elseif Thing[2] == "Shatter" then
  2545. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2546. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2547. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2548. Thing[6] = Thing[6] + Thing[5]
  2549. end
  2550. else
  2551. Part.Parent = nil
  2552. table.remove(Effects, e)
  2553. end
  2554. end
  2555. end
  2556. end
  2557. end
  2558.  
  2559. swait()
  2560. updateskills()
  2561. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  2562. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  2563. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  2564. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  2565. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement