Advertisement
cobblecorn

Untitled

Jul 6th, 2018
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 112.42 KB | None | 0 0
  1. script.Name = "Banisher Gun V3 / 1"
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. script:ClearAllChildren()
  7. wait(0.2)
  8.  
  9. local naeeym2 = Instance.new("BillboardGui",Character)
  10. naeeym2.AlwaysOnTop = true
  11. naeeym2.Size = UDim2.new(5,35,2,35)
  12. naeeym2.StudsOffset = Vector3.new(0,1,0)
  13. naeeym2.Adornee = Head
  14. naeeym2.Name = "Name"
  15. local tecks2 = Instance.new("TextLabel",naeeym2)
  16. tecks2.BackgroundTransparency = 1
  17. tecks2.TextScaled = true
  18. tecks2.BorderSizePixel = 0
  19. tecks2.Text = "God Of Space"
  20. tecks2.Font = "Fantasy"
  21. tecks2.TextSize = 30
  22. tecks2.TextTransparency = 0
  23. tecks2.TextStrokeTransparency = 0
  24. tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
  25. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  26. tecks2.Size = UDim2.new(1,0,0.5,0)
  27. tecks2.Parent = naeeym2
  28.  
  29.  
  30. Player = game:GetService("Players").LocalPlayer
  31. PlayerGui = Player.PlayerGui
  32. Cam = workspace.CurrentCamera
  33. Backpack = Player.Backpack
  34. Character = Player.Character
  35. Humanoid = Character.Humanoid
  36. Mouse = Player:GetMouse()
  37. RootPart = Character["HumanoidRootPart"]
  38. Torso = Character["Torso"]
  39. Head = Character["Head"]
  40. RightArm = Character["Right Arm"]
  41. LeftArm = Character["Left Arm"]
  42. RightLeg = Character["Right Leg"]
  43. LeftLeg = Character["Left Leg"]
  44. RootJoint = RootPart["RootJoint"]
  45. Neck = Torso["Neck"]
  46. RightShoulder = Torso["Right Shoulder"]
  47. LeftShoulder = Torso["Left Shoulder"]
  48. RightHip = Torso["Right Hip"]
  49. LeftHip = Torso["Left Hip"]
  50. local TIME = 0
  51. local sick = Instance.new("Sound",Torso)
  52.  
  53. IT = Instance.new
  54. CF = CFrame.new
  55. VT = Vector3.new
  56. RAD = math.rad
  57. C3 = Color3.new
  58. UD2 = UDim2.new
  59. BRICKC = BrickColor.new
  60. ANGLES = CFrame.Angles
  61. EULER = CFrame.fromEulerAnglesXYZ
  62. COS = math.cos
  63. ACOS = math.acos
  64. SIN = math.sin
  65. ASIN = math.asin
  66. ABS = math.abs
  67. MRANDOM = math.random
  68. FLOOR = math.floor
  69. local BODY = {}
  70. --//=================================\\
  71. --|| USEFUL VALUES
  72. --\\=================================//
  73.  
  74. Animation_Speed = 3
  75. local FORCERESET = false
  76. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  77. local Speed = 16
  78. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  79. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  80. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  81. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  82. local DAMAGEMULTIPLIER = 1
  83. local ANIM = "Idle"
  84. local ATTACK = false
  85. local EQUIPPED = false
  86. local HOLD = false
  87. local COMBO = 1
  88. local Rooted = false
  89. local SINE = 0
  90. local KEYHOLD = false
  91. local CHANGE = 2 / Animation_Speed
  92. local WALKINGANIM = false
  93. local VALUE1 = false
  94. local VALUE2 = false
  95. local ROBLOXIDLEANIMATION = IT("Animation")
  96. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  97. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  98. --ROBLOXIDLEANIMATION.Parent = Humanoid
  99. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  100. WEAPONGUI.Name = "BanishV3Gui"
  101. local Weapon = IT("Model")
  102. Weapon.Name = "Adds"
  103. local Effects = IT("Folder", Weapon)
  104. Effects.Name = "Effects"
  105. local ANIMATOR = Humanoid.Animator
  106. local ANIMATE = Character:FindFirstChild("Animate")
  107. local UNANCHOR = true
  108. local TOBANISH = {}
  109. script.Parent = PlayerGui
  110. local CLOCKLOOP = 0
  111. local CLOCKTARGET = nil
  112. local CLOCKSPEED = 8
  113. local SIZE = 1
  114. local RING = {}
  115. local EXTRATRANS = 0
  116.  
  117. --//=================================\\
  118. --\\=================================//
  119.  
  120.  
  121. --//=================================\\
  122. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  123. --\\=================================//
  124.  
  125.  
  126.  
  127. ArtificialHB = Instance.new("BindableEvent", script)
  128. ArtificialHB.Name = "ArtificialHB"
  129.  
  130. script:WaitForChild("ArtificialHB")
  131.  
  132. frame = Frame_Speed
  133. tf = 0
  134. allowframeloss = false
  135. tossremainder = false
  136. lastframe = tick()
  137. script.ArtificialHB:Fire()
  138.  
  139. game:GetService("RunService").Heartbeat:connect(function(s, p)
  140. tf = tf + s
  141. if tf >= frame then
  142. if allowframeloss then
  143. script.ArtificialHB:Fire()
  144. lastframe = tick()
  145. else
  146. for i = 1, math.floor(tf / frame) do
  147. script.ArtificialHB:Fire()
  148. end
  149. lastframe = tick()
  150. end
  151. if tossremainder then
  152. tf = 0
  153. else
  154. tf = tf - frame * math.floor(tf / frame)
  155. end
  156. end
  157. end)
  158.  
  159. --//=================================\\
  160. --\\=================================//
  161.  
  162. --//=================================\\
  163. --|| SOME FUNCTIONS
  164. --\\=================================//
  165. local PLAYMAINANIM = true
  166. local HATWELD = nil
  167. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  168. PLAYMAINANIM = false
  169. if WhichPose == "Cast1" then
  170. for i=0, Time, 0.1 / Animation_Speed do
  171. Swait()
  172. if Magic == true then
  173. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  174. end
  175. if Gyro ~= nil and Gyro ~= false then
  176. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  177. end
  178. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  179. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  181. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  182. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  183. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  184. end
  185. elseif WhichPose == "Cast2" then
  186. for i=0, Time, 0.1 / Animation_Speed do
  187. Swait()
  188. if Magic == true then
  189. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  190. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  191. end
  192. if Gyro ~= nil and Gyro ~= false then
  193. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  194. end
  195. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  196. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  197. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  198. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  199. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  200. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  201. end
  202. elseif WhichPose == "RightArmUp" then
  203. for i=0, Time, 0.1 / Animation_Speed do
  204. Swait()
  205. if Magic == true then
  206. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  207. end
  208. if Gyro ~= nil and Gyro ~= false then
  209. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  210. end
  211. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  212. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  213. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  214. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  215. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  216. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  217. end
  218. elseif WhichPose == "Taunt" then
  219. for i=0, Time, 0.1 / Animation_Speed do
  220. Swait()
  221. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  222. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  223. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  224. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  225. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  226. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  227. end
  228. HATWELD.Part0 = RightArm
  229. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  230. CreateSound(221057812,Torso,10,1,false)
  231. for i=0, Time*2, 0.1 / Animation_Speed do
  232. Swait()
  233. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  234. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  235. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  236. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  237. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  238. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  239. end
  240. for i=0, Time, 0.1 / Animation_Speed do
  241. Swait()
  242. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  245. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  246. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  247. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  248. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  249. end
  250. HATWELD.Part0 = Head
  251. HATWELD.C0 = CF(0,0.35,0)
  252. elseif WhichPose == "Prepare key" then
  253. for i=0, Time, 0.1 / Animation_Speed do
  254. Swait()
  255. if Gyro ~= nil and Gyro ~= false then
  256. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  257. end
  258. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  259. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  260. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  261. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  262. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  263. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  264. end
  265. elseif WhichPose == "Turn key" then
  266. for i=0, Time, 0.1 / Animation_Speed do
  267. Swait()
  268. if Gyro ~= nil and Gyro ~= false then
  269. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  270. end
  271. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  272. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  274. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  275. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  276. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  277. end
  278. end
  279. PLAYMAINANIM = true
  280. end
  281.  
  282. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  283. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  284. end
  285.  
  286. function PositiveAngle(NUMBER)
  287. if NUMBER >= 0 then
  288. NUMBER = 0
  289. end
  290. return NUMBER
  291. end
  292.  
  293. function NegativeAngle(NUMBER)
  294. if NUMBER <= 0 then
  295. NUMBER = 0
  296. end
  297. return NUMBER
  298. end
  299.  
  300. function Swait(NUMBER)
  301. if NUMBER == 0 or NUMBER == nil then
  302. ArtificialHB.Event:wait()
  303. else
  304. for i = 1, NUMBER do
  305. ArtificialHB.Event:wait()
  306. end
  307. end
  308. end
  309.  
  310. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  311. local NEWMESH = IT(MESH)
  312. if MESH == "SpecialMesh" then
  313. NEWMESH.MeshType = MESHTYPE
  314. if MESHID ~= "nil" and MESHID ~= "" then
  315. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  316. end
  317. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  318. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  319. end
  320. end
  321. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  322. NEWMESH.Scale = SCALE
  323. NEWMESH.Parent = PARENT
  324. return NEWMESH
  325. end
  326.  
  327. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  328. local NEWPART = IT("Part")
  329. NEWPART.formFactor = FORMFACTOR
  330. NEWPART.Reflectance = REFLECTANCE
  331. NEWPART.Transparency = TRANSPARENCY
  332. NEWPART.CanCollide = false
  333. NEWPART.Locked = true
  334. NEWPART.Anchored = true
  335. if ANCHOR == false then
  336. NEWPART.Anchored = false
  337. end
  338. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  339. NEWPART.Name = NAME
  340. NEWPART.Size = SIZE
  341. NEWPART.Position = Torso.Position
  342. NEWPART.Material = MATERIAL
  343. NEWPART:BreakJoints()
  344. NEWPART.Parent = PARENT
  345. return NEWPART
  346. end
  347.  
  348. local function weldBetween(a, b)
  349. local weldd = Instance.new("ManualWeld")
  350. weldd.Part0 = a
  351. weldd.Part1 = b
  352. weldd.C0 = CFrame.new()
  353. weldd.C1 = b.CFrame:inverse() * a.CFrame
  354. weldd.Parent = a
  355. return weldd
  356. end
  357.  
  358.  
  359. function QuaternionFromCFrame(cf)
  360. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  361. local trace = m00 + m11 + m22
  362. if trace > 0 then
  363. local s = math.sqrt(1 + trace)
  364. local recip = 0.5 / s
  365. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  366. else
  367. local i = 0
  368. if m11 > m00 then
  369. i = 1
  370. end
  371. if m22 > (i == 0 and m00 or m11) then
  372. i = 2
  373. end
  374. if i == 0 then
  375. local s = math.sqrt(m00 - m11 - m22 + 1)
  376. local recip = 0.5 / s
  377. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  378. elseif i == 1 then
  379. local s = math.sqrt(m11 - m22 - m00 + 1)
  380. local recip = 0.5 / s
  381. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  382. elseif i == 2 then
  383. local s = math.sqrt(m22 - m00 - m11 + 1)
  384. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  385. end
  386. end
  387. end
  388.  
  389. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  390. local xs, ys, zs = x + x, y + y, z + z
  391. local wx, wy, wz = w * xs, w * ys, w * zs
  392. local xx = x * xs
  393. local xy = x * ys
  394. local xz = x * zs
  395. local yy = y * ys
  396. local yz = y * zs
  397. local zz = z * zs
  398. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  399. end
  400.  
  401. function QuaternionSlerp(a, b, t)
  402. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  403. local startInterp, finishInterp;
  404. if cosTheta >= 0.0001 then
  405. if (1 - cosTheta) > 0.0001 then
  406. local theta = ACOS(cosTheta)
  407. local invSinTheta = 1 / SIN(theta)
  408. startInterp = SIN((1 - t) * theta) * invSinTheta
  409. finishInterp = SIN(t * theta) * invSinTheta
  410. else
  411. startInterp = 1 - t
  412. finishInterp = t
  413. end
  414. else
  415. if (1 + cosTheta) > 0.0001 then
  416. local theta = ACOS(-cosTheta)
  417. local invSinTheta = 1 / SIN(theta)
  418. startInterp = SIN((t - 1) * theta) * invSinTheta
  419. finishInterp = SIN(t * theta) * invSinTheta
  420. else
  421. startInterp = t - 1
  422. finishInterp = t
  423. end
  424. end
  425. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  426. end
  427.  
  428. function Clerp(a, b, t)
  429. local qa = {QuaternionFromCFrame(a)}
  430. local qb = {QuaternionFromCFrame(b)}
  431. local ax, ay, az = a.x, a.y, a.z
  432. local bx, by, bz = b.x, b.y, b.z
  433. local _t = 1 - t
  434. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  435. end
  436.  
  437. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  438. local frame = IT("Frame")
  439. frame.BackgroundTransparency = TRANSPARENCY
  440. frame.BorderSizePixel = BORDERSIZEPIXEL
  441. frame.Position = POSITION
  442. frame.Size = SIZE
  443. frame.BackgroundColor3 = COLOR
  444. frame.BorderColor3 = BORDERCOLOR
  445. frame.Name = NAME
  446. frame.Parent = PARENT
  447. return frame
  448. end
  449.  
  450. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  451. local label = IT("TextLabel")
  452. label.BackgroundTransparency = 1
  453. label.Size = UD2(1, 0, 1, 0)
  454. label.Position = UD2(0, 0, 0, 0)
  455. label.TextColor3 = TEXTCOLOR
  456. label.TextStrokeTransparency = STROKETRANSPARENCY
  457. label.TextTransparency = TRANSPARENCY
  458. label.FontSize = TEXTFONTSIZE
  459. label.Font = TEXTFONT
  460. label.BorderSizePixel = BORDERSIZEPIXEL
  461. label.TextScaled = false
  462. label.Text = TEXT
  463. label.Name = NAME
  464. label.Parent = PARENT
  465. return label
  466. end
  467.  
  468. function NoOutlines(PART)
  469. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  470. end
  471.  
  472. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  473. local NEWWELD = IT(TYPE)
  474. NEWWELD.Part0 = PART0
  475. NEWWELD.Part1 = PART1
  476. NEWWELD.C0 = C0
  477. NEWWELD.C1 = C1
  478. NEWWELD.Parent = PARENT
  479. return NEWWELD
  480. end
  481.  
  482. local S = IT("Sound")
  483. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  484. local NEWSOUND = nil
  485. coroutine.resume(coroutine.create(function()
  486. NEWSOUND = S:Clone()
  487. NEWSOUND.Parent = PARENT
  488. NEWSOUND.Volume = VOLUME
  489. NEWSOUND.Pitch = PITCH
  490. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  491. NEWSOUND:play()
  492. if DOESLOOP == true then
  493. NEWSOUND.Looped = true
  494. else
  495. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  496. NEWSOUND:remove()
  497. end
  498. end))
  499. return NEWSOUND
  500. end
  501.  
  502. function CFrameFromTopBack(at, top, back)
  503. local right = top:Cross(back)
  504. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  505. end
  506.  
  507. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  508. function WACKYEFFECT(Table)
  509. local TYPE = (Table.EffectType or "Sphere")
  510. local SIZE = (Table.Size or VT(1,1,1))
  511. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  512. local TRANSPARENCY = (Table.Transparency or 0)
  513. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  514. local CFRAME = (Table.CFrame or Torso.CFrame)
  515. local MOVEDIRECTION = (Table.MoveToPos or nil)
  516. local ROTATION1 = (Table.RotationX or 0)
  517. local ROTATION2 = (Table.RotationY or 0)
  518. local ROTATION3 = (Table.RotationZ or 0)
  519. local MATERIAL = (Table.Material or "Neon")
  520. local COLOR = (Table.Color or C3(1,1,1))
  521. local TIME = (Table.Time or 45)
  522. local SOUNDID = (Table.SoundID or nil)
  523. local SOUNDPITCH = (Table.SoundPitch or nil)
  524. local SOUNDVOLUME = (Table.SoundVolume or nil)
  525. coroutine.resume(coroutine.create(function()
  526. local PLAYSSOUND = false
  527. local SOUND = nil
  528. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  529. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  530. PLAYSSOUND = true
  531. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  532. end
  533. EFFECT.Color = COLOR
  534. local MSH = nil
  535. if TYPE == "Sphere" then
  536. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  537. elseif TYPE == "Block" then
  538. MSH = IT("BlockMesh",EFFECT)
  539. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  540. elseif TYPE == "Wave" then
  541. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(8,8,-SIZE.X/12))
  542. elseif TYPE == "Ring" then
  543. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  544. elseif TYPE == "Slash" then
  545. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  546. elseif TYPE == "Round Slash" then
  547. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  548. elseif TYPE == "Swirl" then
  549. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  550. elseif TYPE == "Skull" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  552. elseif TYPE == "Crystal" then
  553. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  554. end
  555. if MSH ~= nil then
  556. local MOVESPEED = nil
  557. if MOVEDIRECTION ~= nil then
  558. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  559. end
  560. local GROWTH = SIZE - ENDSIZE
  561. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  562. if TYPE == "Block" then
  563. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  564. else
  565. EFFECT.CFrame = CFRAME
  566. end
  567. for LOOP = 1, TIME+1 do
  568. Swait()
  569. MSH.Scale = MSH.Scale - GROWTH/TIME
  570. if TYPE == "Wave" then
  571. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  572. end
  573. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  574. if TYPE == "Block" then
  575. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  576. else
  577. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  578. end
  579. if MOVEDIRECTION ~= nil then
  580. local ORI = EFFECT.Orientation
  581. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  582. EFFECT.Orientation = ORI
  583. end
  584. end
  585. if PLAYSSOUND == false then
  586. EFFECT:remove()
  587. else
  588. SOUND.Stopped:Connect(function()
  589. EFFECT:remove()
  590. end)
  591. end
  592. else
  593. if PLAYSSOUND == false then
  594. EFFECT:remove()
  595. else
  596. repeat Swait() until SOUND.Playing == false
  597. EFFECT:remove()
  598. end
  599. end
  600. end))
  601. end
  602.  
  603. function MakeForm(PART,TYPE)
  604. if TYPE == "Cyl" then
  605. local MSH = IT("CylinderMesh",PART)
  606. elseif TYPE == "Ball" then
  607. local MSH = IT("SpecialMesh",PART)
  608. MSH.MeshType = "Sphere"
  609. elseif TYPE == "Wedge" then
  610. local MSH = IT("SpecialMesh",PART)
  611. MSH.MeshType = "Wedge"
  612. end
  613. end
  614.  
  615. function SpawnTrail(FROM,TO,BIG)
  616. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
  617. MakeForm(TRAIL,"Cyl")
  618. local DIST = (FROM - TO).Magnitude
  619. if BIG == true then
  620. TRAIL.Size = VT(20,DIST,20)
  621. else
  622. TRAIL.Size = VT(10,DIST,10)
  623. end
  624. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  625. coroutine.resume(coroutine.create(function()
  626. for i = 1, 5 do
  627. Swait()
  628. TRAIL.Transparency = TRAIL.Transparency + 0.1
  629. end
  630. TRAIL:remove()
  631. end))
  632. end
  633.  
  634. Debris = game:GetService("Debris")
  635.  
  636. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  637. local DIRECTION = CF(StartPos,EndPos).lookVector
  638. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  639. end
  640.  
  641. function turnto(position)
  642. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  643. end
  644.  
  645. local EyeSizes={
  646. NumberSequenceKeypoint.new(0,1,0),
  647. NumberSequenceKeypoint.new(1,0,0)
  648. }
  649. local EyeTrans={
  650. NumberSequenceKeypoint.new(0,0.8,0),
  651. NumberSequenceKeypoint.new(1,1,0)
  652. }
  653.  
  654.  
  655. local PE=Instance.new("ParticleEmitter",nil)
  656. PE.LightEmission=.8
  657. PE.Color = ColorSequence.new(BRICKC("White").Color)
  658. PE.Size=NumberSequence.new(EyeSizes)
  659. PE.Transparency=NumberSequence.new(EyeTrans)
  660. PE.Lifetime=NumberRange.new(0.35,1.5)
  661. PE.Rotation=NumberRange.new(0,360)
  662. PE.Rate=999
  663. PE.VelocitySpread = 10000
  664. PE.Acceleration = Vector3.new(0,0,0)
  665. PE.Drag = 5
  666. PE.Speed = NumberRange.new(0,0,0)
  667. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  668. PE.ZOffset = -0
  669. PE.Name = "PE"
  670. PE.Enabled = false
  671.  
  672.  
  673. function particles(art)
  674. local PARTICLES = PE:Clone()
  675. PARTICLES.Parent = art
  676. end
  677.  
  678. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  679. function Lightning(Table)
  680. local Color = Table.Color or C3(1,1,1)
  681. local StartPos = Table.Start or Torso.Position
  682. local EndPos = Table.End or Mouse.Hit.p
  683. local SegmentLength = Table.SegmentL or 2
  684. local Thickness = Table.Thickness or 0.1
  685. local Dissapear = Table.DoesFade or false
  686. local Parent = Table.Ignore or Character
  687. local MaxDist = Table.MaxDist or 400
  688. local Branches = Table.Branches or false
  689. local Thicken = Table.Thicken or false
  690. local FadeTime = Table.FadeTime or 15
  691. local FadeIn = Table.FadeIn or false
  692. local Material = Table.Material or "Neon"
  693. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  694. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  695. local LIGHTNINGMODEL = IT("Model",Effects)
  696. LIGHTNINGMODEL.Name = "Lightning"
  697. local LastBolt = nil
  698. for E = 1, DISTANCE do
  699. local ExtraSize = 0
  700. if Thicken == true then
  701. ExtraSize = (DISTANCE-E)/15
  702. end
  703. local TRANSPARENCY = 0
  704. if FadeIn == true then
  705. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  706. if TRANSPARENCY < 0 then
  707. TRANSPARENCY = 0
  708. end
  709. end
  710. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  711. PART.Color = Color
  712. MakeForm(PART,"Cyl")
  713. if LastBolt == nil then
  714. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  715. else
  716. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  717. end
  718. LastBolt = PART
  719. if Branches == true and E < (DISTANCE-5) then
  720. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  721. if CHOICE == 1 then
  722. local LASTBRANCH = nil
  723. for i = 1, MRANDOM(2,5) do
  724. local ExtraSize2 = 0
  725. if Thicken == true then
  726. ExtraSize = ((DISTANCE-E)/25)/i
  727. end
  728. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  729. PART.Color = Color
  730. MakeForm(PART,"Cyl")
  731. if LASTBRANCH == nil then
  732. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  733. else
  734. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  735. end
  736. LASTBRANCH = PART
  737. end
  738. end
  739. end
  740. end
  741. if Dissapear == true then
  742. coroutine.resume(coroutine.create(function()
  743. for i = 1, FadeTime do
  744. Swait()
  745. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  746. if c.ClassName == "Part" then
  747. c.Transparency = c.Transparency + (i/FadeTime)/10
  748. end
  749. end
  750. end
  751. LIGHTNINGMODEL:remove()
  752. end))
  753. elseif Dissapear == false then
  754. Debris:AddItem(LIGHTNINGMODEL,0.1)
  755. end
  756. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  757. end
  758.  
  759. --//=================================\\
  760. --|| WEAPON CREATION
  761. --\\=================================//
  762. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  763. PRT.Color = C3(0,0,0)
  764. local MSH = IT("BlockMesh",PRT)
  765. MSH.Scale = VT(0.4,1,1)
  766. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  767. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  768. PRT.Color = C3(0,0,0)
  769. local MSH = IT("BlockMesh",PRT)
  770. MSH.Scale = VT(0.4,1,1)
  771. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  772. coroutine.resume(coroutine.create(function()
  773. while true do
  774. Swait()
  775. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  776. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  777. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  778. if CLOCKLOOP <= -150 then
  779. if VALUE1 == false then
  780. CLOCKLOOP = 0
  781. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1)})
  782. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  783. ApplyClock(HITPOS,10,15,45,75,false)
  784. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.25,0.11,0.25)*SIZE, Size2 = VT(10,1,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  785. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.25,0.11,0.25)*SIZE, Size2 = VT(10,2,10), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  786. if CLOCKTARGET ~= nil then
  787. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  788. if CLOCKTARGET.Torso ~= nil then
  789. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  790. end
  791. if CLOCKTARGET.Health == 0 then
  792. CLOCKTARGET = nil
  793. end
  794. end
  795. end
  796. end
  797. end
  798. end))
  799.  
  800. Character["Body Colors"].HeadColor = BrickColor.new("Really black")
  801. Character["Body Colors"].TorsoColor = BrickColor.new("Really black")
  802. Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  803. Character["Body Colors"].RightArmColor = BrickColor.new("Really black")
  804. Character["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  805. Character["Body Colors"].RightLegColor = BrickColor.new("Really black")
  806.  
  807. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.6,0.1,1)/2,false)
  808. MakeForm(Eye,"Ball")
  809. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  810. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.6,0.1,1)/2,false)
  811. MakeForm(Eye,"Ball")
  812. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  813. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
  814. MakeForm(Eye,"Ball")
  815. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  816. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
  817. MakeForm(Eye,"Ball")
  818. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  819.  
  820. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "White", "Hood", VT(1,1,1),false)
  821. PRT.Color = C3(0,0,0)
  822. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  823. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  824. for i = 1, 16 do
  825. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  826. FACE.Color = C3(0,0,0)
  827. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  828. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  829. end
  830.  
  831.  
  832. local asd = Instance.new("ParticleEmitter")
  833. asd.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(1, 1, 1))
  834. asd.LightEmission = .1
  835. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  836. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  837. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  838. asd.Transparency = bbb
  839. asd.Size = aaa
  840. asd.ZOffset = .9
  841. asd.Acceleration = Vector3.new(0, -15, 0)
  842. asd.LockedToPart = false
  843. asd.EmissionDirection = "Back"
  844. asd.Lifetime = NumberRange.new(1, 2)
  845. asd.Rotation = NumberRange.new(-100, 100)
  846. asd.RotSpeed = NumberRange.new(-100, 100)
  847. asd.Speed = NumberRange.new(10)
  848. asd.Enabled = false
  849. asd.VelocitySpread = 999
  850.  
  851. local Particle = IT("ParticleEmitter",nil)
  852. Particle.Enabled = false
  853. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  854. Particle.LightEmission = 0.5
  855. Particle.Rate = 150
  856. Particle.ZOffset = 1
  857. Particle.Rotation = NumberRange.new(-180, 180)
  858. Particle.RotSpeed = NumberRange.new(-180, 180)
  859. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  860. Particle.Color = ColorSequence.new(C3(1,1,1),C3(1,1,1))
  861.  
  862. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  863. function ParticleEmitter(Table)
  864. local PRTCL = Particle:Clone()
  865. local Speed = Table.Speed or 5
  866. local Drag = Table.Drag or 0
  867. local Size1 = Table.Size1 or 1
  868. local Size2 = Table.Size2 or 5
  869. local Lifetime1 = Table.Lifetime1 or 1
  870. local Lifetime2 = Table.Lifetime2 or 1.5
  871. local Parent = Table.Parent or Torso
  872. local Emit = Table.Emit or 100
  873. local Offset = Table.Offset or 360
  874. local Acel = Table.Acel or VT(0,0,0)
  875. local Enabled = Table.Enabled or false
  876. PRTCL.Parent = Parent
  877. PRTCL.Size = NumberSequence.new(Size1,Size2)
  878. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  879. PRTCL.Speed = NumberRange.new(Speed)
  880. PRTCL.VelocitySpread = Offset
  881. PRTCL.Drag = Drag
  882. PRTCL.Acceleration = Acel
  883. if Enabled == false then
  884. PRTCL:Emit(Emit)
  885. Debris:AddItem(PRTCL,Lifetime2)
  886. else
  887. PRTCL.Enabled = true
  888. end
  889. return PRTCL
  890. end
  891.  
  892.  
  893. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  894. PRT.LockedToPart = true
  895. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  896. PRT.LockedToPart = true
  897. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  898. PRT.LockedToPart = true
  899. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  900. PRT.LockedToPart = true
  901. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  902. PRT.LockedToPart = true
  903. for _, c in pairs(Character:GetDescendants()) do
  904. if c and c.Parent then
  905. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  906. local ACCESSORY = c.Parent
  907. c.Parent = Character
  908. if c then
  909. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  910. weldBetween(Head,c)
  911. else
  912. weldBetween(Torso,c)
  913. end
  914. end
  915. ACCESSORY:remove()
  916. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  917. c.Material = "Neon"
  918. c.Color = C3(0,0,0)
  919. if c:FindFirstChildOfClass("SpecialMesh") then
  920. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  921. end
  922. if c == Head then
  923. if c:FindFirstChild("face") then
  924. c.face:remove()
  925. end
  926. end
  927. elseif c.ClassName == "Part" and c.Name == "Eye" then
  928. c.Color = C3(1,1,1)
  929. c.Material = "Neon"
  930. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  931. c:remove()
  932. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  933. c:remove()
  934. end
  935. end
  936. end
  937.  
  938.  
  939. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  940. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  941. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  942. MakeForm(Part,"Wedge")
  943. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  944. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  945. MakeForm(Part,"Wedge")
  946. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  947. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  948. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  949. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  950. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  951. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  952. MakeForm(Part,"Cyl")
  953. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  954. for i = 1, 8 do
  955. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  956. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  957. end
  958. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  959. MakeForm(Part,"Cyl")
  960. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  961. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  962. MakeForm(Part,"Ball")
  963. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  964. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  965. MakeForm(Part,"Wedge")
  966. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  967. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  968. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  969. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  970. MakeForm(Part,"Cyl")
  971. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  972. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  973. MakeForm(Part,"Cyl")
  974. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  975. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  976. MakeForm(Part,"Cyl")
  977. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  978. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  979. MakeForm(Part,"Wedge")
  980. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  981. local LASTPART = Handle
  982. for i = 1, 10 do
  983. if LASTPART == Handle then
  984. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  985. LASTPART = Part
  986. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  987. else
  988. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  989. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  990. LASTPART = Part
  991. end
  992. end
  993.  
  994. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  995. MakeForm(Barrel,"Cyl")
  996. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  997. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  998. MakeForm(Part,"Cyl")
  999. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1000. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1001. MakeForm(Part,"Wedge")
  1002. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1003. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1004. MakeForm(Hole,"Cyl")
  1005. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1006. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1007. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1008. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1009. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1010. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1011. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1012. coroutine.resume(coroutine.create(function()
  1013. while wait() do
  1014. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1015. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1016. end
  1017. end))
  1018.  
  1019. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1020. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1021.  
  1022. for _, c in pairs(Weapon:GetDescendants()) do
  1023. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1024. c.Material = "Glass"
  1025. c.Color = C3(0,0,0)
  1026. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1027. c.Color = C3(1,1,1)
  1028. c.Material = "Neon"
  1029. end
  1030. end
  1031.  
  1032. Weapon.Parent = Character
  1033. for _, c in pairs(Weapon:GetChildren()) do
  1034. if c.ClassName == "Part" then
  1035. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1036. end
  1037. end
  1038.  
  1039. local SKILLTEXTCOLOR = C3(1,1,1)
  1040. local SKILLFONT = "Antique"
  1041. local SKILLTEXTSIZE = 7
  1042.  
  1043. Humanoid.Died:connect(function()
  1044. ATTACK = true
  1045. end)
  1046.  
  1047. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1048. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1049. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1050. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1051. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1052. ]]
  1053. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1054. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1055. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1056. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1057. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1058. ]]
  1059. function printbye(Name)
  1060. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1061. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1062. end
  1063.  
  1064. workspace.ChildAdded:connect(function(instance)
  1065. for BANISH = 1, #TOBANISH do
  1066. if TOBANISH[BANISH] ~= nil then
  1067. if instance.Name == TOBANISH[BANISH] then
  1068. coroutine.resume(coroutine.create(function()
  1069. printbye(instance.Name)
  1070. instance:ClearAllChildren()
  1071. Debris:AddItem(instance,0.0005)
  1072. end))
  1073. end
  1074. end
  1075. end
  1076. end)
  1077.  
  1078. for _, c in pairs(Character:GetChildren()) do
  1079. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1080. c.Material = "SmoothPlastic"
  1081. if c:FindFirstChildOfClass("ParticleEmitter") then
  1082. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1083. end
  1084. if c == LeftLeg or c == RightLeg then
  1085. c.Color = C3(0,0,0)
  1086. elseif c == Torso then
  1087. c.Color = C3(0,0,0)
  1088. else
  1089. c.BrickColor = BRICKC"Really black"
  1090. end
  1091. if c == Head then
  1092. if c:FindFirstChild("face") then
  1093. c.face:remove()
  1094. end
  1095. end
  1096. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1097. c:remove()
  1098. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1099. c:remove()
  1100. end
  1101. end
  1102. local BODY = {}
  1103. for _, c in pairs(Character:GetDescendants()) do
  1104. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1105. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1106. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1107. end
  1108. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1109. elseif c:IsA("JointInstance") then
  1110. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1111. end
  1112. end
  1113. for e = 1, #BODY do
  1114. if BODY[e] ~= nil then
  1115. local STUFF = BODY[e]
  1116. local PART = STUFF[1]
  1117. local PARENT = STUFF[2]
  1118. local MATERIAL = STUFF[3]
  1119. local COLOR = STUFF[4]
  1120. local TRANSPARENCY = STUFF[5]
  1121. if PART.ClassName == "Part" and PART ~= RootPart then
  1122. PART.Material = MATERIAL
  1123. PART.Color = COLOR
  1124. PART.Transparency = TRANSPARENCY
  1125. end
  1126. PART.AncestryChanged:Connect(function()
  1127. PART.Parent = PARENT
  1128. end)
  1129. end
  1130. end
  1131. function refit()
  1132. Character.Parent = workspace
  1133. for e = 1, #BODY do
  1134. if BODY[e] ~= nil then
  1135. local STUFF = BODY[e]
  1136. local PART = STUFF[1]
  1137. local PARENT = STUFF[2]
  1138. local MATERIAL = STUFF[3]
  1139. local COLOR = STUFF[4]
  1140. local TRANSPARENCY = STUFF[5]
  1141. if PART:IsA("BasePart") and PART ~= RootPart then
  1142. PART.Material = MATERIAL
  1143. PART.Color = COLOR
  1144. PART.Transparency = TRANSPARENCY+EXTRATRANS
  1145. end
  1146. if PART.Parent ~= PARENT then
  1147. Humanoid:remove()
  1148. PART.Parent = PARENT
  1149. Humanoid = IT("Humanoid",Character)
  1150. end
  1151. end
  1152. end
  1153. end
  1154.  
  1155. Humanoid.Died:connect(function()
  1156. refit()
  1157. end)
  1158.  
  1159. --//=================================\\
  1160. --|| DAMAGING
  1161. --\\=================================//
  1162.  
  1163. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1164. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1165. defence.Name = ("HitBy"..Player.Name)
  1166. game:GetService("Debris"):AddItem(defence, 0.001)
  1167. Damage = Damage * DAMAGEMULTIPLIER
  1168. if Humanoid.Health ~= 0 then
  1169. local CritChance = MRANDOM(1,100)
  1170. if Damage > Humanoid.Health then
  1171. Damage = math.ceil(Humanoid.Health)
  1172. if Damage == 0 then
  1173. Damage = 0.1
  1174. end
  1175. end
  1176. Humanoid.Health = Humanoid.Health - Damage*100
  1177. end
  1178. end
  1179.  
  1180.  
  1181. function KillChildren(v)
  1182. v:BreakJoints()
  1183. for _, c in pairs(v:GetChildren()) do
  1184. if c:IsA("BasePart") then
  1185. c.Anchored = true
  1186. end
  1187. end
  1188. for _, c in pairs(v:GetChildren()) do
  1189. if c:IsA("BasePart") then
  1190. if c.Transparency < 1 then
  1191. if c:FindFirstChildOfClass("Decal") then
  1192. c:FindFirstChildOfClass("Decal"):remove()
  1193. end
  1194. particles(c)
  1195. c.PE.Enabled = true
  1196. c.Parent = Effects
  1197. c.CanCollide = false
  1198. c.Material = "Neon"
  1199. c.Color = C3(1,1,1)
  1200. c.Transparency = 1
  1201. local grav = Instance.new("BodyPosition",c)
  1202. grav.P = 20000
  1203. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1204. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1205. grav.Name = "GravityForce"
  1206. coroutine.resume(coroutine.create(function()
  1207. for i = 1, 20 do
  1208. Swait()
  1209. c.Transparency = c.Transparency + 1/20
  1210. end
  1211. c.PE.Enabled = false
  1212. Debris:AddItem(c,2)
  1213. end))
  1214. end
  1215. end
  1216. end
  1217. end
  1218.  
  1219. function Kill(Char)
  1220. local NewCharacter = IT("Model",Effects)
  1221. NewCharacter.Name = "Ow im ded ;-;"
  1222. for _, c in pairs(Char:GetDescendants()) do
  1223. if c:IsA("BasePart") and c.Transparency == 0 then
  1224. if c.Parent == Char then
  1225. c:BreakJoints()
  1226. c.Material = "Glass"
  1227. c.Color = C3(1,1,1)
  1228. c.CanCollide = true
  1229. c.Transparency = 0.3
  1230. if c:FindFirstChildOfClass("SpecialMesh") then
  1231. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1232. end
  1233. if c.Name == "Head" then
  1234. c:ClearAllChildren()
  1235. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1236. end
  1237. if c.ClassName == "MeshPart" then
  1238. c.TextureID = ""
  1239. end
  1240. if c:FindFirstChildOfClass("BodyPosition") then
  1241. c:FindFirstChildOfClass("BodyPosition"):remove()
  1242. end
  1243. if c:FindFirstChildOfClass("ParticleEmitter") then
  1244. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1245. end
  1246. c.Parent = NewCharacter
  1247. c.Name = "DeadPart"
  1248. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1249. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1250. end
  1251. end
  1252. Char:remove()
  1253. Debris:AddItem(NewCharacter,5)
  1254. end
  1255. end
  1256.  
  1257. function Death(INSTAKILL,POSITION,RANGE)
  1258. local CHILDREN = workspace:GetDescendants()
  1259. for index, CHILD in pairs(CHILDREN) do
  1260. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1261. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1262. if HUM then
  1263. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1264. if TORSO then
  1265. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1266. if INSTAKILL == true then
  1267. CHILD:BreakJoints()
  1268. for _, c in pairs(CHILD:GetChildren()) do
  1269. if c:IsA("BasePart") then
  1270. c.Anchored = true
  1271. CHILD:BreakJoints()
  1272. local FIRES = {}
  1273. for _, e in pairs(CHILD:GetDescendants()) do
  1274. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  1275. e.Transparency = 1
  1276. e:ClearAllChildren()
  1277. local FIRE = script.HellFire:Clone()
  1278. FIRE.Parent = e
  1279. FIRE.Enabled = true
  1280. table.insert(FIRES,FIRE)
  1281. elseif e.ClassName == "Decal" then
  1282. e:remove()
  1283. end
  1284. end
  1285. for i = 1, 50 do
  1286. CHILD:BreakJoints()
  1287. wait()
  1288. end
  1289. for i = 1, #FIRES do
  1290. FIRES[i].Enabled = false
  1291. end
  1292. wait(1.1)
  1293. CHILD:remove()
  1294. end
  1295. end
  1296. end
  1297. end
  1298. end
  1299.  
  1300. end
  1301. end
  1302. end
  1303. end
  1304.  
  1305.  
  1306. function Banish(Foe)
  1307. if Foe then
  1308. coroutine.resume(coroutine.create(function()
  1309. --if game.Players:FindFirstChild(Foe.Name) then
  1310. table.insert(TOBANISH,Foe.Name)
  1311. printbye(Foe.Name)
  1312. --end
  1313. Foe.Archivable = true
  1314. local CLONE = Foe:Clone()
  1315. Foe:Destroy()
  1316. CLONE.Parent = Effects
  1317. CLONE:BreakJoints()
  1318. local MATERIALS = {"Glass","Neon"}
  1319. for _, c in pairs(CLONE:GetDescendants()) do
  1320. if c:IsA("BasePart") then
  1321. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1322. CreateSound(340722848, c, 10, 1, false)
  1323. end
  1324. c.Anchored = true
  1325. c.Transparency = c.Transparency + 0.2
  1326. c.Material = MATERIALS[MRANDOM(1,2)]
  1327. c.Color = C3(1,1,1)
  1328. if c.ClassName == "MeshPart" then
  1329. c.TextureID = ""
  1330. end
  1331. if c:FindFirstChildOfClass("SpecialMesh") then
  1332. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1333. end
  1334. if c:FindFirstChildOfClass("Decal") then
  1335. c:FindFirstChildOfClass("Decal"):remove()
  1336. end
  1337. c.Name = "Banished"
  1338. c.CanCollide = false
  1339. else
  1340. c:remove()
  1341. end
  1342. end
  1343. local A = false
  1344. for i = 1, 35 do
  1345. if A == false then
  1346. A = true
  1347. elseif A == true then
  1348. A = false
  1349. end
  1350. for _, c in pairs(CLONE:GetDescendants()) do
  1351. if c:IsA("BasePart") then
  1352. c.Anchored = true
  1353. c.Material = MATERIALS[MRANDOM(1,2)]
  1354. c.Transparency = c.Transparency + 0.8/35
  1355. if A == false then
  1356. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1357. elseif A == true then
  1358. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1359. end
  1360. end
  1361. end
  1362. Swait()
  1363. end
  1364. CLONE:remove()
  1365. end))
  1366. end
  1367. end
  1368.  
  1369. function ApplyClock(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1370. local CHILDREN = workspace:GetDescendants()
  1371. for index, CHILD in pairs(CHILDREN) do
  1372. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1373. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1374. if HUM then
  1375. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1376. if TORSO then
  1377. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1378. if INSTAKILL == true then
  1379. CHILD:BreakJoints()
  1380. else
  1381. local DMG = MRANDOM(MINDMG,MAXDMG)
  1382. ApplyDamage(HUM,DMG,TORSO)
  1383. end
  1384. if FLING > 0 then
  1385. for _, c in pairs(CHILD:GetChildren()) do
  1386. if c:IsA("BasePart") then
  1387. local bv = Instance.new("BodyVelocity")
  1388. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1389. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1390. bv.Parent = c
  1391. Debris:AddItem(bv,0.05)
  1392. end
  1393. end
  1394. end
  1395. end
  1396. end
  1397. end
  1398. end
  1399. end
  1400. end
  1401.  
  1402.  
  1403. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1404. local CHILDREN = workspace:GetDescendants()
  1405. for index, CHILD in pairs(CHILDREN) do
  1406. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1407. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1408. if HUM then
  1409. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1410. if TORSO then
  1411. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1412. if BRUTAL == true then
  1413. Kill(CHILD)
  1414. else
  1415. CHILD:BreakJoints()
  1416. end
  1417. end
  1418. end
  1419. end
  1420. end
  1421. end
  1422. end
  1423.  
  1424. function Shatter(Part)
  1425. if Part.Transparency == 0 then
  1426. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  1427. Debris:AddItem(SOUNDPART,5)
  1428. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  1429. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  1430. local SIZESET = SIZE/4
  1431. local XOffset = Part.Size.X*1.5/SIZESET
  1432. local YOffset = Part.Size.Y*1.5/SIZESET
  1433. local ZOffset = Part.Size.Z*1.5/SIZESET
  1434. for x = 1, math.ceil(XOffset) do
  1435. for y = 1, math.ceil(YOffset) do
  1436. for z = 1, math.ceil(ZOffset) do
  1437. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  1438. SHARD.CanCollide = true
  1439. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  1440. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  1441. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  1442. end
  1443. end
  1444. end
  1445. end
  1446. Part:remove()
  1447. end
  1448.  
  1449. function killnearest(position,range,EFFECT,v)
  1450. for i,v in ipairs(workspace:GetChildren()) do
  1451. local body = v:GetChildren()
  1452. for part = 1, #body do
  1453. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1454. local SIZE = body[part].Size.Magnitude
  1455. if(body[part].Position - position).Magnitude < range + SIZE/2 then
  1456. if v.ClassName == "Model" then
  1457. if v:FindFirstChildOfClass("Humanoid") ~= nil then
  1458. if v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1459. v:BreakJoints()
  1460. for _, c in pairs(v:GetChildren()) do
  1461. if c:IsA("BasePart") then
  1462. c.Anchored = true
  1463. end
  1464. end
  1465. if EFFECT == "Glitch" then
  1466. coroutine.resume(coroutine.create(function()
  1467. local ORIGINPOS = body[part].CFrame
  1468. local SIZE = body[part].Size
  1469. for i = 1, 100 do
  1470. Swait()
  1471. local PART = body[part]
  1472. PART.Anchored = true
  1473. PART.Size = SIZE*MRANDOM(5,15)/10
  1474. PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
  1475. end
  1476. body[part]:remove()
  1477. end))
  1478. elseif EFFECT == "Shatter" then
  1479. for _, c in pairs(v:GetChildren()) do
  1480. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1481. Shatter(c)
  1482. end
  1483. end
  1484. end
  1485. end
  1486. end
  1487. end
  1488. end
  1489. end
  1490. end
  1491. end
  1492. end
  1493.  
  1494. local A = IT("Attachment",Barrel)
  1495. A.Position = VT(0,-2.5,0)
  1496. local B = IT("Attachment",Barrel)
  1497. B.Position = VT(0,2.5,0)
  1498. local Trail = IT("Trail",Barrel)
  1499. Trail.Attachment0 = A
  1500. Trail.Attachment1 = B
  1501. Trail.Lifetime = 0.2
  1502. Trail.Color = ColorSequence.new(BRICKC"White".Color)
  1503. Trail.Transparency = NumberSequence.new(0, 1)
  1504. Trail.Enabled = false
  1505.  
  1506. --//=================================\\
  1507. --|| ATTACK FUNCTIONS AND STUFF
  1508. --\\=================================//
  1509.  
  1510.  
  1511. function Bullet()
  1512. ATTACK = true
  1513. Rooted = false
  1514. for i=1, 2, 3 / Animation_Speed do
  1515. Swait()
  1516. turnto(Mouse.Hit.p)
  1517. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1518. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1519. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1520. end
  1521. repeat
  1522. for i=1, 2, 3 / Animation_Speed do
  1523. Swait()
  1524. turnto(Mouse.Hit.p)
  1525. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1526. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1528. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1529. end
  1530. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1531. SpawnTrail(Hole.Position,POS)
  1532. if HIT ~= nil then
  1533. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1534. Kill(HIT.Parent)
  1535. end
  1536. end
  1537. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(2,3,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(3,0,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1538. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1539. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1540. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1541. for i=1, 2, 3 / Animation_Speed do
  1542. Swait()
  1543. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1544. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1547. end
  1548. until KEYHOLD == false
  1549. ATTACK = false
  1550. Rooted = false
  1551. end
  1552.  
  1553. function Execute()
  1554. ATTACK = true
  1555. Rooted = false
  1556. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  1557. Part.Color = C3(0,0,0)
  1558. MakeForm(Part,"Wedge")
  1559. Part.CanCollide = true
  1560. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  1561. for i=0, 1, 0.1 / Animation_Speed do
  1562. Swait()
  1563. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1564. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1565. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1566. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1567. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1569. end
  1570. Trail.Enabled = true
  1571. CreateSound(541909867, Barrel, 7, 1, false)
  1572. local TOCH = Part.Touched:Connect(function(hit)
  1573. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1574. Kill(hit.Parent)
  1575. end
  1576. end)
  1577. for i=0, 0.35, 0.1 / Animation_Speed do
  1578. Swait()
  1579. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1580. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1581. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1582. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1583. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1584. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1585. end
  1586. TOCH:disconnect()
  1587. Trail.Enabled = false
  1588. for i=0, 0.35, 0.1 / Animation_Speed do
  1589. Swait()
  1590. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  1592. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1593. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1594. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1595. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1596. end
  1597. Part:remove()
  1598. ATTACK = false
  1599. Rooted = false
  1600. end
  1601.  
  1602. function Lift()
  1603. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1604. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1605. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1606. if TORSO and HUM.Health > 0 then
  1607. ATTACK = true
  1608. Rooted = false
  1609. local GYRO = IT("BodyGyro",RootPart)
  1610. GYRO.D = 275
  1611. GYRO.P = 20000
  1612. GYRO.MaxTorque = VT(0,40000,0)
  1613. for i=0, 0.8, 0.1 / Animation_Speed do
  1614. Swait()
  1615. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1616. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1617. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1618. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1619. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1620. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1621. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1622. end
  1623. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1624. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1625. local grav = Instance.new("BodyPosition",TORSO)
  1626. grav.D = 1500
  1627. grav.P = 20000
  1628. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1629. grav.position = TORSO.Position+VT(0,15,0)
  1630. Debris:AddItem(grav,10)
  1631. Debris:AddItem(MAGIC,10)
  1632. CreateSound(429459101, Torso, 7, 1, false)
  1633. CreateSound(429459101, TORSO, 7, 1, false)
  1634. for i=0, 1, 0.1 / Animation_Speed do
  1635. Swait()
  1636. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1637. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1638. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1639. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1640. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1641. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1642. end
  1643. GYRO:remove()
  1644. ATTACK = false
  1645. Rooted = false
  1646. end
  1647. end
  1648. end
  1649.  
  1650. function Banisher_Bullet()
  1651. ATTACK = true
  1652. Rooted = false
  1653. for i=0, 0.4, 0.1 / Animation_Speed do
  1654. Swait()
  1655. turnto(Mouse.Hit.p)
  1656. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1657. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1658. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1659. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1660. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1661. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1662. end
  1663. repeat
  1664. for i=0, 0.2, 0.1 / Animation_Speed do
  1665. Swait()
  1666. turnto(Mouse.Hit.p)
  1667. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1668. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1669. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1670. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1671. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1672. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1673. end
  1674. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1675. SpawnTrail(Hole.Position,POS)
  1676. if HIT ~= nil then
  1677. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1678. Banish(HIT.Parent)
  1679. end
  1680. end
  1681. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1682. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1683. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1684. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1685. for i=0, 0.3, 0.1 / Animation_Speed do
  1686. Swait()
  1687. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1688. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1689. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1690. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1691. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1692. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1693. end
  1694. until KEYHOLD == false
  1695. ATTACK = false
  1696. Rooted = false
  1697. end
  1698.  
  1699. function AttackTemplate()
  1700. ATTACK = true
  1701. Rooted = false
  1702. for i=0, 1, 0.1 / Animation_Speed do
  1703. Swait()
  1704. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1705. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1708. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1709. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1710. end
  1711. ATTACK = false
  1712. Rooted = false
  1713. end
  1714.  
  1715. function CyberSmash()
  1716. ATTACK = true
  1717. Rooted = false
  1718. local GYRO = IT("BodyGyro",RootPart)
  1719. GYRO.D = 100
  1720. GYRO.P = 2000
  1721. GYRO.MaxTorque = VT(0,4000000,0)
  1722. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1723. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "White", "Block", VT(25,25,25))
  1724. SMASH.CanCollide = true
  1725. SMASH.Color = C3(0,0,0)
  1726. local EF = Instance.new("SelectionBox",SMASH)
  1727. EF.Adornee = SMASH
  1728. EF.Color = BrickColor.new("White")
  1729. EF.LineThickness = 0.3
  1730. EF.Transparency = 1
  1731. coroutine.resume(coroutine.create(function()
  1732. for i = 1, 20 do
  1733. Swait()
  1734. SMASH.Transparency = SMASH.Transparency - 0.05
  1735. EF.Transparency = SMASH.Transparency
  1736. end
  1737. end))
  1738. repeat
  1739. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  1740. Swait()
  1741. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  1742. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1746. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1747. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1748. until HOLD == true and SMASH.Transparency < 0.99
  1749. for i = 1, 25 do
  1750. Swait()
  1751. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  1752. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1753. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1755. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1756. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1757. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1758. end
  1759. local TOCH = SMASH.Touched:Connect(function(hit)
  1760. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1761. Shatter(hit)
  1762. end
  1763. end)
  1764. local n0 = nil
  1765. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  1766. if HITFLOOR ~= nil then
  1767. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  1768. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1769. if HITFLOOR.Parent.ClassName == "Model" then
  1770. HITFLOOR.Parent:BreakJoints()
  1771. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  1772. HITFLOOR.Parent.Parent:BreakJoints()
  1773. end
  1774. end
  1775. local POS = HITPOS
  1776. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  1777. end
  1778. end
  1779. killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
  1780. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  1781. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  1782. for i = 1, 25 do
  1783. Swait()
  1784. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1785. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1786. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1787. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1788. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1789. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1790. end
  1791. coroutine.resume(coroutine.create(function()
  1792. wait(0.2)
  1793. TOCH:disconnect()
  1794. wait(1.8)
  1795. for i = 1, 100 do
  1796. Swait()
  1797. SMASH.Transparency = i/100
  1798. end
  1799. for i = 1, 10 do
  1800. Swait()
  1801. EF.Transparency = EF.Transparency + 0.1
  1802. end
  1803. SMASH:remove()
  1804. end))
  1805. GYRO:remove()
  1806. ATTACK = false
  1807. Rooted = false
  1808. end
  1809.  
  1810. function Teleport()
  1811. ATTACK = true
  1812. Rooted = false
  1813. for i=0, 0.5, 0.1 / Animation_Speed do
  1814. Swait()
  1815. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1816. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1817. end
  1818. for e = 1, #BODY do
  1819. if BODY[e] ~= nil then
  1820. local STUFF = BODY[e]
  1821. local PART = STUFF[1]
  1822. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1823. local PRT = PART:Clone()
  1824. PRT.Anchored = true
  1825. PRT.CanCollide = false
  1826. PRT.Material = "Neon"
  1827. PRT.Color = C3(1,1,1)
  1828. PRT.Name = "WarpEffect"
  1829. PRT.Parent = Effects
  1830. PRT.CFrame = PART.CFrame
  1831. PRT:BreakJoints()
  1832. if PRT:FindFirstChildOfClass("Sound") then
  1833. PRT:FindFirstChildOfClass("Sound"):remove()
  1834. end
  1835. if PRT:FindFirstChildOfClass("Decal") then
  1836. PRT:FindFirstChildOfClass("Decal"):remove()
  1837. end
  1838. coroutine.resume(coroutine.create(function()
  1839. for i = 1, 100 do
  1840. Swait()
  1841. PRT.Transparency = PRT.Transparency + 1/100
  1842. end
  1843. PRT:remove()
  1844. end))
  1845. end
  1846. end
  1847. end
  1848. CreateSound(217767125, Torso, 10, 1)
  1849. local POS = RootPart.Orientation
  1850. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1851. RootPart.Orientation = POS
  1852. RootJoint.Parent = RootPart
  1853. for i=0, 0.5, 0.1 / Animation_Speed do
  1854. Swait()
  1855. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1856. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1857. end
  1858. for i=0, 0.1, 0.1 / Animation_Speed do
  1859. Swait()
  1860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1861. end
  1862. ATTACK = false
  1863. Rooted = false
  1864. end
  1865.  
  1866. function Deathbound()
  1867. ATTACK = true
  1868. Rooted = true
  1869. for i=0, 1, 0.1 / Animation_Speed do
  1870. Swait()
  1871. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1872. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1873. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1874. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1875. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1876. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1877. end
  1878. local DONE = false
  1879. local GATE = nil
  1880. local GATESPIN = true
  1881. coroutine.resume(coroutine.create(function()
  1882. repeat
  1883. Swait()
  1884. if GATE ~= nil then
  1885. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1886. end
  1887. until GATESPIN == false
  1888. end))
  1889. coroutine.resume(coroutine.create(function()
  1890. repeat
  1891. Swait()
  1892. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1893. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1894. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1895. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1896. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1897. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1898. until DONE == true
  1899. Swait(50)
  1900. for i = 1, 35 do
  1901. Swait(4)
  1902. local FIRED = false
  1903. local CHILDREN = workspace:GetDescendants()
  1904. for index, CHILD in pairs(CHILDREN) do
  1905. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1906. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1907. if HUM then
  1908. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1909. if TORSO then
  1910. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1911. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1912. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1913. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1914. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1915. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1916. Kill(CHILD)
  1917. FIRED = true
  1918. break
  1919. end
  1920. end
  1921. end
  1922. end
  1923. end
  1924. if FIRED == false then
  1925. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1926. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1927. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1928. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1929. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1930. if HITBOD ~= nil then
  1931. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1932. killnearest(HITBOD.Parent)
  1933. end
  1934. end
  1935. end
  1936. end
  1937. for i = 1, 45 do
  1938. Swait()
  1939. GATE.Size = GATE.Size - VT(3,0,3)
  1940. end
  1941. GATESPIN = false
  1942. GATE:remove()
  1943. end))
  1944. Swait(15)
  1945. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1946. GATE = CreatePart(3, Effects, "Neon", 0, 1, "White", "Gate", VT(0,0,0))
  1947. local DECAL = IT("Decal",GATE)
  1948. DECAL.Texture = "http://www.roblox.com/asset/?id="
  1949. DECAL.Face = "Top"
  1950. GATE.CFrame = CF(HITPOS)
  1951. CreateSound(160772554, GATE, 7, 1.3, false)
  1952. for i = 1, 45 do
  1953. Swait()
  1954. GATE.Size = GATE.Size + VT(3,0,3)
  1955. end
  1956. CreateSound(145080998, Hole, 7, 1, false)
  1957. CreateSound(145080998, Hole, 7, 1, false)
  1958. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1959. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1960. ATTACK = false
  1961. Rooted = false
  1962. DONE = true
  1963. end
  1964.  
  1965. function HI()
  1966. ATTACK = true
  1967. Rooted = false
  1968. local LOOP = 0
  1969. for i=0, 0.1, 0.1 / Animation_Speed do
  1970. Swait()
  1971. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1972. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1973. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1974. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1975. end
  1976. for i=0, 3, 0.1 / Animation_Speed do
  1977. Swait()
  1978. LOOP = LOOP + 1
  1979. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1980. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1981. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1982. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1983. end
  1984. for i=0, 0.1, 0.1 / Animation_Speed do
  1985. Swait()
  1986. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1988. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1990. end
  1991. ATTACK = false
  1992. Rooted = false
  1993. end
  1994.  
  1995. function Morning_Star()
  1996. ATTACK = true
  1997. Rooted = true
  1998. for i=0, 1, 0.1 / Animation_Speed do
  1999. Swait()
  2000. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2004. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2005. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2006. end
  2007. coroutine.resume(coroutine.create(function()
  2008. local POS = Mouse.Hit.p
  2009. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,2000,0))
  2010. MakeForm(RAY,"Cyl")
  2011. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  2012. MakeForm(SPHERE,"Ball")
  2013. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  2014. MakeForm(SHIELD,"Ball")
  2015. SHIELD.CFrame = CF(POS)
  2016. RAY.CFrame = CF(POS)
  2017. SPHERE.CFrame = CF(POS)
  2018. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2019. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2020. for i = 1, 200 do
  2021. Swait()
  2022. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2023. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2024. SPHERE.Size = SPHERE.Size + VT(4,4,4)
  2025. SHIELD.Size = SPHERE.Size + VT(6,6,6)
  2026. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2027. end
  2028. for i = 1, 45 do
  2029. Swait()
  2030. RAY.Transparency = RAY.Transparency + 1/45
  2031. SPHERE.Transparency = RAY.Transparency
  2032. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2033. end
  2034. RAY:remove()
  2035. SHIELD:remove()
  2036. SPHERE:remove()
  2037. end))
  2038. for i=0, 1, 0.1 / Animation_Speed do
  2039. Swait()
  2040. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2041. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2042. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2043. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2044. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2045. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2046. end
  2047. ATTACK = false
  2048. Rooted = false
  2049. end
  2050.  
  2051. function Prison_Key()
  2052. if Mouse.Target ~= nil then
  2053. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2054. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2055. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2056. local GYRO = IT("BodyGyro",RootPart)
  2057. GYRO.D = 750
  2058. GYRO.P = 20000
  2059. GYRO.MaxTorque = VT(0,40000000,0)
  2060. local grav = Instance.new("BodyPosition",TORSO)
  2061. grav.D = 15
  2062. grav.P = 20000
  2063. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2064. grav.position = TORSO.Position
  2065. local GYRO2 = IT("BodyGyro",TORSO)
  2066. GYRO2.D = 750
  2067. GYRO2.P = 20000
  2068. GYRO2.MaxTorque = VT(0,40000000,0)
  2069. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2070. grav.Name = "Jail"
  2071. local LOCKPARTS = {}
  2072. ATTACK = true
  2073. Rooted = false
  2074. local LOCK = IT("Model",Effects)
  2075. LOCK.Name = "Lock"
  2076. local LOCK2 = IT("Model",LOCK)
  2077. LOCK2.Name = "Metal"
  2078. --CREATE LOCK--
  2079. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  2080. LOCK.PrimaryPart = BASE
  2081. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2082. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  2083. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2084. MakeForm(PRT,"Cyl")
  2085. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  2086. PRT.Color = C3(0,0,0)
  2087. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2088. MakeForm(PRT,"Cyl")
  2089. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Hole", VT(0.5, 1, 1))
  2090. PRT.Color = C3(0,0,0)
  2091. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2092. for i = 1, 45 do
  2093. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2094. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2095. end
  2096. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2097. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2098. LOCK2.PrimaryPart = PRT
  2099. ---------------
  2100. local CHILDREN = LOCK:GetDescendants()
  2101. for index, CHILD in pairs(CHILDREN) do
  2102. if CHILD:IsA("BasePart") then
  2103. CHILD.Transparency = 1
  2104. end
  2105. end
  2106. for i = 1, 75 do
  2107. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2108. Swait()
  2109. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2110. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2111. local CHILDREN = LOCK:GetDescendants()
  2112. for index, CHILD in pairs(CHILDREN) do
  2113. if CHILD:IsA("BasePart") then
  2114. CHILD.Transparency = CHILD.Transparency - 1/75
  2115. end
  2116. end
  2117. end
  2118. HUM.DisplayDistanceType = "None"
  2119. local KEY = IT("Model",Effects)
  2120. KEY.Name = "Key"
  2121. --CREATE KEY--
  2122. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Reallt black", "KeyBase", VT(0.1, 1, 0.1),false)
  2123. KEY.PrimaryPart = KBASE
  2124. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2125. local WLD = weldBetween(RightArm,KBASE)
  2126. for i = 1, 45 do
  2127. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really black", "Key", VT(0.1, 0.1, 0.1),false)
  2128. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2129. weldBetween(KBASE,PRT)
  2130. end
  2131. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "White", "Key", VT(0.3, 0.1, 0.1),false)
  2132. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2133. weldBetween(KBASE,PRT)
  2134. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "White", "Key", VT(0.3, 0.1, 0.1),false)
  2135. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2136. weldBetween(KBASE,PRT)
  2137. --------------
  2138. Rooted = true
  2139. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  2140. coroutine.resume(coroutine.create(function()
  2141. for i = 1, 10 do
  2142. Swait()
  2143. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2144. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2145. end
  2146. CreateSound(1149318312,BASE,5,1,false)
  2147. CreateSound(160772554,BASE,3,1,false)
  2148. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2149. for i = 1, 4 do
  2150. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2151. end
  2152. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2153. wait(1)
  2154. TORSO.Parent.Parent = LOCK
  2155. for i = 1, 75 do
  2156. Swait()
  2157. local CHILDREN = KEY:GetDescendants()
  2158. for index, CHILD in pairs(CHILDREN) do
  2159. if CHILD:IsA("BasePart") then
  2160. CHILD.Transparency = i/25
  2161. end
  2162. end
  2163. local CHILDREN = LOCK:GetDescendants()
  2164. for index, CHILD in pairs(CHILDREN) do
  2165. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2166. CHILD.Transparency = CHILD.Transparency + 1/75
  2167. elseif CHILD.ClassName == "Decal" then
  2168. CHILD.Transparency = CHILD.Transparency + 1/75
  2169. end
  2170. end
  2171. end
  2172. TORSO.Parent:ClearAllChildren()
  2173. KEY:remove()
  2174. LOCK:remove()
  2175. end))
  2176. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  2177. GYRO:remove()
  2178. ATTACK = false
  2179. Rooted = false
  2180. end
  2181. end
  2182. end
  2183.  
  2184.  
  2185. --//=================================\\
  2186. --|| ASSIGN THINGS TO KEYS
  2187. --\\=================================//
  2188.  
  2189. function MouseDown(Mouse)
  2190. HOLD = true
  2191. if ATTACK == false then
  2192. end
  2193. end
  2194.  
  2195. function MouseUp(Mouse)
  2196. HOLD = false
  2197. end
  2198.  
  2199. function KeyDown(Key)
  2200. KEYHOLD = true
  2201. if Key == "z" and ATTACK == false then
  2202. Banisher_Bullet()
  2203. end
  2204.  
  2205. if Key == "v" and ATTACK == false then
  2206. Execute()
  2207. end
  2208.  
  2209. if Key == "c" and ATTACK == false then
  2210. Bullet()
  2211. end
  2212.  
  2213. if Key == "r" and ATTACK == false then
  2214. CyberSmash()
  2215. end
  2216.  
  2217. if Key == "x" and ATTACK == false then
  2218. Deathbound()
  2219. end
  2220.  
  2221. if Key == "q" and ATTACK == false then
  2222. Teleport()
  2223. end
  2224.  
  2225. if Key == "b" and ATTACK == false then
  2226. Lift()
  2227. end
  2228.  
  2229. if Key == "t" and ATTACK == false then
  2230. HI()
  2231. end
  2232.  
  2233. if Key == "e" and ATTACK == false then
  2234. Morning_Star()
  2235. end
  2236.  
  2237. if Key == "f" and ATTACK == false then
  2238. Prison_Key()
  2239. end
  2240. end
  2241.  
  2242.  
  2243.  
  2244. function KeyUp(Key)
  2245. KEYHOLD = false
  2246. end
  2247.  
  2248. Mouse.Button1Down:connect(function(NEWKEY)
  2249. MouseDown(NEWKEY)
  2250. end)
  2251. Mouse.Button1Up:connect(function(NEWKEY)
  2252. MouseUp(NEWKEY)
  2253. end)
  2254. Mouse.KeyDown:connect(function(NEWKEY)
  2255. KeyDown(NEWKEY)
  2256. end)
  2257. Mouse.KeyUp:connect(function(NEWKEY)
  2258. KeyUp(NEWKEY)
  2259. end)
  2260.  
  2261. --//=================================\\
  2262. --\\=================================/
  2263.  
  2264. function AntiTimeStop()
  2265. for _, c in pairs(Character:GetChildren()) do
  2266. if c:IsA("BasePart") and c ~= RootPart then
  2267. c.Anchored = false
  2268. end
  2269. end
  2270. if UNANCHOR == true then
  2271. RootPart.Anchored = false
  2272. else
  2273. RootPart.Anchored = true
  2274. end
  2275. end
  2276.  
  2277. --//=================================\\
  2278. --|| WRAP THE WHOLE SCRIPT UP
  2279. --\\=================================//
  2280.  
  2281. Humanoid.Changed:connect(function(Jump)
  2282. if Jump == "Jump" and (Disable_Jump == true) then
  2283. Humanoid.Jump = false
  2284. end
  2285. end)
  2286.  
  2287. local CONNECT = nil
  2288.  
  2289. while true do
  2290. Swait()
  2291. ANIMATE.Parent = nil
  2292. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2293. Humanoid = IT("Humanoid",Character)
  2294. end
  2295. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2296. v:Stop();
  2297. end
  2298. SINE = SINE + CHANGE
  2299. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2300. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2301. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2302. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2303. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2304. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2305. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2306. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2307. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2308. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2309. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2310. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2311. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2312. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2313. end
  2314. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2315. ANIM = "Jump"
  2316. if ATTACK == false then
  2317. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2318. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2319. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2320. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2321. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2322. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2323. end
  2324. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2325. ANIM = "Fall"
  2326. if ATTACK == false then
  2327. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2328. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2329. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2330. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2331. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2332. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2333. end
  2334. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2335. ANIM = "Idle"
  2336. if ATTACK == false then
  2337. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2338. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2339. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2340. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2341. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2342. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2343. end
  2344. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2345. ANIM = "Walk"
  2346. if ATTACK == false then
  2347. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2348. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2349. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2350. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2351. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2352. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2353. end
  2354. end
  2355. AntiTimeStop()
  2356. Humanoid.MaxHealth = 15e15
  2357. Humanoid.Health = 15e15
  2358. if Rooted == false then
  2359. Disable_Jump = false
  2360. Humanoid.WalkSpeed = Speed
  2361. elseif Rooted == true then
  2362. Disable_Jump = true
  2363. Humanoid.WalkSpeed = 0
  2364. end
  2365. refit()
  2366. for _, c in pairs(Character:GetChildren()) do
  2367. if c.ClassName == "Part" and c.Name ~= "Eye" then
  2368. c.Material = "SmoothPlastic"
  2369. if c:FindFirstChildOfClass("ParticleEmitter") then
  2370. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2371. end
  2372. if c == LeftLeg or c == RightLeg then
  2373. c.Color = C3(0,0,0)
  2374. if c:FindFirstChildOfClass("BlockMesh") == nil then
  2375. IT("BlockMesh",c)
  2376. end
  2377. elseif c == Torso then
  2378. c.Color = C3(0,0,0)
  2379. if c:FindFirstChildOfClass("BlockMesh") == nil then
  2380. IT("BlockMesh",c)
  2381. end
  2382. else
  2383. c.BrickColor = BRICKC"Really black"
  2384. end
  2385. if c == Head then
  2386. if c:FindFirstChild("face") then
  2387. c.face:remove()
  2388. end
  2389. end
  2390. sick.SoundId = "rbxassetid://515661467"
  2391. sick.Looped = true
  2392. sick.Pitch = 1
  2393. sick.Volume = 10
  2394. sick.Parent = Character
  2395. sick.Playing = true
  2396. Humanoid.Name = "Aftermath"
  2397. Effects.Parent = Character
  2398. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2399. c:remove()
  2400. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2401. c:remove()
  2402. end
  2403. end
  2404.  
  2405. end
  2406.  
  2407. --//=================================\\
  2408. --\\=================================//
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414. --//====================================================\\--
  2415. --|| END OF SCRIPT
  2416. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement