Advertisement
Guest User

reg

a guest
Aug 19th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.52 KB | None | 0 0
  1. ---------------------------
  2. --/ \--
  3. -- Script By: 123jl123 --
  4. --\ /--
  5. ---------------------------
  6. --local remote = NS ([=[
  7.  
  8. local TweenService = game:GetService("TweenService")
  9. local RbxUtility = LoadLibrary("RbxUtility")
  10. local Create = RbxUtility.Create
  11.  
  12.  
  13.  
  14. local Player = game:GetService("Players"):WaitForChild(script.PlayerName.Value)
  15. if Player.Character == nil then
  16. while Player.Character == nil do wait()
  17.  
  18. end end
  19.  
  20.  
  21. ZTfade=false
  22. ZT=false
  23.  
  24.  
  25. Target = Vector3.new()
  26. Character= Player.Character
  27. Torso = Character.Torso
  28. Head = Character.Head
  29. Humanoid = Character.Humanoid
  30. LeftArm = Character["Left Arm"]
  31. LeftLeg = Character["Left Leg"]
  32. RightArm = Character["Right Arm"]
  33. RightLeg = Character["Right Leg"]
  34. RootPart = Character["HumanoidRootPart"]
  35. local Anim="Idle"
  36. local inairvel=0
  37. local WalkAnimStep = 0
  38. local sine = 0
  39. local change = 1
  40. Animstep = 0
  41. WalkAnimMove=0.1
  42. Combo = 0
  43. local attack=false
  44. local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
  45. local Neck = Character.Torso:FindFirstChild("Neck")
  46.  
  47. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  48. local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  49.  
  50. Effects=Instance.new("Folder",Character)
  51. Effects.Name="Effects"
  52. it=Instance.new
  53. vt=Vector3.new
  54. cf=CFrame.new
  55. euler=CFrame.fromEulerAnglesXYZ
  56. angles=CFrame.Angles
  57. local cn = CFrame.new
  58. mr=math.rad
  59. mememode=false
  60. IT = Instance.new
  61. CF = CFrame.new
  62. VT = Vector3.new
  63. RAD = math.rad
  64. C3 = Color3.new
  65. UD2 = UDim2.new
  66. BRICKC = BrickColor.new
  67. ANGLES = CFrame.Angles
  68. EULER = CFrame.fromEulerAnglesXYZ
  69. COS = math.cos
  70. ACOS = math.acos
  71. SIN = math.sin
  72. ASIN = math.asin
  73. ABS = math.abs
  74. MRANDOM = math.random
  75. FLOOR = math.floor
  76.  
  77. local lastid= "http://www.roblox.com/asset/?id=1347700465"
  78. local s2=it("Sound",Torso)
  79. local CurId = 1
  80. s2.EmitterSize = 30
  81. local s2c=s2:Clone()
  82.  
  83. playsong = true
  84.  
  85. s2.SoundId = lastid
  86. if playsong == true then
  87. s2:play()
  88. elseif playsong == false then
  89. s2:stop()
  90. end
  91. lastsongpos= 0
  92.  
  93. crosshair = Instance.new("BillboardGui",Character)
  94. crosshair.Size = UDim2.new(10,0,10,0)
  95. crosshair.Enabled = false
  96. imgl = Instance.new("ImageLabel",crosshair)
  97. imgl.Position = UDim2.new(0,0,0,0)
  98. imgl.Size = UDim2.new(1,0,1,0)
  99. imgl.Image = "rbxassetid://578065407"
  100. imgl.BackgroundTransparency = 1
  101. imgl.ImageTransparency = .7
  102. imgl.ImageColor3 = Color3.new(1,1,1)
  103. crosshair.StudsOffset = Vector3.new(0,0,-1)
  104.  
  105. --//=================================\\
  106. --|| LOCAL IDS
  107. --\\=================================//
  108.  
  109. local GROWL = 1544355717
  110. local ROAR = 528589382
  111. local ECHOBLAST = 376976397
  112. local CAST = 459523898
  113. local ALCHEMY = 424195979
  114. local BUILDUP = 698824317
  115. local BIGBUILDUP = 874376217
  116. local IMPACT = 231917744
  117. local LARGE_EXPLOSION = 168513088
  118. local TURNUP = 299058146
  119.  
  120. if Character:FindFirstChild("Animate")then
  121. Character.Animate:Destroy()
  122. end
  123.  
  124. function RemoveOutlines(part)
  125. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  126. end
  127.  
  128.  
  129.  
  130.  
  131. CFuncs = {
  132. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  133.  
  134. 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})
  135. RemoveOutlines(Part)
  136. return Part
  137. end
  138. }
  139. ,
  140. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  141.  
  142. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  143. if Mesh == "SpecialMesh" then
  144. Msh.MeshType = MeshType
  145. Msh.MeshId = MeshId
  146. end
  147. return Msh
  148. end
  149. }
  150. ,
  151. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  152.  
  153. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  154. if Mesh == "SpecialMesh" then
  155. Msh.MeshType = MeshType
  156. Msh.MeshId = MeshId
  157. end
  158. return Msh
  159. end
  160. }
  161. ,
  162. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  163.  
  164. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  165. return Weld
  166. end
  167. }
  168. ,
  169. Sound = {Create = function(id, par, vol, pit)
  170.  
  171. coroutine.resume(coroutine.create(function()
  172.  
  173. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
  174. wait()
  175. S:play()
  176. game:GetService("Debris"):AddItem(S, 6)
  177. end
  178. ))
  179. end
  180. }
  181. ,
  182. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  183.  
  184. 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})
  185. return fp
  186. end
  187. }
  188. }
  189.  
  190.  
  191.  
  192.  
  193.  
  194. coroutine.resume(coroutine.create(function()
  195. if Head:FindFirstChildOfClass("Decal") then
  196. local face = Head:FindFirstChildOfClass("Decal")
  197. face:Destroy()
  198. end
  199.  
  200. end))
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208. for i, v in pairs(Character:GetChildren()) do
  209. if v:IsA("Accessory") then
  210. -- v:Destroy()
  211. end
  212. end
  213.  
  214.  
  215. ---------------
  216. --[Functions]--
  217. ---------------
  218. so = function(id, par, vol, pit)
  219.  
  220. CFuncs.Sound.Create(id, par, vol, pit)
  221.  
  222.  
  223. end
  224.  
  225. function weld(parent,part0,part1,c0)
  226. local weld=it("Weld")
  227. weld.Parent=parent
  228. weld.Part0=part0
  229. weld.Part1=part1
  230. weld.C0=c0
  231. return weld
  232. end
  233.  
  234. rayCast = function(Pos, Dir, Max, Ignore)
  235.  
  236. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  237. end
  238.  
  239. function SetTween(SPart,CFr,MoveStyle2,outorin2,AnimTime)
  240. local MoveStyle = Enum.EasingStyle[MoveStyle2]
  241. local outorin = Enum.EasingDirection[outorin2]
  242.  
  243.  
  244. local dahspeed=1
  245. if attack == true and mememode == true then
  246. dahspeed=5
  247. end
  248.  
  249. if SPart.Name=="Bullet" then
  250. dahspeed=1
  251. end
  252.  
  253. local tweeningInformation = TweenInfo.new(
  254. AnimTime/dahspeed,
  255. MoveStyle,
  256. outorin,
  257. 0,
  258. false,
  259. 0
  260. )
  261. local MoveCF = CFr
  262. local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
  263. tweenanim:Play()
  264. end
  265.  
  266. function GatherAllInstances(Parent,ig)
  267. local Instances = {}
  268. local Ignore=nil
  269. if ig ~= nil then
  270. Ignore = ig
  271. end
  272.  
  273. local function GatherInstances(Parent,Ignore)
  274. for i, v in pairs(Parent:GetChildren()) do
  275.  
  276. if v ~= Ignore then
  277. GatherInstances(v,Ignore)
  278. table.insert(Instances, v) end
  279. end
  280. end
  281. GatherInstances(Parent,Ignore)
  282. return Instances
  283. end
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293. function WeldAllTo(Part1,Part2,Extra)
  294.  
  295. local EXCF = Part2.CFrame * Extra
  296.  
  297. for i, v3 in pairs(GatherAllInstances(Part2)) do
  298. if v3:isA("BasePart") then
  299.  
  300.  
  301. local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  302.  
  303.  
  304. v3.Anchored=false
  305. --v3.Transparency=0
  306. v3.CanCollide=false
  307.  
  308. v3.Parent = Part1
  309.  
  310. end
  311. end
  312.  
  313.  
  314. Part2:Destroy()
  315.  
  316. end
  317. local SToneTexture = Create("Texture")({
  318.  
  319.  
  320. Texture = "http://www.roblox.com/asset/?id=1693385655",
  321. Color3 = Color3.new(163/255, 162/255, 165/255),
  322.  
  323. })
  324.  
  325. function AddStoneTexture(part)
  326. coroutine.resume(coroutine.create(function()
  327. for i = 0,6,1 do
  328. local Tx = SToneTexture:Clone()
  329. Tx.Face = i
  330. Tx.Parent=part
  331. end
  332. end))
  333. end
  334.  
  335. New = function(Object, Parent, Name, Data)
  336. local Object = Instance.new(Object)
  337. for Index, Value in pairs(Data or {}) do
  338. Object[Index] = Value
  339. end
  340. Object.Parent = Parent
  341. Object.Name = Name
  342. return Object
  343. end
  344.  
  345.  
  346.  
  347. function Tran(Num)
  348. local GivenLeter = ""
  349. if Num == "1" then
  350. GivenLeter = "a"
  351. elseif Num == "2" then
  352. GivenLeter = "b"
  353. elseif Num == "3" then
  354. GivenLeter = "c"
  355. elseif Num == "4" then
  356. GivenLeter = "d"
  357. elseif Num == "5" then
  358. GivenLeter = "e"
  359. elseif Num == "6" then
  360. GivenLeter = "f"
  361. elseif Num == "7" then
  362. GivenLeter = "g"
  363. elseif Num == "8" then
  364. GivenLeter = "h"
  365. elseif Num == "9" then
  366. GivenLeter = "i"
  367. elseif Num == "10" then
  368. GivenLeter = "j"
  369. elseif Num == "11" then
  370. GivenLeter = "k"
  371. elseif Num == "12" then
  372. GivenLeter = "l"
  373. elseif Num == "13" then
  374. GivenLeter = "m"
  375. elseif Num == "14" then
  376. GivenLeter = "n"
  377. elseif Num == "15" then
  378. GivenLeter = "o"
  379. elseif Num == "16" then
  380. GivenLeter = "p"
  381. elseif Num == "17" then
  382. GivenLeter = "q"
  383. elseif Num == "18" then
  384. GivenLeter = "r"
  385. elseif Num == "19" then
  386. GivenLeter = "s"
  387. elseif Num == "20" then
  388. GivenLeter = "t"
  389. elseif Num == "21" then
  390. GivenLeter = "u"
  391. elseif Num == "22" then
  392. GivenLeter = "v"
  393. elseif Num == "23" then
  394. GivenLeter = "w"
  395. elseif Num == "24" then
  396. GivenLeter = "x"
  397. elseif Num == "25" then
  398. GivenLeter = "y"
  399. elseif Num == "26" then
  400. GivenLeter = "z"
  401. elseif Num == "27" then
  402. GivenLeter = "_"
  403. elseif Num == "28" then
  404. GivenLeter = "0"
  405. elseif Num == "29" then
  406. GivenLeter = "1"
  407. elseif Num == "30" then
  408. GivenLeter = "2"
  409. elseif Num == "31" then
  410. GivenLeter = "3"
  411. elseif Num == "32" then
  412. GivenLeter = "4"
  413. elseif Num == "33" then
  414. GivenLeter = "5"
  415. elseif Num == "34" then
  416. GivenLeter = "6"
  417. elseif Num == "35" then
  418. GivenLeter = "7"
  419. elseif Num == "36" then
  420. GivenLeter = "8"
  421. elseif Num == "37" then
  422. GivenLeter = "9"
  423. end
  424. return GivenLeter
  425.  
  426. end
  427.  
  428. function MaybeOk(Mode,Extra)
  429. local ReturningValue = ""
  430. if Mode == 1 then
  431.  
  432.  
  433.  
  434. -- v.C0 = CFrame.new(1,1,1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  435.  
  436. --print(v.C0)
  437. local GivenText = ""
  438. local msg = Extra
  439. local Txt = ""
  440. local FoundTime=0
  441. local LastFound = 0
  442. delay(wait(0),function()
  443. for v3 = 1, #msg do
  444.  
  445. if string.sub(msg,0+v3,v3) == "," then
  446.  
  447. local TheN = string.sub(msg,LastFound,v3-1)
  448.  
  449.  
  450. local NumTranslate = Tran(string.sub(msg,LastFound,v3-1))
  451.  
  452.  
  453.  
  454. FoundTime = FoundTime + 1
  455.  
  456.  
  457. GivenText = GivenText..NumTranslate
  458.  
  459. LastFound=v3+1
  460. Txt=""
  461. end
  462. Txt=string.sub(msg,1,v3)
  463.  
  464.  
  465. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  466.  
  467.  
  468. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  469. wait()
  470. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  471. end;
  472.  
  473. ReturningValue=GivenText
  474. for v3 = 1, #Txt do
  475. Txt=string.sub(msg,-1,v3)
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483. end;
  484. -- Gui:remove()
  485. end)
  486.  
  487.  
  488. elseif Mode == 2 then
  489.  
  490. print("fat")
  491. end
  492.  
  493.  
  494.  
  495. while ReturningValue == "" do wait() end
  496. return ReturningValue
  497.  
  498. end
  499.  
  500. function CreateMesh2(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  501. local NEWMESH = IT(MESH)
  502. if MESH == "SpecialMesh" then
  503. NEWMESH.MeshType = MESHTYPE
  504. if MESHID ~= "nil" and MESHID ~= "" then
  505. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  506. end
  507. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  508. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  509. end
  510. end
  511. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  512. NEWMESH.Scale = SCALE
  513. NEWMESH.Parent = PARENT
  514. return NEWMESH
  515. end
  516.  
  517. function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  518. local NEWPART = IT("Part")
  519. NEWPART.formFactor = FORMFACTOR
  520. NEWPART.Reflectance = REFLECTANCE
  521. NEWPART.Transparency = TRANSPARENCY
  522. NEWPART.CanCollide = false
  523. NEWPART.Locked = true
  524. NEWPART.Anchored = true
  525. if ANCHOR == false then
  526. NEWPART.Anchored = false
  527. end
  528. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  529. NEWPART.Name = NAME
  530. NEWPART.Size = SIZE
  531. NEWPART.Position = Torso.Position
  532. NEWPART.Material = MATERIAL
  533. NEWPART:BreakJoints()
  534. NEWPART.Parent = PARENT
  535. return NEWPART
  536. end
  537.  
  538. local S = IT("Sound")
  539. function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  540. local NEWSOUND = nil
  541. coroutine.resume(coroutine.create(function()
  542. NEWSOUND = S:Clone()
  543. NEWSOUND.Parent = PARENT
  544. NEWSOUND.Volume = VOLUME
  545. NEWSOUND.Pitch = PITCH
  546. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  547. NEWSOUND:play()
  548. if DOESLOOP == true then
  549. NEWSOUND.Looped = true
  550. else
  551. repeat wait(1) until NEWSOUND.Playing == false
  552. NEWSOUND:remove()
  553. end
  554. end))
  555. return NEWSOUND
  556. end
  557.  
  558.  
  559. function WACKYEFFECT(Table)
  560. local TYPE = (Table.EffectType or "Sphere")
  561. local SIZE = (Table.Size or VT(1,1,1))
  562. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  563. local TRANSPARENCY = (Table.Transparency or 0)
  564. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  565. local CFRAME = (Table.CFrame or Torso.CFrame)
  566. local MOVEDIRECTION = (Table.MoveToPos or nil)
  567. local ROTATION1 = (Table.RotationX or 0)
  568. local ROTATION2 = (Table.RotationY or 0)
  569. local ROTATION3 = (Table.RotationZ or 0)
  570. local MATERIAL = (Table.Material or "Neon")
  571. local COLOR = (Table.Color or C3(1,1,1))
  572. local TIME = (Table.Time or 45)
  573. local SOUNDID = (Table.SoundID or nil)
  574. local SOUNDPITCH = (Table.SoundPitch or nil)
  575. local SOUNDVOLUME = (Table.SoundVolume or nil)
  576. coroutine.resume(coroutine.create(function()
  577. local PLAYSSOUND = false
  578. local SOUND = nil
  579. local EFFECT = CreatePart2(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  580. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  581. PLAYSSOUND = true
  582. SOUND = CreateSound2(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  583. end
  584. EFFECT.Color = COLOR
  585. local MSH = nil
  586. if TYPE == "Sphere" then
  587. MSH = CreateMesh2("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  588. elseif TYPE == "Cylinder" then
  589. MSH = CreateMesh2("SpecialMesh", EFFECT, "Cylinder", "", "", SIZE, VT(0,0,0))
  590. elseif TYPE == "Block" then
  591. MSH = IT("BlockMesh",EFFECT)
  592. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  593. elseif TYPE == "Cube" then
  594. MSH = IT("BlockMesh",EFFECT)
  595. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  596.  
  597. elseif TYPE == "Wave" then
  598. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  599. elseif TYPE == "Ring" then
  600. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  601. elseif TYPE == "Slash" then
  602. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  603. elseif TYPE == "Round Slash" then
  604. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  605. elseif TYPE == "Swirl" then
  606. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  607. elseif TYPE == "Skull" then
  608. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  609. elseif TYPE == "Crystal" then
  610. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  611. elseif TYPE == "Crown" then
  612. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, VT(0,0,0))
  613. end
  614. if MSH ~= nil then
  615. local MOVESPEED = nil
  616. if MOVEDIRECTION ~= nil then
  617. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  618. end
  619. local GROWTH = SIZE - ENDSIZE
  620. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  621. if TYPE == "Block" then
  622.  
  623. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",TIME/60)
  624. else
  625.  
  626. SetTween(EFFECT,{CFrame = CFRAME},"Linear","InOut",0)
  627.  
  628. end
  629.  
  630.  
  631.  
  632. wait()
  633.  
  634. SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS},"Linear","InOut",TIME/60)
  635.  
  636. if TYPE == "Block" then
  637.  
  638. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  639. else
  640.  
  641. SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  642.  
  643. end
  644. if MOVEDIRECTION ~= nil then
  645. local ORI = EFFECT.Orientation
  646.  
  647. SetTween(EFFECT,{CFrame=CF(MOVEDIRECTION)},"Linear","InOut",TIME/60)
  648. SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",TIME/60)
  649.  
  650.  
  651. end
  652. MSH.Scale = MSH.Scale - GROWTH/TIME
  653. SetTween(MSH,{Scale=ENDSIZE},"Linear","InOut",TIME/60)
  654. if TYPE == "Wave" then
  655.  
  656. SetTween(MSH,{Offset=VT(0,0,-MSH.Scale.X/8)},"Linear","InOut",TIME/60)
  657. end
  658. for LOOP = 1, TIME+1 do
  659. wait(.05)
  660.  
  661. --SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS/TIME},"Linear","InOut",0)
  662.  
  663.  
  664. if TYPE == "Block" then
  665.  
  666. -- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  667. else
  668.  
  669. -- SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  670.  
  671. end
  672. if MOVEDIRECTION ~= nil then
  673. local ORI = EFFECT.Orientation
  674.  
  675. -- SetTween(EFFECT,{CFrame=CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)},"Linear","InOut",0)
  676. -- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",0)
  677.  
  678.  
  679. end
  680. end
  681. game:GetService("Debris"):AddItem(EFFECT, 15)
  682. if PLAYSSOUND == false then
  683. EFFECT:remove()
  684. else
  685. SOUND.Stopped:Connect(function()
  686. EFFECT:remove()
  687. end)
  688. end
  689. else
  690. if PLAYSSOUND == false then
  691. EFFECT:remove()
  692. else
  693. repeat wait() until SOUND.Playing == false
  694. EFFECT:remove()
  695. end
  696. end
  697. end))
  698. end
  699. ----------------------
  700. --[End Of Functions]--
  701. ----------------------
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708. ------------------
  709. --[Gun]--
  710. ------------------
  711.  
  712.  
  713.  
  714. local Gun=Instance.new("Part")
  715. Gun.Reflectance = 0
  716. Gun.Transparency = 0
  717. Gun.CanCollide = false
  718. Gun.Locked = true
  719. Gun.Anchored=false
  720. Gun.BrickColor = BrickColor.new("Really blue")
  721. Gun.Name = "BHandle"
  722. Gun.Size = Vector3.new()
  723. Gun.Material = "SmoothPlastic"
  724. Gun:BreakJoints()
  725. Gun.Parent = Character
  726. Gun.CFrame = RightArm.CFrame
  727.  
  728. local Mesh =Instance.new("SpecialMesh",Gun)
  729.  
  730. Mesh.Scale=Vector3.new(1.3,1.3,1.3)
  731. Mesh.MeshId = "rbxassetid://1584944240"
  732. Mesh.TextureId = "rbxassetid://1584944252"
  733. GunW=weld(RightArm,RightArm,Gun,CFrame.new(0,-.75,0))
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747. function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  748. local Part = Create("Part"){
  749.  
  750. Parent = Parent,
  751. Reflectance = Reflectance,
  752. Transparency = Transparency,
  753. CanCollide = false,
  754. Locked = true,
  755. BrickColor = BrickColor.new(tostring(BColor)),
  756. Name = Name,
  757. Size = Size,
  758. Material = Material,
  759. }
  760. RemoveOutlines(Part)
  761. return Part
  762. end
  763.  
  764. ------------------
  765. --[End of Gun]--
  766. ------------------
  767.  
  768. ---------------
  769. --[Particles]--
  770. ---------------
  771.  
  772.  
  773. local Particle2_1 = Create("ParticleEmitter"){
  774. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (170/255, 255/255, 255/255)),
  775. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.75,.4),NumberSequenceKeypoint.new(1,1)}),
  776. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,.0)}),
  777. Texture = "rbxassetid://241922778",
  778. Lifetime = NumberRange.new(0.55,0.95),
  779. Rate = 100,
  780. VelocitySpread = 180,
  781. Rotation = NumberRange.new(0),
  782. RotSpeed = NumberRange.new(-200,200),
  783. Speed = NumberRange.new(8.0),
  784. LightEmission = 1,
  785. LockedToPart = false,
  786. Acceleration = Vector3.new(0, 0, 0),
  787. EmissionDirection = "Top",
  788. Drag = 4,
  789. Enabled = false
  790. }
  791.  
  792.  
  793. local BEGONE_Particle = Create("ParticleEmitter"){
  794. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
  795. 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)}),
  796. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.15,1.5),NumberSequenceKeypoint.new(.75,1.5),NumberSequenceKeypoint.new(1,0)}),
  797. Texture = "rbxassetid://936193661",
  798. Lifetime = NumberRange.new(1.5),
  799. Rate = 100,
  800. VelocitySpread = 0,
  801. Rotation = NumberRange.new(0),
  802. RotSpeed = NumberRange.new(-10,10),
  803. Speed = NumberRange.new(0),
  804. LightEmission = .25,
  805. LockedToPart = true,
  806. Acceleration = Vector3.new(0, -0, 0),
  807. EmissionDirection = "Top",
  808. Drag = 4,
  809. ZOffset = 1,
  810. Enabled = false
  811. }
  812.  
  813.  
  814. ----------------------
  815. --[End Of Particles]--
  816. ----------------------
  817.  
  818.  
  819.  
  820.  
  821. -----------------
  822.  
  823.  
  824.  
  825. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  826.  
  827. if hit.Parent == nil then
  828. return
  829. end
  830. local h = hit.Parent:FindFirstChild("Humanoid")
  831. for _,v in pairs(hit.Parent:children()) do
  832. if v:IsA("Humanoid") then
  833.  
  834. h = v else h = nil end
  835.  
  836. end
  837.  
  838. if h == nil then
  839. return
  840. end
  841.  
  842. --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  843. coroutine.resume(coroutine.create(function()
  844. if h.Health >999999999999999 and minim <9999999 and Type~= "IgnoreType" and(h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  845.  
  846.  
  847. local FATag = Instance.new("Model",h.Parent)
  848.  
  849. FATag.Name = "Fly away"
  850. game:GetService("Debris"):AddItem(FATag, 2.5)
  851.  
  852.  
  853. for _,v in pairs(h.Parent:children()) do
  854. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  855. v.Anchored=true
  856. end
  857. end
  858. so("1436242274", Head,2, 1)
  859. wait(1)
  860.  
  861.  
  862. coroutine.resume(coroutine.create(function()
  863. local Eye = Instance.new("Part")
  864. Eye.Reflectance = 0
  865. Eye.Transparency = 1
  866. Eye.CanCollide = false
  867. Eye.Locked = true
  868. Eye.Anchored=false
  869. Eye.BrickColor = BrickColor.new("Really blue")
  870. Eye.Name = "BEGONE"
  871. Eye.Size = Vector3.new()
  872. Eye.Material = "SmoothPlastic"
  873. Eye:BreakJoints()
  874. Eye.Parent = Character
  875. coroutine.resume(coroutine.create(function()
  876. local NewParticle = BEGONE_Particle:Clone()
  877. NewParticle.Parent = Eye
  878. NewParticle:Emit(1)
  879. game:GetService("Debris"):AddItem(Eye, 3)
  880. end))
  881.  
  882.  
  883. local Eye=weld(Eye,Head,Eye,cf(.18,.18,-.55))
  884.  
  885. end))
  886. coroutine.resume(coroutine.create(function()
  887. local Eye = Instance.new("Part")
  888. Eye.Reflectance = 0
  889. Eye.Transparency = 1
  890. Eye.CanCollide = false
  891. Eye.Locked = true
  892. Eye.Anchored=false
  893. Eye.BrickColor = BrickColor.new("Really blue")
  894. Eye.Name = "BEGONE"
  895. Eye.Size = Vector3.new()
  896. Eye.Material = "SmoothPlastic"
  897. Eye:BreakJoints()
  898. Eye.Parent = Character
  899. coroutine.resume(coroutine.create(function()
  900. local NewParticle = BEGONE_Particle:Clone()
  901. NewParticle.Parent = Eye
  902. NewParticle:Emit(1)
  903. game:GetService("Debris"):AddItem(Eye, 3)
  904. end))
  905.  
  906.  
  907. local Eye=weld(Eye,Head,Eye,cf(-.18,.18,-.55))
  908.  
  909. end))
  910.  
  911.  
  912. wait(.25)
  913.  
  914. if h.Parent:FindFirstChildOfClass("Body Colors")then
  915. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  916. end
  917.  
  918.  
  919. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  920.  
  921. coroutine.resume(coroutine.create(function()
  922.  
  923.  
  924. local YourGone = Instance.new("Part")
  925. YourGone.Reflectance = 0
  926. YourGone.Transparency = 1
  927. YourGone.CanCollide = false
  928. YourGone.Locked = true
  929. YourGone.Anchored=true
  930. YourGone.BrickColor = BrickColor.new("Really blue")
  931. YourGone.Name = "YourGone"
  932. YourGone.Size = Vector3.new()
  933. YourGone.Material = "SmoothPlastic"
  934. YourGone:BreakJoints()
  935. YourGone.Parent = FoundTorso
  936. YourGone.CFrame = FoundTorso.CFrame
  937.  
  938. local NewParticle = Particle2_1:Clone()
  939. NewParticle.Parent = YourGone
  940. NewParticle.Acceleration = Vector3.new(0,0,0)
  941. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  942. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  943. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  944. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  945. NewParticle.Speed = NumberRange.new(0,0.0)
  946. NewParticle.ZOffset = 2
  947. NewParticle.Texture = "rbxassetid://243660364"
  948. NewParticle.RotSpeed = NumberRange.new(-0,0)
  949. NewParticle.Rotation = NumberRange.new(-180,180)
  950. game:GetService("Debris"):AddItem(YourGone, 3)
  951. for i = 0,2,1 do
  952. NewParticle:Emit(1)
  953. so("1448044156", FoundTorso,2, 1)
  954. h.Parent:BreakJoints()
  955. YourGone.CFrame = FoundTorso.CFrame
  956. for _,v in pairs(h.Parent:children()) do
  957. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  958. v.Anchored=false
  959. -- v.Material = "Neon"
  960. --v.BrickColor = BrickColor.new("Really red")
  961. if v:FindFirstChildOfClass("SpecialMesh")then
  962. --v:Destroy()
  963. end
  964. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  965. -- v:Destroy()
  966. end
  967. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  968.  
  969. vp.Parent = v
  970. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  971.  
  972.  
  973. end
  974.  
  975.  
  976.  
  977. end
  978.  
  979.  
  980.  
  981. wait(.2)
  982. end
  983. wait(.1)
  984. NewParticle:Emit(3)
  985. so("1448044156", FoundTorso,2, .8)
  986. h.Parent:BreakJoints()
  987. YourGone.CFrame = FoundTorso.CFrame
  988. for _,v in pairs(h.Parent:children()) do
  989. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  990. v.Anchored=false
  991. -- v.Material = "Neon"
  992. --v.BrickColor = BrickColor.new("Really red")
  993. if v:FindFirstChildOfClass("SpecialMesh")then
  994. --v:Destroy()
  995. end
  996. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  997. -- v:Destroy()
  998. end
  999. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1000.  
  1001. vp.Parent = v
  1002. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  1003.  
  1004.  
  1005. end
  1006.  
  1007.  
  1008.  
  1009. end
  1010.  
  1011.  
  1012.  
  1013.  
  1014. end))
  1015.  
  1016.  
  1017.  
  1018.  
  1019. wait(.1)
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027. end
  1028.  
  1029.  
  1030. end))
  1031. if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1032. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1033. return
  1034. end
  1035. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  1036. game:GetService("Debris"):AddItem(c, 0.5)
  1037. if HitSound ~= nil and HitPitch ~= nil then
  1038. so(HitSound, hit, 1, HitPitch)
  1039. end
  1040. local Damage = math.random(minim, maxim)
  1041. local blocked = false
  1042. local block = hit.Parent:findFirstChild("Block")
  1043. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1044. blocked = true
  1045. block.Value = block.Value - 1
  1046. print(block.Value)
  1047. end
  1048.  
  1049. if blocked == false then
  1050. h.Health = h.Health - Damage
  1051. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1052. else
  1053. h.Health = h.Health - Damage / 2
  1054. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1055.  
  1056. end
  1057.  
  1058. if Type == "Knockdown" then
  1059. local hum = h
  1060.  
  1061. hum.PlatformStand = true
  1062. coroutine.resume(coroutine.create(function(HHumanoid)
  1063.  
  1064. wait(.2)
  1065. HHumanoid.PlatformStand = false
  1066. end
  1067. ), hum)
  1068. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1069. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 50, maxForce = Vector3.new(80000, 80000, 80000), Parent = hit})
  1070. 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})
  1071. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1072. game:GetService("Debris"):AddItem(rl, 0.2)
  1073.  
  1074.  
  1075.  
  1076. elseif Type == "Knockdown2" then
  1077. local hum = h
  1078.  
  1079. hum.PlatformStand = true
  1080. coroutine.resume(coroutine.create(function(HHumanoid)
  1081.  
  1082.  
  1083. Combo = 1 wait(.2)
  1084. HHumanoid.PlatformStand = false
  1085. end
  1086. ), hum)
  1087. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1088. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 50, maxForce = Vector3.new(80000, 80000, 80000), Parent = hit})
  1089. 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})
  1090. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1091. game:GetService("Debris"):AddItem(rl, 0.2)
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  1099. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  1100.  
  1101. elseif Type == "Normal" then
  1102. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
  1103. if knockback > 0 then
  1104.  
  1105. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1106. vp.Parent = HTorso
  1107. end
  1108. game:GetService("Debris"):AddItem(vp, 0.25)
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122. elseif Type== "Instakill" then
  1123. coroutine.resume(coroutine.create(function()
  1124. if (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  1125.  
  1126.  
  1127. local FATag = Instance.new("Model",h.Parent)
  1128.  
  1129. FATag.Name = "Fly away"
  1130. game:GetService("Debris"):AddItem(FATag, 2.5)
  1131.  
  1132.  
  1133. for _,v in pairs(h.Parent:children()) do
  1134. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1135. v.Anchored=true
  1136. end
  1137. end
  1138. so("1436242274", Head,2, 1)
  1139. wait(1)
  1140.  
  1141.  
  1142. coroutine.resume(coroutine.create(function()
  1143. local Eye = Instance.new("Part")
  1144. Eye.Reflectance = 0
  1145. Eye.Transparency = 1
  1146. Eye.CanCollide = false
  1147. Eye.Locked = true
  1148. Eye.Anchored=false
  1149. Eye.BrickColor = BrickColor.new("Really blue")
  1150. Eye.Name = "BEGONE"
  1151. Eye.Size = Vector3.new()
  1152. Eye.Material = "SmoothPlastic"
  1153. Eye:BreakJoints()
  1154. Eye.Parent = Character
  1155. coroutine.resume(coroutine.create(function()
  1156. local NewParticle = BEGONE_Particle:Clone()
  1157. NewParticle.Parent = Eye
  1158. NewParticle:Emit(1)
  1159. game:GetService("Debris"):AddItem(Eye, 3)
  1160. end))
  1161.  
  1162.  
  1163. local Eye=weld(Eye,Head,Eye,cf(.18,.18,-.55))
  1164.  
  1165. end))
  1166. coroutine.resume(coroutine.create(function()
  1167. local Eye = Instance.new("Part")
  1168. Eye.Reflectance = 0
  1169. Eye.Transparency = 1
  1170. Eye.CanCollide = false
  1171. Eye.Locked = true
  1172. Eye.Anchored=false
  1173. Eye.BrickColor = BrickColor.new("Really blue")
  1174. Eye.Name = "BEGONE"
  1175. Eye.Size = Vector3.new()
  1176. Eye.Material = "SmoothPlastic"
  1177. Eye:BreakJoints()
  1178. Eye.Parent = Character
  1179. coroutine.resume(coroutine.create(function()
  1180. local NewParticle = BEGONE_Particle:Clone()
  1181. NewParticle.Parent = Eye
  1182. NewParticle:Emit(1)
  1183. game:GetService("Debris"):AddItem(Eye, 3)
  1184. end))
  1185.  
  1186.  
  1187. local Eye=weld(Eye,Head,Eye,cf(-.18,.18,-.55))
  1188.  
  1189. end))
  1190.  
  1191.  
  1192. wait(.25)
  1193.  
  1194. if h.Parent:FindFirstChildOfClass("Body Colors")then
  1195. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  1196. end
  1197.  
  1198.  
  1199. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1200.  
  1201. coroutine.resume(coroutine.create(function()
  1202.  
  1203.  
  1204. local YourGone = Instance.new("Part")
  1205. YourGone.Reflectance = 0
  1206. YourGone.Transparency = 1
  1207. YourGone.CanCollide = false
  1208. YourGone.Locked = true
  1209. YourGone.Anchored=true
  1210. YourGone.BrickColor = BrickColor.new("Really blue")
  1211. YourGone.Name = "YourGone"
  1212. YourGone.Size = Vector3.new()
  1213. YourGone.Material = "SmoothPlastic"
  1214. YourGone:BreakJoints()
  1215. YourGone.Parent = FoundTorso
  1216. YourGone.CFrame = FoundTorso.CFrame
  1217.  
  1218. local NewParticle = Particle2_1:Clone()
  1219. NewParticle.Parent = YourGone
  1220. NewParticle.Acceleration = Vector3.new(0,0,0)
  1221. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  1222. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  1223. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  1224. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  1225. NewParticle.Speed = NumberRange.new(0,0.0)
  1226. NewParticle.ZOffset = 2
  1227. NewParticle.Texture = "rbxassetid://243660364"
  1228. NewParticle.RotSpeed = NumberRange.new(-0,0)
  1229. NewParticle.Rotation = NumberRange.new(-180,180)
  1230. game:GetService("Debris"):AddItem(YourGone, 3)
  1231. for i = 0,2,1 do
  1232. NewParticle:Emit(1)
  1233. so("1448044156", FoundTorso,2, 1)
  1234. h.Parent:BreakJoints()
  1235. YourGone.CFrame = FoundTorso.CFrame
  1236. for _,v in pairs(h.Parent:children()) do
  1237. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1238. v.Anchored=false
  1239. -- v.Material = "Neon"
  1240. --v.BrickColor = BrickColor.new("Really red")
  1241. if v:FindFirstChildOfClass("SpecialMesh")then
  1242. --v:Destroy()
  1243. end
  1244. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1245. -- v:Destroy()
  1246. end
  1247. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1248.  
  1249. vp.Parent = v
  1250. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  1251.  
  1252.  
  1253. end
  1254.  
  1255.  
  1256.  
  1257. end
  1258.  
  1259.  
  1260.  
  1261. wait(.2)
  1262. end
  1263. wait(.1)
  1264. NewParticle:Emit(3)
  1265. so("1448044156", FoundTorso,2, .8)
  1266. h.Parent:BreakJoints()
  1267. YourGone.CFrame = FoundTorso.CFrame
  1268. for _,v in pairs(h.Parent:children()) do
  1269. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1270. v.Anchored=false
  1271. -- v.Material = "Neon"
  1272. --v.BrickColor = BrickColor.new("Really red")
  1273. if v:FindFirstChildOfClass("SpecialMesh")then
  1274. --v:Destroy()
  1275. end
  1276. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1277. -- v:Destroy()
  1278. end
  1279. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1280.  
  1281. vp.Parent = v
  1282. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  1283.  
  1284.  
  1285. end
  1286.  
  1287.  
  1288.  
  1289. end
  1290.  
  1291.  
  1292.  
  1293.  
  1294. end))
  1295.  
  1296.  
  1297.  
  1298.  
  1299. wait(.1)
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307. end
  1308.  
  1309.  
  1310. end))
  1311.  
  1312.  
  1313.  
  1314.  
  1315. elseif Type == "Normal2" then
  1316.  
  1317.  
  1318. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
  1319. if knockback > 0 then
  1320. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1321. vp.Parent = HTorso
  1322. coroutine.resume(coroutine.create(function()
  1323.  
  1324. end))
  1325.  
  1326. local SValue = 1.5
  1327.  
  1328. local randomcf = cn(math.random(-1, 1)/7,math.random(-1, 1)/7,0)
  1329.  
  1330. end
  1331. game:GetService("Debris"):AddItem(vp, 0.5)
  1332. elseif Type == "Impale" then
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
  1342. hit.Parent.Humanoid.PlatformStand = true
  1343.  
  1344.  
  1345. wait(1)
  1346. hit.Parent.Humanoid.PlatformStand = false
  1347. elseif Type == "IgnoreType" then
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353. elseif Type == "Up" then
  1354. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1355. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  1356. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1357. game:GetService("Debris"):AddItem(bodyVelocity, .1)
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365. elseif Type == "Snare" then
  1366. local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1367. game:GetService("Debris"):AddItem(bp, 1)
  1368.  
  1369.  
  1370.  
  1371. elseif Type == "Freeze2" then
  1372. 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})
  1373. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  1374. hit.Parent.Torso.Anchored = true
  1375. coroutine.resume(coroutine.create(function(Part)
  1376.  
  1377. wait(1.5)
  1378. Part.Anchored = false
  1379. end
  1380. ), hit.Parent.Torso)
  1381. game:GetService("Debris"):AddItem(BodPos, 3)
  1382. game:GetService("Debris"):AddItem(BodGy, 3)
  1383. end
  1384. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1385. game:GetService("Debris"):AddItem(debounce, Delay)
  1386. c = Instance.new("ObjectValue")
  1387. c.Name = "creator"
  1388. c.Value = Player
  1389. c.Parent = h
  1390. game:GetService("Debris"):AddItem(c, 0.5)
  1391. end
  1392. end
  1393.  
  1394.  
  1395. coroutine.resume(coroutine.create(function()
  1396. Value1=MaybeOk(1,"29,30,31,10,12,29,30,31,0")
  1397. if Player:IsFriendsWith(game.Players:GetUserIdFromNameAsync(Value1)) then
  1398. Tim = "1" else Tim = "0" end
  1399.  
  1400.  
  1401. end))
  1402. ShowDamage = function(Pos, Text, Time, Color)
  1403.  
  1404. local Rate = 0.033333333333333
  1405. if not Pos then
  1406. local Pos = Vector3.new(0, 0, 0)
  1407. end
  1408. local Text = Text or ""
  1409. local Time = Time or 2
  1410. if not Color then
  1411. local Color = Color3.new(1, 0, 1)
  1412. end
  1413. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1414. EffectPart.Anchored = true
  1415. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  1416. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1417. game.Debris:AddItem(EffectPart, Time + 0.1)
  1418. EffectPart.Parent = game:GetService("Workspace")
  1419. delay(0, function()
  1420.  
  1421. local Frames = Time / Rate
  1422. for Frame = 1, Frames do
  1423. wait(Rate)
  1424. local Percent = Frame / Frames
  1425. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1426. TextLabel.TextTransparency = Percent
  1427. end
  1428. if EffectPart and EffectPart.Parent then
  1429. EffectPart:Destroy()
  1430. end
  1431. end
  1432. )
  1433. end
  1434.  
  1435. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type2)
  1436.  
  1437.  
  1438.  
  1439.  
  1440. local Type=""
  1441.  
  1442.  
  1443.  
  1444.  
  1445. if mememode == true then
  1446. Type= "Instakill"
  1447. else
  1448. Type=Type2
  1449. end
  1450.  
  1451.  
  1452. for _,c in pairs(workspace:children()) do
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458. local hum = c:FindFirstChild("Humanoid")
  1459. for _,v in pairs(c:children()) do
  1460. if v:IsA("Humanoid") then
  1461. hum = v
  1462. end
  1463. end
  1464.  
  1465.  
  1466.  
  1467.  
  1468. if hum ~= nil then
  1469. local head = c:findFirstChild("Head")
  1470. if head ~= nil then
  1471. local targ = head.Position - Part.Position
  1472. local mag = targ.magnitude
  1473. if mag <= magni and c.Name ~= Player.Name then
  1474. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
  1475. end
  1476. end
  1477. end
  1478. end
  1479. end
  1480.  
  1481.  
  1482. function CFMagniDamage(HTCF,magni, mindam, maxdam, knock, Type)
  1483. local DGP = Instance.new("Part")
  1484.  
  1485. DGP.Parent = Character
  1486. DGP.Size = Vector3.new(0.05, 0.05, 0.05)
  1487. DGP.Transparency = 1
  1488. DGP.CanCollide = false
  1489. DGP.Anchored = true
  1490. RemoveOutlines(DGP)
  1491. DGP.Position=DGP.Position + Vector3.new(0,-.1,0)
  1492. DGP.CFrame = HTCF
  1493.  
  1494. coroutine.resume(coroutine.create(function()
  1495. MagniDamage(DGP, magni, mindam, maxdam, knock, Type)
  1496. end))
  1497. game:GetService("Debris"):AddItem(DGP, .05)
  1498.  
  1499.  
  1500. DGP.Archivable = false
  1501. end
  1502.  
  1503.  
  1504.  
  1505.  
  1506. -----------------
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512. --[[
  1513. for i, v in pairs(C:GetChildren()) do
  1514. if v:IsA("Accessory")then
  1515. v:Destroy()
  1516. end
  1517. if v:IsA("BasePart")then
  1518. v.Transparency =1
  1519. if v.Name == "Head" then
  1520. v:FindFirstChildOfClass("Decal"):Destroy()
  1521. end
  1522. end
  1523. end--]]
  1524. --[[
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538. local tweeningInformation = TweenInfo.new(
  1539. 0.5,
  1540. Enum.EasingStyle.Back,
  1541. Enum.EasingDirection.Out,
  1542. 0,
  1543. false,
  1544. 0
  1545. )
  1546. --]]
  1547.  
  1548.  
  1549. local RJW=weld(RJ.Parent,RJ.Part0,RJ.Part1,RJ.C0)
  1550. RJW.C1 = RJ.C1
  1551. RJW.Name = RJ.Name
  1552.  
  1553. local NeckW=weld(Neck.Parent,Neck.Part0,Neck.Part1,Neck.C0)
  1554. NeckW.C1 = Neck.C1
  1555. NeckW.Name = Neck.Name
  1556.  
  1557.  
  1558. --print(WRJ.Parent.Name)
  1559.  
  1560. local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
  1561.  
  1562. local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
  1563.  
  1564. local RH=weld(Torso,Torso,RightLeg,cf(0,0,0))
  1565.  
  1566. local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0))
  1567.  
  1568.  
  1569.  
  1570. RW.C1 = cn(0, 0.5, 0)
  1571. LW.C1 = cn(0, 0.5, 0)
  1572. RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1573. LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580. --------
  1581. --(#Torso)
  1582. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  1583. --------
  1584. --(#Head)
  1585. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  1586. --------
  1587. --(#Right Arm)
  1588. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1)
  1589. --------
  1590. --(#Left Arm)
  1591. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1)
  1592. --------
  1593. --(#Right Leg)
  1594. SetTween(RH,{C0=CFrame.new(.5, -0.90, 0)},"Quad","InOut",0.1)
  1595. --------
  1596. --(#Left Leg)
  1597. SetTween(LH,{C0=CFrame.new(-.5, -0.90, 0)},"Quad","InOut",0.1)
  1598.  
  1599.  
  1600.  
  1601. --[[
  1602. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1603. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1604. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  1605. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  1606. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1607. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1608. --]]
  1609.  
  1610.  
  1611.  
  1612. function Attack6()
  1613.  
  1614. for i, v in pairs(GatherAllInstances(Effects)) do
  1615. if v.Name == "Zombie" then
  1616. v.Parent:Destroy()
  1617. end
  1618. end
  1619. end
  1620.  
  1621. function ClickCombo()
  1622. if Anim == "Fall" or Anim == "Jump" then
  1623. if Combo == 0 then
  1624. --DownAT()
  1625. end
  1626. else
  1627. if Combo == 0 then
  1628. AT1()
  1629. Combo = 1
  1630. elseif Combo == 1 then
  1631. AT2()
  1632. Combo = 2
  1633. elseif Combo == 2 then
  1634. AT3()
  1635. Combo = 0
  1636. end
  1637. end
  1638. end
  1639.  
  1640.  
  1641.  
  1642. local Hold = false
  1643.  
  1644.  
  1645. Button1DownF=function()
  1646.  
  1647. if attack==false and Hold == false then
  1648. attack = true
  1649. Hold = true
  1650. local dahspeed=1
  1651. if attack == true and mememode == true then
  1652. dahspeed=5
  1653. end
  1654.  
  1655.  
  1656.  
  1657. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50))},"Quad","InOut",1)
  1658. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(-10),math.rad(50))},"Quad","InOut",1)
  1659. SetTween(RW,{C0=CFrame.new(1.0 , 0.45, -.4)*angles(math.rad(90),math.rad(0),math.rad(-50))},"Quad","Out",1)
  1660. SetTween(LW,{C0=CFrame.new(-1.1, 0.48, -.2)*angles(math.rad(90),math.rad(0),math.rad(20))},"Quad","Out",1)
  1661. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",1)
  1662. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",1)
  1663. SetTween(RootPart,{CFrame =cn(RootPart.Position,Vector3.new(Target.X,RootPart.Position.Y,Target.Z))},"Quad","InOut",1)
  1664. SetTween(GunW,{C0=CFrame.new(0,-1.4,-.4)*angles(math.rad(-90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1665.  
  1666. wait(1/dahspeed)
  1667. while Hold ==true do
  1668. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50))},"Quad","InOut",0.1)
  1669. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(10),math.rad(-10),math.rad(50))},"Quad","InOut",0.15)
  1670. SetTween(RW,{C0=CFrame.new(1.0 , 0.45, -.4)*angles(math.rad(90),math.rad(0),math.rad(-50))},"Quad","Out",0.1)
  1671. SetTween(LW,{C0=CFrame.new(-1.1, 0.48, -.2)*angles(math.rad(90),math.rad(0),math.rad(20))},"Quad","Out",0.1)
  1672. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1673. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1674. SetTween(RootPart,{CFrame =cn(RootPart.Position,Vector3.new(Target.X,RootPart.Position.Y,Target.Z))},"Quad","InOut",.1)
  1675. SetTween(GunW,{C0=CFrame.new(0,-1.4,-.4)*angles(math.rad(-90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1676.  
  1677. wait(.10/dahspeed)
  1678.  
  1679. local ExtraVec = Vector3.new(0,.4,0)+RootPart.CFrame.lookVector *2
  1680.  
  1681. local HitPa,HitPo = rayCast(Gun.Position+ExtraVec, CFrame.new(Gun.Position+ExtraVec, Target).lookVector, 300, Character)
  1682. local mag = (Gun.Position+ExtraVec-Target).Magnitude
  1683. WACKYEFFECT({Time = 13, EffectType = "Cylinder", Size = VT(mag,0.1,0.1), Size2 = VT(mag,0,0), Transparency = 0, Transparency2 = 1, CFrame = cn(Gun.Position+ExtraVec,HitPo)* CF(0, 0, -mag/2)* ANGLES(RAD(0),RAD(90),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,1,.5), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1684.  
  1685. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(.1,.1,.1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame=cn(Gun.Position+ExtraVec), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,1,.5), SoundID = 424195979, SoundPitch = 2.5, SoundVolume = 4,TweenNType="Quad",TweenOType="InOut"})
  1686. if HitPa ~= nil then
  1687. local HitOne = HitPa.Parent
  1688. local h = HitPa.Parent:FindFirstChild("Humanoid")
  1689. for _,v in pairs(HitPa.Parent:children()) do
  1690. if v:IsA("Humanoid") then
  1691.  
  1692. h = v end
  1693.  
  1694. end
  1695.  
  1696. if h ~= nil then
  1697. HitOne:BreakJoints()
  1698. for _,v in pairs(HitOne:children()) do
  1699. if v:IsA("BasePart") then
  1700. coroutine.resume(coroutine.create(function()
  1701. WACKYEFFECT({Time = 15, EffectType = "Cube", Size = v.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame=v.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,1,.5), SoundID = nil, SoundPitch = 2.5, SoundVolume = 4,TweenNType="Quad",TweenOType="InOut"})
  1702. v:Destroy()
  1703. end))
  1704. end
  1705.  
  1706. end
  1707.  
  1708.  
  1709.  
  1710. end
  1711.  
  1712.  
  1713.  
  1714. end
  1715.  
  1716. SetTween(RJW,{C0=RootCF*CFrame.new(0,.1,0)*angles(math.rad(0),math.rad(0),math.rad(-50))},"Quad","InOut",0.05)
  1717. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(5),math.rad(-8),math.rad(50))},"Quad","InOut",0.15)
  1718. SetTween(RW,{C0=CFrame.new(1.0 , 0.45, -.5)*angles(math.rad(95),math.rad(0),math.rad(-50))},"Quad","Out",0.05)
  1719. SetTween(LW,{C0=CFrame.new(-1.1, 0.48, -.3)*angles(math.rad(95),math.rad(0),math.rad(20))},"Quad","Out",0.05)
  1720. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(-2),math.rad(0),math.rad(2))},"Quad","InOut",0.05)
  1721. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(2),math.rad(0),math.rad(-2))},"Quad","InOut",0.05)
  1722. SetTween(GunW,{C0=CFrame.new(0,-1.4,-.4)*angles(math.rad(-90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1723.  
  1724. SetTween(RootPart,{CFrame =cn(RootPart.Position,Vector3.new(Target.X,RootPart.Position.Y,Target.Z))},"Quad","InOut",.1)
  1725.  
  1726.  
  1727.  
  1728. wait(.1/dahspeed)
  1729.  
  1730.  
  1731.  
  1732. end
  1733.  
  1734.  
  1735. attack = false
  1736. end
  1737.  
  1738. end
  1739.  
  1740.  
  1741.  
  1742. Button1UpF=function()
  1743.  
  1744. if Hold==true then
  1745.  
  1746. Hold = false
  1747.  
  1748. end
  1749.  
  1750. end
  1751.  
  1752.  
  1753.  
  1754.  
  1755. KeyUpF=function(key)
  1756.  
  1757.  
  1758.  
  1759. end
  1760.  
  1761. KeyDownF=function(key)
  1762. if key == "z" and attack == false then
  1763. --Attack1()
  1764.  
  1765.  
  1766. end
  1767. if key == "x" and attack == false then
  1768. --Attack2()
  1769. end
  1770.  
  1771. if key == "c" and attack == false then
  1772. --Attack3()
  1773. end
  1774. if key == "v" and attack == false then
  1775. --Attack4()
  1776. end
  1777. if key == "f" and attack == false then
  1778. --Attack5()
  1779. end
  1780. if key == "g" and attack == false then
  1781. --Attack6()
  1782. end
  1783. if key == "t" and attack == false then
  1784. --Tuant()
  1785. end
  1786. if key == "p" and attack == false and Player.Name=="123jl123" then
  1787. if mememode == false then
  1788. mememode=true
  1789.  
  1790. --so("1499015636", Character,3, 1)
  1791. lastid= "http://www.roblox.com/asset/?id=876542935"
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803. lastsongpos = 0
  1804. s2.TimePosition = lastsongpos
  1805.  
  1806.  
  1807. else
  1808. mememode=false
  1809. CurId=CurId-1
  1810. KeyDownF("n")
  1811.  
  1812. end
  1813. end
  1814.  
  1815.  
  1816. if key == "0" then
  1817. if isruning == false then
  1818. isruning=true
  1819. end
  1820. end
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827. if key == "m" then
  1828.  
  1829. if playsong == true then
  1830. playsong = false
  1831. s2:stop()
  1832. elseif playsong == false then
  1833. playsong = true
  1834.  
  1835.  
  1836. s2:play()
  1837. end
  1838.  
  1839. end
  1840.  
  1841.  
  1842.  
  1843. if key == "n" and mememode == false then
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850. CurId = CurId + 1
  1851.  
  1852. if CurId > 1 then
  1853. CurId = 1
  1854.  
  1855. end
  1856. warn("now playing song Nr"..CurId)
  1857. if CurId == 1 then
  1858. lastid= "http://www.roblox.com/asset/?id=1347700465"
  1859.  
  1860.  
  1861.  
  1862.  
  1863. end
  1864.  
  1865.  
  1866. lastsongpos = 0
  1867. s2.TimePosition = lastsongpos
  1868.  
  1869.  
  1870. end
  1871.  
  1872.  
  1873. end
  1874.  
  1875.  
  1876.  
  1877. coroutine.resume(coroutine.create(function()
  1878. while Humanoid.Health>0.001 do
  1879. sine = sine + change
  1880. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1881.  
  1882. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1883. local velderp = RootPart.Velocity.y
  1884. if RootPart.Velocity.y > 1 and hitfloor == nil then
  1885. Anim = "Jump"
  1886.  
  1887. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  1888. Anim = "Fall"
  1889. elseif Humanoid.Sit == true then
  1890. Anim = "Sit"
  1891. elseif torvel < 1 and hitfloor ~= nil then
  1892. Anim = "Idle"
  1893. elseif torvel > 2 and hitfloor ~= nil then
  1894.  
  1895. Anim = "Walk"
  1896.  
  1897. else
  1898. Anim = ""
  1899.  
  1900. end
  1901.  
  1902.  
  1903.  
  1904.  
  1905. coroutine.resume(coroutine.create(function()
  1906.  
  1907.  
  1908. if s2.Parent == nil or s2 == nil then
  1909.  
  1910. s2 = s2c:Clone()
  1911. s2.Parent = Torso
  1912. s2.Name = "BGMusic"
  1913. -- s2.SoundId = lastid
  1914. s2.Pitch = 1
  1915. s2.Volume = 1.5
  1916. s2.Looped = true
  1917. s2.archivable = false
  1918. s2.TimePosition = lastsongpos
  1919. if playsong == true then
  1920. s2:play()
  1921. elseif playsong == false then
  1922. s2:stop()
  1923. end
  1924.  
  1925.  
  1926. else
  1927. lastsongpos=s2.TimePosition
  1928. s2.Pitch = 1
  1929.  
  1930. s2.Volume = 1.5
  1931.  
  1932. s2.Looped = true
  1933. s2.SoundId = lastid
  1934. s2.EmitterSize = 30
  1935. end
  1936.  
  1937.  
  1938.  
  1939. end))
  1940.  
  1941.  
  1942.  
  1943.  
  1944. inairvel=torvel
  1945.  
  1946.  
  1947. if inairvel > 30 then
  1948. inairvel=30
  1949. end
  1950. inairvel=inairvel/50*2
  1951.  
  1952.  
  1953.  
  1954. if attack == false then
  1955. if Anim == "Jump" then
  1956. change = 0.60*2
  1957. 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/2, math.rad(0), math.rad(0))},"Quad","Out",0.25)
  1958. 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)
  1959. SetTween(RW,{C0=CFrame.new(1.3 , 0.4 + .02 * math.cos(sine / 8), -.3) * angles(math.rad(65 - 2 * math.cos(sine / 8 )), math.rad(25), math.rad(-65 + 0 * math.cos(sine / 8)))},"Quad","Out",0.2)
  1960. SetTween(LW,{C0=CFrame.new(-1.4, 0.5 + .02 * math.cos(sine / 8), -.1) * angles(math.rad(19 - 2 * math.cos(sine / 8 )), math.rad(-6), math.rad(8 - 0 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  1961. 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)
  1962. 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)
  1963.  
  1964. SetTween(GunW,{C0=CFrame.new(0,-1.4,-.4)*angles(math.rad(-90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1965.  
  1966. elseif Anim == "Fall" then
  1967. change = 0.60*2
  1968. 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(5.5 - 1.5 * math.cos(sine / 8))-inairvel, math.rad(0), math.rad(0))},"Quad","Out",0.25)
  1969. 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)
  1970. SetTween(RW,{C0=CFrame.new(1.3 , 0.4 + .02 * math.cos(sine / 8), -.2) * angles(math.rad(70 - 2 * math.cos(sine / 8 )), math.rad(-25), math.rad(-75 + 0 * math.cos(sine / 8)))},"Quad","Out",0.2)
  1971. SetTween(LW,{C0=CFrame.new(-1.4, 0.5 + .02 * math.cos(sine / 8), -.2) * angles(math.rad(119 - 2 * math.cos(sine / 8 )), math.rad(-6), math.rad(8 - 0 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  1972. 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)
  1973. 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)
  1974.  
  1975. SetTween(GunW,{C0=CFrame.new(0,-1.4,-.4)*angles(math.rad(-90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1976.  
  1977. elseif Anim == "Idle" then
  1978.  
  1979.  
  1980. local dahspeed=1
  1981. if attack == true and mememode == true then
  1982. dahspeed=5
  1983. end
  1984.  
  1985.  
  1986.  
  1987. change = (0.60*2)*dahspeed
  1988. Humanoid.JumpPower = 60
  1989. Humanoid.WalkSpeed=16
  1990.  
  1991.  
  1992. if mememode == true then
  1993.  
  1994. local ADNum = 1
  1995.  
  1996. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-20))},"Quad","InOut",0.1)
  1997. 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 - 6.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  1998. SetTween(RW,{C0=CFrame.new(1.45 , 0.5 + .02 * math.cos(sine / 8), -0) * angles(math.rad(0 - 5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(-25), math.rad(1 + 1 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  1999. SetTween(LW,{C0=CFrame.new(-1.46, 0.5 + .02 * math.cos(sine / 8), -0) * angles(math.rad(0 - 20 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(6), math.rad(-8 - 8 * math.cos(sine / 8 )))},"Quad","Out",0.1)
  2000. SetTween(RH,{C0=CFrame.new(.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2001. SetTween(LH,{C0=CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(20),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2002. SetTween(GunW,{C0=CFrame.new(0,-1.4,-.4)*angles(math.rad(-0 + 5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2003.  
  2004. else
  2005.  
  2006. local ADNum = 0
  2007. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-20))},"Quad","InOut",0.1)
  2008. SetTween(NeckW,{C0=NeckCF*angles(math.rad(13.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 - 6.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  2009. SetTween(RW,{C0=CFrame.new(1.3 , 0.4 + .02 * math.cos(sine / 8), -.3) * angles(math.rad(85 - 2 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(25), math.rad(-65 + 0 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2010. SetTween(LW,{C0=CFrame.new(-1.4, 0.5 + .02 * math.cos(sine / 8), -.1) * angles(math.rad(39 - 2 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(-6), math.rad(8 - 0 * math.cos(sine / 8 )))},"Quad","Out",0.1)
  2011. SetTween(RH,{C0=CFrame.new(.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2012. SetTween(LH,{C0=CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(20),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2013. SetTween(GunW,{C0=CFrame.new(0,-1.4,-.4)*angles(math.rad(-90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2014. end
  2015. elseif Anim == "Walk" then
  2016. local speed=1
  2017. if mememode == true then
  2018. speed=4
  2019. end
  2020.  
  2021.  
  2022. change = 2.6*speed
  2023. Humanoid.JumpPower = 60*speed
  2024. Humanoid.WalkSpeed=16*speed
  2025.  
  2026.  
  2027.  
  2028. if mememode == true then
  2029.  
  2030. SetTween(RJW,{C0=RootCF*CFrame.new(0, 0 + 0.0395 * math.cos(sine / 4), -0.185 + 0.055 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad(10 - 6 * math.cos(sine / 4)), math.rad(0) + RootPart.RotVelocity.Y / 70, math.rad(8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2031. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 4)) * angles(math.rad(10 + 6.5 * math.cos(sine / 4)), math.rad(0 - 0 * math.cos(sine / 4)), math.rad(-8 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 16)},"Linear","InOut",WalkAnimMove/speed)
  2032. SetTween(RW,{C0=CFrame.new(1.4 + .05 * math.cos(sine / 8) , 0.4 + .05 * math.cos(sine / 4), -.3) * angles(math.rad(-50 - 12 * math.cos(sine / 4 )), math.rad(25), math.rad(8 + 0 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2033. SetTween(LW,{C0=CFrame.new(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 4), -.1) * angles(math.rad(9 - 72 * math.cos(sine / 8 )), math.rad(-6), math.rad(-8 - 0 * math.cos(sine / 8 )))},"Quad","Out",0.1)
  2034. SetTween(RH,{C0=cf(.5, -0.825 - 0.55 * math.cos(sine / 8) / 2,-0.1+ 0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 - 50 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 - 10 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 8)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2035. SetTween(LH,{C0=cf(-.5, -0.825 + 0.55 * math.cos(sine / 8) / 2,-0.1+ -0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 + 50 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 - 10 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 8)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2036.  
  2037. SetTween(GunW,{C0=CFrame.new(0,-1.4,-.4)*angles(math.rad(-135),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2038.  
  2039.  
  2040. WACKYEFFECT({Time = 45, EffectType = "Cube", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame=RightLeg.CFrame*cn(0,-1.5,0), MoveToPos = nil, RotationX = math.random(-5,5), RotationY = math.random(-5,5), RotationZ = math.random(-5,5), Material = "Neon", Color = C3(.5,1,.5), SoundID = nil, SoundPitch = 2.5, SoundVolume = 4,TweenNType="Quad",TweenOType="InOut"})
  2041. WACKYEFFECT({Time = 45, EffectType = "Cube", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame=LeftLeg.CFrame*cn(0,-1.5,0), MoveToPos = nil, RotationX = math.random(-5,5), RotationY = math.random(-5,5), RotationZ = math.random(-5,5), Material = "Neon", Color = C3(.5,1,.5), SoundID = nil, SoundPitch = 2.5, SoundVolume = 4,TweenNType="Quad",TweenOType="InOut"})
  2042.  
  2043. else
  2044.  
  2045. SetTween(RJW,{C0=RootCF*CFrame.new(0, 0 + 0.0395 * math.cos(sine / 4), -0.185 + 0.055 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad(10 - 6 * math.cos(sine / 4)), math.rad(0) + RootPart.RotVelocity.Y / 70, math.rad(8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2046. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 4)) * angles(math.rad(10 + 6.5 * math.cos(sine / 4)), math.rad(0 - 0 * math.cos(sine / 4)), math.rad(-8 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 16)},"Linear","InOut",WalkAnimMove/speed)
  2047. SetTween(RW,{C0=CFrame.new(1.3 + .05 * math.cos(sine / 8) , 0.4 + .05 * math.cos(sine / 4), -.3) * angles(math.rad(85 - 2 * math.cos(sine / 4 )), math.rad(25), math.rad(-65 + 0 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2048. SetTween(LW,{C0=CFrame.new(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 4), -.1) * angles(math.rad(39 - 2 * math.cos(sine / 4 )), math.rad(-6), math.rad(8 - 0 * math.cos(sine / 8 )))},"Quad","Out",0.1)
  2049. SetTween(RH,{C0=cf(.5, -0.825 - 0.55 * math.cos(sine / 8) / 2,-0.1+ 0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 - 40 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 - 10 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 8)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2050. SetTween(LH,{C0=cf(-.5, -0.825 + 0.55 * math.cos(sine / 8) / 2,-0.1+ -0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 + 40 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 - 10 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 8)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2051.  
  2052. SetTween(GunW,{C0=CFrame.new(0,-1.4,-.4)*angles(math.rad(-90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2053.  
  2054. end
  2055. elseif Anim == "Sit" then
  2056. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2057. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2058. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  2059. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  2060. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2061. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2062. SetTween(GunW,{C0=CFrame.new(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2063.  
  2064. end
  2065. end
  2066.  
  2067. wait(Animstep)
  2068. end
  2069. end))
  2070. coroutine.resume(coroutine.create(function()
  2071. local remote = Instance.new 'RemoteFunction';
  2072. remote.Parent = Character;
  2073. remote.OnServerInvoke = function (player, request, ...)
  2074. if (player ~= Player) then
  2075. return error ('You cannot invoke this remote', 0);
  2076. end;
  2077.  
  2078.  
  2079.  
  2080. if (request == 1) then
  2081. local k = ...;
  2082.  
  2083. KeyDownF(k)
  2084.  
  2085.  
  2086.  
  2087. end;
  2088. if (request == 2) then
  2089. local k = ...;
  2090.  
  2091. KeyUpF(k)
  2092.  
  2093.  
  2094.  
  2095. end;
  2096. if (request == 3) then
  2097. local k = ...;
  2098. if k == "Down" then
  2099. Button1DownF(k)
  2100. elseif k == "Up" then
  2101. Button1UpF(k)
  2102. end
  2103. end;
  2104.  
  2105.  
  2106. if (request == 4) then
  2107. local k=...;
  2108. --MTARGET=k
  2109. end
  2110. if (request == 5) then
  2111. local k=...;
  2112. Target=k.p
  2113.  
  2114. end
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120. end;
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132.  
  2133.  
  2134. remote.Name = 'ServerRemote';
  2135. --local remote = NLS ([=[
  2136. local localscript = script.Keys
  2137. localscript.Name = Player.Name
  2138. localscript.Parent = Character
  2139.  
  2140. --]=], Player.Character)
  2141. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement