Advertisement
PR0J3CT11

Untitled

Jul 27th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. ---------------------------
  84. --/ \--
  85. -- Script By: 123jl123 --
  86. --\ /--
  87. ---------------------------
  88. --local remote = NS ([=[
  89.  
  90. local TweenService = game:GetService("TweenService")
  91. local RbxUtility = LoadLibrary("RbxUtility")
  92. local Create = RbxUtility.Create
  93.  
  94.  
  95.  
  96. local Player = game:GetService("Players"):WaitForChild(script.PlayerName.Value)
  97. if Player.Character == nil then
  98. while Player.Character == nil do wait()
  99.  
  100. end end
  101.  
  102. EffectPack = script.Extras:Clone()
  103. script.Extras:Destroy()
  104.  
  105. ZTfade=false
  106. ZT=false
  107. OverClocking = false
  108. local Jets = false
  109. MHIT = Vector3.new()
  110. Character= Player.Character
  111. Torso = Character.Torso
  112. Head = Character.Head
  113. Humanoid = Character.Humanoid
  114. LeftArm = Character["Left Arm"]
  115. LeftLeg = Character["Left Leg"]
  116. RightArm = Character["Right Arm"]
  117. RightLeg = Character["Right Leg"]
  118. RootPart = Character["HumanoidRootPart"]
  119. local Anim="Idle"
  120. local inairvel=0
  121. local WalkAnimStep = 0
  122. local sine = 0
  123. local change = 1
  124. Animstep = 0
  125. WalkAnimMove=0.1
  126. Combo = 0
  127. local attack=false
  128. local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
  129. local Neck = Character.Torso:FindFirstChild("Neck")
  130. local visn = 0
  131. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  132. local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  133. IsXray = false
  134.  
  135. local forWFB = 0
  136. local forWRL = 0
  137. FF = Instance.new("ForceField",Character)
  138. FF.Visible = false
  139. FF.Name = "FatForce"
  140. Effects=Instance.new("Folder",Character)
  141. Effects.Name="Effects"
  142. it=Instance.new
  143. vt=Vector3.new
  144. cf=CFrame.new
  145. euler=CFrame.fromEulerAnglesXYZ
  146. angles=CFrame.Angles
  147. local cn = CFrame.new
  148. mr=math.rad
  149. mememode=false
  150. IT = Instance.new
  151. CF = CFrame.new
  152. VT = Vector3.new
  153. RAD = math.rad
  154. C3 = Color3.new
  155. UD2 = UDim2.new
  156. BRICKC = BrickColor.new
  157. ANGLES = CFrame.Angles
  158. EULER = CFrame.fromEulerAnglesXYZ
  159. COS = math.cos
  160. ACOS = math.acos
  161. SIN = math.sin
  162. ASIN = math.asin
  163. ABS = math.abs
  164. MRANDOM = math.random
  165. FLOOR = math.floor
  166.  
  167. local lastid= "http://www.roblox.com/asset/?id=146364977"
  168. local s2=it("Sound",Torso)
  169. local CurId = 1
  170. s2.EmitterSize = 30
  171. local s2c=s2:Clone()
  172.  
  173. playsong = true
  174.  
  175. s2.SoundId = lastid
  176. if playsong == true then
  177. s2:play()
  178. elseif playsong == false then
  179. s2:stop()
  180. end
  181. lastsongpos= 0
  182.  
  183. crosshair = Instance.new("BillboardGui",Character)
  184. crosshair.Size = UDim2.new(10,0,10,0)
  185. crosshair.Enabled = false
  186. imgl = Instance.new("ImageLabel",crosshair)
  187. imgl.Position = UDim2.new(0,0,0,0)
  188. imgl.Size = UDim2.new(1,0,1,0)
  189. imgl.Image = "rbxassetid://578065407"
  190. imgl.BackgroundTransparency = 1
  191. imgl.ImageTransparency = .7
  192. imgl.ImageColor3 = Color3.new(1,1,1)
  193. crosshair.StudsOffset = Vector3.new(0,0,-1)
  194.  
  195. --//=================================\\
  196. --|| LOCAL IDS
  197. --\\=================================//
  198.  
  199. local GROWL = 1544355717
  200. local ROAR = 528589382
  201. local ECHOBLAST = 376976397
  202. local CAST = 459523898
  203. local ALCHEMY = 424195979
  204. local BUILDUP = 698824317
  205. local BIGBUILDUP = 874376217
  206. local IMPACT = 231917744
  207. local LARGE_EXPLOSION = 168513088
  208. local TURNUP = 299058146
  209.  
  210. if Character:FindFirstChild("Animate")then
  211. Character.Animate:Destroy()
  212. end
  213.  
  214. function RemoveOutlines(part)
  215. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  216. end
  217.  
  218.  
  219.  
  220.  
  221. CFuncs = {
  222. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  223.  
  224. 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})
  225. RemoveOutlines(Part)
  226. return Part
  227. end
  228. }
  229. ,
  230. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  231.  
  232. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  233. if Mesh == "SpecialMesh" then
  234. Msh.MeshType = MeshType
  235. Msh.MeshId = MeshId
  236. end
  237. return Msh
  238. end
  239. }
  240. ,
  241. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  242.  
  243. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  244. if Mesh == "SpecialMesh" then
  245. Msh.MeshType = MeshType
  246. Msh.MeshId = MeshId
  247. end
  248. return Msh
  249. end
  250. }
  251. ,
  252. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  253.  
  254. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  255. return Weld
  256. end
  257. }
  258. ,
  259. Sound = {Create = function(id, par, vol, pit)
  260.  
  261. coroutine.resume(coroutine.create(function()
  262.  
  263. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
  264. wait()
  265. S:play()
  266. game:GetService("Debris"):AddItem(S, 6)
  267. end
  268. ))
  269. end
  270. }
  271. ,
  272. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  273.  
  274. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  275. return fp
  276. end
  277. }
  278. }
  279.  
  280.  
  281.  
  282.  
  283.  
  284. coroutine.resume(coroutine.create(function()
  285. if Head:FindFirstChildOfClass("Decal") then
  286. local face = Head:FindFirstChildOfClass("Decal")
  287. face:Destroy()
  288. end
  289.  
  290. end))
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298. for i, v in pairs(Character:GetDescendants()) do
  299. if v:IsA("Accessory") or v:IsA("Sound") then
  300. v:Destroy()
  301. end
  302. end
  303. coroutine.resume(coroutine.create(function()
  304. Character:WaitForChild("Sound"):Destroy()
  305. end))
  306.  
  307.  
  308. --139248234
  309. --//=================================\\
  310. --|| SAZERENOS ARTIFICIAL HEARTBEAT
  311. --\\=================================//
  312. Frame_Speed = 1 / 30
  313. ArtificialHB = Instance.new("BindableEvent", script)
  314. ArtificialHB.Name = "ArtificialHB"
  315.  
  316. script:WaitForChild("ArtificialHB")
  317.  
  318. frame = Frame_Speed
  319. tf = 0
  320. allowframeloss = false
  321. tossremainder = false
  322. lastframe = tick()
  323. script.ArtificialHB:Fire()
  324.  
  325. game:GetService("RunService").Heartbeat:connect(function(s, p)
  326. tf = tf + s
  327. if tf >= frame then
  328. if allowframeloss then
  329. script.ArtificialHB:Fire()
  330. lastframe = tick()
  331. else
  332. for i = 1, math.floor(tf / frame) do
  333. script.ArtificialHB:Fire()
  334. end
  335. lastframe = tick()
  336. end
  337. if tossremainder then
  338. tf = 0
  339. else
  340. tf = tf - frame * math.floor(tf / frame)
  341. end
  342. end
  343. end)
  344.  
  345. --//=================================\\
  346. --\\=================================//
  347.  
  348. function Swait(NUMBER)
  349. if NUMBER == 0 or NUMBER == nil then
  350. ArtificialHB.Event:wait()
  351. else
  352. for i = 1, NUMBER do
  353. ArtificialHB.Event:wait()
  354. end
  355. end
  356. end
  357.  
  358.  
  359. ---------------
  360. --[Functions]--
  361. ---------------
  362. so = function(id, par, vol, pit)
  363.  
  364. CFuncs.Sound.Create(id, par, vol, pit)
  365.  
  366.  
  367. end
  368.  
  369. function weld(parent,part0,part1,c0)
  370. local weld=it("Weld")
  371. weld.Parent=parent
  372. weld.Part0=part0
  373. weld.Part1=part1
  374. weld.C0=c0
  375. return weld
  376. end
  377. function joint(parent,part0,part1,c0)
  378. local weld=it("Motor6D")
  379. weld.Parent=parent
  380. weld.Part0=part0
  381. weld.Part1=part1
  382. weld.C0=c0
  383. return weld
  384. end
  385. ArmorParts = {}
  386. --ArmorParts = {}
  387. function WeldAllTo(Part1,Part2,scan,Extra)
  388. local EXCF = Part2.CFrame * Extra
  389. for i, v3 in pairs(scan:GetDescendants()) do
  390. if v3:isA("BasePart") then
  391. local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  392. v3.Anchored=false
  393. v3.Massless = true
  394. v3.CanCollide=false
  395. v3.Parent = Part1
  396. v3.Locked = true
  397. if not v3:FindFirstChild("Destroy") then
  398. table.insert(ArmorParts,{Part = v3,Par = v3.Parent,Col = v3.Color,Mat=v3.Material.Name })
  399. else
  400. v3:Destroy()
  401. end
  402. end
  403. end
  404. Part1.Transparency=1
  405. --Part2:Destroy()
  406. end
  407.  
  408.  
  409.  
  410. function JointAllTo(Part1,Part2,scan,Extra)
  411. local EXCF = Part2.CFrame * Extra
  412. for i, v3 in pairs(scan:GetDescendants()) do
  413. if v3:isA("BasePart") then
  414. local STW=joint(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  415. v3.Anchored=false
  416. v3.Massless = true
  417. v3.CanCollide=false
  418. v3.Parent = Part1
  419. v3.Locked = true
  420. if not v3:FindFirstChild("Destroy") then
  421. -- table.insert(ArmorParts,{Part = v3,Par = v3.Parent,Col = v3.Color,Mat=v3.Material.Name })
  422. else
  423. v3:Destroy()
  424. end
  425. end
  426. end
  427. Part1.Transparency=1
  428. --Part2:Destroy()
  429. end
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437. --------------------------------------------H1a
  438. local ChestPart = EffectPack.Part:Clone()
  439. ChestPart.Parent = Character
  440. ChestPart.Name = "H1a"
  441. H1a=weld(Torso,Torso,ChestPart,cf(0,.5,-.4))
  442.  
  443. --------------------------------------------MissileBox
  444. local MissileBox = EffectPack.Part:Clone()
  445. MissileBox.Parent = Character
  446. MissileBox.Name = "MissileBox"
  447. MX1w=weld(Torso,Torso,MissileBox,cf(0,-.7,-.25))
  448. --------------------------------------------FlameThrower
  449.  
  450. local FlameThrower = EffectPack.Part:Clone()
  451. FlameThrower.Parent = Character
  452. FlameThrower.Name = "FlameThrower"
  453. FlameW=weld(RightArm,RightArm,FlameThrower,cf(0,0,0))
  454. --------------------------------------------Hand
  455. local Finger1 = EffectPack.Part:Clone()
  456. Finger1.Parent = Character
  457. Finger1.Name = "RightLow1"
  458. Fg1=weld(RightArm,RightArm,Finger1,cf(0,0,0))
  459. --------------------------------------------Hand
  460. local Finger2 = EffectPack.Part:Clone()
  461. Finger2.Parent = Character
  462. Finger2.Name = "RightLow2"
  463. Fg2=weld(RightArm,RightArm,Finger2,cf(0,0,0))
  464. --------------------------------------------Hand
  465. local Finger3 = EffectPack.Part:Clone()
  466. Finger3.Parent = Character
  467. Finger3.Name = "RightLow3"
  468. Fg3=weld(RightArm,RightArm,Finger3,cf(0,0,0))
  469. --------------------------------------------Hand
  470. local Finger4 = EffectPack.Part:Clone()
  471. Finger4.Parent = Character
  472. Finger4.Name = "RightLow4"
  473. Fg4=weld(RightArm,RightArm,Finger4,cf(0,0,0))
  474. --------------------------------------------Boot
  475. local Boot1 = EffectPack.Part:Clone()
  476. Boot1.Parent = Character
  477. Boot1.Name = "RightFrontBoot"
  478. RB1=weld(RightLeg,RightLeg,Boot1,cf(0,0,0))
  479. --------------------------------------------Boot
  480. local Boot2 = EffectPack.Part:Clone()
  481. Boot2.Parent = Character
  482. Boot2.Name = "RightBackBoot"
  483. RB2=weld(RightLeg,RightLeg,Boot2,cf(0,0,0))
  484. --------------------------------------------Boot
  485. local Boot3 = EffectPack.Part:Clone()
  486. Boot3.Parent = Character
  487. Boot3.Name = "LeftFrontBoot"
  488. LB1=weld(LeftLeg,LeftLeg,Boot3,cf(0,0,0))
  489. --------------------------------------------Boot
  490. local Boot4 = EffectPack.Part:Clone()
  491. Boot4.Parent = Character
  492. Boot4.Name = "LeftBackBoot"
  493. LB2=weld(LeftLeg,LeftLeg,Boot4,cf(0,0,0))
  494. --------------------------------------------LeftHand
  495. local LHP = EffectPack.Part:Clone()
  496. LHP.Parent = Character
  497. LHP.Name = "LeftHand"
  498. LHP2=weld(LeftArm,LeftArm,LHP,cf(0,0,0))
  499. --------------------------------------------end
  500.  
  501.  
  502. for _,v in pairs(script.Armor:children()) do
  503. if v:IsA("Model") then
  504.  
  505. if Character:FindFirstChild(""..v.Name) then
  506. local Part1=Character:FindFirstChild(""..v.Name)
  507. local Part2=v.Handle
  508.  
  509. WeldAllTo(Part1,Part2,v,CFrame.new(0,0,0))
  510.  
  511. end
  512.  
  513.  
  514. end
  515. end
  516.  
  517. rayCast = function(Pos, Dir, Max, Ignore)
  518.  
  519. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  520. end
  521.  
  522. function SetTween(SPart,CFr,MoveStyle2,outorin2,AnimTime)
  523. local MoveStyle = Enum.EasingStyle[MoveStyle2]
  524. local outorin = Enum.EasingDirection[outorin2]
  525.  
  526.  
  527. local dahspeed=1
  528. if attack == true and mememode == true then
  529. dahspeed=5
  530. end
  531.  
  532. if SPart.Name=="Bullet" then
  533. dahspeed=1
  534. end
  535.  
  536. local tweeningInformation = TweenInfo.new(
  537. AnimTime/dahspeed,
  538. MoveStyle,
  539. outorin,
  540. 0,
  541. false,
  542. 0
  543. )
  544. local MoveCF = CFr
  545. local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
  546. tweenanim:Play()
  547. end
  548.  
  549. function GatherAllInstances(Parent,ig)
  550. local Instances = {}
  551. local Ignore=nil
  552. if ig ~= nil then
  553. Ignore = ig
  554. end
  555.  
  556. local function GatherInstances(Parent,Ignore)
  557. for i, v in pairs(Parent:GetChildren()) do
  558.  
  559. if v ~= Ignore then
  560. GatherInstances(v,Ignore)
  561. table.insert(Instances, v) end
  562. end
  563. end
  564. GatherInstances(Parent,Ignore)
  565. return Instances
  566. end
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576. function WeldAllTo(Part1,Part2,Extra)
  577.  
  578. local EXCF = Part2.CFrame * Extra
  579.  
  580. for i, v3 in pairs(GatherAllInstances(Part2)) do
  581. if v3:isA("BasePart") then
  582.  
  583.  
  584. local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  585.  
  586.  
  587. v3.Anchored=false
  588. --v3.Transparency=0
  589. v3.CanCollide=false
  590.  
  591. v3.Parent = Part1
  592.  
  593. end
  594. end
  595.  
  596.  
  597. Part2:Destroy()
  598.  
  599. end
  600. local SToneTexture = Create("Texture")({
  601.  
  602.  
  603. Texture = "http://www.roblox.com/asset/?id=1693385655",
  604. Color3 = Color3.new(17/255, 17/255, 17/255),
  605.  
  606. })
  607.  
  608. function AddStoneTexture(part)
  609. coroutine.resume(coroutine.create(function()
  610. for i = 0,6,1 do
  611. local Tx = SToneTexture:Clone()
  612. Tx.Face = i
  613. Tx.Parent=part
  614. end
  615. end))
  616. end
  617.  
  618. New = function(Object, Parent, Name, Data)
  619. local Object = Instance.new(Object)
  620. for Index, Value in pairs(Data or {}) do
  621. Object[Index] = Value
  622. end
  623. Object.Parent = Parent
  624. Object.Name = Name
  625. return Object
  626. end
  627.  
  628.  
  629.  
  630. function Tran(Num)
  631. local GivenLeter = ""
  632. if Num == "1" then
  633. GivenLeter = "a"
  634. elseif Num == "2" then
  635. GivenLeter = "b"
  636. elseif Num == "3" then
  637. GivenLeter = "c"
  638. elseif Num == "4" then
  639. GivenLeter = "d"
  640. elseif Num == "5" then
  641. GivenLeter = "e"
  642. elseif Num == "6" then
  643. GivenLeter = "f"
  644. elseif Num == "7" then
  645. GivenLeter = "g"
  646. elseif Num == "8" then
  647. GivenLeter = "h"
  648. elseif Num == "9" then
  649. GivenLeter = "i"
  650. elseif Num == "10" then
  651. GivenLeter = "j"
  652. elseif Num == "11" then
  653. GivenLeter = "k"
  654. elseif Num == "12" then
  655. GivenLeter = "l"
  656. elseif Num == "13" then
  657. GivenLeter = "m"
  658. elseif Num == "14" then
  659. GivenLeter = "n"
  660. elseif Num == "15" then
  661. GivenLeter = "o"
  662. elseif Num == "16" then
  663. GivenLeter = "p"
  664. elseif Num == "17" then
  665. GivenLeter = "q"
  666. elseif Num == "18" then
  667. GivenLeter = "r"
  668. elseif Num == "19" then
  669. GivenLeter = "s"
  670. elseif Num == "20" then
  671. GivenLeter = "t"
  672. elseif Num == "21" then
  673. GivenLeter = "u"
  674. elseif Num == "22" then
  675. GivenLeter = "v"
  676. elseif Num == "23" then
  677. GivenLeter = "w"
  678. elseif Num == "24" then
  679. GivenLeter = "x"
  680. elseif Num == "25" then
  681. GivenLeter = "y"
  682. elseif Num == "26" then
  683. GivenLeter = "z"
  684. elseif Num == "27" then
  685. GivenLeter = "_"
  686. elseif Num == "28" then
  687. GivenLeter = "0"
  688. elseif Num == "29" then
  689. GivenLeter = "1"
  690. elseif Num == "30" then
  691. GivenLeter = "2"
  692. elseif Num == "31" then
  693. GivenLeter = "3"
  694. elseif Num == "32" then
  695. GivenLeter = "4"
  696. elseif Num == "33" then
  697. GivenLeter = "5"
  698. elseif Num == "34" then
  699. GivenLeter = "6"
  700. elseif Num == "35" then
  701. GivenLeter = "7"
  702. elseif Num == "36" then
  703. GivenLeter = "8"
  704. elseif Num == "37" then
  705. GivenLeter = "9"
  706. end
  707. return GivenLeter
  708.  
  709. end
  710.  
  711. function MaybeOk(Mode,Extra)
  712. local ReturningValue = ""
  713. if Mode == 1 then
  714.  
  715.  
  716.  
  717. -- v.C0 = CFrame.new(1,1,1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  718.  
  719. --print(v.C0)
  720. local GivenText = ""
  721. local msg = Extra
  722. local Txt = ""
  723. local FoundTime=0
  724. local LastFound = 0
  725. delay(wait(0),function()
  726. for v3 = 1, #msg do
  727.  
  728. if string.sub(msg,0+v3,v3) == "," then
  729.  
  730. local TheN = string.sub(msg,LastFound,v3-1)
  731.  
  732.  
  733. local NumTranslate = Tran(string.sub(msg,LastFound,v3-1))
  734.  
  735.  
  736.  
  737. FoundTime = FoundTime + 1
  738.  
  739.  
  740. GivenText = GivenText..NumTranslate
  741.  
  742. LastFound=v3+1
  743. Txt=""
  744. end
  745. Txt=string.sub(msg,1,v3)
  746.  
  747.  
  748. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  749.  
  750.  
  751. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  752. wait()
  753. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  754. end;
  755.  
  756. ReturningValue=GivenText
  757. for v3 = 1, #Txt do
  758. Txt=string.sub(msg,-1,v3)
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766. end;
  767. -- Gui:remove()
  768. end)
  769.  
  770.  
  771. elseif Mode == 2 then
  772.  
  773. print("fat")
  774. end
  775.  
  776.  
  777.  
  778. while ReturningValue == "" do wait() end
  779. return ReturningValue
  780.  
  781. end
  782.  
  783. function CreateMesh2(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  784. local NEWMESH = IT(MESH)
  785. if MESH == "SpecialMesh" then
  786. NEWMESH.MeshType = MESHTYPE
  787. if MESHID ~= "nil" and MESHID ~= "" then
  788. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  789. end
  790. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  791. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  792. end
  793. end
  794. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  795. NEWMESH.Scale = SCALE
  796. NEWMESH.Parent = PARENT
  797. return NEWMESH
  798. end
  799.  
  800. function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  801. local NEWPART = IT("Part")
  802. NEWPART.formFactor = FORMFACTOR
  803. NEWPART.Reflectance = REFLECTANCE
  804. NEWPART.Transparency = TRANSPARENCY
  805. NEWPART.CanCollide = false
  806. NEWPART.Locked = true
  807. NEWPART.Anchored = true
  808. if ANCHOR == false then
  809. NEWPART.Anchored = false
  810. end
  811. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  812. NEWPART.Name = NAME
  813. NEWPART.Size = SIZE
  814. NEWPART.Position = Torso.Position
  815. NEWPART.Material = MATERIAL
  816. NEWPART:BreakJoints()
  817. NEWPART.Parent = PARENT
  818. return NEWPART
  819. end
  820.  
  821. local S = IT("Sound")
  822. function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  823. local NEWSOUND = nil
  824. coroutine.resume(coroutine.create(function()
  825. NEWSOUND = S:Clone()
  826. NEWSOUND.Parent = PARENT
  827. NEWSOUND.Volume = VOLUME
  828. NEWSOUND.Pitch = PITCH
  829. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  830. NEWSOUND:play()
  831. if DOESLOOP == true then
  832. NEWSOUND.Looped = true
  833. else
  834. repeat wait(1) until NEWSOUND.Playing == false
  835. NEWSOUND:remove()
  836. end
  837. end))
  838. return NEWSOUND
  839. end
  840.  
  841.  
  842. function WACKYEFFECT(Table)
  843. local TYPE = (Table.EffectType or "Sphere")
  844. local SIZE = (Table.Size or VT(1,1,1))
  845. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  846. local TRANSPARENCY = (Table.Transparency or 0)
  847. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  848. local CFRAME = (Table.CFrame or Torso.CFrame)
  849. local MOVEDIRECTION = (Table.MoveToPos or nil)
  850. local ROTATION1 = (Table.RotationX or 0)
  851. local ROTATION2 = (Table.RotationY or 0)
  852. local ROTATION3 = (Table.RotationZ or 0)
  853. local MATERIAL = (Table.Material or "Neon")
  854. local COLOR = (Table.Color or C3(1,1,1))
  855. local TIME = (Table.Time or 45)
  856. local SOUNDID = (Table.SoundID or nil)
  857. local SOUNDPITCH = (Table.SoundPitch or nil)
  858. local SOUNDVOLUME = (Table.SoundVolume or nil)
  859. coroutine.resume(coroutine.create(function()
  860. local PLAYSSOUND = false
  861. local SOUND = nil
  862. local EFFECT = CreatePart2(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  863. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  864. PLAYSSOUND = true
  865. SOUND = CreateSound2(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  866. end
  867. EFFECT.Color = COLOR
  868. local MSH = nil
  869. if TYPE == "Sphere" then
  870. MSH = CreateMesh2("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  871. elseif TYPE == "Cylinder" then
  872. MSH = CreateMesh2("SpecialMesh", EFFECT, "Cylinder", "", "", SIZE, VT(0,0,0))
  873. elseif TYPE == "Block" then
  874. MSH = IT("BlockMesh",EFFECT)
  875. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  876. elseif TYPE == "Cube" then
  877. MSH = IT("BlockMesh",EFFECT)
  878. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  879.  
  880. elseif TYPE == "Wave" then
  881. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  882. elseif TYPE == "Ring" then
  883. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  884. elseif TYPE == "Slash" then
  885. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  886. elseif TYPE == "Round Slash" then
  887. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  888. elseif TYPE == "Swirl" then
  889. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  890. elseif TYPE == "Skull" then
  891. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  892. elseif TYPE == "Crystal" then
  893. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  894. elseif TYPE == "Crown" then
  895. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, VT(0,0,0))
  896. end
  897. if MSH ~= nil then
  898. local MOVESPEED = nil
  899. if MOVEDIRECTION ~= nil then
  900. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  901. end
  902. local GROWTH = SIZE - ENDSIZE
  903. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  904. if TYPE == "Block" then
  905.  
  906. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",TIME/60)
  907. else
  908.  
  909. SetTween(EFFECT,{CFrame = CFRAME},"Linear","InOut",0)
  910.  
  911. end
  912.  
  913.  
  914.  
  915. wait()
  916.  
  917. SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS},"Linear","InOut",TIME/60)
  918.  
  919. if TYPE == "Block" then
  920.  
  921. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  922. else
  923.  
  924. SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  925.  
  926. end
  927. if MOVEDIRECTION ~= nil then
  928. local ORI = EFFECT.Orientation
  929.  
  930. SetTween(EFFECT,{CFrame=CF(MOVEDIRECTION)},"Linear","InOut",TIME/60)
  931. SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",TIME/60)
  932.  
  933.  
  934. end
  935. MSH.Scale = MSH.Scale - GROWTH/TIME
  936. SetTween(MSH,{Scale=ENDSIZE},"Linear","InOut",TIME/60)
  937. if TYPE == "Wave" then
  938.  
  939. SetTween(MSH,{Offset=VT(0,0,-MSH.Scale.X/8)},"Linear","InOut",TIME/60)
  940. end
  941. for LOOP = 1, TIME+1 do
  942. wait(.05)
  943.  
  944. --SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS/TIME},"Linear","InOut",0)
  945.  
  946.  
  947. if TYPE == "Block" then
  948.  
  949. -- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  950. else
  951.  
  952. -- SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  953.  
  954. end
  955. if MOVEDIRECTION ~= nil then
  956. local ORI = EFFECT.Orientation
  957.  
  958. -- SetTween(EFFECT,{CFrame=CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)},"Linear","InOut",0)
  959. -- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",0)
  960.  
  961.  
  962. end
  963. end
  964. game:GetService("Debris"):AddItem(EFFECT, 15)
  965. if PLAYSSOUND == false then
  966. EFFECT:remove()
  967. else
  968. SOUND.Stopped:Connect(function()
  969. EFFECT:remove()
  970. end)
  971. end
  972. else
  973. if PLAYSSOUND == false then
  974. EFFECT:remove()
  975. else
  976. repeat wait() until SOUND.Playing == false
  977. EFFECT:remove()
  978. end
  979. end
  980. end))
  981. end
  982. ----------------------
  983. --[End Of Functions]--
  984. ----------------------
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991. ------------------
  992. --[Gun]--
  993. ------------------
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006. function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1007. local Part = Create("Part"){
  1008.  
  1009. Parent = Parent,
  1010. Reflectance = Reflectance,
  1011. Transparency = Transparency,
  1012. CanCollide = false,
  1013. Locked = true,
  1014. BrickColor = BrickColor.new(tostring(BColor)),
  1015. Name = Name,
  1016. Size = Size,
  1017. Material = Material,
  1018. }
  1019. RemoveOutlines(Part)
  1020. return Part
  1021. end
  1022.  
  1023. ------------------
  1024. --[End of Gun]--
  1025. ------------------
  1026.  
  1027. ---------------
  1028. --[Particles]--
  1029. ---------------
  1030.  
  1031.  
  1032. local Particle2_1 = Create("ParticleEmitter"){
  1033. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (170/255, 255/255, 255/255)),
  1034. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.75,.4),NumberSequenceKeypoint.new(1,1)}),
  1035. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,.0)}),
  1036. Texture = "rbxassetid://241922778",
  1037. Lifetime = NumberRange.new(0.55,0.95),
  1038. Rate = 100,
  1039. VelocitySpread = 180,
  1040. Rotation = NumberRange.new(0),
  1041. RotSpeed = NumberRange.new(-200,200),
  1042. Speed = NumberRange.new(8.0),
  1043. LightEmission = 1,
  1044. LockedToPart = false,
  1045. Acceleration = Vector3.new(0, 0, 0),
  1046. EmissionDirection = "Top",
  1047. Drag = 4,
  1048. Enabled = false
  1049. }
  1050.  
  1051.  
  1052. local BEGONE_Particle = Create("ParticleEmitter"){
  1053. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
  1054. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(0.5,.2),NumberSequenceKeypoint.new(1,1)}),
  1055. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.15,1.5),NumberSequenceKeypoint.new(.75,1.5),NumberSequenceKeypoint.new(1,0)}),
  1056. Texture = "rbxassetid://936193661",
  1057. Lifetime = NumberRange.new(1.5),
  1058. Rate = 100,
  1059. VelocitySpread = 0,
  1060. Rotation = NumberRange.new(0),
  1061. RotSpeed = NumberRange.new(-10,10),
  1062. Speed = NumberRange.new(0),
  1063. LightEmission = .25,
  1064. LockedToPart = true,
  1065. Acceleration = Vector3.new(0, -0, 0),
  1066. EmissionDirection = "Top",
  1067. Drag = 4,
  1068. ZOffset = 1,
  1069. Enabled = false
  1070. }
  1071.  
  1072.  
  1073. ----------------------
  1074. --[End Of Particles]--
  1075. ----------------------
  1076.  
  1077. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans,SizeAdd,Time,Dely) -- Lightning module
  1078. --[[Part0 = Vector3 (Start pos)
  1079. Part1 = Vector3 (End pos)
  1080. Times = number (Amount of lightning parts)
  1081. Offset = number (Offset)
  1082. Color = color (brickcolor value)
  1083. Thickness = number (thickness)
  1084. Trans = number (transparency)
  1085. ]]--
  1086. coroutine.resume(coroutine.create(function()
  1087. local magz = (Part0 - Part1).magnitude
  1088. local curpos = Part0
  1089. local trz = {-Offset,Offset}
  1090. local Time2 = 0.07
  1091. if Time ~= nil then
  1092. Time2 = Time
  1093. end
  1094. for i=1,Times do
  1095. local li = Instance.new("Part", Torso)
  1096. li.Name = "Lightning"
  1097. li.TopSurface =0
  1098. li.Material = "Neon"
  1099. li.BottomSurface = 0
  1100. li.Anchored = true
  1101. li.Locked = true
  1102. li.Transparency = Trans or 0
  1103. li.BrickColor = Color
  1104. li.formFactor = "Custom"
  1105. li.CanCollide = false
  1106. -- MakeForm(li,"Ball")
  1107. li.Size = Vector3.new(0,0,magz/Times)
  1108. local Offzet = Vector3.new(trz[(math.random(1,2)*100)/100],trz[(math.random(1,2)*100)/100],trz[(math.random(1,2)*100)/100])
  1109. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1110. if Times == i then
  1111. local magz2 = (curpos - Part1).magnitude
  1112. li.Size = Vector3.new(0,0,magz2)
  1113. SetTween(li,{Size = VT(Thickness*(1-(i/Times+.1)),Thickness*(1-(i/Times+.1)),magz2),Transparency=1},"Back","Out",Time)
  1114.  
  1115. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1116. else
  1117. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1118. SetTween(li,{Size = VT(Thickness*(1-(i/Times)),Thickness*(1-(i/Times)),magz/Times),Transparency=1},"Back","Out",Time)
  1119.  
  1120. end
  1121. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1122. coroutine.resume(coroutine.create(function()
  1123. wait(Time)
  1124. li:Destroy()
  1125. end))
  1126. --game.Debris:AddItem(li,Time)
  1127.  
  1128. if Dely ~= nil then
  1129. Swait(Dely)
  1130. end
  1131.  
  1132.  
  1133. --BlockEffect(Color, li.CFrame, li.Size.X*20, li.Size.Y*20, li.Size.Z*20, SizeAdd, SizeAdd, 0, Time2,2)
  1134. end
  1135. end))
  1136. end
  1137.  
  1138.  
  1139. function MakeForm(PART,TYPE)
  1140. if TYPE == "Cyl" then
  1141. local MSH = IT("CylinderMesh",PART)
  1142. elseif TYPE == "Ball" then
  1143. local MSH = IT("SpecialMesh",PART)
  1144. MSH.MeshType = "Sphere"
  1145. elseif TYPE == "Wedge" then
  1146. local MSH = IT("SpecialMesh",PART)
  1147. MSH.MeshType = "Wedge"
  1148. end
  1149. end
  1150. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1151. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1152. end
  1153. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1154. local DIRECTION = CF(StartPos,EndPos).lookVector
  1155. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1156. end
  1157. Debris = game:GetService("Debris")
  1158.  
  1159. -----------------
  1160.  
  1161.  
  1162.  
  1163. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1164.  
  1165. if hit.Parent == nil then
  1166. return
  1167. end
  1168. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1169. for _,v in pairs(hit.Parent:children()) do
  1170. if v:IsA("Humanoid") then
  1171. if h.Health > 0.0001 then
  1172. h = v else end
  1173. end
  1174. end
  1175.  
  1176. if h == nil then
  1177. return
  1178. elseif h ~= nil and h.Health < 0.001 then
  1179. return
  1180. elseif h ~= nil and h.Parent:FindFirstChild("Fly away") then
  1181. return
  1182. end
  1183.  
  1184.  
  1185. --gg
  1186.  
  1187. --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1188. coroutine.resume(coroutine.create(function()
  1189. if h.Health >9999999 and minim <9999 and Type~= "IgnoreType" and(h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  1190.  
  1191.  
  1192. local FATag = Instance.new("Model",h.Parent)
  1193.  
  1194. FATag.Name = "Fly away"
  1195. game:GetService("Debris"):AddItem(FATag, 2.5)
  1196.  
  1197.  
  1198. for _,v in pairs(h.Parent:children()) do
  1199. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1200. v.Anchored=true
  1201. end
  1202. end
  1203.  
  1204. wait(.25)
  1205.  
  1206. if h.Parent:FindFirstChildOfClass("Body Colors")then
  1207. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  1208. end
  1209.  
  1210.  
  1211. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1212.  
  1213. coroutine.resume(coroutine.create(function()
  1214.  
  1215.  
  1216. local YourGone = Instance.new("Part")
  1217. YourGone.Reflectance = 0
  1218. YourGone.Transparency = 1
  1219. YourGone.CanCollide = false
  1220. YourGone.Locked = true
  1221. YourGone.Anchored=true
  1222. YourGone.BrickColor = BrickColor.new("Really blue")
  1223. YourGone.Name = "YourGone"
  1224. YourGone.Size = Vector3.new()
  1225. YourGone.Material = "SmoothPlastic"
  1226. YourGone:BreakJoints()
  1227. YourGone.Parent = FoundTorso
  1228. YourGone.CFrame = FoundTorso.CFrame
  1229.  
  1230. local NewParticle = Instance.new("ParticleEmitter")
  1231. NewParticle.Parent = YourGone
  1232. NewParticle.Acceleration = Vector3.new(0,0,0)
  1233. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  1234. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  1235. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  1236. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  1237. NewParticle.Speed = NumberRange.new(0,0.0)
  1238. NewParticle.ZOffset = 2
  1239. NewParticle.Texture = "rbxassetid://243660364"
  1240. NewParticle.RotSpeed = NumberRange.new(-0,0)
  1241. NewParticle.Rotation = NumberRange.new(-180,180)
  1242. NewParticle.Enabled = false
  1243. game:GetService("Debris"):AddItem(YourGone, 3)
  1244. for i = 0,2,1 do
  1245. NewParticle:Emit(1)
  1246. so("1448044156", FoundTorso,2, 1)
  1247. h.Parent:BreakJoints()
  1248. YourGone.CFrame = FoundTorso.CFrame
  1249. for _,v in pairs(h.Parent:children()) do
  1250. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1251. v.Anchored=false
  1252. -- v.Material = "Neon"
  1253. --v.BrickColor = BrickColor.new("Really red")
  1254. if v:FindFirstChildOfClass("SpecialMesh")then
  1255. --v:Destroy()
  1256. end
  1257. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1258. -- v:Destroy()
  1259. end
  1260. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1261.  
  1262. vp.Parent = v
  1263. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  1264.  
  1265.  
  1266. end
  1267.  
  1268.  
  1269.  
  1270. end
  1271.  
  1272.  
  1273.  
  1274. wait(.2)
  1275. end
  1276. wait(.1)
  1277. NewParticle:Emit(3)
  1278. so("1448044156", FoundTorso,2, .8)
  1279. h.Parent:BreakJoints()
  1280. YourGone.CFrame = FoundTorso.CFrame
  1281. for _,v in pairs(h.Parent:children()) do
  1282. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1283. v.Anchored=false
  1284. -- v.Material = "Neon"
  1285. --v.BrickColor = BrickColor.new("Really red")
  1286. if v:FindFirstChildOfClass("SpecialMesh")then
  1287. --v:Destroy()
  1288. end
  1289. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1290. -- v:Destroy()
  1291. end
  1292. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1293.  
  1294. vp.Parent = v
  1295. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  1296.  
  1297.  
  1298. end
  1299.  
  1300.  
  1301.  
  1302. end
  1303.  
  1304.  
  1305.  
  1306.  
  1307. end))
  1308.  
  1309.  
  1310.  
  1311.  
  1312. wait(.1)
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320. end
  1321.  
  1322.  
  1323. end))
  1324. if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1325. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1326. return
  1327. end
  1328. local c = owner
  1329. game:GetService("Debris"):AddItem(c, 0.5)
  1330. if HitSound ~= nil and HitPitch ~= nil then
  1331. so(HitSound, hit, 1, HitPitch)
  1332. end
  1333. local Damage = math.random(minim, maxim)
  1334. local blocked = false
  1335. local block = hit.Parent:findFirstChild("Block")
  1336. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1337. blocked = true
  1338. block.Value = block.Value - 1
  1339. print(block.Value)
  1340. end
  1341. if blocked == false then
  1342. h.Health = h.Health - Damage
  1343. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Color3.new(0,0,0))
  1344. else
  1345. h.Health = h.Health - Damage / 2
  1346. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Color3.new(0,0,0))
  1347.  
  1348. end
  1349.  
  1350. if Type == "Knockdown" then
  1351. local hum = h
  1352.  
  1353. hum.PlatformStand = true
  1354. coroutine.resume(coroutine.create(function(HHumanoid)
  1355.  
  1356. wait(.2)
  1357. HHumanoid.PlatformStand = false
  1358. end
  1359. ), hum)
  1360.  
  1361.  
  1362.  
  1363. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1364. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1365. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,FoundTorso.Position).lookVector * knockback, Parent = hit})
  1366. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1367. game:GetService("Debris"):AddItem(bodvol, .2)
  1368. game:GetService("Debris"):AddItem(rl, 0.2)
  1369.  
  1370.  
  1371.  
  1372. elseif Type == "Knockdown2" then
  1373. local hum = h
  1374.  
  1375. hum.PlatformStand = true
  1376. coroutine.resume(coroutine.create(function(HHumanoid)
  1377.  
  1378.  
  1379. Combo = 1 wait(.2)
  1380. HHumanoid.PlatformStand = false
  1381. end
  1382. ), hum)
  1383. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1384. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  1385. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1386. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1387. game:GetService("Debris"):AddItem(rl, 0.2)
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  1395. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  1396.  
  1397. elseif Type == "Normal" then
  1398. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  1399. if knockback > 0 then
  1400.  
  1401. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1402. vp.Parent = HTorso
  1403. end
  1404. game:GetService("Debris"):AddItem(vp, 0.25)
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412. elseif Type== "Fire" then
  1413. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1414.  
  1415. local tags = 0
  1416. for _,v2 in next, HTorso:GetChildren() do
  1417. if v2:IsA("Folder") and v2.Name == "OnFire" then
  1418. tags=tags+1
  1419. end
  1420. end
  1421.  
  1422. if tags < 2 then
  1423.  
  1424. local fireef = EffectPack.FireEffect:Clone()
  1425.  
  1426. local tag = Instance.new("Folder",HTorso)
  1427. tag.Name = "OnFire"
  1428. game:GetService("Debris"):AddItem(tag, 4.5)
  1429. for _,v in next, fireef:GetDescendants() do if v:IsA("ParticleEmitter") or v:IsA("SpotLight") then game:GetService("Debris"):AddItem(v, 5) v.Parent = HTorso
  1430. coroutine.resume(coroutine.create(function()
  1431. for i = 1,35 do
  1432. coroutine.resume(coroutine.create(function()
  1433. v:Emit(2) end))
  1434. coroutine.resume(coroutine.create(function()
  1435. Damagefunc(HTorso, HTorso, 4/2, 6/2, 0, "Normal", RootPart, 0.1, "1273118342", math.random(10,30)/10)
  1436. end))
  1437. if HTorso.Parent:FindFirstChildOfClass("Humanoid") and HTorso.Parent:FindFirstChildOfClass("Humanoid").Health > .01 then
  1438. else for _,v2 in next, HTorso.Parent:GetDescendants() do if v2:isA("BasePart") then SetTween(v2,{Color=C3(0,0,0)},"Quad","Out",.5) end end break
  1439. end
  1440. wait(.1)
  1441. end
  1442. end))
  1443.  
  1444. end end
  1445.  
  1446.  
  1447. fireef:Destroy()
  1448. else-- print("Hit Max")
  1449. end
  1450. elseif Type== "Instakill" then
  1451. coroutine.resume(coroutine.create(function()
  1452. if (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  1453.  
  1454.  
  1455. local FATag = Instance.new("Model",h.Parent)
  1456.  
  1457. FATag.Name = "Fly away"
  1458. game:GetService("Debris"):AddItem(FATag, 2.5)
  1459.  
  1460.  
  1461. for _,v in pairs(h.Parent:children()) do
  1462. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1463. v.Anchored=true
  1464. end
  1465. end
  1466.  
  1467. wait(.25)
  1468.  
  1469. if h.Parent:FindFirstChildOfClass("Body Colors")then
  1470. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  1471. end
  1472.  
  1473.  
  1474. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1475.  
  1476. coroutine.resume(coroutine.create(function()
  1477.  
  1478.  
  1479. local YourGone = Instance.new("Part")
  1480. YourGone.Reflectance = 0
  1481. YourGone.Transparency = 1
  1482. YourGone.CanCollide = false
  1483. YourGone.Locked = true
  1484. YourGone.Anchored=true
  1485. YourGone.BrickColor = BrickColor.new("Really blue")
  1486. YourGone.Name = "YourGone"
  1487. YourGone.Size = Vector3.new()
  1488. YourGone.Material = "SmoothPlastic"
  1489. YourGone:BreakJoints()
  1490. YourGone.Parent = FoundTorso
  1491. YourGone.CFrame = FoundTorso.CFrame
  1492.  
  1493. local NewParticle = Instance.new("ParticleEmitter")
  1494. NewParticle.Parent = YourGone
  1495. NewParticle.Acceleration = Vector3.new(0,0,0)
  1496. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  1497. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  1498. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  1499. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  1500. NewParticle.Speed = NumberRange.new(0,0.0)
  1501. NewParticle.ZOffset = 2
  1502. NewParticle.Texture = "rbxassetid://243660364"
  1503. NewParticle.RotSpeed = NumberRange.new(-0,0)
  1504. NewParticle.Rotation = NumberRange.new(-180,180)
  1505. NewParticle.Enabled = false
  1506. game:GetService("Debris"):AddItem(YourGone, 3)
  1507. for i = 0,2,1 do
  1508. NewParticle:Emit(1)
  1509. so("1448044156", FoundTorso,2, 1)
  1510. h.Parent:BreakJoints()
  1511. YourGone.CFrame = FoundTorso.CFrame
  1512. for _,v in pairs(h.Parent:children()) do
  1513. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1514. v.Anchored=false
  1515. -- v.Material = "Neon"
  1516. --v.BrickColor = BrickColor.new("Really red")
  1517. if v:FindFirstChildOfClass("SpecialMesh")then
  1518. --v:Destroy()
  1519. end
  1520. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1521. -- v:Destroy()
  1522. end
  1523. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1524.  
  1525. vp.Parent = v
  1526. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  1527.  
  1528.  
  1529. end
  1530.  
  1531.  
  1532.  
  1533. end
  1534.  
  1535.  
  1536.  
  1537. wait(.2)
  1538. end
  1539. wait(.1)
  1540. NewParticle:Emit(3)
  1541. so("1448044156", FoundTorso,2, .8)
  1542. h.Parent:BreakJoints()
  1543. YourGone.CFrame = FoundTorso.CFrame
  1544. for _,v in pairs(h.Parent:children()) do
  1545. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1546. v.Anchored=false
  1547. -- v.Material = "Neon"
  1548. --v.BrickColor = BrickColor.new("Really red")
  1549. if v:FindFirstChildOfClass("SpecialMesh")then
  1550. --v:Destroy()
  1551. end
  1552. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1553. -- v:Destroy()
  1554. end
  1555. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1556.  
  1557. vp.Parent = v
  1558. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  1559.  
  1560.  
  1561. end
  1562.  
  1563.  
  1564.  
  1565. end
  1566.  
  1567.  
  1568.  
  1569.  
  1570. end))
  1571.  
  1572.  
  1573.  
  1574.  
  1575. wait(.1)
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583. end
  1584.  
  1585.  
  1586. end))
  1587.  
  1588.  
  1589. elseif Type == "HPSteal" then
  1590. Humanoid.Health = Humanoid.Health + Damage
  1591. local hum = h
  1592.  
  1593. hum.PlatformStand = true
  1594. coroutine.resume(coroutine.create(function(HHumanoid)
  1595.  
  1596.  
  1597. Combo = 1 wait(.2)
  1598. HHumanoid.PlatformStand = false
  1599. end
  1600. ), hum)
  1601. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1602. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  1603. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1604. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1605. game:GetService("Debris"):AddItem(rl, 0.2)
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  1613. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  1614.  
  1615.  
  1616. elseif Type == "Impale" then
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
  1626. hit.Parent.Humanoid.PlatformStand = true
  1627.  
  1628.  
  1629. wait(1)
  1630. hit.Parent.Humanoid.PlatformStand = false
  1631. elseif Type == "IgnoreType" then
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637. elseif Type == "Up" then
  1638. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1639. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  1640. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1641. game:GetService("Debris"):AddItem(bodyVelocity, .1)
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649. elseif Type == "Snare" then
  1650. local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso"))})
  1651. game:GetService("Debris"):AddItem(bp, 1)
  1652.  
  1653.  
  1654.  
  1655. elseif Type == "Freeze2" then
  1656. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1657. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  1658. hit.Parent.Torso.Anchored = true
  1659. coroutine.resume(coroutine.create(function(Part)
  1660.  
  1661. wait(1.5)
  1662. Part.Anchored = false
  1663. end
  1664. ), hit.Parent.Torso)
  1665. game:GetService("Debris"):AddItem(BodPos, 3)
  1666. game:GetService("Debris"):AddItem(BodGy, 3)
  1667. end
  1668. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1669. game:GetService("Debris"):AddItem(debounce, Delay)
  1670. c = Instance.new("ObjectValue")
  1671. c.Name = "creator"
  1672. c.Value = Player
  1673. c.Parent = h
  1674. game:GetService("Debris"):AddItem(c, 0.5)
  1675. end
  1676. end
  1677.  
  1678.  
  1679.  
  1680. ShowDamage = function(Pos, Text, Time, Color)
  1681.  
  1682. local Rate = 0.033333333333333
  1683. if not Pos then
  1684. local Pos = Vector3.new(0, 0, 0)
  1685. end
  1686. local Text = Text or ""
  1687. local Time = Time or 2
  1688. if not Color then
  1689. local Color = Color3.new(1, 0, 1)
  1690. end
  1691. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1692. EffectPart.Anchored = true
  1693. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(2, 0, 2, 0), Adornee = EffectPart, Parent = EffectPart})
  1694. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = "DMG: "..Text.."", TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1695. TextLabel.TextTransparency=1
  1696. game.Debris:AddItem(EffectPart, Time + 0.1)
  1697. EffectPart.Parent = game:GetService("Workspace")
  1698. delay(0, function()
  1699.  
  1700. local Frames = Time / Rate
  1701.  
  1702.  
  1703.  
  1704. --print(Frames)
  1705.  
  1706. EffectPart.CFrame=CFrame.new(Pos)
  1707. wait() TextLabel.TextTransparency=0
  1708. SetTween(TextLabel,{TextTransparency=1},"Quad","In",Frames/60)
  1709. SetTween(TextLabel,{Rotation=math.random(-25,25)},"Elastic","InOut",Frames/60)
  1710. SetTween(TextLabel,{TextColor3=Color3.new(1,0,0)},"Elastic","InOut",Frames/60)
  1711.  
  1712. SetTween(EffectPart,{CFrame = CFrame.new(Pos) + Vector3.new(math.random(-5,5), math.random(1,5), math.random(-5,5))},"Linear","InOut",Frames/60)
  1713.  
  1714.  
  1715. wait(Frames/60)
  1716.  
  1717. if EffectPart and EffectPart.Parent then
  1718. EffectPart:Destroy()
  1719. end
  1720. end
  1721. )
  1722. end
  1723.  
  1724. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type2)
  1725.  
  1726.  
  1727.  
  1728.  
  1729. local Type=""
  1730.  
  1731.  
  1732.  
  1733.  
  1734. if mememode == true then
  1735.  
  1736. Type= "Instakill"
  1737.  
  1738. else
  1739. Type=Type2
  1740. end
  1741. if Type2 == "NormalKnockdown" then
  1742. Type= "Knockdown"
  1743. end
  1744.  
  1745. for _,c in pairs(workspace:children()) do
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751. local hum = c:FindFirstChild("Humanoid")
  1752. for _,v in pairs(c:children()) do
  1753. if v:IsA("Humanoid") then
  1754. hum = v
  1755. end
  1756. end
  1757.  
  1758.  
  1759.  
  1760.  
  1761. if hum ~= nil then
  1762. local head = c:findFirstChild("Head")
  1763. if head ~= nil then
  1764. local targ = head.Position - Part.Position
  1765. local mag = targ.magnitude
  1766. if mag <= magni and c.Name ~= Player.Name then
  1767. Damagefunc(Part, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
  1768. end
  1769. end
  1770. end
  1771. end
  1772. end
  1773.  
  1774.  
  1775. function CFMagniDamage(HTCF,magni, mindam, maxdam, knock, Type)
  1776. local DGP = Instance.new("Part")
  1777.  
  1778. DGP.Parent = Character
  1779. DGP.Size = Vector3.new(0.05, 0.05, 0.05)
  1780. DGP.Transparency = 1
  1781. DGP.CanCollide = false
  1782. DGP.Anchored = true
  1783. RemoveOutlines(DGP)
  1784. DGP.Position=DGP.Position + Vector3.new(0,-.1,0)
  1785. DGP.CFrame = HTCF
  1786.  
  1787. coroutine.resume(coroutine.create(function()
  1788. MagniDamage(DGP, magni, mindam, maxdam, knock, Type)
  1789. end))
  1790. game:GetService("Debris"):AddItem(DGP, .05)
  1791.  
  1792.  
  1793. DGP.Archivable = false
  1794. end
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800. -----------------
  1801. function findNearestTorso(pos,dist1)
  1802. local list = game.Workspace:children()
  1803. local torso = nil
  1804. local dist = dist1 or 1000
  1805. local temp = nil
  1806. local human = nil
  1807. local temp2 = nil
  1808. for x = 1, #list do
  1809. temp2 = list[x]
  1810. if (temp2.className == "Model") and (temp2 ~= Character) then
  1811. temp = (temp2:FindFirstChild("Torso") or temp2:FindFirstChild("UpperTorso"))
  1812. human = temp2:findFirstChildOfClass("Humanoid")
  1813. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1814. if (temp.Position - pos).magnitude < dist then
  1815. torso = temp
  1816. dist = (temp.Position - pos).magnitude
  1817. end
  1818. end
  1819. end
  1820. end
  1821. return torso
  1822. end
  1823. function BulletHitEffectSpawn(EffectCF,EffectName)
  1824. local MainEffectHolder=Instance.new("Part",Effects)
  1825. MainEffectHolder.Reflectance = 0
  1826. MainEffectHolder.Transparency = 1
  1827. MainEffectHolder.CanCollide = false
  1828. MainEffectHolder.Locked = true
  1829. MainEffectHolder.Anchored=true
  1830. MainEffectHolder.BrickColor = BrickColor.new("Bright green")
  1831. MainEffectHolder.Name = "Bullet"
  1832. MainEffectHolder.Size = Vector3.new(.05,.05,.05)
  1833. MainEffectHolder.Material = "Neon"
  1834. MainEffectHolder:BreakJoints()
  1835. MainEffectHolder.CFrame = EffectCF
  1836. local EffectAttach=Instance.new("Attachment",MainEffectHolder)
  1837. game:GetService("Debris"):AddItem(MainEffectHolder, 15)
  1838.  
  1839. if EffectName == "Explode" then
  1840. EffectAttach.Orientation = Vector3.new(90,0,0)
  1841.  
  1842.  
  1843.  
  1844.  
  1845. local SpawnedParticle1 = EffectPack.Explode_Fire_Effect:Clone()
  1846. SpawnedParticle1.Parent = MainEffectHolder
  1847. SpawnedParticle1:Emit(150)
  1848.  
  1849.  
  1850.  
  1851. local SpawnedParticle2 = EffectPack.Explode_Smoke2_Effect:Clone()
  1852. SpawnedParticle2.Parent = MainEffectHolder
  1853. SpawnedParticle2:Emit(25)
  1854.  
  1855.  
  1856.  
  1857. local SpawnedParticle3 = EffectPack.Explode_Smoke_Effect:Clone()
  1858. SpawnedParticle3.Parent = MainEffectHolder
  1859. SpawnedParticle3:Emit(185)
  1860. game:GetService("Debris"):AddItem(MainEffectHolder, 2)
  1861.  
  1862.  
  1863. end
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870. if EffectName == "Spark" then
  1871.  
  1872. EffectAttach.Orientation = Vector3.new(90,0,0)
  1873.  
  1874.  
  1875.  
  1876.  
  1877. local SpawnedParticle1 = EffectPack.Spark:Clone()
  1878. SpawnedParticle1.Parent = MainEffectHolder
  1879. SpawnedParticle1:Emit(math.random(2,5))
  1880.  
  1881.  
  1882.  
  1883.  
  1884. game:GetService("Debris"):AddItem(MainEffectHolder, 2)
  1885.  
  1886.  
  1887. end
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893. if EffectName == "Nuke" then
  1894. so(923073285,MainEffectHolder,8,2)
  1895. EffectAttach.Orientation = Vector3.new(0,0,0)
  1896. local EffectAttach2=Instance.new("Attachment",MainEffectHolder)
  1897. EffectAttach2.Orientation = Vector3.new(0,0,0)
  1898.  
  1899.  
  1900.  
  1901.  
  1902. local SpawnedParticle1 = EffectPack.Nuke_Flash:Clone()
  1903. SpawnedParticle1.Parent = EffectAttach
  1904. SpawnedParticle1:Emit(20)
  1905.  
  1906.  
  1907.  
  1908. local SpawnedParticle2 = EffectPack.Nuke_Smoke:Clone()
  1909. SpawnedParticle2.Parent = EffectAttach2
  1910. SpawnedParticle2.Enabled = true
  1911. coroutine.resume(coroutine.create(function()
  1912.  
  1913. for i = 0,2,.025/1.5 do
  1914.  
  1915.  
  1916. SpawnedParticle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.15,.5+(i/4)),NumberSequenceKeypoint.new(.95,.5+(i/4)),NumberSequenceKeypoint.new(1,1)})
  1917. Swait()
  1918. end
  1919. SpawnedParticle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,1)})
  1920.  
  1921. SpawnedParticle2.Enabled = false
  1922. end))
  1923.  
  1924.  
  1925. local SpawnedParticle3 = EffectPack.Nuke_Wave:Clone()
  1926. SpawnedParticle3.Parent = EffectAttach
  1927. SpawnedParticle3:Emit(185)
  1928. game:GetService("Debris"):AddItem(EffectAttach, 10)
  1929.  
  1930.  
  1931. end
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944. end
  1945.  
  1946. function ProjectileDmg(MinDmg1,MaxDmg1,Lookpos1,Lookray1,Aura1,Type,Partf)
  1947.  
  1948. if Lookray1 ~= nil and Lookray1.Parent:FindFirstChildOfClass("Humanoid") then
  1949. coroutine.resume(coroutine.create(function()
  1950. Damagefunc(Partf, Lookray1, MinDmg1, MaxDmg1, MinDmg1, Type, RootPart, 0.1, "851453784", 1.2) end))
  1951. else
  1952. CFMagniDamage(CF(Lookpos1),Aura1, MinDmg1, MaxDmg1, MinDmg1, Type)
  1953. end
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959. end
  1960.  
  1961.  
  1962. function FireSoul(SpawnCF)
  1963.  
  1964.  
  1965. local GhostHolder = EffectPack.Missile:Clone()
  1966. GhostHolder.Parent = Effects
  1967. GhostHolder.CFrame = SpawnCF
  1968.  
  1969.  
  1970. local Missile = GhostHolder
  1971. for i, v3 in pairs(GatherAllInstances(Missile)) do
  1972. if v3:IsA("ParticleEmitter") then
  1973. v3.Enabled = true
  1974. end
  1975. end
  1976.  
  1977.  
  1978.  
  1979.  
  1980. coroutine.resume(coroutine.create(function()
  1981. Missile["Rocket Thrust Loop"]:Play()
  1982. end))
  1983.  
  1984.  
  1985. so(771710614,Missile,1,1)
  1986.  
  1987. wait()
  1988.  
  1989.  
  1990. game:GetService("Debris"):AddItem(GhostHolder, 60)
  1991.  
  1992. coroutine.resume(coroutine.create(function()
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999. GhostHolder.Transparency = 0
  2000.  
  2001.  
  2002.  
  2003.  
  2004. end))
  2005.  
  2006.  
  2007.  
  2008. --GhostHolder.Touched:connect(onTouch)
  2009.  
  2010. --GhostHolder:BreakJoints()
  2011. --GhostHolder.Anchored = false
  2012.  
  2013.  
  2014. --Acthing(GhostHolder,"1698327723",Vector3.new(1.41,1.42,1.41),BrickColor.new("Really black"),"Glass",0.0,cn(0,.0325,0)*angles(math.rad(0), math.rad(180), math.rad(0)),Color3.new(0,0,0),GhostHolder,2)
  2015. local GhostTarget=nil
  2016.  
  2017. coroutine.resume(coroutine.create(function()
  2018.  
  2019.  
  2020. local lookdir=RootPart.CFrame.lookVector *15
  2021.  
  2022. while GhostHolder.Parent == Effects do
  2023.  
  2024.  
  2025. GhostTarget = findNearestTorso(GhostHolder.Position)
  2026.  
  2027.  
  2028. if GhostTarget ~=nil then
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035. if OverClocking ==false then
  2036. SetTween(GhostHolder,{CFrame =CFrame.new(GhostHolder.Position+GhostHolder.CFrame.lookVector*20,(GhostTarget.Position+GhostHolder.CFrame.lookVector*30 )-VT(math.random(-10,10),math.random(-15,15),math.random(-10,10)))},"Linear","Out",.2)
  2037. --GhostForce.velocity =GhostHolder.CFrame.lookVector *80
  2038. else
  2039. SetTween(GhostHolder,{CFrame =CFrame.new(GhostHolder.Position+GhostHolder.CFrame.lookVector*20,(GhostTarget.Position+GhostHolder.CFrame.lookVector*21 ))},"Linear","Out",.1)
  2040.  
  2041. end
  2042.  
  2043. else
  2044. if OverClocking ==false then
  2045. SetTween(GhostHolder,{CFrame =CFrame.new(GhostHolder.Position+GhostHolder.CFrame.LookVector*20,GhostHolder.Position+VT(0,-1,0)+GhostHolder.CFrame.LookVector*30)},"Linear","Out",.2)
  2046.  
  2047. else
  2048. SetTween(GhostHolder,{CFrame =CFrame.new(GhostHolder.Position+GhostHolder.CFrame.LookVector*20,GhostHolder.Position+VT(0,-1,0)+GhostHolder.CFrame.LookVector*30)},"Linear","Out",.2)
  2049.  
  2050.  
  2051.  
  2052. end
  2053. end
  2054. local Lookray,Lookpos,test1 = rayCast(GhostHolder.Position, GhostHolder.CFrame.lookVector, 10, Character)
  2055. if Lookray ~= nil then
  2056. --onTouch(Lookray)
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062. so(2814355743,GhostHolder,3,2)
  2063. BulletHitEffectSpawn(CF(Lookpos,Lookpos+test1),"Explode")
  2064.  
  2065. ProjectileDmg(30,45,Lookpos,nil,15,"Knockdown",GhostHolder)
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072. coroutine.resume(coroutine.create(function()
  2073. GhostHolder["Rocket Thrust Loop"]:Stop()
  2074. end))
  2075.  
  2076.  
  2077.  
  2078.  
  2079. for i, v3 in pairs(GatherAllInstances(GhostHolder)) do
  2080. if v3:IsA("ParticleEmitter") then
  2081. v3.Enabled = false
  2082. end
  2083. end
  2084.  
  2085.  
  2086. SetTween(GhostHolder,{Transparency=1},"Quad","Out",1)
  2087. game:GetService("Debris"):AddItem(GhostHolder, 2)
  2088.  
  2089.  
  2090. break
  2091.  
  2092.  
  2093.  
  2094. end
  2095. --wait(1.35)
  2096. Swait() end
  2097. --GhostHolder:Destroy()
  2098. end))
  2099.  
  2100.  
  2101. end
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113. --[[
  2114. for i, v in pairs(C:GetChildren()) do
  2115. if v:IsA("Accessory")then
  2116. v:Destroy()
  2117. end
  2118. if v:IsA("BasePart")then
  2119. v.Transparency =1
  2120. if v.Name == "Head" then
  2121. v:FindFirstChildOfClass("Decal"):Destroy()
  2122. end
  2123. end
  2124. end--]]
  2125. --[[
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139. local tweeningInformation = TweenInfo.new(
  2140. 0.5,
  2141. Enum.EasingStyle.Back,
  2142. Enum.EasingDirection.Out,
  2143. 0,
  2144. false,
  2145. 0
  2146. )
  2147. --]]
  2148.  
  2149.  
  2150. local RJW=weld(RJ.Parent,RJ.Part0,RJ.Part1,RJ.C0)
  2151. RJW.C1 = RJ.C1
  2152. RJW.Name = RJ.Name
  2153.  
  2154. local NeckW=weld(Neck.Parent,Neck.Part0,Neck.Part1,Neck.C0)
  2155. NeckW.C1 = Neck.C1
  2156. NeckW.Name = Neck.Name
  2157.  
  2158.  
  2159. --print(WRJ.Parent.Name)
  2160.  
  2161. local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
  2162.  
  2163. local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
  2164.  
  2165. local RH=weld(Torso,Torso,RightLeg,cf(0,0,0))
  2166.  
  2167. local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0))
  2168.  
  2169.  
  2170.  
  2171. RW.C1 = cn(0, 0.5, 0)
  2172. LW.C1 = cn(0, 0.5, 0)
  2173. RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2174. LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181. --------
  2182. --(#Torso)
  2183. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  2184. --------
  2185. --(#Head)
  2186. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  2187. --------
  2188. --(#Right Arm)
  2189. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1)
  2190. --------
  2191. --(#Left Arm)
  2192. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1)
  2193. --------
  2194. --(#Right Leg)
  2195. SetTween(RH,{C0=CFrame.new(.5, -0.90, 0)},"Quad","InOut",0.1)
  2196. --------
  2197. --(#Left Leg)
  2198. SetTween(LH,{C0=CFrame.new(-.5, -0.90, 0)},"Quad","InOut",0.1)
  2199.  
  2200.  
  2201.  
  2202. --[[
  2203. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2204. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2205. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  2206. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  2207. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2208. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2209. --]]
  2210.  
  2211.  
  2212.  
  2213. Humanoid.MaxHealth = 99999
  2214.  
  2215. Humanoid.Health = 99999
  2216. GainCharge = function()
  2217. Humanoid.MaxHealth = 99999
  2218. Humanoid.Health = 99999
  2219. end
  2220.  
  2221. Humanoid.HealthChanged:connect(function() GainCharge(Humanoid) end)
  2222.  
  2223.  
  2224. function SpawnDrone(SPCF)
  2225. coroutine.resume(coroutine.create(function()
  2226. local DroneModel = nil --EffectPack.Drone:Clone()
  2227. if math.random(1,30) == 1 then
  2228. DroneModel = EffectPack.Toaster:Clone()
  2229. else
  2230. DroneModel = EffectPack.Drone:Clone()
  2231.  
  2232. end
  2233. local Drone = EffectPack.Part:Clone()
  2234. Drone.Parent = Effects
  2235. Drone.Name = "Drone"
  2236. Drone.Anchored = true
  2237.  
  2238. local Part1=Drone
  2239. local Part2=DroneModel.Handle
  2240. --game:GetService("Debris"):AddItem(Drone, 60)
  2241. coroutine.resume(coroutine.create(function()
  2242. wait(60)
  2243. Drone:Destroy()
  2244. end))
  2245. Drone.CFrame = SPCF*CF(0,10,600)
  2246. JointAllTo(Part1,Part2,DroneModel,CFrame.new(0,0,0))
  2247. SetTween(Drone,{CFrame=SPCF*CF(math.random(-100,100)/10,math.random(5,20),math.random(-10,10)/10)},"Quad","Out",1)
  2248. wait(1)
  2249. local v2 = findNearestTorso(Drone.Position,70)
  2250. if v2 ~= nil then
  2251. SetTween(Drone,{CFrame=CF(Drone.CFrame.p,v2.CFrame.p)},"Quad","InOut",.5)
  2252. end
  2253. Swait(0.15*30)
  2254. for i2 =1,16 do
  2255. for i = 1,2,1 do
  2256. local v = findNearestTorso(Drone.Position,70)
  2257. if v~=nil then
  2258.  
  2259. SetTween(Drone,{CFrame=CF(Drone.CFrame.p,v2.CFrame.p)},"Quad","Out",.25)
  2260.  
  2261. local lighth,lightp,test1 = rayCast(Drone["gun"..i].CFrame.p, CFrame.new(Drone["gun"..i].CFrame.p, v.CFrame.p).lookVector, 70, Character)
  2262. if DroneModel.Name ~= "Toaster" then
  2263. Lightning(Drone["gun"..i].CFrame.p,lightp , 5, .2, BrickColor.new("Persimmon"), .15, .5,-.25*2,.5,nil)
  2264. BulletHitEffectSpawn(CF(lightp,lightp+test1),"Spark")
  2265. coroutine.resume(coroutine.create(function()
  2266. so("168586621", Drone,1.6, math.random(120,220)/100)
  2267.  
  2268. so("1225795839", Drone,2, math.random(120,220)/100)
  2269. CFMagniDamage(CF(lightp),10,5,10,10,"Knockdown")
  2270.  
  2271. end))Swait(0.15*30)
  2272. else
  2273.  
  2274. Lightning(Drone["gun"..i].CFrame.p,lightp , 15, 1, BrickColor.new("Persimmon"), 2, 0,-.25*2,1,nil)
  2275. BulletHitEffectSpawn(CF(lightp,lightp+test1),"Explode")
  2276. coroutine.resume(coroutine.create(function()
  2277. -- so("168586621", Drone,1.0, math.random(120,220)/100)
  2278.  
  2279. so("1578823908", Drone,4, math.random(100,150)/100)
  2280. CFMagniDamage(CF(lightp),20,25,40,-50,"Knockdown")
  2281.  
  2282. end))
  2283. SetTween(Drone,{CFrame=CF(Drone.CFrame.p,v2.CFrame.p)*CF(0,5,-2.5)},"Quad","InOut",.45)
  2284. Swait(0.45*30)
  2285. end
  2286.  
  2287. end
  2288.  
  2289. end
  2290.  
  2291. v2 = findNearestTorso(Drone.Position,70)
  2292. if v2~=nil then
  2293.  
  2294. SetTween(Drone,{CFrame=CF((Drone.CFrame).p,v2.CFrame.p)},"Quad","InOut",.1)
  2295.  
  2296.  
  2297. --Swait(0.2*30)
  2298. end
  2299.  
  2300.  
  2301. end
  2302. SetTween(Drone,{CFrame=Drone.CFrame*CF(0,1000,100)},"Quad","InOut",6)
  2303. wait(6)
  2304. Drone:Destroy()
  2305. end))
  2306. end
  2307.  
  2308.  
  2309. function Attack1()
  2310. attack = true
  2311. Humanoid.JumpPower = 0
  2312. Humanoid.WalkSpeed = 0
  2313. so("418302853", Torso,4, 2)
  2314. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,-.6)*angles(math.rad(10),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2315. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2316. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(45),math.rad(0),math.rad(10))},"Back","Out",0.3)
  2317. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(20),math.rad(0),math.rad(-10))},"Back","Out",0.3)
  2318. SetTween(RH,{C0=CFrame.new(.5, -.7, -.2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2319. SetTween(LH,{C0=CFrame.new(-.5, -1.0, -.75)*angles(math.rad(-50),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2320. wait(.3)
  2321. for i2 = 1,2 do
  2322. for i = 1,3 do
  2323. FireSoul(CF(MissileBox["MissileSlot"..i].CFrame.p,MissileBox["MissileSlot"..i].CFrame.p+MissileBox["MissileSlot"..i].CFrame.RightVector))
  2324. SetTween(MissileBox["MissileSlot"..i],{Color=C3(0,0,0)},"Quad","InOut",.05)
  2325. SetTween(MX1w,{C0=CF(0,0,.15)*ANGLES(mr(40),0,0)},"Quad","Out",.1)
  2326.  
  2327. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,-.6)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.1)
  2328. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0))},"Back","Out",0.1)
  2329. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(35),math.rad(0),math.rad(20))},"Back","Out",0.1)
  2330. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(10),math.rad(0),math.rad(-20))},"Back","Out",0.1)
  2331. SetTween(RH,{C0=CFrame.new(.5, -.7, -.2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.1)
  2332. SetTween(LH,{C0=CFrame.new(-.5, -1.0, -.75)*angles(math.rad(-60),math.rad(0),math.rad(0))},"Back","Out",0.1)
  2333.  
  2334. Swait(2)
  2335. SetTween(MX1w,{C0=CF(0,.1,.30)*ANGLES(mr(20),0,0)},"Quad","Out",.1)
  2336. SetTween(MissileBox["MissileSlot"..i],{Color=C3(255/255, 89/255, 89/255)},"Quad","InOut",.25)
  2337. SetTween(RJW,{C0=RootCF*CFrame.new(0,-.25,-.55)*angles(math.rad(10),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2338. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2339. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(45),math.rad(0),math.rad(10))},"Back","Out",0.2)
  2340. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(20),math.rad(0),math.rad(-10))},"Back","Out",0.2)
  2341. SetTween(RH,{C0=CFrame.new(.5, -.7, -.2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2342. SetTween(LH,{C0=CFrame.new(-.5, -1.0, -.75)*angles(math.rad(-50),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2343. Swait(2) end
  2344.  
  2345.  
  2346. Swait(4)
  2347. end
  2348.  
  2349. attack = false
  2350.  
  2351. end
  2352.  
  2353. eyehold=false
  2354. function Attack2()
  2355.  
  2356.  
  2357.  
  2358. attack = true
  2359. Humanoid.JumpPower = 0
  2360. Humanoid.WalkSpeed=0
  2361.  
  2362.  
  2363. local eyeffect1 = EffectPack.Light:Clone()
  2364.  
  2365. eyeffect1.Parent = Torso.TorsoLaser.Attachment
  2366.  
  2367.  
  2368. eyeffect1.Enabled = true
  2369. so("1841310110",Torso,3,1)
  2370.  
  2371. for i = 1,3.5,.1 do
  2372. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,-.3)*angles(math.rad(40),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2373. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2374. SetTween(RW,{C0=CFrame.new(1.2 , 0.5, -.2)*angles(math.rad(75+math.random(-5,5)),math.rad(0),math.rad(-40+math.random(-5,5)))},"Quad","Out",0.1)
  2375. SetTween(LW,{C0=CFrame.new(-1.2, 0.5, -.2)*angles(math.rad(75+math.random(-5,5)),math.rad(0),math.rad(40+math.random(-5,5)))},"Quad","Out",0.1)
  2376. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(40),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2377. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(40),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2378. Swait() end
  2379. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 10, 0)+RootPart.CFrame.lookVector*30, P = 5000, maxForce = Vector3.new(800000, 800000 , 800000), Parent = RootPart})
  2380. so("341301373",Torso,4,0.6)
  2381.  
  2382. --wait(.5)
  2383. eyehold= true
  2384.  
  2385.  
  2386. local Beam1 = Instance.new("Beam",Torso.TorsoLaser)
  2387.  
  2388. local WalkPart = Instance.new("Part",Effects)
  2389. WalkPart.Transparency = 1
  2390. WalkPart.CanCollide = false
  2391. WalkPart.Anchored = true
  2392. WalkPart.CFrame = CFrame.new(0,0,0)
  2393. WalkPart.Size = Vector3.new(.1,.1,.1)
  2394. local Attach2 = Instance.new("Attachment",WalkPart)
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402. local NewParticle = Particle2_1:Clone()
  2403. NewParticle.Parent = Attach2
  2404. NewParticle.Acceleration = Vector3.new(0,0,0)
  2405. if OverClocking ==false then
  2406. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2),NumberSequenceKeypoint.new(1,0)})
  2407.  
  2408. else
  2409.  
  2410. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50),NumberSequenceKeypoint.new(1,0)})
  2411.  
  2412.  
  2413. end
  2414. NewParticle.Color = ColorSequence.new(Color3.new (151/255, 0/255, 0/255), Color3.new (1, .2, .2))
  2415. NewParticle.Lifetime = NumberRange.new(.2,.3)
  2416. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,0),NumberSequenceKeypoint.new(1,1)})
  2417. NewParticle.Speed = NumberRange.new(0)
  2418. NewParticle.ZOffset = 6
  2419. NewParticle.RotSpeed = NumberRange.new(-40,40)
  2420. NewParticle.Rotation = NumberRange.new(-180,180)
  2421. NewParticle.Texture = "rbxassetid://217245118"
  2422. NewParticle.Rate = 50
  2423. --NewParticle.Enabled = true
  2424.  
  2425. local NewParticle2 = NewParticle:Clone()
  2426. NewParticle2.LockedToPart = true
  2427. NewParticle2.Parent = Attach2
  2428.  
  2429. NewParticle.Speed = NumberRange.new(10)
  2430. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.5),NumberSequenceKeypoint.new(1,1)})
  2431.  
  2432. NewParticle.Texture = "rbxassetid://445231898"
  2433. if OverClocking ==false then
  2434. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,2)})
  2435. else
  2436. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5),NumberSequenceKeypoint.new(1,28)})
  2437.  
  2438. end
  2439. NewParticle.Lifetime = NumberRange.new(.3,.5)
  2440. NewParticle.ZOffset = 4
  2441. NewParticle.Speed = NumberRange.new(1)
  2442. --NewParticle:Emit(2)
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448. coroutine.resume(coroutine.create(function()
  2449. if eyehold==true then
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455. coroutine.resume(coroutine.create(function()
  2456.  
  2457. while eyehold==true do
  2458. wait(.5)
  2459.  
  2460. so("2162238374",Torso.TorsoLaser,4,2.0)
  2461.  
  2462.  
  2463. end
  2464. for i = 1,10 do
  2465. for _,v in pairs(Torso.TorsoLaser:children()) do
  2466. if v:isA("Sound") then
  2467. v.Volume = v.Volume - .4
  2468. end
  2469. end
  2470. Swait()
  2471. end
  2472. end))
  2473.  
  2474.  
  2475. while eyehold == true do
  2476. Swait()
  2477.  
  2478.  
  2479.  
  2480. Humanoid.JumpPower = 0
  2481. change = .6
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494. Humanoid.WalkSpeed=2
  2495.  
  2496.  
  2497.  
  2498. coroutine.resume(coroutine.create(function()
  2499. local GunPart = Torso.TorsoLaser
  2500.  
  2501.  
  2502. --so("610359515",Head,1.5,.8,4)
  2503. for i = 1,1 do
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510. coroutine.resume(coroutine.create(function()
  2511.  
  2512. local Glow1 = Color3.new (255/255, 0/255, 0/255)
  2513. local Glow2 = Color3.new (255/255, 0/255, 0/255)
  2514. local hitray,pos,test1 = rayCast(GunPart.Position, GunPart.CFrame.lookVector, 500, Character)
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520. local mag=(Torso.TorsoLaser.Position-pos).magnitude
  2521.  
  2522.  
  2523.  
  2524. Attach2.Position = pos
  2525. --Attach1.Position = Vector3.new(0,0,0)
  2526. NewParticle.Enabled = true
  2527. NewParticle2.Enabled = true
  2528. eyeffect1.Enabled = true
  2529.  
  2530.  
  2531. Beam1.Texture = "rbxassetid://1134824633"
  2532.  
  2533. Beam1.FaceCamera = true
  2534. Beam1.Color = ColorSequence.new(Glow1,Glow2)
  2535. Beam1.Transparency = NumberSequence.new(0,0)
  2536. Beam1.TextureLength = .1*(mag)
  2537. Beam1.Attachment0 = Torso.TorsoLaser.Attachment
  2538. Beam1.Attachment1 = Attach2
  2539. Beam1.TextureSpeed = 15
  2540. Beam1.LightEmission = 1
  2541. Beam1.Width0 = 2
  2542.  
  2543. if OverClocking ==false then
  2544. Beam1.Width1 = 3
  2545. else
  2546. Beam1.Width1 = 20
  2547. end
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553. if OverClocking ==false then
  2554. CFMagniDamage(CFrame.new(pos),5, 350, 500, 0, "Normal")
  2555. else
  2556. CFMagniDamage(CFrame.new(pos),30, 350, 500, 0, "Normal")
  2557.  
  2558. end
  2559. coroutine.resume(coroutine.create(function()
  2560. if hitray~=nil then
  2561. for i = 1, 1 do
  2562. local Color = hitray.BrickColor
  2563. local Materials = hitray.Material
  2564. local groundpart = CFuncs.Part.Create( Effects, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(50, 200) / 200, math.random(50, 200) / 200, math.random(50, 200) / 200))
  2565. groundpart.Anchored = false
  2566. groundpart.Material = Materials
  2567. groundpart.CanCollide = true
  2568. groundpart.Friction = 2
  2569. groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50))
  2570. groundpart.CFrame = CF(pos,pos+test1) * cn(math.random(-250, 250) / 100, 0.5, math.random(-250, 250) / 100) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
  2571. groundpart:SetNetworkOwner(Player)
  2572. game:GetService("Debris"):AddItem(groundpart, 1.0)
  2573. SetTween(groundpart,{Size = VT(),Transparency=1},"Quad","In",1)
  2574.  
  2575. end
  2576. for i = 1, 0 do
  2577. local Color = hitray.BrickColor
  2578. local Materials = hitray.Material
  2579. local groundpart = CFuncs.Part.Create( Effects, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(25, 150) / 200, math.random(25, 150) / 200, math.random(25, 150) / 200))
  2580. groundpart.Anchored = false
  2581. groundpart.Material = Materials
  2582. groundpart.CanCollide = true
  2583. groundpart.Friction = 2
  2584. groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50))
  2585. groundpart.CFrame = CF(pos,pos+test1) * cn(math.random(-250, 250) / 100, 0.5, math.random(-250, 250) / 100) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)),math.rad( math.random(-50, 50)))
  2586. groundpart:SetNetworkOwner(Player)
  2587. game:GetService("Debris"):AddItem(groundpart, 1.0)
  2588. SetTween(groundpart,{Size = VT(),Transparency=1},"Quad","In",1)
  2589.  
  2590.  
  2591. --game:GetService("Debris"):AddItem(WalkPart2, .4)
  2592.  
  2593. end
  2594.  
  2595. end
  2596.  
  2597. end))
  2598. coroutine.resume(coroutine.create(function()
  2599. if hitray ~= nil then
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611. -- MakeBeamWaveEffect(Effects,Color3.new(1, 0, 0),HitEffectPart.Position- Vector3.new(0, 0, 0),2.0,0,0.06,15,0,10,CFrame.new(((RootPart.Velocity * Vector3.new(1, 0, 1))/40)+Vector3.new(0, 0, 0))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))))
  2612.  
  2613.  
  2614. else
  2615. --Beam1.Transparency = NumberSequence.new(0,1)
  2616. end
  2617.  
  2618.  
  2619.  
  2620. --GunPart.Transparency = i*1.5
  2621. --GunPart.Size = Vector3.new(0.85-i,.85-i,.05)
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629. --game:GetService("Debris"):AddItem(WalkPart2, .4)
  2630. --game:GetService("Debris"):AddItem(WalkPart, .4)
  2631. --game:GetService("Debris"):AddItem(Attach1, .4)
  2632. --game:GetService("Debris"):AddItem(Attach2, .4)
  2633.  
  2634. end))
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643. end))
  2644.  
  2645.  
  2646.  
  2647.  
  2648. end
  2649.  
  2650.  
  2651.  
  2652. end))
  2653.  
  2654.  
  2655.  
  2656. end
  2657. end
  2658.  
  2659.  
  2660.  
  2661.  
  2662. coroutine.resume(coroutine.create(function()
  2663.  
  2664. for i = 0,4,0.3 do Swait()
  2665. Beam1.Transparency = NumberSequence.new(i,(i)/2)
  2666.  
  2667. end
  2668. end))
  2669.  
  2670. NewParticle.Enabled = false
  2671. NewParticle2.Enabled = false
  2672. eyeffect1.Enabled = false
  2673.  
  2674. game:GetService("Debris"):AddItem(WalkPart, 1)
  2675. --game:GetService("Debris"):AddItem(Attach1, .4)
  2676. game:GetService("Debris"):AddItem(Attach2, 1)
  2677. game:GetService("Debris"):AddItem(Beam1, 1)
  2678.  
  2679. game:GetService("Debris"):AddItem(NewParticle, 1)
  2680. game:GetService("Debris"):AddItem(NewParticle2, 1)
  2681. game:GetService("Debris"):AddItem(eyeffect1, 1)
  2682.  
  2683. so("1229184354",Torso,5,2)
  2684. end))
  2685.  
  2686. for i = 1,4,.075 do
  2687. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(40-10*i),math.rad(0),math.rad(0))},"Linear","InOut",0.1)
  2688. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2689. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(90+math.random(-5,5)),math.rad(0),math.rad(math.random(-5,5)+(45/2)*i ))},"Quad","Out",0.1)
  2690. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(90+math.random(-5,5)),math.rad(0),math.rad(math.random(-5,5)-(45/2)*i))},"Quad","Out",0.1)
  2691. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad((45/2)*(i)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2692. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad((45/2)*(i)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2693. bodyVelocity.velocity = Vector3.new(0, 1, 0)+Torso.CFrame.lookVector*-40 Swait() end
  2694. eyehold = false
  2695. Swait()
  2696. bodyVelocity.velocity = Vector3.new(0, 0, 0)
  2697. bodyVelocity.maxForce = Vector3.new(8000000, 0 , 8000000)
  2698. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2699. for i = 1,11,.7 do
  2700. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-36*i),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2701. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2702. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(-90),math.rad(0),math.rad(90))},"Quad","Out",0.1)
  2703. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(-90),math.rad(0),math.rad(-90))},"Quad","Out",0.1)
  2704. SetTween(RH,{C0=CFrame.new(.5, -.5, -.25)*angles(math.rad(-50),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2705. SetTween(LH,{C0=CFrame.new(-.5, -.5, -.25)*angles(math.rad(-50),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2706.  
  2707.  
  2708. Swait() end
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714. attack = false
  2715. end
  2716. dancing = false
  2717.  
  2718. function Tuant2()
  2719. attack = true
  2720.  
  2721. dancing = true
  2722. while dancing == true do
  2723. local dahspeed=.5+visn/100
  2724. change = (0.60*1)*dahspeed
  2725. Humanoid.JumpPower = 0
  2726. Humanoid.WalkSpeed=2
  2727. local speed = 1 + visn/1000
  2728. SetTween(RJW,{C0=RootCF*CFrame.new(0+(.75*math.cos(sine/8)),0+(.2*math.sin(sine/16)),-.25+(-.1*math.cos(sine/4)))*angles(math.rad(-10-10*math.sin(sine/16)),math.rad(0),math.rad(0+(20*math.sin(sine/8))))},"Quad","InOut",0.1/speed)
  2729. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20*math.sin(sine/16)),math.rad(0),math.rad(0-(20*math.sin(sine/32))))},"Quad","InOut",0.1/speed)
  2730. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(120+(-20*math.cos(sine/8))+(-20*math.sin(sine/16))),math.rad(0),math.rad(25+(25*math.cos(sine/8)) ))},"Quad","Out",0.1/speed)
  2731. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(120+(20*math.cos(sine/8))+(-20*math.sin(sine/16))),math.rad(0),math.rad(-25+(25*math.cos(sine/8))))},"Quad","Out",0.1/speed)
  2732. SetTween(RH,{C0=CFrame.new(.5, -.9+.1*math.cos(sine/4), -.1-.1*math.cos(sine/4))*angles(math.rad(-10-(10*math.sin(sine/16))-(5*math.sin(sine/8)) ),math.rad(-20+(-20*math.sin(sine/8))),math.rad(10+(20*math.cos(sine/8))))},"Quad","InOut",0.1/speed)
  2733. SetTween(LH,{C0=CFrame.new(-.5, -.9+.1*math.cos(sine/4), -.1-.1*math.cos(sine/4))*angles(math.rad(-10-(10*math.sin(sine/16))+(5*math.sin(sine/8)) ),math.rad(20+(-20*math.sin(sine/8))),math.rad(-10+(20*math.cos(sine/8))))},"Quad","InOut",0.1/speed)
  2734.  
  2735. Swait()
  2736. end
  2737. Humanoid.JumpPower = 60
  2738. Humanoid.WalkSpeed=16
  2739. attack = false
  2740. end
  2741.  
  2742. function UpdateJets()
  2743. if Jets == true then
  2744. -- Jets=true
  2745. SetTween(RB1,{C0=CF(0,.25,-.05)*ANGLES(mr(25),0,0)},"Back","Out",.5)
  2746. SetTween(RB2,{C0=CF(0,.25,.05)*ANGLES(mr(-25),0,0)},"Back","Out",.5)
  2747. SetTween(LB1,{C0=CF(0,.25,-.05)*ANGLES(mr(25),0,0)},"Back","Out",.5)
  2748. SetTween(LB2,{C0=CF(0,.25,.05)*ANGLES(mr(-25),0,0)},"Back","Out",.5)
  2749. for _,v in next, RightLeg:GetDescendants() do if v:IsA("ParticleEmitter") then v.Enabled = true end end
  2750.  
  2751. for _,v in next, LeftLeg:GetDescendants() do if v:IsA("ParticleEmitter") then v.Enabled = true end end
  2752.  
  2753. else
  2754. -- Jets=false
  2755. SetTween(RB1,{C0=CF(0,-0,0)*ANGLES(0,0,0)},"Back","Out",.5)
  2756. SetTween(RB2,{C0=CF(0,-0,0)*ANGLES(0,0,0)},"Back","Out",.5)
  2757. SetTween(LB1,{C0=CF(0,-0,0)*ANGLES(0,0,0)},"Back","Out",.5)
  2758. SetTween(LB2,{C0=CF(0,-0,0)*ANGLES(0,0,0)},"Back","Out",.5)
  2759. for _,v in next, RightLeg:GetDescendants() do if v:IsA("ParticleEmitter") then v.Enabled = false end end
  2760.  
  2761. for _,v in next, LeftLeg:GetDescendants() do if v:IsA("ParticleEmitter") then v.Enabled = false end end
  2762.  
  2763. end
  2764. end
  2765.  
  2766.  
  2767.  
  2768. function DroneSwarm()
  2769. attack = true
  2770. --[
  2771. local randomtuant = math.random(1,4)
  2772. if randomtuant == 1 then
  2773. so("159972582", Head,2, 1)
  2774. elseif randomtuant == 2 then
  2775. so("159882410", Head,2, 1)
  2776. elseif randomtuant == 3 then
  2777. so("159882578", Head,2, 1)
  2778. elseif randomtuant == 4 then
  2779. so("159882417", Head,2, 1)
  2780. end
  2781. for _,v in pairs(Head:children()) do
  2782. if v:isA("Sound") then
  2783. EffectPack.Echo2:Clone().Parent = v
  2784. EffectPack.PT:Clone().Parent = v
  2785. end
  2786. end
  2787. local fatsavecf = MHIT
  2788. coroutine.resume(coroutine.create(function()
  2789. for i = 1,math.random(2,4) do Swait(math.random(1,10)) SpawnDrone(fatsavecf)
  2790. end end))
  2791. --]]
  2792.  
  2793. for i = 0,1,0.1 do
  2794.  
  2795.  
  2796. change = (0.60*5)
  2797. Humanoid.JumpPower = 10
  2798. Humanoid.WalkSpeed=0
  2799.  
  2800. local speed = 1
  2801.  
  2802.  
  2803. if weps == false then
  2804. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.05 * math.cos(sine / 8 )) * angles(math.rad(-5 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-20))},"Quad","InOut",0.1/speed)
  2805. SetTween(NeckW,{C0=NeckCF*angles(math.rad(20.5*1 - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad(10+(math.random(-5,5)*1)), math.rad(20 - -0+(math.random(-5,5)*1) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.1/speed)
  2806. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(0 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(10 +( math.random(0,5)*1) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  2807. else
  2808. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.3 + 0.05 * math.cos(sine / 8 )) * angles(math.rad(-5 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-20))},"Quad","InOut",0.1/speed)
  2809. SetTween(NeckW,{C0=NeckCF*angles(math.rad(20.5*1 - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad(10+(math.random(-5,5)*1)), math.rad(20 - 0+(math.random(-5,5)*1) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.1/speed)
  2810. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(40 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(30 +( math.random(0,5)*1) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  2811.  
  2812.  
  2813. end
  2814. SetTween(LW,{C0=cf(-1.46 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), 0) * angles(math.rad(170 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(18 - (math.random(0,5)*1) * math.cos(sine / 8 )))},"Linear","Out",0.1/speed)
  2815. SetTween(RH,{C0=CFrame.new(.5, -0.9- .1 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(-5.5 - 0 * math.cos(sine / 8)),math.rad(-5),math.rad(6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  2816. SetTween(LH,{C0=CFrame.new(-.5, -0.9- .1 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(-5.5 - 0 * math.cos(sine / 8)),math.rad(5),math.rad(-6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  2817.  
  2818.  
  2819. Swait()
  2820. end
  2821.  
  2822. for i = 0,3,0.1 do
  2823.  
  2824.  
  2825. change = (0.60*5)
  2826. Humanoid.JumpPower = 10
  2827. Humanoid.WalkSpeed=0
  2828.  
  2829. local speed = 1
  2830.  
  2831.  
  2832. if weps == false then
  2833. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.05 * math.cos(sine / 8 )) * angles(math.rad(-5 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(20))},"Quad","InOut",0.1/speed)
  2834. SetTween(NeckW,{C0=NeckCF*angles(math.rad(-5-20.5*1 - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad((math.random(-5,5)*1)), math.rad(-20 - -0+(math.random(-5,5)*1) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.1/speed)
  2835. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(90 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(10 +( math.random(0,5)*1) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  2836. else
  2837. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.3 + 0.05 * math.cos(sine / 8 )) * angles(math.rad(-5 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(20))},"Quad","InOut",0.1/speed)
  2838. SetTween(NeckW,{C0=NeckCF*angles(math.rad(-5+20.5*1 - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad((math.random(-5,5)*1)), math.rad(-20 - 0+(math.random(-5,5)*1) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.1/speed)
  2839. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(90 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(30 +( math.random(0,5)*1) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  2840.  
  2841.  
  2842. end
  2843. SetTween(LW,{C0=cf(-1.46 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), 0) * angles(math.rad(170 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(18 - (math.random(0,5)*1) * math.cos(sine / 8 )))},"Linear","Out",0.1/speed)
  2844. SetTween(RH,{C0=CFrame.new(.5, -0.9- .1 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(-5.5 - 0 * math.cos(sine / 8)),math.rad(-5),math.rad(6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  2845. SetTween(LH,{C0=CFrame.new(-.5, -0.9- .1 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(-5.5 - 0 * math.cos(sine / 8)),math.rad(5),math.rad(-6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  2846.  
  2847.  
  2848. Swait()
  2849. end
  2850. attack = false
  2851. end
  2852.  
  2853.  
  2854. ----------------------------------------------------------------------------------------------------
  2855. flying = false
  2856.  
  2857. function FlyMove()
  2858. attack = true
  2859. local NextAnimSpeed=0.1
  2860. local dahspeed=1
  2861. flying = true
  2862. so(2157448269,Torso,2,1)
  2863. Jets = true
  2864. UpdateJets()
  2865. local bg2 = Instance.new("BodyGyro", RootPart)
  2866. for i = 0,1,NextAnimSpeed do Swait()
  2867. local inairvel2 = 0
  2868.  
  2869. Humanoid.PlatformStand = false
  2870. change = (0.60*2)*dahspeed
  2871. Humanoid.JumpPower = 0
  2872. Humanoid.WalkSpeed=0
  2873.  
  2874. coroutine.resume(coroutine.create(function()
  2875.  
  2876. bg2.D = 300
  2877. bg2.P = 9999
  2878. bg2.maxTorque = Vector3.new(1e+005,1e+000,1e+005)*math.huge
  2879. bg2.CFrame = CFrame.new(RootPart.Position,Vector3.new(MHIT.p.x,RootPart.Position.y,MHIT.p.z))
  2880.  
  2881. end))
  2882.  
  2883.  
  2884. local ADNum = 0
  2885. SetTween(RJW,{C0=RootCF*cn(0, 0+ .25 * math.cos(sine / 8), 1.5 + .4 * math.sin(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(45 - 2.5 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(20))},"Quad","InOut",0.1)
  2886. SetTween(NeckW,{C0=NeckCF*angles(math.rad(23.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(-20 - 0.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  2887. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.sin(sine / 8), .0) * angles(math.rad(-20 + 5 * math.cos(sine / 8 )), math.rad(-5), math.rad(10 + 4 * math.sin(sine / 8)))},"Quad","Out",0.1)
  2888. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.sin(sine / 8), .0) * angles(math.rad(-20 + 5 * math.cos(sine / 8 )), math.rad(5), math.rad(-18 - 4 * math.sin(sine / 8 )))},"Quad","Out",0.1)
  2889. SetTween(RH,{C0=CFrame.new(.5, -0.45+ .1 * math.sin(sine / 8 +ADNum* math.sin(sine / 8*2)), -0.3) * CFrame.Angles(math.rad(45.5+ 10 * math.sin(sine / 8)),math.rad(-25),math.rad(2.5- 0.0 * math.sin(sine / 8)))},"Quad","InOut",0.1)
  2890. SetTween(LH,{C0=CFrame.new(-.5, -0.85+.1 * math.sin(sine / 8 +ADNum* math.sin(sine / 8*2)), -.1) * CFrame.Angles(math.rad(11.5 + 5 * math.sin(sine / 8)),math.rad(25),math.rad(-2.5- 0.0 * math.sin(sine / 8)))},"Quad","InOut",0.1)
  2891.  
  2892.  
  2893.  
  2894. --CGPT:Emit(1)
  2895. end
  2896. if flying==true then
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903. coroutine.resume(coroutine.create(function()
  2904. while true do
  2905.  
  2906. so("169572883",Torso,3,1.0)
  2907. wait(.5)
  2908. if flying == false then
  2909. break
  2910. end
  2911.  
  2912. end
  2913. end)) end
  2914. if flying == true then
  2915.  
  2916.  
  2917. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, .1, 0)+RootPart.CFrame.lookVector*60, P = 5000, maxForce = Vector3.new(80000, 80000, 80000), Parent = RootPart})
  2918.  
  2919.  
  2920.  
  2921. for i = 1,40,.25 do if flying == true then Swait() end
  2922. local inairvel2 = 0
  2923.  
  2924. Humanoid.PlatformStand = true
  2925. change = (0.60*3)*dahspeed
  2926. Humanoid.JumpPower = 0
  2927. Humanoid.WalkSpeed=0
  2928. coroutine.resume(coroutine.create(function()
  2929.  
  2930. bg2.D = 300
  2931. bg2.P = 9999
  2932. bg2.maxTorque = Vector3.new(1e+005,1e+000,1e+005)*math.huge
  2933. bg2.CFrame = CFrame.new(RootPart.Position,MHIT.p)
  2934.  
  2935. end))
  2936. if OverClocking == false then
  2937. bodyVelocity.velocity=Vector3.new(0, .1, 0)+RootPart.CFrame.lookVector*100
  2938. else
  2939. bodyVelocity.velocity=Vector3.new(0, .1, 0)+RootPart.CFrame.lookVector*200
  2940. end
  2941. if OverClocking == true and flying == true then
  2942. Lightning((RootPart.CFrame*CF(math.random(-2,2),math.random(-1,1),-0)).p,(RootPart.CFrame*CF(math.random(-36,36),math.random(-36,36),70)).p, 10, 0.6, BrickColor.new("Persimmon"), 1.5, .9,-.25*2,.55,1)
  2943. end
  2944. local ADNum = 0
  2945. SetTween(RJW,{C0=RootCF*cn(0, 1, 0) * angles(math.rad(60 - 6.5 * math.cos(sine / 8)), math.rad(0), math.rad(0))},"Quad","InOut",0.08)
  2946. SetTween(NeckW,{C0=NeckCF*angles(math.rad(-13.5 - 5.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(0 - 0.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  2947. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.sin(sine / 8), .0) * angles(math.rad(-20 + 4 * math.cos(sine / 8 )), math.rad(-5), math.rad(28 + 4 * math.sin(sine / 8)))},"Quad","Out",0.2)
  2948. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.sin(sine / 8), .0) * angles(math.rad(-20 + 4 * math.cos(sine / 8 )), math.rad(5), math.rad(-28 - 4 * math.sin(sine / 8 )))},"Quad","Out",0.2)
  2949. SetTween(RH,{C0=CFrame.new(.5, -0.85+ .1 * math.sin(sine / 8 +ADNum* math.sin(sine / 8*2)), -0.1) * CFrame.Angles(math.rad(-11.5+ 5 * math.sin(sine / 8)),math.rad(-15),math.rad(12.5- 0.0 * math.sin(sine / 8)))},"Quad","InOut",0.1)
  2950. SetTween(LH,{C0=CFrame.new(-.5, -0.85+.1 * math.sin(sine / 8 +ADNum* math.sin(sine / 8*2)), -.1) * CFrame.Angles(math.rad(-11.5 + 5 * math.sin(sine / 8)),math.rad(15),math.rad(-12.5- 0.0 * math.sin(sine / 8)))},"Quad","InOut",0.1)
  2951.  
  2952.  
  2953.  
  2954. --CGPT:Emit(1)
  2955.  
  2956.  
  2957. end coroutine.resume(coroutine.create(function()
  2958. game:GetService("Debris"):AddItem(bodyVelocity, 0.1) end))
  2959. end
  2960. so(1053625322,LeftLeg,2,0.5)
  2961. so(1053625322,RightLeg,2,0.5)
  2962. for i = 0,1.0,.15 do Swait()
  2963. Humanoid.PlatformStand = false
  2964.  
  2965. local inairvel2 = 0
  2966.  
  2967.  
  2968. change = (0.60*2)*dahspeed
  2969. Humanoid.JumpPower = 0
  2970. Humanoid.WalkSpeed=0
  2971.  
  2972.  
  2973.  
  2974. local ADNum = 0
  2975. SetTween(RJW,{C0=RootCF*cn(0, 0+ .25 * math.cos(sine / 8), 1.5 + .4 * math.sin(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(-20 - 2.5 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(20))},"Quad","InOut",0.12)
  2976. SetTween(NeckW,{C0=NeckCF*angles(math.rad(43.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(-20 - 0.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.2)
  2977. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.sin(sine / 8), .0) * angles(math.rad(-20 + 5 * math.cos(sine / 8 )), math.rad(-5), math.rad(0 + 4 * math.sin(sine / 8)))},"Quad","Out",0.2)
  2978. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.sin(sine / 8), .0) * angles(math.rad(-20 + 5 * math.cos(sine / 8 )), math.rad(5), math.rad(-28 - 4 * math.sin(sine / 8 )))},"Quad","Out",0.2)
  2979. SetTween(RH,{C0=CFrame.new(.5, -0.45+ .1 * math.sin(sine / 8 +ADNum* math.sin(sine / 8*2)), -0.3) * CFrame.Angles(math.rad(21.5+ 10 * math.sin(sine / 8)),math.rad(-25),math.rad(2.5- 0.0 * math.sin(sine / 8)))},"Quad","InOut",0.1)
  2980. SetTween(LH,{C0=CFrame.new(-.5, -0.85+.1 * math.sin(sine / 8 +ADNum* math.sin(sine / 8*2)), -.1) * CFrame.Angles(math.rad(11.5 + 5 * math.sin(sine / 8)),math.rad(25),math.rad(-2.5- 0.0 * math.sin(sine / 8)))},"Quad","InOut",0.1)
  2981.  
  2982.  
  2983.  
  2984. coroutine.resume(coroutine.create(function()
  2985.  
  2986. bg2.D = 300
  2987. bg2.P = 9999
  2988. bg2.maxTorque = Vector3.new(1e+005,1e+000,1e+005)*math.huge
  2989. bg2.CFrame = CFrame.new(RootPart.Position,Vector3.new(MHIT.p.x,RootPart.Position.y,MHIT.p.z))
  2990.  
  2991. end))
  2992. end
  2993. wait(.1)
  2994. coroutine.resume(coroutine.create(function()
  2995.  
  2996. bg2:Destroy()
  2997.  
  2998. end))
  2999.  
  3000. coroutine.resume(coroutine.create(function()
  3001.  
  3002. for i = 1,10 do
  3003. for _,v in pairs(Torso:children()) do
  3004. if v:isA("Sound") then
  3005. v.Volume = v.Volume - .2
  3006. end
  3007. end
  3008. Swait()
  3009. end
  3010. end))
  3011. flying = false
  3012. Jets = false
  3013. UpdateJets()
  3014. for i = 0,0.75,.10 do Swait()
  3015. Humanoid.PlatformStand = false
  3016.  
  3017. local inairvel2 = 0
  3018.  
  3019.  
  3020. change = (0.60*2)*dahspeed
  3021. Humanoid.JumpPower = 0
  3022. Humanoid.WalkSpeed=0
  3023.  
  3024.  
  3025.  
  3026. local ADNum = 0
  3027. SetTween(RJW,{C0=RootCF*cn(0, 0+ .25 * math.cos(sine / 8), -0.2 + .1 * math.sin(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(-20 - 2.5 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(20))},"Quad","InOut",0.08)
  3028. SetTween(NeckW,{C0=NeckCF*angles(math.rad(43.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(-20 - 0.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.08)
  3029. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.sin(sine / 8), .0) * angles(math.rad(-20 + 5 * math.cos(sine / 8 )), math.rad(-5), math.rad(0 + 4 * math.sin(sine / 8)))},"Quad","Out",0.2)
  3030. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.sin(sine / 8), .0) * angles(math.rad(-20 + 5 * math.cos(sine / 8 )), math.rad(5), math.rad(-28 - 4 * math.sin(sine / 8 )))},"Quad","Out",0.2)
  3031. SetTween(RH,{C0=CFrame.new(.5, -0.45+ .1 * math.sin(sine / 8 +ADNum* math.sin(sine / 8*2)), -0.3) * CFrame.Angles(math.rad(-21.5+ 10 * math.sin(sine / 8)),math.rad(-25),math.rad(2.5- 0.0 * math.sin(sine / 8)))},"Quad","InOut",0.08)
  3032. SetTween(LH,{C0=CFrame.new(-.5, -0.85+.1 * math.sin(sine / 8 +ADNum* math.sin(sine / 8*2)), -.1) * CFrame.Angles(math.rad(-11.5 + 5 * math.sin(sine / 8)),math.rad(25),math.rad(-2.5- 0.0 * math.sin(sine / 8)))},"Quad","InOut",0.08)
  3033.  
  3034.  
  3035.  
  3036.  
  3037. end
  3038.  
  3039. Humanoid.JumpPower = 20
  3040. Humanoid.WalkSpeed=10
  3041. attack = false
  3042. end
  3043.  
  3044.  
  3045. function Tesla()
  3046. attack=true
  3047. local dahspeed=1
  3048. if attack == true and mememode == true then
  3049. dahspeed=3 --speedstuff --5
  3050. end --/dahspeed
  3051. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50))},"Quad","InOut",.3/dahspeed)
  3052. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50))},"Quad","InOut",.3/dahspeed)
  3053. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-20))},"Quad","InOut",.3/dahspeed)
  3054. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(-30),math.rad(0),math.rad(-20))},"Quad","InOut",.3/dahspeed)
  3055. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3/dahspeed)
  3056. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3/dahspeed)
  3057.  
  3058. --SetTween(SwordW,{C0=CFrame.new(0,-1,0)*angles(math.rad(-30+90),math.rad(-90),math.rad(0))},"Quad","InOut",.3)
  3059. SetTween(LHP2,{C0=CF(0,0,0)},"Quad","InOut",.1)
  3060. if OverClocking ==true then
  3061.  
  3062. SetTween(LHP.Glow,{Transparency = 1},"Quad","InOut",0.1)
  3063.  
  3064. end
  3065.  
  3066. wait(.3/dahspeed)
  3067. --DGT()
  3068.  
  3069.  
  3070. coroutine.resume(coroutine.create(function()
  3071. so("348663022", RightArm,4, 1.2)
  3072. wait(.1/dahspeed)
  3073.  
  3074.  
  3075. CFMagniDamage(LeftArm.CFrame,5,40,60,math.random(500,1000)/10,"Knockdown")
  3076.  
  3077.  
  3078. end))
  3079.  
  3080. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,-.4)*angles(math.rad(0),math.rad(-0),math.rad(-20))},"Back","Out",.3/dahspeed)
  3081. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(30),math.rad(-0),math.rad(20))},"Back","Out",.3/dahspeed)
  3082. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(-10),math.rad(0),math.rad(10))},"Back","Out",.3/dahspeed)
  3083. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(150),math.rad(-0),math.rad(-20))},"Back","Out",.4/dahspeed)
  3084. SetTween(RH,{C0=CFrame.new(.5, -.8, -.1)*angles(math.rad(-20),math.rad(0),math.rad(20))},"Back","Out",.3/dahspeed)
  3085. SetTween(LH,{C0=CFrame.new(-.5, -.8, -.1)*angles(math.rad(30),math.rad(40),math.rad(-20))},"Back","Out",.3/dahspeed)
  3086.  
  3087. --SetTween(SwordW,{C0=CFrame.new(0,-1,0)*angles(math.rad(120),math.rad(-90),math.rad(0))},"Back","Out",.15)
  3088.  
  3089. SetTween(LHP2,{C0=CF(0,-.85,0)},"Quad","InOut",0.05)
  3090.  
  3091. if OverClocking ==true then
  3092.  
  3093. SetTween(LHP.Glow,{Transparency = .15},"Quad","InOut",0.05)
  3094.  
  3095. end
  3096. for i = 1,50 do Swait(1)
  3097. for i = 1,math.random(1,3) do
  3098. local lighth,lightp,test1 = rayCast(LHP.Glow.CFrame.p, CF(VT(0,0,0),VT(math.random(-100,100),math.random(-100,100),math.random(-100,100))).lookVector, 50, Character)
  3099.  
  3100. if lighth~=nil then
  3101. BulletHitEffectSpawn(CF(lightp,lightp+test1),"Spark")
  3102. Lightning(LHP.Glow.CFrame.p,lightp , 5, 2.6, BrickColor.new("Persimmon"), 2, .5,-.25*2,.5,nil) end
  3103. end
  3104.  
  3105. local v = findNearestTorso(LHP.Glow.Position,50)
  3106.  
  3107. if v ~= nil then
  3108. local lighth2,lightp2,test12 = rayCast(LHP.Glow.CFrame.p, CF(LHP.Glow.CFrame.p,v.Position).lookVector, 50, Character)
  3109.  
  3110. Lightning(LHP.Glow.CFrame.p,lightp2 , 5, 2.6, BrickColor.new("Persimmon"), 2, .5,-.25*2,.5,nil)
  3111. BulletHitEffectSpawn(CF(lightp2,lightp2+test12),"Spark")
  3112.  
  3113. CFMagniDamage(CF(lightp2),10,45,80,20,"Knockdown")
  3114.  
  3115. end
  3116.  
  3117. end
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125. SetTween(LHP2,{C0=CF(0,0,0)},"Quad","InOut",.25)
  3126. SetTween(LHP.Glow,{Transparency = 1},"Quad","InOut",0.25)
  3127. attack = false
  3128. end
  3129.  
  3130.  
  3131.  
  3132.  
  3133. function AT1()
  3134. attack=true
  3135. local dahspeed=1
  3136. if attack == true and mememode == true then
  3137. dahspeed=3 --speedstuff --5
  3138. end --/dahspeed
  3139. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50))},"Quad","InOut",.3/dahspeed)
  3140. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50))},"Quad","InOut",.3/dahspeed)
  3141. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(-20))},"Quad","InOut",.3/dahspeed)
  3142. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(60),math.rad(0),math.rad(-0))},"Quad","InOut",.3/dahspeed)
  3143. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3/dahspeed)
  3144. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3/dahspeed)
  3145.  
  3146. --SetTween(SwordW,{C0=CFrame.new(0,-1,0)*angles(math.rad(-30+90),math.rad(-90),math.rad(0))},"Quad","InOut",.3)
  3147. SetTween(LHP2,{C0=CF(0,0,0)},"Quad","InOut",.1)
  3148. if OverClocking ==true then
  3149.  
  3150. SetTween(LHP.Glow,{Transparency = 1},"Quad","InOut",0.1)
  3151.  
  3152. end
  3153.  
  3154. wait(.3/dahspeed)
  3155. --DGT()
  3156.  
  3157.  
  3158. coroutine.resume(coroutine.create(function()
  3159. so("1428541279", RightArm,1.6, math.random(120,220)/100)
  3160. wait(.1/dahspeed)
  3161.  
  3162. if OverClocking ==false then
  3163. CFMagniDamage(LeftArm.CFrame,5,40,60,math.random(500,1000)/10,"Knockdown")
  3164.  
  3165. else
  3166.  
  3167. local v = findNearestTorso(LHP.Glow.Position,20)
  3168.  
  3169. if v ~= nil then
  3170.  
  3171. Lightning(LHP.Glow.CFrame.p,v.Position, 10, 0.6, BrickColor.new("Persimmon"), .5, .5,-.25*2,.5,nil)
  3172. Lightning(LHP.Glow.CFrame.p,v.Position, 10, 0.6, BrickColor.new("Persimmon"), .5, .5,-.25*2,.5,nil)
  3173.  
  3174. CFMagniDamage(LHP.Glow.CFrame,20,45,80,math.random(320,520)/10,"Knockdown")
  3175.  
  3176. end
  3177.  
  3178. end
  3179. end))
  3180.  
  3181. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,-.4)*angles(math.rad(0),math.rad(-40),math.rad(-60))},"Back","Out",.1/dahspeed)
  3182. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(60))},"Back","Out",.1/dahspeed)
  3183. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(-40))},"Back","Out",.1/dahspeed)
  3184. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(90),math.rad(-45),math.rad(-30))},"Back","Out",.1/dahspeed)
  3185. SetTween(RH,{C0=CFrame.new(.5, -.8, -.6)*angles(math.rad(-20),math.rad(0),math.rad(40))},"Back","Out",.1/dahspeed)
  3186. SetTween(LH,{C0=CFrame.new(-.5, -.8, -.5)*angles(math.rad(30),math.rad(0),math.rad(20))},"Back","Out",.1/dahspeed)
  3187.  
  3188. --SetTween(SwordW,{C0=CFrame.new(0,-1,0)*angles(math.rad(120),math.rad(-90),math.rad(0))},"Back","Out",.15)
  3189.  
  3190. SetTween(LHP2,{C0=CF(0,-.85,0)},"Quad","InOut",0.05)
  3191.  
  3192. if OverClocking ==true then
  3193.  
  3194. SetTween(LHP.Glow,{Transparency = .75},"Quad","InOut",0.05)
  3195.  
  3196. end
  3197.  
  3198.  
  3199. wait(.15/dahspeed)
  3200.  
  3201. SetTween(LHP2,{C0=CF(0,0,0)},"Quad","InOut",.25)
  3202. SetTween(LHP.Glow,{Transparency = 1},"Quad","InOut",0.25)
  3203. attack = false
  3204. end
  3205.  
  3206. gui = Instance.new("ScreenGui",Player.PlayerGui)
  3207. gui.Name = "Xgui"
  3208. guifat = Instance.new("Frame",gui)
  3209. guifat.Size = UDim2.new(1, 0, 1, 0)
  3210. guifat.Name = "FAT"
  3211. guifat.BackgroundTransparency = 1
  3212. viewport = Instance.new("ViewportFrame",guifat)
  3213. viewport.Size = UDim2.new(1, 0, 1, 0)
  3214. viewport.BackgroundTransparency = 1
  3215. viewport.BackgroundColor3 = C3(1,1,1)
  3216. function Attack6()
  3217. SetTween(viewport,{BackgroundTransparency=.15,BackgroundColor3 = C3(0,0,0)},"Bounce","InOut",.25)
  3218. IsXray = true
  3219.  
  3220.  
  3221. print("ran")
  3222. for _,v in next, workspace:GetDescendants() do if v:IsA("Humanoid")and v~=Humanoid then
  3223. print(""..v.Parent.Name)
  3224. for _,v2 in next, v.Parent:GetDescendants() do
  3225. if v2:IsA("BasePart") then
  3226. -- print(""..v2.Name)
  3227. local Xpart = EffectPack.Part:Clone()
  3228. Xpart.Parent = viewport
  3229. Xpart.Name = "Xray"
  3230. Xpart.Size = v2.Size+VT(0.05,0.05,0.05)
  3231. Xpart.Material = "ForceField"
  3232. Xpart.Transparency = 0
  3233. Xpart.CFrame = v2.CFrame
  3234. if v2:FindFirstChildOfClass("SpecialMesh") then
  3235. coroutine.resume(coroutine.create(function()
  3236. v2:FindFirstChildOfClass("SpecialMesh").Archivable = false
  3237.  
  3238. local clone = v2:FindFirstChildOfClass("SpecialMesh").Clone()
  3239. clone.Parent = Xpart end))
  3240. end
  3241.  
  3242. local value = Instance.new("ObjectValue",Xpart)
  3243. value.Value = v2
  3244. value.Name = "val"
  3245. Xpart.BrickColor = BrickColor.new("Really red")
  3246. --local Xweld=weld(Xpart,v2,Xpart,cf(0,0,0))
  3247. end
  3248.  
  3249. end
  3250.  
  3251.  
  3252. end end
  3253.  
  3254. while IsXray == true do Swait(5) end
  3255.  
  3256.  
  3257. SetTween(viewport,{BackgroundTransparency=1,BackgroundColor3 = C3(1,1,1)},"Bounce","InOut",.5)
  3258. for _,v in next, viewport:GetDescendants() do
  3259. v:Destroy()
  3260. end
  3261.  
  3262.  
  3263. end
  3264.  
  3265. function ClickCombo()
  3266. if Anim == "Fall" or Anim == "Jump" then
  3267. if Combo == 0 then
  3268. --DownAT()
  3269. end
  3270. else
  3271. if Combo == 0 then
  3272. AT1()
  3273. Combo = 0
  3274. elseif Combo == 1 then
  3275. AT2()
  3276. Combo = 0
  3277. elseif Combo == 2 then
  3278. AT3()
  3279. Combo = 0
  3280. end
  3281. end
  3282. end
  3283.  
  3284.  
  3285.  
  3286. local Hold = false
  3287. local weps = false
  3288.  
  3289. Button1DownF=function()
  3290. Hold = true
  3291. if weps and attack == false then
  3292. for _,v in next, FlameThrower.Thrower:GetDescendants() do if v:IsA("ParticleEmitter") or v:IsA("SpotLight") then v.Enabled = true end end
  3293. while Hold == true do coroutine.resume(coroutine.create(function() for i = 1,6 do CFMagniDamage(RightArm.CFrame*CF(0,2-2*i,0),2.5*(i/2.5), 10/2, 25/2, 0, "Fire") end end)) so("1273118342", RightArm,2, math.random(10,20)/10) Swait(2) end
  3294.  
  3295. end
  3296.  
  3297. if weps == false and attack == false then
  3298.  
  3299. ClickCombo()
  3300. end
  3301.  
  3302.  
  3303. end
  3304.  
  3305.  
  3306.  
  3307. Button1UpF=function()
  3308.  
  3309. if Hold==true then
  3310.  
  3311. Hold = false
  3312. for _,v in next, FlameThrower.Thrower:GetDescendants() do if v:IsA("ParticleEmitter") or v:IsA("SpotLight") then v.Enabled = false end end
  3313.  
  3314. end
  3315.  
  3316. end
  3317.  
  3318. so("420194643", Head,1, 1)
  3319.  
  3320.  
  3321. KeyUpF=function(key)
  3322.  
  3323. if key == "e" then
  3324. if flying == true then
  3325. flying=false
  3326. end
  3327.  
  3328. end
  3329.  
  3330. end
  3331.  
  3332. KeyDownF=function(key)
  3333. if key == "f" and attack == false and (weps == false or Hold == false) then
  3334.  
  3335. if weps == false then
  3336. weps = true else weps = false
  3337. end
  3338. if weps == true then
  3339. so("420194643", Head.Handle,1, .8)
  3340. so("420997245", Head.Handle,5, 0.7)
  3341. for _,v in pairs(Head.Handle:children()) do
  3342. if v:isA("Sound") then
  3343. EffectPack.Echo:Clone().Parent = v
  3344. end
  3345. end
  3346. coroutine.resume(coroutine.create(function()
  3347. FlameThrower.Lighter.Fire.Enabled = true end))
  3348. SetTween(FlameW,{C0=CF(0,-.5,0)},"Back","Out",1)
  3349. SetTween(H1a,{C0=CF(0,-.5,-.4)},"Quad","In",1)
  3350.  
  3351. --SetTween(RightArm.Lower,{Transparency = 1},"Quad","Out",0.8)
  3352.  
  3353. SetTween(Fg1,{C0=CF(-.0,.25,-.0)*ANGLES(mr(25),mr(0),mr(-15))},"Back","Out",.5)
  3354. SetTween(Fg2,{C0=CF(.0,.25,-.0)*ANGLES(mr(25),mr(0),mr(15))},"Back","Out",.5)
  3355. SetTween(Fg3,{C0=CF(.0,.25,.0)*ANGLES(mr(-25),mr(0),mr(15))},"Back","Out",.5)
  3356. SetTween(Fg4,{C0=CF(-.0,.25,.0)*ANGLES(mr(-25),mr(0),mr(-15))},"Back","Out",.5)
  3357.  
  3358.  
  3359. SetTween(MX1w,{C0=CF(0,0,.15)*ANGLES(mr(90),0,0)},"Back","Out",1/2)
  3360.  
  3361. wait(.25)
  3362.  
  3363. SetTween(MX1w,{C0=CF(0,.1,.30)*ANGLES(mr(20),0,0)},"Back","Out",.25)
  3364. else
  3365. so("420194643", Head.Handle,1, 1)
  3366. so("332757260", Head.Handle,3, 1.75)
  3367.  
  3368. for _,v in pairs(Head.Handle:children()) do
  3369. if v:isA("Sound") then
  3370. EffectPack.Echo:Clone().Parent = v
  3371. end
  3372. end
  3373. coroutine.resume(coroutine.create(function()
  3374. FlameThrower.Lighter.Fire.Enabled = false end))
  3375. SetTween(FlameW,{C0=CF(0,0,0)*ANGLES(0,0,0)},"Quad","Out",.5)
  3376. SetTween(H1a,{C0=CF(0,.5,-.4)},"Quad","InOut",.5)
  3377.  
  3378. --SetTween(RightArm.Lower,{Transparency = 0},"Quad","In",1)
  3379.  
  3380. SetTween(Fg1,{C0=CF(0,-0,0)},"Quad","In",.5)
  3381. SetTween(Fg2,{C0=CF(0,-0,0)},"Quad","In",.5)
  3382. SetTween(Fg3,{C0=CF(0,-0,0)},"Quad","In",.5)
  3383. SetTween(Fg4,{C0=CF(0,-0,0)},"Quad","In",.5)
  3384.  
  3385. SetTween(MX1w,{C0=CF(0,0,.15)*ANGLES(mr(90),0,0)},"Back","Out",1/2)
  3386.  
  3387. wait(.25)
  3388. SetTween(MX1w,{C0=CF(0,-.7,-.25)},"Quad","InOut",.25)
  3389. end
  3390.  
  3391. end
  3392. if key == "z" and attack == false and weps == true then
  3393. Attack1()
  3394. end
  3395. if key == "x" and attack == false and weps == false and OverClocking == true then
  3396. Tesla()
  3397. end
  3398.  
  3399. if key == "x" and attack == false and weps == true then
  3400. Attack2()
  3401. end
  3402. if key == "e" and attack == false then
  3403. FlyMove()
  3404. end
  3405. if key == "y" then
  3406. if dancing == false and attack == false then
  3407. Tuant2()
  3408. elseif dancing == true and attack == true then
  3409. dancing = false
  3410. end
  3411.  
  3412.  
  3413. end
  3414. if key == "v" and attack == false and weps == true then
  3415.  
  3416. DroneSwarm()
  3417.  
  3418. end
  3419.  
  3420.  
  3421.  
  3422. if key == "q" and attack == false then
  3423. if OverClocking == false then
  3424. CurId=CurId-1
  3425. OverClocking = true
  3426. for i = 1,4 do
  3427. for _,v in next, Character:GetDescendants() do if v:IsA("ParticleEmitter") and v.Name == "OverClock"..i then v.Enabled = true end end
  3428. end
  3429. lastid= "http://www.roblox.com/asset/?id=1534958855"
  3430.  
  3431. lastsongpos = 0
  3432. s2.TimePosition = lastsongpos
  3433.  
  3434. so(254873067,Torso,2,1)
  3435. so(1567217295,Torso,3,.8)
  3436. so(147060085,Torso,5,1)
  3437.  
  3438. else
  3439. OverClocking = false
  3440. for i = 1,4 do
  3441. for _,v in next, Character:GetDescendants() do if v:IsA("ParticleEmitter") and v.Name == "OverClock"..i then v.Enabled = false end end
  3442. end
  3443.  
  3444. end
  3445.  
  3446.  
  3447.  
  3448. KeyDownF("n")
  3449.  
  3450. end
  3451.  
  3452.  
  3453.  
  3454.  
  3455.  
  3456. if key == "k" and attack == false then
  3457. --Attack5()
  3458. end
  3459. if key == "g" and attack == false then
  3460. if IsXray == false then
  3461. Attack6()
  3462. else
  3463. IsXray = false
  3464. end
  3465. end
  3466. if key == "t" and attack == false then
  3467. --Tuant()
  3468. attack = true
  3469. so("137473066", Head,2, 1.2)
  3470. for _,v in pairs(Head:children()) do
  3471. if v:isA("Sound") then
  3472. EffectPack.Echo2:Clone().Parent = v
  3473. EffectPack.PT:Clone().Parent = v
  3474. end
  3475. end
  3476.  
  3477. for i = 0,2,0.1 do
  3478.  
  3479.  
  3480. change = (0.60*5)
  3481. Humanoid.JumpPower = 10
  3482. Humanoid.WalkSpeed=0
  3483.  
  3484. local speed = 1
  3485.  
  3486.  
  3487. if weps == false then
  3488. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.05 * math.cos(sine / 8 )) * angles(math.rad(-5 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-20))},"Quad","InOut",0.1/speed)
  3489. SetTween(NeckW,{C0=NeckCF*angles(math.rad(20.5*1 - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad(10+(math.random(-5,5)*1)), math.rad(20 - -0+(math.random(-5,5)*1) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.1/speed)
  3490. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(0 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(10 +( math.random(0,5)*1) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  3491. else
  3492. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.3 + 0.05 * math.cos(sine / 8 )) * angles(math.rad(-5 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-20))},"Quad","InOut",0.1/speed)
  3493. SetTween(NeckW,{C0=NeckCF*angles(math.rad(20.5*1 - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad(10+(math.random(-5,5)*1)), math.rad(20 - 0+(math.random(-5,5)*1) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.1/speed)
  3494. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(40 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(30 +( math.random(0,5)*1) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  3495.  
  3496.  
  3497. end
  3498. SetTween(LW,{C0=cf(-1.46 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), 0) * angles(math.rad(0 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(-18 - (math.random(0,5)*1) * math.cos(sine / 8 )))},"Linear","Out",0.1/speed)
  3499. SetTween(RH,{C0=CFrame.new(.5, -0.9- .1 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(-5.5 - 0 * math.cos(sine / 8)),math.rad(-5),math.rad(6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  3500. SetTween(LH,{C0=CFrame.new(-.5, -0.9- .1 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(-5.5 - 0 * math.cos(sine / 8)),math.rad(5),math.rad(-6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  3501.  
  3502.  
  3503. Swait()
  3504. end
  3505.  
  3506. for i = 0,4,0.1 do
  3507.  
  3508.  
  3509. change = (0.60*5)
  3510. Humanoid.JumpPower = 10
  3511. Humanoid.WalkSpeed=0
  3512.  
  3513. local speed = 1
  3514.  
  3515.  
  3516. if weps == false then
  3517. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.05 * math.cos(sine / 8 )) * angles(math.rad(-5 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-60))},"Quad","InOut",0.1/speed)
  3518. SetTween(NeckW,{C0=NeckCF*angles(math.rad(-5-20.5*1 - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad((math.random(-5,5)*1)), math.rad(60 - -0+(math.random(-5,5)*1) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.1/speed)
  3519. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(20 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(10 +( math.random(0,5)*1) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  3520. else
  3521. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.3 + 0.05 * math.cos(sine / 8 )) * angles(math.rad(-5 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-60))},"Quad","InOut",0.1/speed)
  3522. SetTween(NeckW,{C0=NeckCF*angles(math.rad(-5+20.5*1 - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad((math.random(-5,5)*1)), math.rad(60 - 0+(math.random(-5,5)*1) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.1/speed)
  3523. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(90 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(30 +( math.random(0,5)*1) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  3524.  
  3525.  
  3526. end
  3527. SetTween(LW,{C0=cf(-1.46 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), 0) * angles(math.rad(90 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(-18 - (math.random(0,5)*1) * math.cos(sine / 8 )))},"Linear","Out",0.1/speed)
  3528. SetTween(RH,{C0=CFrame.new(.5, -0.9- .1 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(-5.5 - 0 * math.cos(sine / 8)),math.rad(-5),math.rad(6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  3529. SetTween(LH,{C0=CFrame.new(-.5, -0.9- .1 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(-5.5 - 0 * math.cos(sine / 8)),math.rad(5),math.rad(-6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  3530.  
  3531.  
  3532. Swait()
  3533. end
  3534. attack = false
  3535. end
  3536. if key == "p" and attack == false and Player.Name=="123jl123" then
  3537. if mememode == false then
  3538. mememode=true
  3539.  
  3540. --so("1499015636", Character,3, 1)
  3541. lastid= "http://www.roblox.com/asset/?id=319658286"
  3542.  
  3543.  
  3544.  
  3545.  
  3546.  
  3547.  
  3548.  
  3549.  
  3550.  
  3551.  
  3552.  
  3553. lastsongpos = 0
  3554. s2.TimePosition = lastsongpos
  3555.  
  3556.  
  3557. else
  3558. mememode=false
  3559. CurId=CurId-1
  3560. KeyDownF("n")
  3561.  
  3562. end
  3563. end
  3564.  
  3565.  
  3566. if key == "0" then
  3567. if isruning == false then
  3568. isruning=true
  3569. end
  3570. end
  3571.  
  3572.  
  3573.  
  3574.  
  3575.  
  3576.  
  3577. if key == "m" then
  3578.  
  3579. if playsong == true then
  3580. playsong = false
  3581. s2:stop()
  3582. elseif playsong == false then
  3583. playsong = true
  3584.  
  3585.  
  3586. s2:play()
  3587. end
  3588.  
  3589. end
  3590.  
  3591.  
  3592.  
  3593. if key == "n" and not (mememode == true or OverClocking == true) then
  3594.  
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600. CurId = CurId + 1
  3601.  
  3602. if CurId > 18 then
  3603. CurId = 1
  3604.  
  3605. end
  3606. warn("now playing song Nr"..CurId)
  3607. if CurId == 1 then
  3608. lastid= "http://www.roblox.com/asset/?id=146364977"
  3609. elseif CurId == 2 then
  3610. lastid= "http://www.roblox.com/asset/?id=340902917"
  3611. elseif CurId == 3 then
  3612. lastid= "http://www.roblox.com/asset/?id=287794839"
  3613. elseif CurId == 4 then
  3614. lastid= "http://www.roblox.com/asset/?id=628579255"
  3615. elseif CurId == 5 then
  3616. lastid= "http://www.roblox.com/asset/?id=273857798"
  3617. elseif CurId == 6 then
  3618. lastid= "http://www.roblox.com/asset/?id=273837018"
  3619. elseif CurId == 7 then
  3620. lastid= "http://www.roblox.com/asset/?id=571227431"
  3621. elseif CurId == 8 then
  3622. lastid= "http://www.roblox.com/asset/?id=172576479"
  3623. elseif CurId == 9 then
  3624. lastid= "http://www.roblox.com/asset/?id=2808524036"
  3625. elseif CurId == 10 then
  3626. lastid= "http://www.roblox.com/asset/?id=1646375621"
  3627.  
  3628. elseif CurId == 11 then
  3629. lastid= "http://www.roblox.com/asset/?id=1349958157"
  3630. elseif CurId == 12 then
  3631. lastid= "http://www.roblox.com/asset/?id=1755770760"
  3632. elseif CurId == 13 then
  3633. lastid= "http://www.roblox.com/asset/?id=2577867501"
  3634. elseif CurId == 14 then
  3635. lastid= "http://www.roblox.com/asset/?id=340265439"
  3636. elseif CurId == 15 then
  3637. lastid= "http://www.roblox.com/asset/?id=2441582257"
  3638. elseif CurId == 16 then
  3639. lastid= "http://www.roblox.com/asset/?id=2496523226"
  3640. elseif CurId == 17 then
  3641. lastid= "http://www.roblox.com/asset/?id=283208073"
  3642. elseif CurId == 18 then
  3643. lastid= "http://www.roblox.com/asset/?id=2279798034"
  3644.  
  3645. end
  3646.  
  3647.  
  3648. lastsongpos = 0
  3649. s2.TimePosition = lastsongpos
  3650.  
  3651.  
  3652. end
  3653.  
  3654.  
  3655. end
  3656.  
  3657. local OverClockEffect1 = EffectPack.OverClock1:Clone()
  3658. OverClockEffect1.Parent = Torso
  3659. OverClockEffect1.Enabled = false
  3660. local OverClockEffect2 = EffectPack.OverClock2:Clone()
  3661. OverClockEffect2.Parent = Torso
  3662. OverClockEffect2.Enabled = false
  3663. local OverClockEffect3 = EffectPack.OverClock3:Clone()
  3664. OverClockEffect3.Parent = Torso
  3665. OverClockEffect3.Enabled = false
  3666.  
  3667. coroutine.resume(coroutine.create(function()
  3668. local OverClockEffect4 = EffectPack.OverClock4:Clone()
  3669. OverClockEffect4.Enabled = false
  3670. OverClockEffect4.Parent = Torso
  3671. OverClockEffect4:Clone().Parent = Head
  3672. OverClockEffect4:Clone().Parent = RightArm
  3673. OverClockEffect4:Clone().Parent = LeftArm
  3674. OverClockEffect4:Clone().Parent = RightLeg
  3675. OverClockEffect4:Clone().Parent = LeftLeg
  3676.  
  3677. end))
  3678. coroutine.resume(coroutine.create(function()
  3679. while Humanoid.Health>0.001 do
  3680. sine = sine + change
  3681. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3682.  
  3683. local torvel = (Humanoid.MoveDirection * Vector3.new(1, 0, 1)).magnitude
  3684. local velderp = RootPart.Velocity.y
  3685. if RootPart.Velocity.y > 1 and hitfloor == nil then
  3686. Anim = "Jump"
  3687.  
  3688. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  3689. Anim = "Fall"
  3690. elseif Humanoid.Sit == true then
  3691. Anim = "Sit"
  3692. elseif torvel < .5 and hitfloor ~= nil then
  3693. Anim = "Idle"
  3694. elseif torvel > .5 and hitfloor ~= nil then
  3695.  
  3696. Anim = "Walk"
  3697.  
  3698.  
  3699.  
  3700.  
  3701. else
  3702. Anim = ""
  3703.  
  3704. end
  3705.  
  3706.  
  3707. local Ccf=Torso.CFrame
  3708. --warn(Humanoid.MoveDirection*RootPart.CFrame.lookVector)
  3709. local Walktest1 = Humanoid.MoveDirection*Ccf.LookVector
  3710. local Walktest2 = Humanoid.MoveDirection*Ccf.RightVector
  3711. --warn(Walktest1.Z.."/"..Walktest1.X)
  3712. --warn(Walktest2.Z.."/"..Walktest2.X)
  3713. forWFB = Walktest1.X+Walktest1.Z
  3714. forWRL = Walktest2.X+Walktest2.Z
  3715.  
  3716.  
  3717.  
  3718.  
  3719.  
  3720. --print(Humanoid.MoveDirection)
  3721. --warn(Torso.CFrame.lookVector)
  3722.  
  3723.  
  3724.  
  3725. coroutine.resume(coroutine.create(function()
  3726.  
  3727.  
  3728. if s2.Parent == nil or s2 == nil then
  3729.  
  3730. s2 = s2c:Clone()
  3731. s2.Parent = Torso
  3732. s2.Name = "BGMusic"
  3733. -- s2.SoundId = lastid
  3734. s2.Pitch = 1
  3735. s2.Volume = 1.5
  3736. s2.Looped = true
  3737. s2.archivable = false
  3738. s2.TimePosition = lastsongpos
  3739. if playsong == true then
  3740. s2:play()
  3741. elseif playsong == false then
  3742. s2:stop()
  3743. end
  3744.  
  3745.  
  3746. else
  3747. lastsongpos=s2.TimePosition
  3748. s2.Pitch = 1
  3749.  
  3750. s2.Volume = 1.5
  3751. s2.Name = "BGMusic"
  3752. s2.Looped = true
  3753. s2.SoundId = lastid
  3754. s2.EmitterSize = 30
  3755. end
  3756.  
  3757.  
  3758.  
  3759. end))
  3760.  
  3761.  
  3762.  
  3763.  
  3764. inairvel=torvel*1
  3765.  
  3766. --forWRL
  3767. if inairvel > 30 then
  3768. inairvel=30
  3769. end
  3770. inairvel=inairvel/50*2
  3771.  
  3772.  
  3773.  
  3774. if attack == false then
  3775. if Anim == "Jump" then
  3776. change = 0.60*2
  3777. SetTween(RJW,{C0=RootCF* cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-6.5 - 1.5 * math.cos(sine / 8))+(inairvel*forWFB)/2, math.rad(0)-(inairvel*forWRL)/2, math.rad(0))},"Quad","Out",0.25)
  3778. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  3779. SetTween(RW,{C0=cf(1.4 + .05 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(8 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  3780. SetTween(LW,{C0=cf(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(-8 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  3781. SetTween(RH,{C0=CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
  3782. SetTween(LH,{C0=CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
  3783.  
  3784.  
  3785.  
  3786. elseif Anim == "Fall" then
  3787. change = 0.60*2
  3788. SetTween(RJW,{C0=RootCF*cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.5 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8))-(inairvel*forWFB)/2, math.rad(0)+(inairvel*forWRL)/2, math.rad(0))},"Quad","Out",0.35)
  3789. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  3790. SetTween(RW,{C0=cf(1.4 + .05 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(105 - 2 * math.cos(sine / 8 )), math.rad(-15), math.rad(80 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  3791. SetTween(LW,{C0=cf(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(105 - 2 * math.cos(sine / 8 )), math.rad(15), math.rad(-80 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  3792. SetTween(RH,{C0=CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3793. SetTween(LH,{C0=CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3794.  
  3795.  
  3796.  
  3797. elseif Anim == "Idle" then
  3798.  
  3799. local dahspeed=0+visn/100
  3800.  
  3801.  
  3802. change = (0.60*1)*dahspeed
  3803. Humanoid.JumpPower = 60
  3804. Humanoid.WalkSpeed=16
  3805.  
  3806. local speed = .5 + visn/1000
  3807.  
  3808. local ADNum = 1
  3809. if weps == false then
  3810. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 )) * angles(math.rad(10 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-30))},"Quad","InOut",0.1/speed)
  3811. SetTween(NeckW,{C0=NeckCF*angles(math.rad(-5+40.5*(visn/1000) - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad((math.random(-25,25)*(visn/1000))), math.rad(0 - -30+(math.random(-25,25)*(visn/1000)) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.1/speed)
  3812. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(20 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(10 +( math.random(0,15)*(visn/1000)) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  3813. else
  3814. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 )) * angles(math.rad(10 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(30))},"Quad","InOut",0.1/speed)
  3815. SetTween(NeckW,{C0=NeckCF*angles(math.rad(-5+40.5*(visn/1000) - 4.5 * math.cos(sine / 8 )), math.rad(2.5-5.5 * math.cos(sine / 16))+math.rad((math.random(-25,25)*(visn/1000))), math.rad(0 - 30+(math.random(-25,25)*(visn/1000)) * math.cos(sine / 15 +.4* math.cos(sine / 20))))},"Linear","InOut",0.075/speed)
  3816. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.55 + .05 * math.cos(sine / 8), 0) * angles(math.rad(90 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(30 +( math.random(0,15)*(visn/1000)) * math.cos(sine / 8)))},"Linear","Out",0.1/speed)
  3817.  
  3818.  
  3819. end
  3820. SetTween(LW,{C0=cf(-1.46 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), 0) * angles(math.rad(20 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(-18 - (math.random(0,15)*(visn/1000)) * math.cos(sine / 8 )))},"Linear","Out",0.1/speed)
  3821. SetTween(RH,{C0=CFrame.new(.5, -0.95- .04 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(10.5 - 0 * math.cos(sine / 8)),math.rad(-20),math.rad(6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  3822. SetTween(LH,{C0=CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8 ), 0) * CFrame.Angles(math.rad(10.5 - 0 * math.cos(sine / 8)),math.rad(20),math.rad(-6.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.15/speed)
  3823.  
  3824.  
  3825. --SetTween(FlameW,{C0=CF(0,0,0)*ANGLES(mr(20),0,0)},"Quad","InOut",0.1)
  3826. --SetTween(H1a,{C0=CF(0,.5,-.4)},"Quad","InOut",0.1)
  3827. -- SetTween(MX1w,{C0=CF(0,-.7,-.25)},"Quad","InOut",0.1)
  3828. --SetTween(FlameW,{C0=CF(0,-.5,0)},"Quad","InOut",0.1)
  3829. --SetTween(H1a,{C0=CF(0,-.5,-.4)},"Quad","InOut",0.1)
  3830. --SetTween(MX1w,{C0=CF(0,.1,.30)*ANGLES(mr(20),0,0)},"Quad","InOut",0.1)
  3831.  
  3832.  
  3833.  
  3834. elseif Anim == "Walk" then
  3835. local speed=0.7
  3836.  
  3837. if OverClocking ==false then
  3838. speed = speed+0.75*(visn/1000)
  3839. else
  3840. speed = speed+1.75*(visn/1000)
  3841. end
  3842. if mememode == true then
  3843. speed=4
  3844. end
  3845.  
  3846.  
  3847. change = 2.6*speed
  3848. Humanoid.JumpPower = 60*speed
  3849. Humanoid.WalkSpeed=16*speed
  3850.  
  3851.  
  3852. local RH2 = cf(-forWRL/7 * math.cos(sine / 8 ),0,forWFB/7 * math.cos(sine / 8 ))*angles(math.sin(-forWFB) * math.cos(sine / 8 ),0,math.sin(-forWRL) * math.cos(sine / 8 ))
  3853. local LH2 = cf(forWRL/7 * math.cos(sine / 8 ),0,-forWFB/7 * math.cos(sine / 8 ))*angles(math.sin(forWFB) * math.cos(sine / 8 ),0,math.sin(forWRL) * math.cos(sine / 8 ))
  3854.  
  3855. if weps == false then
  3856. SetTween(RJW,{C0=RootCF*CFrame.new(0, 0 , -0.185 + 0.055 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad((forWFB*2 - forWFB * math.cos(sine / 4))*10), math.rad((-forWRL - -forWRL * math.cos(sine / 4))*5) , math.rad(8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3857. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 4)) * angles((math.rad((-forWFB*2 - -forWFB * math.cos(sine / 4))*8))+math.rad(math.random(-10,20)*(visn/500)), math.rad((forWRL - forWRL * math.cos(sine / 4))*5)+math.rad(math.random(-20,20)*(visn/500)), math.rad((0+(math.random(-25,25)*(visn/1000)) * math.cos(sine / 15 +.4* math.cos(sine / 20)))-forWRL*45+-8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3858. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + forWRL/50* math.cos(sine / 8), 0) * angles(math.rad(0 + forWFB*25 * math.cos(sine / 8 )), math.rad(0), math.rad(8 + forWRL*5 * math.cos(sine / 8)))},"Quad","Out",WalkAnimMove/speed)
  3859. else
  3860.  
  3861.  
  3862. SetTween(RJW,{C0=RootCF*CFrame.new(0, 0 , -0.185 + 0.055 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad((forWFB*2 - forWFB * math.cos(sine / 4))*10), math.rad((-forWRL - -forWRL * math.cos(sine / 4))*5) , math.rad(10+8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3863. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 4)) * angles((math.rad((-forWFB*2 - -forWFB * math.cos(sine / 4))*8))+math.rad(math.random(-10,20)*(visn/500)), math.rad((forWRL - forWRL * math.cos(sine / 4))*5)+math.rad(math.random(-20,20)*(visn/500)), math.rad(-0+(0+(math.random(-25,25)*(visn/1000)) * math.cos(sine / 15 +.4* math.cos(sine / 20)))-forWRL*45+-8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3864.  
  3865. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + forWRL/50* math.cos(sine / 8), 0) * angles(math.rad((75 + forWFB*20)+ forWFB*5 * math.sin(sine / 8 ) ), math.rad(0), math.rad(10 + forWRL*5 * math.cos(sine / 8)))},"Quad","Out",.1)
  3866.  
  3867. end
  3868. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + forWRL/50 * math.cos(sine / 8), 0) * angles(math.rad(0 - forWFB*25 * math.cos(sine / 8 )), math.rad(0), math.rad(-8 - forWRL*5 * math.cos(sine / 8 )))},"Quad","Out",WalkAnimMove/speed)
  3869. SetTween(RH,{C0=CFrame.new(.5, -0.75+ .35 * math.sin(sine / 8 ), -.25+.15* math.cos(sine / 8 ))*RH2 * CFrame.Angles(math.rad(0 - 5 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3870. SetTween(LH,{C0=CFrame.new(-.5, -0.75- .35 * math.sin(sine / 8 ), -.25-.15* math.cos(sine / 8 ))*LH2 * CFrame.Angles(math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3871.  
  3872.  
  3873.  
  3874. elseif Anim == "Sit" then
  3875. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3876. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3877. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  3878. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  3879. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3880. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3881. Humanoid.JumpPower = 60
  3882. end
  3883. end
  3884.  
  3885. Swait(Animstep)
  3886. end
  3887. end))
  3888. coroutine.resume(coroutine.create(function()
  3889. local remote = Instance.new 'RemoteFunction';
  3890. remote.Parent = Character;
  3891. remote.OnServerInvoke = function (player, request, ...)
  3892. if (player ~= Player) then
  3893. return error ('You cannot invoke this remote', 0);
  3894. end;
  3895.  
  3896.  
  3897.  
  3898. if (request == 1) then
  3899. local k = ...;
  3900.  
  3901. KeyDownF(k)
  3902.  
  3903.  
  3904.  
  3905. end;
  3906. if (request == 2) then
  3907. local k = ...;
  3908.  
  3909. KeyUpF(k)
  3910.  
  3911.  
  3912.  
  3913. end;
  3914. if (request == 3) then
  3915. local k = ...;
  3916. if k == "Down" then
  3917. Button1DownF(k)
  3918. elseif k == "Up" then
  3919. Button1UpF(k)
  3920. end
  3921. end;
  3922.  
  3923.  
  3924. if (request == 4) then
  3925. local k=...;
  3926. --MTARGET=k
  3927. end
  3928. if (request == 5) then
  3929. local k=...;
  3930. MHIT=k
  3931.  
  3932. end
  3933. if (request == 6) then
  3934. local k=...;
  3935. visn=k
  3936. -- print(visn)
  3937.  
  3938. end
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  
  3944. end;
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958. remote.Name = 'ServerRemote';
  3959. --local remote = NLS ([=[
  3960. local localscript = script.Keys
  3961. localscript.Name = Player.Name
  3962. localscript.Parent = Character
  3963.  
  3964. --]=], Player.Character)
  3965. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement