Advertisement
MrSlakyx

lklklklklkl

Jul 14th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.96 KB | None | 0 0
  1. for i = 1, 15 do
  2. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  3. FACE.Color = C3(0,0,0)
  4. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  5. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  6. end
  7. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(2,0.2,2),false)
  8. MakeForm(HAT1,"Cyl")
  9. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  10. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Green", "Hat", VT(2.01,0.15,2.01),false)
  11. BELT.Color = C3(15/255,15/255,15/255)
  12. MakeForm(BELT,"Cyl")
  13. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  14. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.3,2.2,1.3),false)
  15. MakeForm(HAT2,"Cyl")
  16. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  17. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Green", "Hat", VT(1.31,0.2,1.31),false)
  18. BELT.Color = C3(15/255,15/255,15/255)
  19. MakeForm(BELT,"Cyl")
  20. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  21. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Green", "Gem", VT(0.25,0.25,0.1),false)
  22. MakeForm(GEM,"Ball")
  23. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  24. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Green", "Gem", VT(0.25,0.25,0.1),false)
  25. MakeForm(GEM,"Ball")
  26. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  27. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Green", "Gem", VT(0.1,0.25,0.25),false)
  28. MakeForm(GEM,"Ball")
  29. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  30. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Green", "Gem", VT(0.1,0.25,0.25),false)
  31. MakeForm(GEM,"Ball")
  32. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  33. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  34. BELT.Color = C3(15/255,15/255,15/255)
  35. MakeForm(BELT,"Cyl")
  36. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  37. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Green", "Hat", VT(1.31,0.1,1.31),false)
  38. BELT.Color = C3(15/255,15/255,15/255)
  39. MakeForm(BELT,"Cyl")
  40. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  41. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  42. BELT.Color = C3(15/255,15/255,15/255)
  43. MakeForm(BELT,"Cyl")
  44. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  45. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Green", "Hat", VT(1.31,0.1,1.31),false)
  46. BELT.Color = C3(15/255,15/255,15/255)
  47. MakeForm(BELT,"Cyl")
  48. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  49. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.3,0.5,1.3),false)
  50. MakeForm(BELT,"Ball")
  51. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  52. Humanoid.DisplayDistanceType = "None"
  53. local naeeym2 = IT("BillboardGui",Character)
  54. naeeym2.AlwaysOnTop = true
  55. naeeym2.Size = UDim2.new(5,35,2,15)
  56. naeeym2.StudsOffset = Vector3.new(0,3,0)
  57. naeeym2.MaxDistance = 75
  58. naeeym2.Adornee = Character.Head
  59. naeeym2.Name = "Name"
  60. naeeym2.PlayerToHideFrom = Player
  61. local tecks2 = IT("TextLabel",naeeym2)
  62. tecks2.BackgroundTransparency = 1
  63. tecks2.TextScaled = true
  64. tecks2.BorderSizePixel = 0
  65. tecks2.Text = "Holy Warden"
  66. tecks2.Font = "Bodoni"
  67. tecks2.TextSize = 30
  68. tecks2.TextStrokeTransparency = 0.5
  69. tecks2.TextColor3 = C3(0,0,0)
  70. tecks2.TextStrokeColor3 = BRICKC"White".Color
  71. tecks2.Size = UDim2.new(1,0,0.5,0)
  72. tecks2.Parent = naeeym2
  73. local EYE = CreatePart(3, Character, "Neon", 0, 0, "White", "FaceGradient", VT(0.6,0.1,1)/2,false)
  74. MakeForm(EYE,"Ball")
  75. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  76. local EYE = CreatePart(3, Character, "Neon", 0, 0, "White", "FaceGradient", VT(0.6,0.1,1)/2,false)
  77. MakeForm(EYE,"Ball")
  78. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  79. local EYE = CreatePart(3, Character, "Neon", 0, 0, "White", "FaceGradient", VT(0.1,1,1)/2,false)
  80. MakeForm(EYE,"Ball")
  81. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  82. local EYE = CreatePart(3, Character, "Neon", 0, 0, "White", "FaceGradient", VT(0.1,1,1)/2,false)
  83. MakeForm(EYE,"Ball")
  84. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  85.  
  86. local top = Instance.new("Shirt")
  87. top.ShirtTemplate = "rbxassetid://1280939293"
  88. top.Parent = Character
  89. top.Name = "cloth"
  90. local bottom = Instance.new("Pants")
  91. bottom.PantsTemplate = "rbxassetid://1350930584"
  92. bottom.Parent = Character
  93. bottom.Name = "Cloth"
  94. for _, c in pairs(Character:GetChildren()) do
  95. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  96. c.Material = "Neon"
  97. Player = game.Players.LocalPlayer
  98. Character = Player.Character
  99. local txt = Instance.new("BillboardGui", Character)
  100. txt.Adornee = Character.Head
  101. txt.Name = "_status"
  102. txt.Size = UDim2.new(2, 0, 1.2, 0)
  103. txt.StudsOffset = Vector3.new(-9, 8, 0)
  104. local text = Instance.new("TextLabel", txt)
  105. text.Size = UDim2.new(10, 0, 7, 0)
  106. text.FontSize = "Size24"
  107. text.TextScaled = true
  108. text.TextTransparency = 0
  109. text.BackgroundTransparency = 1
  110. text.TextTransparency = 0
  111. text.TextStrokeTransparency = 0
  112. text.Font = "Antique"
  113. text.TextStrokeColor3 = Color3.new(170,0,0)
  114. text.Text = "Anti Abuser"
  115. script.Name = "Banisher Gun V3 / 1"
  116. --//====================================================\\--
  117. --|| CREATED BY SHACKLUSTER
  118. --\\====================================================//--
  119.  
  120. script:ClearAllChildren()
  121. wait(0.2)
  122.  
  123. Player = game:GetService("Players").LocalPlayer
  124. PlayerGui = Player.PlayerGui
  125. Cam = workspace.CurrentCamera
  126. Backpack = Player.Backpack
  127. Character = Player.Character
  128. Humanoid = Character.Humanoid
  129. Mouse = Player:GetMouse()
  130. RootPart = Character["HumanoidRootPart"]
  131. Torso = Character["Torso"]
  132. Head = Character["Head"]
  133. RightArm = Character["Right Arm"]
  134. LeftArm = Character["Left Arm"]
  135. RightLeg = Character["Right Leg"]
  136. LeftLeg = Character["Left Leg"]
  137. RootJoint = RootPart["RootJoint"]
  138. Neck = Torso["Neck"]
  139. RightShoulder = Torso["Right Shoulder"]
  140. LeftShoulder = Torso["Left Shoulder"]
  141. RightHip = Torso["Right Hip"]
  142. LeftHip = Torso["Left Hip"]
  143. local TIME = 0
  144. local sick = Instance.new("Sound",Torso)
  145.  
  146. IT = Instance.new
  147. CF = CFrame.new
  148. VT = Vector3.new
  149. RAD = math.rad
  150. C3 = Color3.new
  151. UD2 = UDim2.new
  152. BRICKC = BrickColor.new
  153. ANGLES = CFrame.Angles
  154. EULER = CFrame.fromEulerAnglesXYZ
  155. COS = math.cos
  156. ACOS = math.acos
  157. SIN = math.sin
  158. ASIN = math.asin
  159. ABS = math.abs
  160. MRANDOM = math.random
  161. FLOOR = math.floor
  162.  
  163. --//=================================\\
  164. --|| USEFUL VALUES
  165. --\\=================================//
  166.  
  167. Animation_Speed = 3
  168. local FORCERESET = false
  169. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  170. local Speed = 16
  171. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  172. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  173. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  174. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  175. local DAMAGEMULTIPLIER = 1
  176. local ANIM = "Idle"
  177. local ATTACK = false
  178. local EQUIPPED = false
  179. local HOLD = false
  180. local COMBO = 1
  181. local Rooted = false
  182. local SINE = 0
  183. local KEYHOLD = false
  184. local CHANGE = 2 / Animation_Speed
  185. local WALKINGANIM = false
  186. local VALUE1 = false
  187. local VALUE2 = false
  188. local ROBLOXIDLEANIMATION = IT("Animation")
  189. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  190. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  191. --ROBLOXIDLEANIMATION.Parent = Humanoid
  192. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  193. WEAPONGUI.Name = "BanishV3Gui"
  194. local Weapon = IT("Model")
  195. Weapon.Name = "Adds"
  196. local Effects = IT("Folder", Weapon)
  197. Effects.Name = "Effects"
  198. local ANIMATOR = Humanoid.Animator
  199. local ANIMATE = Character:FindFirstChild("Animate")
  200. local UNANCHOR = true
  201. local TOBANISH = {}
  202. script.Parent = PlayerGui
  203.  
  204. --//=================================\\
  205. --\\=================================//
  206.  
  207.  
  208. --//=================================\\
  209. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  210. --\\=================================//
  211.  
  212. ArtificialHB = Instance.new("BindableEvent", script)
  213. ArtificialHB.Name = "ArtificialHB"
  214.  
  215. script:WaitForChild("ArtificialHB")
  216.  
  217. frame = Frame_Speed
  218. tf = 0
  219. allowframeloss = false
  220. tossremainder = false
  221. lastframe = tick()
  222. script.ArtificialHB:Fire()
  223.  
  224. game:GetService("RunService").Heartbeat:connect(function(s, p)
  225. tf = tf + s
  226. if tf >= frame then
  227. if allowframeloss then
  228. script.ArtificialHB:Fire()
  229. lastframe = tick()
  230. else
  231. for i = 1, math.floor(tf / frame) do
  232. script.ArtificialHB:Fire()
  233. end
  234. lastframe = tick()
  235. end
  236. if tossremainder then
  237. tf = 0
  238. else
  239. tf = tf - frame * math.floor(tf / frame)
  240. end
  241. end
  242. end)
  243.  
  244. --//=================================\\
  245. --\\=================================//
  246.  
  247. --//=================================\\
  248. --|| SOME FUNCTIONS
  249. --\\=================================//
  250.  
  251. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  252. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  253. end
  254.  
  255. function PositiveAngle(NUMBER)
  256. if NUMBER >= 0 then
  257. NUMBER = 0
  258. end
  259. return NUMBER
  260. end
  261.  
  262. function NegativeAngle(NUMBER)
  263. if NUMBER <= 0 then
  264. NUMBER = 0
  265. end
  266. return NUMBER
  267. end
  268.  
  269. function Swait(NUMBER)
  270. if NUMBER == 0 or NUMBER == nil then
  271. ArtificialHB.Event:wait()
  272. else
  273. for i = 1, NUMBER do
  274. ArtificialHB.Event:wait()
  275. end
  276. end
  277. end
  278.  
  279. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  280. local NEWMESH = IT(MESH)
  281. if MESH == "SpecialMesh" then
  282. NEWMESH.MeshType = MESHTYPE
  283. if MESHID ~= "nil" and MESHID ~= "" then
  284. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  285. end
  286. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  287. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  288. end
  289. end
  290. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  291. NEWMESH.Scale = SCALE
  292. NEWMESH.Parent = PARENT
  293. return NEWMESH
  294. end
  295.  
  296. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  297. local NEWPART = IT("Part")
  298. NEWPART.formFactor = FORMFACTOR
  299. NEWPART.Reflectance = REFLECTANCE
  300. NEWPART.Transparency = TRANSPARENCY
  301. NEWPART.CanCollide = false
  302. NEWPART.Locked = true
  303. NEWPART.Anchored = true
  304. if ANCHOR == false then
  305. NEWPART.Anchored = false
  306. end
  307. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  308. NEWPART.Name = NAME
  309. NEWPART.Size = SIZE
  310. NEWPART.Position = Torso.Position
  311. NEWPART.Material = MATERIAL
  312. NEWPART:BreakJoints()
  313. NEWPART.Parent = PARENT
  314. return NEWPART
  315. end
  316.  
  317. local function weldBetween(a, b)
  318. local weldd = Instance.new("ManualWeld")
  319. weldd.Part0 = a
  320. weldd.Part1 = b
  321. weldd.C0 = CFrame.new()
  322. weldd.C1 = b.CFrame:inverse() * a.CFrame
  323. weldd.Parent = a
  324. return weldd
  325. end
  326.  
  327.  
  328. function QuaternionFromCFrame(cf)
  329. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  330. local trace = m00 + m11 + m22
  331. if trace > 0 then
  332. local s = math.sqrt(1 + trace)
  333. local recip = 0.5 / s
  334. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  335. else
  336. local i = 0
  337. if m11 > m00 then
  338. i = 1
  339. end
  340. if m22 > (i == 0 and m00 or m11) then
  341. i = 2
  342. end
  343. if i == 0 then
  344. local s = math.sqrt(m00 - m11 - m22 + 1)
  345. local recip = 0.5 / s
  346. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  347. elseif i == 1 then
  348. local s = math.sqrt(m11 - m22 - m00 + 1)
  349. local recip = 0.5 / s
  350. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  351. elseif i == 2 then
  352. local s = math.sqrt(m22 - m00 - m11 + 1)
  353. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  354. end
  355. end
  356. end
  357.  
  358. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  359. local xs, ys, zs = x + x, y + y, z + z
  360. local wx, wy, wz = w * xs, w * ys, w * zs
  361. local xx = x * xs
  362. local xy = x * ys
  363. local xz = x * zs
  364. local yy = y * ys
  365. local yz = y * zs
  366. local zz = z * zs
  367. 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))
  368. end
  369.  
  370. function QuaternionSlerp(a, b, t)
  371. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  372. local startInterp, finishInterp;
  373. if cosTheta >= 0.0001 then
  374. if (1 - cosTheta) > 0.0001 then
  375. local theta = ACOS(cosTheta)
  376. local invSinTheta = 1 / SIN(theta)
  377. startInterp = SIN((1 - t) * theta) * invSinTheta
  378. finishInterp = SIN(t * theta) * invSinTheta
  379. else
  380. startInterp = 1 - t
  381. finishInterp = t
  382. end
  383. else
  384. if (1 + cosTheta) > 0.0001 then
  385. local theta = ACOS(-cosTheta)
  386. local invSinTheta = 1 / SIN(theta)
  387. startInterp = SIN((t - 1) * theta) * invSinTheta
  388. finishInterp = SIN(t * theta) * invSinTheta
  389. else
  390. startInterp = t - 1
  391. finishInterp = t
  392. end
  393. end
  394. 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
  395. end
  396.  
  397. function Clerp(a, b, t)
  398. local qa = {QuaternionFromCFrame(a)}
  399. local qb = {QuaternionFromCFrame(b)}
  400. local ax, ay, az = a.x, a.y, a.z
  401. local bx, by, bz = b.x, b.y, b.z
  402. local _t = 1 - t
  403. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  404. end
  405.  
  406. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  407. local frame = IT("Frame")
  408. frame.BackgroundTransparency = TRANSPARENCY
  409. frame.BorderSizePixel = BORDERSIZEPIXEL
  410. frame.Position = POSITION
  411. frame.Size = SIZE
  412. frame.BackgroundColor3 = COLOR
  413. frame.BorderColor3 = BORDERCOLOR
  414. frame.Name = NAME
  415. frame.Parent = PARENT
  416. return frame
  417. end
  418.  
  419. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  420. local label = IT("TextLabel")
  421. label.BackgroundTransparency = 1
  422. label.Size = UD2(1, 0, 1, 0)
  423. label.Position = UD2(0, 0, 0, 0)
  424. label.TextColor3 = TEXTCOLOR
  425. label.TextStrokeTransparency = STROKETRANSPARENCY
  426. label.TextTransparency = TRANSPARENCY
  427. label.FontSize = TEXTFONTSIZE
  428. label.Font = TEXTFONT
  429. label.BorderSizePixel = BORDERSIZEPIXEL
  430. label.TextScaled = false
  431. label.Text = TEXT
  432. label.Name = NAME
  433. label.Parent = PARENT
  434. return label
  435. end
  436.  
  437. function NoOutlines(PART)
  438. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  439. end
  440.  
  441. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  442. local NEWWELD = IT(TYPE)
  443. NEWWELD.Part0 = PART0
  444. NEWWELD.Part1 = PART1
  445. NEWWELD.C0 = C0
  446. NEWWELD.C1 = C1
  447. NEWWELD.Parent = PARENT
  448. return NEWWELD
  449. end
  450.  
  451. local S = IT("Sound")
  452. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  453. local NEWSOUND = nil
  454. coroutine.resume(coroutine.create(function()
  455. NEWSOUND = S:Clone()
  456. NEWSOUND.Parent = PARENT
  457. NEWSOUND.Volume = VOLUME
  458. NEWSOUND.Pitch = PITCH
  459. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  460. NEWSOUND:play()
  461. if DOESLOOP == true then
  462. NEWSOUND.Looped = true
  463. else
  464. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  465. NEWSOUND:remove()
  466. end
  467. end))
  468. return NEWSOUND
  469. end
  470.  
  471. function CFrameFromTopBack(at, top, back)
  472. local right = top:Cross(back)
  473. 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)
  474. end
  475.  
  476. --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})
  477. function WACKYEFFECT(Table)
  478. local TYPE = (Table.EffectType or "Sphere")
  479. local SIZE = (Table.Size or VT(1,1,1))
  480. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  481. local TRANSPARENCY = (Table.Transparency or 0)
  482. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  483. local CFRAME = (Table.CFrame or Torso.CFrame)
  484. local MOVEDIRECTION = (Table.MoveToPos or nil)
  485. local ROTATION1 = (Table.RotationX or 0)
  486. local ROTATION2 = (Table.RotationY or 0)
  487. local ROTATION3 = (Table.RotationZ or 0)
  488. local MATERIAL = (Table.Material or "Neon")
  489. local COLOR = (Table.Color or C3(1,1,1))
  490. local TIME = (Table.Time or 45)
  491. local SOUNDID = (Table.SoundID or nil)
  492. local SOUNDPITCH = (Table.SoundPitch or nil)
  493. local SOUNDVOLUME = (Table.SoundVolume or nil)
  494. coroutine.resume(coroutine.create(function()
  495. local PLAYSSOUND = false
  496. local SOUND = nil
  497. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  498. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  499. PLAYSSOUND = true
  500. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  501. end
  502. EFFECT.Color = COLOR
  503. local MSH = nil
  504. if TYPE == "Sphere" then
  505. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  506. elseif TYPE == "Block" then
  507. MSH = IT("BlockMesh",EFFECT)
  508. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  509. elseif TYPE == "Wave" then
  510. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  511. elseif TYPE == "Ring" then
  512. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  513. elseif TYPE == "Slash" then
  514. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  515. elseif TYPE == "Round Slash" then
  516. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  517. elseif TYPE == "Swirl" then
  518. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  519. elseif TYPE == "Skull" then
  520. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  521. elseif TYPE == "Crystal" then
  522. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  523. end
  524. if MSH ~= nil then
  525. local MOVESPEED = nil
  526. if MOVEDIRECTION ~= nil then
  527. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  528. end
  529. local GROWTH = SIZE - ENDSIZE
  530. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  531. if TYPE == "Block" then
  532. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  533. else
  534. EFFECT.CFrame = CFRAME
  535. end
  536. for LOOP = 1, TIME+1 do
  537. Swait()
  538. MSH.Scale = MSH.Scale - GROWTH/TIME
  539. if TYPE == "Wave" then
  540. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  541. end
  542. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  543. if TYPE == "Block" then
  544. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  545. else
  546. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  547. end
  548. if MOVEDIRECTION ~= nil then
  549. local ORI = EFFECT.Orientation
  550. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  551. EFFECT.Orientation = ORI
  552. end
  553. end
  554. if PLAYSSOUND == false then
  555. EFFECT:remove()
  556. else
  557. SOUND.Stopped:Connect(function()
  558. EFFECT:remove()
  559. end)
  560. end
  561. else
  562. if PLAYSSOUND == false then
  563. EFFECT:remove()
  564. else
  565. repeat Swait() until SOUND.Playing == false
  566. EFFECT:remove()
  567. end
  568. end
  569. end))
  570. end
  571.  
  572. function MakeForm(PART,TYPE)
  573. if TYPE == "Cyl" then
  574. local MSH = IT("CylinderMesh",PART)
  575. elseif TYPE == "Ball" then
  576. local MSH = IT("SpecialMesh",PART)
  577. MSH.MeshType = "Sphere"
  578. elseif TYPE == "Wedge" then
  579. local MSH = IT("SpecialMesh",PART)
  580. MSH.MeshType = "Wedge"
  581. end
  582. end
  583.  
  584. function SpawnTrail(FROM,TO,BIG)
  585. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  586. MakeForm(TRAIL,"Cyl")
  587. local DIST = (FROM - TO).Magnitude
  588. if BIG == true then
  589. TRAIL.Size = VT(0.5,DIST,0.5)
  590. else
  591. TRAIL.Size = VT(0.25,DIST,0.25)
  592. end
  593. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  594. coroutine.resume(coroutine.create(function()
  595. for i = 1, 5 do
  596. Swait()
  597. TRAIL.Transparency = TRAIL.Transparency + 0.1
  598. end
  599. TRAIL:remove()
  600. end))
  601. end
  602.  
  603. Debris = game:GetService("Debris")
  604.  
  605. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  606. local DIRECTION = CF(StartPos,EndPos).lookVector
  607. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  608. end
  609.  
  610. function turnto(position)
  611. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  612. end
  613.  
  614. --//=================================\\
  615. --|| WEAPON CREATION
  616. --\\=================================//
  617.  
  618. local Particle = IT("ParticleEmitter",nil)
  619. Particle.Enabled = false
  620. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  621. Particle.LightEmission = 0.5
  622. Particle.Rate = 150
  623. Particle.ZOffset = 0.2
  624. Particle.Rotation = NumberRange.new(-180, 180)
  625. Particle.RotSpeed = NumberRange.new(-180, 180)
  626. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  627. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  628.  
  629. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  630. function ParticleEmitter(Table)
  631. local PRTCL = Particle:Clone()
  632. local Speed = Table.Speed or 5
  633. local Drag = Table.Drag or 0
  634. local Size1 = Table.Size1 or 1
  635. local Size2 = Table.Size2 or 5
  636. local Lifetime1 = Table.Lifetime1 or 1
  637. local Lifetime2 = Table.Lifetime2 or 1.5
  638. local Parent = Table.Parent or Torso
  639. local Emit = Table.Emit or 100
  640. local Offset = Table.Offset or 360
  641. local Acel = Table.Acel or VT(0,0,0)
  642. local Enabled = Table.Enabled or false
  643. PRTCL.Parent = Parent
  644. PRTCL.Size = NumberSequence.new(Size1,Size2)
  645. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  646. PRTCL.Speed = NumberRange.new(Speed)
  647. PRTCL.VelocitySpread = Offset
  648. PRTCL.Drag = Drag
  649. PRTCL.Acceleration = Acel
  650. if Enabled == false then
  651. PRTCL:Emit(Emit)
  652. Debris:AddItem(PRTCL,Lifetime2)
  653. else
  654. PRTCL.Enabled = true
  655. end
  656. return PRTCL
  657. end
  658.  
  659. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  660. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  661. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  662. MakeForm(Part,"Wedge")
  663. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  664. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  665. MakeForm(Part,"Wedge")
  666. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  667. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  668. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  669. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  670. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  671. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  672. MakeForm(Part,"Cyl")
  673. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  674. for i = 1, 8 do
  675. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  676. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  677. end
  678. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  679. MakeForm(Part,"Cyl")
  680. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  681. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  682. MakeForm(Part,"Ball")
  683. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  684. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  685. MakeForm(Part,"Wedge")
  686. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  687. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  688. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  689. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  690. MakeForm(Part,"Cyl")
  691. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  692. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  693. MakeForm(Part,"Cyl")
  694. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  695. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  696. MakeForm(Part,"Cyl")
  697. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  698. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  699. MakeForm(Part,"Wedge")
  700. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  701. local LASTPART = Handle
  702. for i = 1, 10 do
  703. if LASTPART == Handle then
  704. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  705. LASTPART = Part
  706. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  707. else
  708. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  709. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  710. LASTPART = Part
  711. end
  712. end
  713.  
  714. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  715. MakeForm(Barrel,"Cyl")
  716. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  717. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  718. MakeForm(Part,"Cyl")
  719. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  720. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  721. MakeForm(Part,"Wedge")
  722. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  723. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  724. MakeForm(Hole,"Cyl")
  725. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  726. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  727. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  728. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  729. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  730. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  731. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  732. coroutine.resume(coroutine.create(function()
  733. while wait() do
  734. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  735. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  736. end
  737. end))
  738.  
  739. 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)})
  740. --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)})
  741.  
  742. for _, c in pairs(Weapon:GetDescendants()) do
  743. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  744. c.Material = "Glass"
  745. c.Color = C3(0,0,0)
  746. elseif c.ClassName == "Part" and c.Name == "Eye" then
  747. c.Color = C3(1,0,0)
  748. c.Material = "Neon"
  749. end
  750. end
  751.  
  752. Weapon.Parent = Character
  753. for _, c in pairs(Weapon:GetChildren()) do
  754. if c.ClassName == "Part" then
  755. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  756. end
  757. end
  758.  
  759. local SKILLTEXTCOLOR = C3(1,0,0)
  760. local SKILLFONT = "Antique"
  761. local SKILLTEXTSIZE = 7
  762.  
  763. Humanoid.Died:connect(function()
  764. ATTACK = true
  765. end)
  766.  
  767. 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")
  768. --[[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")
  769. 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")
  770. 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")
  771. 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")
  772. ]]
  773. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  774. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  775. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  776. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  777. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  778. ]]
  779. function printbye(Name)
  780. 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, "}
  781. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  782. end
  783.  
  784. workspace.ChildAdded:connect(function(instance)
  785. for BANISH = 1, #TOBANISH do
  786. if TOBANISH[BANISH] ~= nil then
  787. if instance.Name == TOBANISH[BANISH] then
  788. coroutine.resume(coroutine.create(function()
  789. printbye(instance.Name)
  790. instance:ClearAllChildren()
  791. Debris:AddItem(instance,0.0005)
  792. end))
  793. end
  794. end
  795. end
  796. end)
  797.  
  798. --//=================================\\
  799. --|| DAMAGING
  800. --\\=================================//
  801.  
  802. function Banish(Foe)
  803. if Foe then
  804. coroutine.resume(coroutine.create(function()
  805. --if game.Players:FindFirstChild(Foe.Name) then
  806. table.insert(TOBANISH,Foe.Name)
  807. printbye(Foe.Name)
  808. --end
  809. Foe.Archivable = true
  810. local CLONE = Foe:Clone()
  811. Foe:Destroy()
  812. CLONE.Parent = Effects
  813. CLONE:BreakJoints()
  814. local MATERIALS = {"Glass","Neon"}
  815. for _, c in pairs(CLONE:GetDescendants()) do
  816. if c:IsA("BasePart") then
  817. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  818. CreateSound(340722848, c, 10, 1, false)
  819. end
  820. c.Anchored = true
  821. c.Transparency = c.Transparency + 0.2
  822. c.Material = MATERIALS[MRANDOM(1,2)]
  823. c.Color = C3(1,0,0)
  824. if c.ClassName == "MeshPart" then
  825. c.TextureID = ""
  826. end
  827. if c:FindFirstChildOfClass("SpecialMesh") then
  828. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  829. end
  830. if c:FindFirstChildOfClass("Decal") then
  831. c:FindFirstChildOfClass("Decal"):remove()
  832. end
  833. c.Name = "Banished"
  834. c.CanCollide = false
  835. else
  836. c:remove()
  837. end
  838. end
  839. local A = false
  840. for i = 1, 35 do
  841. if A == false then
  842. A = true
  843. elseif A == true then
  844. A = false
  845. end
  846. for _, c in pairs(CLONE:GetDescendants()) do
  847. if c:IsA("BasePart") then
  848. c.Anchored = true
  849. c.Material = MATERIALS[MRANDOM(1,2)]
  850. c.Transparency = c.Transparency + 0.8/35
  851. if A == false then
  852. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  853. elseif A == true then
  854. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  855. end
  856. end
  857. end
  858. Swait()
  859. end
  860. CLONE:remove()
  861. end))
  862. end
  863. end
  864.  
  865. function ApplyAoE(POSITION,RANGE,ISBANISH)
  866. local CHILDREN = workspace:GetDescendants()
  867. for index, CHILD in pairs(CHILDREN) do
  868. if CHILD.ClassName == "Model" and CHILD ~= Character then
  869. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  870. if HUM then
  871. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  872. if TORSO then
  873. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  874. if ISBANISH == true then
  875. Banish(CHILD)
  876. else
  877. if ISBANISH == "Gravity" then
  878. HUM.PlatformStand = true
  879. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  880. local grav = Instance.new("BodyPosition",TORSO)
  881. grav.D = 15
  882. grav.P = 20000
  883. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  884. grav.position = TORSO.Position
  885. grav.Name = "V3BanishForce"..Player.Name
  886. else
  887. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  888. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  889. end
  890. else
  891. HUM.PlatformStand = false
  892. end
  893. end
  894. elseif ISBANISH == "Gravity" then
  895. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  896. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  897. HUM.PlatformStand = false
  898. end
  899. end
  900. end
  901. end
  902. end
  903. end
  904. end
  905.  
  906. --//=================================\\
  907. --|| ATTACK FUNCTIONS AND STUFF
  908. --\\=================================//
  909.  
  910. function Shot()
  911. ATTACK = true
  912. Rooted = false
  913. for i=0, 0.4, 0.1 / Animation_Speed do
  914. Swait()
  915. turnto(Mouse.Hit.p)
  916. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  917. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  918. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  919. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  920. 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)
  921. 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)
  922. end
  923. repeat
  924. for i=0, 0.2, 0.1 / Animation_Speed do
  925. Swait()
  926. turnto(Mouse.Hit.p)
  927. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  928. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  929. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  930. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  931. 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)
  932. 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)
  933. end
  934. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  935. SpawnTrail(Hole.Position,POS)
  936. if HIT ~= nil then
  937. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  938. Banish(HIT.Parent)
  939. end
  940. end
  941. 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,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  942. 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,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  943. 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,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  944. 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,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  945. for i=0, 0.3, 0.1 / Animation_Speed do
  946. Swait()
  947. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  948. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  949. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  950. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  951. 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)
  952. 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)
  953. end
  954. until KEYHOLD == false
  955. ATTACK = false
  956. Rooted = false
  957. end
  958.  
  959. function AttackTemplate()
  960. ATTACK = true
  961. Rooted = false
  962. for i=0, 1, 0.1 / Animation_Speed do
  963. Swait()
  964. 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)
  965. 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)
  966. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  967. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  968. 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)
  969. 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)
  970. end
  971. ATTACK = false
  972. Rooted = false
  973. end
  974.  
  975. --//=================================\\
  976. --|| ASSIGN THINGS TO KEYS
  977. --\\=================================//
  978.  
  979. function MouseDown(Mouse)
  980. if ATTACK == false then
  981. end
  982. end
  983.  
  984. function MouseUp(Mouse)
  985. HOLD = false
  986. end
  987.  
  988. function KeyDown(Key)
  989. KEYHOLD = true
  990. if Key == "z" and ATTACK == false then
  991. Shot()
  992. end
  993.  
  994. if Key == "b" and ATTACK == false then
  995. end
  996.  
  997. if Key == "c" and ATTACK == false then
  998. end
  999.  
  1000. if Key == "v" and ATTACK == false then
  1001. end
  1002.  
  1003. if Key == "x" and ATTACK == false then
  1004. end
  1005. end
  1006.  
  1007. function KeyUp(Key)
  1008. KEYHOLD = false
  1009. end
  1010.  
  1011. Mouse.Button1Down:connect(function(NEWKEY)
  1012. MouseDown(NEWKEY)
  1013. end)
  1014. Mouse.Button1Up:connect(function(NEWKEY)
  1015. MouseUp(NEWKEY)
  1016. end)
  1017. Mouse.KeyDown:connect(function(NEWKEY)
  1018. KeyDown(NEWKEY)
  1019. end)
  1020. Mouse.KeyUp:connect(function(NEWKEY)
  1021. KeyUp(NEWKEY)
  1022. end)
  1023.  
  1024. --//=================================\\
  1025. --\\=================================//
  1026.  
  1027.  
  1028. function unanchor()
  1029. if UNANCHOR == true then
  1030. g = Character:GetChildren()
  1031. for i = 1, #g do
  1032. if g[i].ClassName == "Part" then
  1033. g[i].Anchored = false
  1034. end
  1035. end
  1036. end
  1037. end
  1038.  
  1039.  
  1040. --//=================================\\
  1041. --|| WRAP THE WHOLE SCRIPT UP
  1042. --\\=================================//
  1043.  
  1044. Humanoid.Changed:connect(function(Jump)
  1045. if Jump == "Jump" and (Disable_Jump == true) then
  1046. Humanoid.Jump = false
  1047. end
  1048. end)
  1049.  
  1050. local CONNECT = nil
  1051.  
  1052. while true do
  1053. Swait()
  1054. ANIMATE.Parent = nil
  1055. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1056. Humanoid = IT("Humanoid",Character)
  1057. end
  1058. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1059. v:Stop();
  1060. end
  1061. SINE = SINE + CHANGE
  1062. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1063. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1064. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1065. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1066. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1067. 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)
  1068. 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)
  1069. 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)
  1070. 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)
  1071. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1072. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1073. 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)
  1074. 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)
  1075. 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)
  1076. end
  1077. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1078. ANIM = "Jump"
  1079. if ATTACK == false then
  1080. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1081. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1082. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1083. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1084. 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)
  1085. 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)
  1086. end
  1087. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1088. ANIM = "Fall"
  1089. if ATTACK == false then
  1090. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1091. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1092. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1093. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1094. 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)
  1095. 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)
  1096. end
  1097. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1098. ANIM = "Idle"
  1099. if ATTACK == false then
  1100. 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)
  1101. 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)
  1102. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1103. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1104. 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)
  1105. 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)
  1106. end
  1107. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1108. ANIM = "Walk"
  1109. if ATTACK == false then
  1110. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1111. 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)
  1112. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1113. 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)
  1114. 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)
  1115. 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)
  1116. end
  1117. end
  1118. unanchor()
  1119. Humanoid.MaxHealth = "inf"
  1120. Humanoid.Health = "inf"
  1121. if Rooted == false then
  1122. Disable_Jump = false
  1123. Humanoid.WalkSpeed = Speed
  1124. elseif Rooted == true then
  1125. Disable_Jump = true
  1126. Humanoid.WalkSpeed = 0
  1127. end
  1128. sick.Parent = Torso
  1129. sick:resume()
  1130. sick.Volume = 8.2
  1131. sick.Pitch = 1
  1132. sick.SoundId = "rbxassetid://900318768"
  1133. sick.Name = "Dead"
  1134. end
  1135.  
  1136. --//=================================\\
  1137. --\\=================================//
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143. --//====================================================\\--
  1144. --|| END OF SCRIPT
  1145. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement