Advertisement
cat568

Untitled

Mar 29th, 2019
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 KB | None | 0 0
  1. Player = owner
  2. PlayerGui = Player.PlayerGui
  3. Cam = workspace.CurrentCamera
  4.  
  5. Character = Player.Character
  6. Humanoid = Character.Humanoid
  7. RootPart = Character["HumanoidRootPart"]
  8. Torso = Character["Torso"]
  9. Head = Character["Head"]
  10. RightArm = Character["Right Arm"]
  11. LeftArm = Character["Left Arm"]
  12. RightLeg = Character["Right Leg"]
  13. LeftLeg = Character["Left Leg"]
  14. RootJoint = RootPart["RootJoint"]
  15. Neck = Torso["Neck"]
  16. RightShoulder = Torso["Right Shoulder"]
  17. LeftShoulder = Torso["Left Shoulder"]
  18. RightHip = Torso["Right Hip"]
  19. LeftHip = Torso["Left Hip"]
  20. local TIME = 0
  21. local sick = Instance.new("Sound",Torso)
  22.  
  23. IT = Instance.new
  24. CF = CFrame.new
  25. VT = Vector3.new
  26. RAD = math.rad
  27. C3 = Color3.new
  28. UD2 = UDim2.new
  29. BRICKC = BrickColor.new
  30. ANGLES = CFrame.Angles
  31. EULER = CFrame.fromEulerAnglesXYZ
  32. COS = math.cos
  33. ACOS = math.acos
  34. SIN = math.sin
  35. ASIN = math.asin
  36. ABS = math.abs
  37. MRANDOM = math.random
  38. FLOOR = math.floor
  39.  
  40. --//=================================\\
  41. --|| USEFUL VALUES
  42. --\\=================================//
  43.  
  44. local FORCERESET = false
  45. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  46. local Speed = 18
  47. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  48. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  49. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  50. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  51. local DAMAGEMULTIPLIER = 1
  52. local ANIM = "Idle"
  53. local ATTACK = false
  54. local EQUIPPED = false
  55. local HOLD = false
  56. local COMBO = 1
  57. local Rooted = false
  58. local SINE = 0
  59. local KEYHOLD = false
  60.  
  61. local WALKINGANIM = false
  62. local VALUE1 = false
  63. local VALUE2 = false
  64. local ROBLOXIDLEANIMATION = IT("Animation")
  65. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  66. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  67. --ROBLOXIDLEANIMATION.Parent = Humanoid
  68. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  69. WEAPONGUI.Name = "BanishV3Gui"
  70. local Weapon = IT("Model")
  71. Weapon.Name = "Adds"
  72. local Effects = IT("Folder", Weapon)
  73. Effects.Name = "Effects"
  74. local KnifeM = IT("Model")
  75. KnifeM.Name = "KAdds"
  76. local ANIMATOR = Humanoid.Animator
  77. local ANIMATE = Character:FindFirstChild("Animate")
  78. local UNANCHOR = true
  79. local TOBANISH = {}
  80. script.Parent = PlayerGui
  81. local FADERS = true
  82. local MODE = "Infectist"
  83. local SONG = 494139763
  84. local VOLUME = 3.5
  85. local PITCH = 1
  86. local SIZE = 1
  87. local GHOSTS = {}
  88. ANIMATE:remove()
  89. Character.Archivable = true
  90. script.Parent = WEAPONGUI
  91. local GHOSTBASE = Character:Clone()
  92. GHOSTBASE.Parent = nil
  93. GHOSTBASE.Name = "Infected"
  94. for _, c in pairs(GHOSTBASE:GetChildren()) do
  95. if c.ClassName == "Part" and c.Transparency < 1 then
  96. c.Color = C3(0,0,0)
  97. if c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
  98. c:remove()
  99. end
  100. end
  101. end
  102. local Effects = IT("Folder", Character)
  103. Effects.Name = "Effects"
  104. Character.Archivable = false
  105. local BODY = {}
  106. local SHOCKSOUND = 1544280726
  107. local RINGSOUND = 340505360
  108. local ULTHIT = 412831137
  109.  
  110.  
  111. ArtificialHB = Instance.new("BindableEvent", script)
  112. ArtificialHB.Name = "ArtificialHB"
  113.  
  114. script:WaitForChild("ArtificialHB")
  115.  
  116. frame = Frame_Speed
  117. tf = 0
  118. allowframeloss = false
  119. tossremainder = false
  120. lastframe = tick()
  121. script.ArtificialHB:Fire()
  122.  
  123. game:GetService("RunService").Heartbeat:connect(function(s, p)
  124. tf = tf + s
  125. if tf >= frame then
  126. if allowframeloss then
  127. script.ArtificialHB:Fire()
  128. lastframe = tick()
  129. else
  130. for i = 1, math.floor(tf / frame) do
  131. script.ArtificialHB:Fire()
  132. end
  133. lastframe = tick()
  134. end
  135. if tossremainder then
  136. tf = 0
  137. else
  138. tf = tf - frame * math.floor(tf / frame)
  139. end
  140. end
  141. end)
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149. Character.Archivable = true
  150. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  151. coroutine.resume(coroutine.create(function()
  152. local FADE = IT("Model",Effects)
  153. if PARENT ~= nil then
  154. FADE.Parent = PARENT
  155. end
  156. FADE.Name = "FadingEffect"
  157. for _, c in pairs(Character:GetChildren()) do
  158. if c.ClassName == "Part" then
  159. c.CanCollide = false
  160. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Really red"), c.Name, c.Size, true)
  161. FADER.CFrame = c.CFrame
  162. FADER.Color = C3(0,0,0)
  163. if FADER.Name == "Head" then
  164. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  165. elseif FADER.Name == "HumanoidRootPart" then
  166. FADE.PrimaryPart = FADER
  167. FADER.Transparency = 1
  168. end
  169. end
  170. end
  171. local TRANS = 0.25/TIMER
  172. local DIST = nil
  173. if MOVEDIRECTION ~= nil then
  174. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  175. end
  176. for i = 1, TIMER do
  177. Swait()
  178. for _, c in pairs(FADE:GetChildren()) do
  179. if c.ClassName == "Part" then
  180. c.Transparency = c.Transparency + TRANS
  181. end
  182. end
  183. if MOVEDIRECTION ~= nil then
  184. local ORI = FADE.PrimaryPart.Orientation
  185. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  186. end
  187. end
  188. FADE:remove()
  189. end))
  190. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement