Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 114.99 KB | None | 0 0
  1. script.Name = "Banisher Gun V3 / 1"
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. wait(0.2)
  7. -- This script has been converted to FE by iPxter
  8.  
  9.  
  10. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  11. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  12. do
  13. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  14. script.Parent = Player.Character
  15.  
  16. --RemoteEvent for communicating
  17. local Event = Instance.new("RemoteEvent")
  18. Event.Name = "UserInput_Event"
  19.  
  20. --Fake event to make stuff like Mouse.KeyDown work
  21. local function fakeEvent()
  22. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  23. t.connect = t.Connect
  24. return t
  25. end
  26.  
  27. --Creating fake input objects with fake variables
  28. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  29. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  30. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  31. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  32. end}
  33. --Merged 2 functions into one by checking amount of arguments
  34. CAS.UnbindAction = CAS.BindAction
  35.  
  36. --This function will trigger the events that have been :Connect()'ed
  37. local function te(self,ev,...)
  38. local t = m[ev]
  39. if t and t._fakeEvent and t.Function then
  40. t.Function(...)
  41. end
  42. end
  43. m.TrigEvent = te
  44. UIS.TrigEvent = te
  45.  
  46. Event.OnServerEvent:Connect(function(plr,io)
  47. if plr~=Player then return end
  48. if io.isMouse then
  49. m.Target = io.Target
  50. m.Hit = io.Hit
  51. else
  52. local b = io.UserInputState == Enum.UserInputState.Begin
  53. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  54. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  55. end
  56. for _,t in pairs(CAS.Actions) do
  57. for _,k in pairs(t.Keys) do
  58. if k==io.KeyCode then
  59. t.Function(t.Name,io.UserInputState,io)
  60. end
  61. end
  62. end
  63. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  64. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  65. end
  66. end)
  67. Event.Parent = NLS([==[
  68. local Player = game:GetService("Players").LocalPlayer
  69. local Event = script:WaitForChild("UserInput_Event")
  70.  
  71. local UIS = game:GetService("UserInputService")
  72. local input = function(io,a)
  73. if a then return end
  74. --Since InputObject is a client-side instance, we create and pass table instead
  75. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  76. end
  77. UIS.InputBegan:Connect(input)
  78. UIS.InputEnded:Connect(input)
  79.  
  80. local Mouse = Player:GetMouse()
  81. local h,t
  82. --Give the server mouse data 30 times every second, but only if the values changed
  83. --If player is not moving their mouse, client won't fire events
  84. while wait(1/30) do
  85. if h~=Mouse.Hit or t~=Mouse.Target then
  86. h,t=Mouse.Hit,Mouse.Target
  87. Event:FireServer({isMouse=true,Target=t,Hit=h})
  88. end
  89. end]==],Player.Character)
  90. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  91. end
  92.  
  93. Player = owner
  94. PlayerGui = Player.PlayerGui
  95. Cam = workspace.CurrentCamera
  96. Backpack = Player.Backpack
  97. Character = Player.Character
  98. Humanoid = Character.Humanoid
  99. RootPart = Character["HumanoidRootPart"]
  100. Torso = Character["Torso"]
  101. Head = Character["Head"]
  102. RightArm = Character["Right Arm"]
  103. LeftArm = Character["Left Arm"]
  104. RightLeg = Character["Right Leg"]
  105. LeftLeg = Character["Left Leg"]
  106. RootJoint = RootPart["RootJoint"]
  107. Neck = Torso["Neck"]
  108. RightShoulder = Torso["Right Shoulder"]
  109. LeftShoulder = Torso["Left Shoulder"]
  110. RightHip = Torso["Right Hip"]
  111. LeftHip = Torso["Left Hip"]
  112. local sick = Instance.new("Sound",Torso)
  113. sick.SoundId = "rbxassetid://1305217471"
  114. sick.Looped = true
  115. sick.Pitch = 1
  116. sick.Volume = 2
  117. sick.TimePosition = 110
  118. Character.Archivable = true
  119. Humanoid.DisplayDistanceType = "None"
  120.  
  121. local naeeym2 = Instance.new("BillboardGui",Character)
  122. naeeym2.AlwaysOnTop = true
  123. naeeym2.Size = UDim2.new(5,35,2,35)
  124. naeeym2.StudsOffset = Vector3.new(0,3,0)
  125. naeeym2.Adornee = Character.Head
  126. naeeym2.Name = "Name"
  127. local tecks2 = Instance.new("TextLabel",naeeym2)
  128. tecks2.BackgroundTransparency = 1
  129. tecks2.TextScaled = true
  130. tecks2.BorderSizePixel = 0
  131. tecks2.Text = "D34TH B4N15H"
  132. tecks2.Font = "Code"
  133. tecks2.TextSize = 30
  134. tecks2.TextTransparency = 1
  135. tecks2.TextStrokeTransparency = 1
  136. tecks2.TextColor3 = Color3.new(1/0,0/1,1/0)
  137. tecks2.Size = UDim2.new(1,0,0.5,0)
  138. tecks2.Parent = naeeym2
  139.  
  140. IT = Instance.new
  141. CF = CFrame.new
  142. VT = Vector3.new
  143. RAD = math.rad
  144. C3 = Color3.new
  145. UD2 = UDim2.new
  146. BRICKC = BrickColor.new
  147. ANGLES = CFrame.Angles
  148. EULER = CFrame.fromEulerAnglesXYZ
  149. COS = math.cos
  150. ACOS = math.acos
  151. SIN = math.sin
  152. ASIN = math.asin
  153. ABS = math.abs
  154. MRANDOM = math.random
  155. FLOOR = math.floor
  156.  
  157. --//=================================\\
  158. --|| USEFUL VALUES
  159. --\\=================================//
  160.  
  161. Animation_Speed = 3
  162. local FORCERESET = false
  163. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  164. local Speed = 16
  165. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  166. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  167. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  168. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  169. local DAMAGEMULTIPLIER = 1
  170. local ANIM = "Idle"
  171. local ATTACK = false
  172. local EQUIPPED = false
  173. local HOLD = false
  174. local COMBO = 1
  175. local Rooted = false
  176. local INTRO = false
  177. local Gun = IT("Model")
  178. Gun.Name = "Gun"
  179. local SINE = 0
  180. local KEYHOLD = false
  181. local CHANGE = 2 / Animation_Speed
  182. local WALKINGANIM = false
  183. local VALUE1 = false
  184. local VALUE2 = false
  185. local ROBLOXIDLEANIMATION = IT("Animation")
  186. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  187. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  188. --ROBLOXIDLEANIMATION.Parent = Humanoid
  189. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  190. WEAPONGUI.Name = "BanishV3Gui"
  191. local Weapon = IT("Model")
  192. Weapon.Name = "Adds"
  193. local Effects = IT("Folder", Weapon)
  194. Effects.Name = "Effects"
  195. local ANIMATOR = Humanoid.Animator
  196. local ANIMATE = Character:FindFirstChild("Animate")
  197. local UNANCHOR = true
  198. local TOBANISH = {}
  199. script.Parent = PlayerGui
  200.  
  201. --//=================================\\
  202. --\\=================================//
  203.  
  204.  
  205. --//=================================\\
  206. --|| CUSTOMIZATION
  207. --\\=================================//
  208.  
  209. Class_Name = "Sharpshooter"
  210. Weapon_Name = "Add-ons"
  211.  
  212. Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  213. Custom_Color_2 = BRICKC("Maroon"); --2nd color for the weapon.
  214.  
  215. Custom_Color_3 = BRICKC("Really red"); --Color for the abilities.
  216. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  217. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  218. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  219. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  220.  
  221. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  222. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  223. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  224. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  225. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  226.  
  227.  
  228. Player_Size = 1 --Size of the player.
  229. Animation_Speed = 3
  230. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  231.  
  232. local Speed = 16
  233. local Effects2 = {}
  234.  
  235. --//=================================\\
  236. --|| END OF CUSTOMIZATION
  237. --\\=================================//
  238.  
  239.  
  240. --//=================================\\
  241. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  242. --\\=================================//
  243.  
  244. ArtificialHB = Instance.new("BindableEvent", script)
  245. ArtificialHB.Name = "ArtificialHB"
  246.  
  247. script:WaitForChild("ArtificialHB")
  248.  
  249. frame = Frame_Speed
  250. tf = 0
  251. allowframeloss = false
  252. tossremainder = false
  253. lastframe = tick()
  254. script.ArtificialHB:Fire()
  255.  
  256. game:GetService("RunService").Heartbeat:connect(function(s, p)
  257. tf = tf + s
  258. if tf >= frame then
  259. if allowframeloss then
  260. script.ArtificialHB:Fire()
  261. lastframe = tick()
  262. else
  263. for i = 1, math.floor(tf / frame) do
  264. script.ArtificialHB:Fire()
  265. end
  266. lastframe = tick()
  267. end
  268. if tossremainder then
  269. tf = 0
  270. else
  271. tf = tf - frame * math.floor(tf / frame)
  272. end
  273. end
  274. end)
  275.  
  276. --//=================================\\
  277. --\\=================================//
  278.  
  279. --//=================================\\
  280. --|| SOME FUNCTIONS
  281. --\\=================================//
  282.  
  283. function Clerp(a, b, t)
  284. local qa = {QuaternionFromCFrame(a)}
  285. local qb = {QuaternionFromCFrame(b)}
  286. local ax, ay, az = a.x, a.y, a.z
  287. local bx, by, bz = b.x, b.y, b.z
  288. local _t = 1 - t
  289. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  290. end
  291.  
  292. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  293. local frame = IT("Frame")
  294. frame.BackgroundTransparency = TRANSPARENCY
  295. frame.BorderSizePixel = BORDERSIZEPIXEL
  296. frame.Position = POSITION
  297. frame.Size = SIZE
  298. frame.BackgroundColor3 = COLOR
  299. frame.BorderColor3 = BORDERCOLOR
  300. frame.Name = NAME
  301. frame.Parent = PARENT
  302. return frame
  303. end
  304.  
  305. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  306. local label = IT("TextLabel")
  307. label.BackgroundTransparency = 1
  308. label.Size = UD2(1, 0, 1, 0)
  309. label.Position = UD2(0, 0, 0, 0)
  310. label.TextColor3 = TEXTCOLOR
  311. label.TextStrokeTransparency = STROKETRANSPARENCY
  312. label.TextTransparency = TRANSPARENCY
  313. label.FontSize = TEXTFONTSIZE
  314. label.Font = TEXTFONT
  315. label.BorderSizePixel = BORDERSIZEPIXEL
  316. label.TextScaled = false
  317. label.Text = TEXT
  318. label.Name = NAME
  319. label.Parent = PARENT
  320. return label
  321. end
  322.  
  323. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  324. if FLOOR ~= nil then
  325. coroutine.resume(coroutine.create(function()
  326. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  327. PART.CFrame = CF(POSITION)
  328. for i = 1, 45 do
  329. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  330. RingPiece.Material = FLOOR.Material
  331. RingPiece.Color = FLOOR.Color
  332. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  333. Debris:AddItem(RingPiece,SWAIT)
  334. end
  335. PART:remove()
  336. end))
  337. end
  338. end
  339.  
  340. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  341. if FLOOR ~= nil then
  342. for i = 1, AMOUNT do
  343. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  344. DEBREE.Material = FLOOR.Material
  345. DEBREE.Color = FLOOR.Color
  346. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  347. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  348. coroutine.resume(coroutine.create(function()
  349. Swait(15)
  350. DEBREE.Parent = workspace
  351. DEBREE.CanCollide = true
  352. Debris:AddItem(DEBREE,SWAIT)
  353. end))
  354. end
  355. end
  356. end
  357.  
  358. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  359. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  360. end
  361.  
  362. function PositiveAngle(NUMBER)
  363. if NUMBER >= 0 then
  364. NUMBER = 0
  365. end
  366. return NUMBER
  367. end
  368.  
  369. function NegativeAngle(NUMBER)
  370. if NUMBER <= 0 then
  371. NUMBER = 0
  372. end
  373. return NUMBER
  374. end
  375.  
  376. function Swait(NUMBER)
  377. if NUMBER == 0 or NUMBER == nil then
  378. ArtificialHB.Event:wait()
  379. else
  380. for i = 1, NUMBER do
  381. ArtificialHB.Event:wait()
  382. end
  383. end
  384. end
  385.  
  386. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  387. local NEWMESH = IT(MESH)
  388. if MESH == "SpecialMesh" then
  389. NEWMESH.MeshType = MESHTYPE
  390. if MESHID ~= "nil" and MESHID ~= "" then
  391. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  392. end
  393. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  394. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  395. end
  396. end
  397. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  398. NEWMESH.Scale = SCALE
  399. NEWMESH.Parent = PARENT
  400. return NEWMESH
  401. end
  402.  
  403. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  404. local NEWPART = IT("Part")
  405. NEWPART.formFactor = FORMFACTOR
  406. NEWPART.Reflectance = REFLECTANCE
  407. NEWPART.Transparency = TRANSPARENCY
  408. NEWPART.CanCollide = false
  409. NEWPART.Locked = true
  410. NEWPART.Anchored = true
  411. if ANCHOR == false then
  412. NEWPART.Anchored = false
  413. end
  414. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  415. NEWPART.Name = NAME
  416. NEWPART.Size = SIZE
  417. NEWPART.Position = Torso.Position
  418. NEWPART.Material = MATERIAL
  419. NEWPART:BreakJoints()
  420. NEWPART.Parent = PARENT
  421. return NEWPART
  422. end
  423.  
  424. local function weldBetween(a, b)
  425. local weldd = Instance.new("ManualWeld")
  426. weldd.Part0 = a
  427. weldd.Part1 = b
  428. weldd.C0 = CFrame.new()
  429. weldd.C1 = b.CFrame:inverse() * a.CFrame
  430. weldd.Parent = a
  431. return weldd
  432. end
  433.  
  434.  
  435. function QuaternionFromCFrame(cf)
  436. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  437. local trace = m00 + m11 + m22
  438. if trace > 0 then
  439. local s = math.sqrt(1 + trace)
  440. local recip = 0.5 / s
  441. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  442. else
  443. local i = 0
  444. if m11 > m00 then
  445. i = 1
  446. end
  447. if m22 > (i == 0 and m00 or m11) then
  448. i = 2
  449. end
  450. if i == 0 then
  451. local s = math.sqrt(m00 - m11 - m22 + 1)
  452. local recip = 0.5 / s
  453. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  454. elseif i == 1 then
  455. local s = math.sqrt(m11 - m22 - m00 + 1)
  456. local recip = 0.5 / s
  457. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  458. elseif i == 2 then
  459. local s = math.sqrt(m22 - m00 - m11 + 1)
  460. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  461. end
  462. end
  463. end
  464.  
  465. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  466. local xs, ys, zs = x + x, y + y, z + z
  467. local wx, wy, wz = w * xs, w * ys, w * zs
  468. local xx = x * xs
  469. local xy = x * ys
  470. local xz = x * zs
  471. local yy = y * ys
  472. local yz = y * zs
  473. local zz = z * zs
  474. 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))
  475. end
  476.  
  477. function QuaternionSlerp(a, b, t)
  478. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  479. local startInterp, finishInterp;
  480. if cosTheta >= 0.0001 then
  481. if (1 - cosTheta) > 0.0001 then
  482. local theta = ACOS(cosTheta)
  483. local invSinTheta = 1 / SIN(theta)
  484. startInterp = SIN((1 - t) * theta) * invSinTheta
  485. finishInterp = SIN(t * theta) * invSinTheta
  486. else
  487. startInterp = 1 - t
  488. finishInterp = t
  489. end
  490. else
  491. if (1 + cosTheta) > 0.0001 then
  492. local theta = ACOS(-cosTheta)
  493. local invSinTheta = 1 / SIN(theta)
  494. startInterp = SIN((t - 1) * theta) * invSinTheta
  495. finishInterp = SIN(t * theta) * invSinTheta
  496. else
  497. startInterp = t - 1
  498. finishInterp = t
  499. end
  500. end
  501. 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
  502. end
  503.  
  504. function Clerp(a, b, t)
  505. local qa = {QuaternionFromCFrame(a)}
  506. local qb = {QuaternionFromCFrame(b)}
  507. local ax, ay, az = a.x, a.y, a.z
  508. local bx, by, bz = b.x, b.y, b.z
  509. local _t = 1 - t
  510. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  511. end
  512.  
  513. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  514. local frame = IT("Frame")
  515. frame.BackgroundTransparency = TRANSPARENCY
  516. frame.BorderSizePixel = BORDERSIZEPIXEL
  517. frame.Position = POSITION
  518. frame.Size = SIZE
  519. frame.BackgroundColor3 = COLOR
  520. frame.BorderColor3 = BORDERCOLOR
  521. frame.Name = NAME
  522. frame.Parent = PARENT
  523. return frame
  524. end
  525.  
  526. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  527. local label = IT("TextLabel")
  528. label.BackgroundTransparency = 1
  529. label.Size = UD2(1, 0, 1, 0)
  530. label.Position = UD2(0, 0, 0, 0)
  531. label.TextColor3 = TEXTCOLOR
  532. label.TextStrokeTransparency = STROKETRANSPARENCY
  533. label.TextTransparency = TRANSPARENCY
  534. label.FontSize = TEXTFONTSIZE
  535. label.Font = TEXTFONT
  536. label.BorderSizePixel = BORDERSIZEPIXEL
  537. label.TextScaled = false
  538. label.Text = TEXT
  539. label.Name = NAME
  540. label.Parent = PARENT
  541. return label
  542. end
  543.  
  544. function NoOutlines(PART)
  545. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  546. end
  547.  
  548. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  549. local NEWWELD = IT(TYPE)
  550. NEWWELD.Part0 = PART0
  551. NEWWELD.Part1 = PART1
  552. NEWWELD.C0 = C0
  553. NEWWELD.C1 = C1
  554. NEWWELD.Parent = PARENT
  555. return NEWWELD
  556. end
  557.  
  558. local S = IT("Sound")
  559. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  560. local NEWSOUND = nil
  561. coroutine.resume(coroutine.create(function()
  562. NEWSOUND = S:Clone()
  563. NEWSOUND.Parent = PARENT
  564. NEWSOUND.Volume = VOLUME
  565. NEWSOUND.Pitch = PITCH
  566. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  567. NEWSOUND:play()
  568. if DOESLOOP == true then
  569. NEWSOUND.Looped = true
  570. else
  571. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  572. NEWSOUND:remove()
  573. end
  574. end))
  575. return NEWSOUND
  576. end
  577.  
  578. function CFrameFromTopBack(at, top, back)
  579. local right = top:Cross(back)
  580. 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)
  581. end
  582.  
  583. --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})
  584. function WACKYEFFECT(Table)
  585. local TYPE = (Table.EffectType or "Sphere")
  586. local SIZE = (Table.Size or VT(1,1,1))
  587. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  588. local TRANSPARENCY = (Table.Transparency or 0)
  589. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  590. local CFRAME = (Table.CFrame or Torso.CFrame)
  591. local MOVEDIRECTION = (Table.MoveToPos or nil)
  592. local ROTATION1 = (Table.RotationX or 0)
  593. local ROTATION2 = (Table.RotationY or 0)
  594. local ROTATION3 = (Table.RotationZ or 0)
  595. local MATERIAL = (Table.Material or "Neon")
  596. local COLOR = (Table.Color or C3(1,1,1))
  597. local TIME = (Table.Time or 45)
  598. local SOUNDID = (Table.SoundID or nil)
  599. local SOUNDPITCH = (Table.SoundPitch or nil)
  600. local SOUNDVOLUME = (Table.SoundVolume or nil)
  601. coroutine.resume(coroutine.create(function()
  602. local PLAYSSOUND = false
  603. local SOUND = nil
  604. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  605. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  606. PLAYSSOUND = true
  607. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  608. end
  609. EFFECT.Color = COLOR
  610. local MSH = nil
  611. if TYPE == "Sphere" then
  612. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  613. elseif TYPE == "Block" then
  614. MSH = IT("BlockMesh",EFFECT)
  615. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  616. elseif TYPE == "Wave" then
  617. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  618. elseif TYPE == "Ring" then
  619. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  620. elseif TYPE == "Slash" then
  621. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  622. elseif TYPE == "Round Slash" then
  623. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  624. elseif TYPE == "Swirl" then
  625. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  626. elseif TYPE == "Skull" then
  627. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  628. elseif TYPE == "Crystal" then
  629. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  630. end
  631. if MSH ~= nil then
  632. local MOVESPEED = nil
  633. if MOVEDIRECTION ~= nil then
  634. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  635. end
  636. local GROWTH = SIZE - ENDSIZE
  637. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  638. if TYPE == "Block" then
  639. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  640. else
  641. EFFECT.CFrame = CFRAME
  642. end
  643. for LOOP = 1, TIME+1 do
  644. Swait()
  645. MSH.Scale = MSH.Scale - GROWTH/TIME
  646. if TYPE == "Wave" then
  647. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  648. end
  649. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  650. if TYPE == "Block" then
  651. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  652. else
  653. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  654. end
  655. if MOVEDIRECTION ~= nil then
  656. local ORI = EFFECT.Orientation
  657. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  658. EFFECT.Orientation = ORI
  659. end
  660. end
  661. if PLAYSSOUND == false then
  662. EFFECT:remove()
  663. else
  664. SOUND.Stopped:Connect(function()
  665. EFFECT:remove()
  666. end)
  667. end
  668. else
  669. if PLAYSSOUND == false then
  670. EFFECT:remove()
  671. else
  672. repeat Swait() until SOUND.Playing == false
  673. EFFECT:remove()
  674. end
  675. end
  676. end))
  677. end
  678.  
  679. local DECAL = IT("Decal")
  680. function MakeRing()
  681. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Really red"), "MagicRing", VT(0, 0, 0), true)
  682. local MSH = IT("BlockMesh", RING)
  683. local TOP = DECAL:Clone()
  684. local BOTTOM = DECAL:Clone()
  685. TOP.Parent = RING
  686. BOTTOM.Parent = RING
  687. TOP.Face = "Top"
  688. BOTTOM.Face = "Bottom"
  689. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  690. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  691. local function REMOVE()
  692. coroutine.resume(coroutine.create(function()
  693. local SIZE = MSH.Scale.X
  694. for i = 1, 35 do
  695. Swait()
  696. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  697. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  698. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  699. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  700. end
  701. RING:remove()
  702. end))
  703. end
  704. return RING, MSH, REMOVE
  705. end
  706.  
  707. function MakeForm(PART,TYPE)
  708. if TYPE == "Cyl" then
  709. local MSH = IT("CylinderMesh",PART)
  710. elseif TYPE == "Ball" then
  711. local MSH = IT("SpecialMesh",PART)
  712. MSH.MeshType = "Sphere"
  713. elseif TYPE == "Wedge" then
  714. local MSH = IT("SpecialMesh",PART)
  715. MSH.MeshType = "Wedge"
  716. end
  717. end
  718.  
  719. function SpawnTrail(FROM,TO,BIG)
  720. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  721. MakeForm(TRAIL,"Cyl")
  722. local DIST = (FROM - TO).Magnitude
  723. if BIG == true then
  724. TRAIL.Size = VT(0.5,DIST,0.5)
  725. else
  726. TRAIL.Size = VT(0.25,DIST,0.25)
  727. end
  728. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  729. coroutine.resume(coroutine.create(function()
  730. for i = 1, 5 do
  731. Swait()
  732. TRAIL.Transparency = TRAIL.Transparency + 0.1
  733. end
  734. TRAIL:remove()
  735. end))
  736. end
  737. --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})
  738. function WACKYEFFECT(Table)
  739. local TYPE = (Table.EffectType or "Sphere")
  740. local SIZE = (Table.Size or VT(1,1,1))
  741. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  742. local TRANSPARENCY = (Table.Transparency or 0)
  743. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  744. local CFRAME = (Table.CFrame or Torso.CFrame)
  745. local MOVEDIRECTION = (Table.MoveToPos or nil)
  746. local ROTATION1 = (Table.RotationX or 0)
  747. local ROTATION2 = (Table.RotationY or 0)
  748. local ROTATION3 = (Table.RotationZ or 0)
  749. local MATERIAL = (Table.Material or "Neon")
  750. local COLOR = (Table.Color or C3(1,1,1))
  751. local TIME = (Table.Time or 45)
  752. local SOUNDID = (Table.SoundID or nil)
  753. local SOUNDPITCH = (Table.SoundPitch or nil)
  754. local SOUNDVOLUME = (Table.SoundVolume or nil)
  755. coroutine.resume(coroutine.create(function()
  756. local PLAYSSOUND = false
  757. local SOUND = nil
  758. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  759. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  760. PLAYSSOUND = true
  761. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  762. end
  763. EFFECT.Color = COLOR
  764. local MSH = nil
  765. if TYPE == "Sphere" then
  766. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  767. elseif TYPE == "Block" then
  768. MSH = IT("BlockMesh",EFFECT)
  769. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  770. elseif TYPE == "Wave" then
  771. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  772. elseif TYPE == "Ring" then
  773. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  774. elseif TYPE == "Slash" then
  775. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  776. elseif TYPE == "Round Slash" then
  777. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  778. elseif TYPE == "Swirl" then
  779. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  780. elseif TYPE == "Skull" then
  781. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  782. elseif TYPE == "Crystal" then
  783. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  784. end
  785. if MSH ~= nil then
  786. local MOVESPEED = nil
  787. if MOVEDIRECTION ~= nil then
  788. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  789. end
  790. local GROWTH = SIZE - ENDSIZE
  791. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  792. if TYPE == "Block" then
  793. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  794. else
  795. EFFECT.CFrame = CFRAME
  796. end
  797. for LOOP = 1, TIME+1 do
  798. Swait()
  799. MSH.Scale = MSH.Scale - GROWTH/TIME
  800. if TYPE == "Wave" then
  801. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  802. end
  803. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  804. if TYPE == "Block" then
  805. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  806. else
  807. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  808. end
  809. if MOVEDIRECTION ~= nil then
  810. local ORI = EFFECT.Orientation
  811. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  812. EFFECT.Orientation = ORI
  813. end
  814. end
  815. if PLAYSSOUND == false then
  816. EFFECT:remove()
  817. else
  818. SOUND.Stopped:Connect(function()
  819. EFFECT:remove()
  820. end)
  821. end
  822. else
  823. if PLAYSSOUND == false then
  824. EFFECT:remove()
  825. else
  826. repeat Swait() until SOUND.Playing == false
  827. EFFECT:remove()
  828. end
  829. end
  830. end))
  831. end
  832.  
  833. function MakeForm(PART,TYPE)
  834. if TYPE == "Cyl" then
  835. local MSH = IT("CylinderMesh",PART)
  836. elseif TYPE == "Ball" then
  837. local MSH = IT("SpecialMesh",PART)
  838. MSH.MeshType = "Sphere"
  839. elseif TYPE == "Wedge" then
  840. local MSH = IT("SpecialMesh",PART)
  841. MSH.MeshType = "Wedge"
  842. end
  843. end
  844.  
  845. function SpawnTrail(FROM,TO,BIG)
  846. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  847. MakeForm(TRAIL,"Cyl")
  848. local DIST = (FROM - TO).Magnitude
  849. if BIG == true then
  850. TRAIL.Size = VT(0.5,DIST,0.5)
  851. else
  852. TRAIL.Size = VT(0.25,DIST,0.25)
  853. end
  854. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  855. coroutine.resume(coroutine.create(function()
  856. for i = 1, 5 do
  857. Swait()
  858. TRAIL.Transparency = TRAIL.Transparency + 0.1
  859. end
  860. TRAIL:remove()
  861. end))
  862. end
  863.  
  864. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  865. local TORSO = Torso
  866. local HUM = Humanoid
  867. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  868. coroutine.wrap(function()
  869. VT = Vector3.new
  870. MRANDOM = math.random
  871. local A = TIME
  872. local B = INTENSITY
  873. local C = true
  874. local HUMANOID = Humanoid
  875. local TIMER = A or 35
  876. local SHAKE = B or 5
  877. local FADE = C or true
  878. if HUMANOID then
  879. local FADER = SHAKE / TIMER
  880. for i = 1, TIMER do
  881. wait()
  882. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  883. end
  884. HUMANOID.CameraOffset = VT(0, 0, 0)
  885. end
  886.  
  887. end)()
  888. end
  889. end
  890.  
  891. function chatfunc(text)
  892. local chat = coroutine.wrap(function()
  893. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  894. Character:FindFirstChild("TalkingBillBoard"):destroy()
  895. end
  896. local Bill = Instance.new("BillboardGui",Character)
  897. Bill.Size = UDim2.new(0,100,0,40)
  898. Bill.StudsOffset = Vector3.new(0,3,0)
  899. Bill.Adornee = Character.Head
  900. Bill.Name = "TalkingBillBoard"
  901. local Hehe = Instance.new("TextLabel",Bill)
  902. Hehe.BackgroundTransparency = 1
  903. Hehe.BorderSizePixel = 0
  904. Hehe.Text = ""
  905. Hehe.Font = "Bodoni"
  906. Hehe.TextSize = 40
  907. Hehe.TextStrokeTransparency = 0
  908. Hehe.Size = UDim2.new(1,0,0.5,0)
  909. coroutine.resume(coroutine.create(function()
  910. while Hehe ~= nil do
  911. Swait()
  912. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  913. Hehe.Rotation = math.random(-2.5,2.5)
  914. Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  915. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  916. end
  917. end))
  918. for i = 1,string.len(text),1 do
  919. Swait()
  920. Hehe.Text = string.sub(text,1,i)
  921. end
  922. Swait(90)--Re[math.random(1, 93)]
  923. for i = 0, 1, .025 do
  924. Swait()
  925. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  926. Hehe.TextStrokeTransparency = i
  927. Hehe.TextTransparency = i
  928. end
  929. Bill:Destroy()
  930. end)
  931. chat()
  932. end
  933.  
  934. Debris = game:GetService("Debris")
  935.  
  936. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  937. local DIRECTION = CF(StartPos,EndPos).lookVector
  938. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  939. end
  940.  
  941. function turnto(position)
  942. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  943. end
  944.  
  945. --//=================================\\
  946. --|| RAGDOLL STUFF
  947. --\\=================================//
  948.  
  949. function recurse(root,callback,i)
  950. i= i or 0
  951. for _,v in pairs(root:GetChildren()) do
  952. i = i + 1
  953. callback(i,v)
  954.  
  955. if #v:GetChildren() > 0 then
  956. i = recurse(v,callback,i)
  957. end
  958. end
  959.  
  960. return i
  961. end
  962.  
  963. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  964. attachmentName = attachmentName.."RigAttachment"
  965. local constraint = Instance.new(className.."Constraint")
  966. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  967. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  968. constraint.Name = "RagdollConstraint"..part1.Name
  969.  
  970. for _,propertyData in next,properties or {} do
  971. constraint[propertyData[1]] = propertyData[2]
  972. end
  973.  
  974. constraint.Parent = character
  975. end
  976.  
  977. function getAttachment0(character, attachmentName)
  978. for _,child in next,character:GetChildren() do
  979. local attachment = child:FindFirstChild(attachmentName)
  980. if attachment then
  981. return attachment
  982. end
  983. end
  984. end
  985.  
  986. function ArtificialHitbox(Part)
  987. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  988. HITBOX.CanCollide = true
  989. HITBOX.CFrame = Part.CFrame
  990. weldBetween(Part,HITBOX)
  991. end
  992.  
  993. function R15Ragdoll(character,KeepArms)
  994. character:BreakJoints()
  995. coroutine.resume(coroutine.create(function()
  996. recurse(character, function(_,v)
  997. if v:IsA("Attachment") then
  998. v.Axis = Vector3.new(0, 1, 0)
  999. v.SecondaryAxis = Vector3.new(0, 0, 1)
  1000. v.Rotation = Vector3.new(0, 0, 0)
  1001. end
  1002. end)
  1003. for _,child in next,character:GetChildren() do
  1004. if child:IsA("Accoutrement") then
  1005. for _,part in next,child:GetChildren() do
  1006. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1007. local attachment1 = part:FindFirstChildOfClass("Attachment")
  1008. local attachment0 = getAttachment0(character,attachment1.Name)
  1009. if attachment0 and attachment1 then
  1010. local constraint = Instance.new("HingeConstraint")
  1011. constraint.Attachment0 = attachment0
  1012. constraint.Attachment1 = attachment1
  1013. constraint.LimitsEnabled = true
  1014. constraint.UpperAngle = 0
  1015. constraint.LowerAngle = 0
  1016. constraint.Parent = character
  1017. end
  1018. ArtificialHitbox(part)
  1019. elseif part.Name == "HumanoidRootPart" then
  1020. part:remove()
  1021. end
  1022. end
  1023. end
  1024. end
  1025.  
  1026. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1027. {"LimitsEnabled",true};
  1028. {"UpperAngle",5};
  1029. })
  1030. if character:FindFirstChild("Head") then
  1031. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  1032. {"LimitsEnabled",true};
  1033. {"UpperAngle",15};
  1034. })
  1035. end
  1036.  
  1037. local handProperties = {
  1038. {"LimitsEnabled", true};
  1039. {"UpperAngle",0};
  1040. {"LowerAngle",0};
  1041. }
  1042. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1043. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1044.  
  1045. local shinProperties = {
  1046. {"LimitsEnabled", true};
  1047. {"UpperAngle", 0};
  1048. {"LowerAngle", -75};
  1049. }
  1050. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1051. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1052.  
  1053. local footProperties = {
  1054. {"LimitsEnabled", true};
  1055. {"UpperAngle", 15};
  1056. {"LowerAngle", -45};
  1057. }
  1058. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1059. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1060. if KeepArms == true then
  1061. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1062. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1063. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1064. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1065. end
  1066. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1067. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1068. Debris:AddItem(character,5)
  1069. end))
  1070. end
  1071.  
  1072. function Ragdoll(Character2,CharTorso,KeepArms)
  1073. coroutine.resume(coroutine.create(function()
  1074. Character2:BreakJoints()
  1075. local hum = Character2:findFirstChild("Humanoid")
  1076. hum:remove()
  1077. local function Scan(ch)
  1078. local e
  1079. for e = 1,#ch do
  1080. Scan(ch[e]:GetChildren())
  1081. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1082. ch[e]:remove()
  1083. end
  1084. end
  1085. end
  1086. local NEWHUM = IT("Humanoid")
  1087. NEWHUM.Name = "Corpse"
  1088. NEWHUM.Health = 0
  1089. NEWHUM.MaxHealth = 0
  1090. NEWHUM.PlatformStand = true
  1091. NEWHUM.Parent = Character2
  1092. NEWHUM.DisplayDistanceType = "None"
  1093.  
  1094. local ch = Character2:GetChildren()
  1095. local i
  1096. for i = 1,#ch do
  1097. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1098. ch[i]:remove()
  1099. end
  1100. end
  1101.  
  1102. local Torso2 = Character2.Torso
  1103. local movevector = Vector3.new()
  1104.  
  1105. if Torso2 then
  1106. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1107. local Head = Character2:FindFirstChild("Head")
  1108. if Head then
  1109. local Neck = Instance.new("Weld")
  1110. Neck.Name = "Neck"
  1111. Neck.Part0 = Torso2
  1112. Neck.Part1 = Head
  1113. Neck.C0 = CFrame.new(0, 1.5, 0)
  1114. Neck.C1 = CFrame.new()
  1115. Neck.Parent = Torso2
  1116.  
  1117. end
  1118. local Limb = Character2:FindFirstChild("Right Arm")
  1119. if Limb and KeepArms == true then
  1120.  
  1121. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1122. local Joint = Instance.new("Glue")
  1123. Joint.Name = "RightShoulder"
  1124. Joint.Part0 = Torso2
  1125. Joint.Part1 = Limb
  1126. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1127. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1128. Joint.Parent = Torso2
  1129.  
  1130. local B = Instance.new("Part")
  1131. B.TopSurface = 0
  1132. B.BottomSurface = 0
  1133. B.formFactor = "Symmetric"
  1134. B.Size = Vector3.new(1, 1, 1)
  1135. B.Transparency = 1
  1136. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1137. B.Parent = Character2
  1138. local W = Instance.new("Weld")
  1139. W.Part0 = Limb
  1140. W.Part1 = B
  1141. W.C0 = CFrame.new(0, -0.5, 0)
  1142. W.Parent = Limb
  1143.  
  1144. end
  1145. local Limb = Character2:FindFirstChild("Left Arm")
  1146. if Limb and KeepArms == true then
  1147.  
  1148. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1149. local Joint = Instance.new("Glue")
  1150. Joint.Name = "LeftShoulder"
  1151. Joint.Part0 = Torso2
  1152. Joint.Part1 = Limb
  1153. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1154. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1155. Joint.Parent = Torso2
  1156.  
  1157. local B = Instance.new("Part")
  1158. B.TopSurface = 0
  1159. B.BottomSurface = 0
  1160. B.formFactor = "Symmetric"
  1161. B.Size = Vector3.new(1, 1, 1)
  1162. B.Transparency = 1
  1163. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1164. B.Parent = Character2
  1165. local W = Instance.new("Weld")
  1166. W.Part0 = Limb
  1167. W.Part1 = B
  1168. W.C0 = CFrame.new(0, -0.5, 0)
  1169. W.Parent = Limb
  1170.  
  1171. end
  1172. local Limb = Character2:FindFirstChild("Right Leg")
  1173. if Limb then
  1174.  
  1175. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1176. local Joint = Instance.new("Glue")
  1177. Joint.Name = "RightHip"
  1178. Joint.Part0 = Torso2
  1179. Joint.Part1 = Limb
  1180. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1181. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1182. Joint.Parent = Torso2
  1183.  
  1184. local B = Instance.new("Part")
  1185. B.TopSurface = 0
  1186. B.BottomSurface = 0
  1187. B.formFactor = "Symmetric"
  1188. B.Size = Vector3.new(1, 1, 1)
  1189. B.Transparency = 1
  1190. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1191. B.Parent = Character2
  1192. local W = Instance.new("Weld")
  1193. W.Part0 = Limb
  1194. W.Part1 = B
  1195. W.C0 = CFrame.new(0, -0.5, 0)
  1196. W.Parent = Limb
  1197.  
  1198. end
  1199. local Limb = Character2:FindFirstChild("Left Leg")
  1200. if Limb then
  1201.  
  1202. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1203. local Joint = Instance.new("Glue")
  1204. Joint.Name = "LeftHip"
  1205. Joint.Part0 = Torso2
  1206. Joint.Part1 = Limb
  1207. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1208. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1209. Joint.Parent = Torso2
  1210.  
  1211. local B = Instance.new("Part")
  1212. B.TopSurface = 0
  1213. B.BottomSurface = 0
  1214. B.formFactor = "Symmetric"
  1215. B.Size = Vector3.new(1, 1, 1)
  1216. B.Transparency = 1
  1217. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1218. B.Parent = Character2
  1219. local W = Instance.new("Weld")
  1220. W.Part0 = Limb
  1221. W.Part1 = B
  1222. W.C0 = CFrame.new(0, -0.5, 0)
  1223. W.Parent = Limb
  1224.  
  1225. end
  1226. --[
  1227. local Bar = Instance.new("Part")
  1228. Bar.TopSurface = 0
  1229. Bar.BottomSurface = 0
  1230. Bar.formFactor = "Symmetric"
  1231. Bar.Size = Vector3.new(1, 1, 1)
  1232. Bar.Transparency = 1
  1233. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1234. Bar.Parent = Character2
  1235. local Weld = Instance.new("Weld")
  1236. Weld.Part0 = Torso2
  1237. Weld.Part1 = Bar
  1238. Weld.C0 = CFrame.new(0, 0.5, 0)
  1239. Weld.Parent = Torso2
  1240. --]]
  1241. end
  1242. Character2.Parent = workspace
  1243. Debris:AddItem(Character2,5)
  1244.  
  1245. return Character2,Torso2
  1246. end))
  1247. end
  1248.  
  1249. --//=================================\\
  1250. --|| WEAPON CREATION
  1251. --\\=================================//
  1252.  
  1253. local Particle = IT("ParticleEmitter",nil)
  1254. Particle.Enabled = false
  1255. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1256. Particle.LightEmission = 0.5
  1257. Particle.Rate = 150
  1258. Particle.ZOffset = 0.2
  1259. Particle.Rotation = NumberRange.new(-180, 180)
  1260. Particle.RotSpeed = NumberRange.new(-180, 180)
  1261. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1262. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1263.  
  1264. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1265. function ParticleEmitter(Table)
  1266. local PRTCL = Particle:Clone()
  1267. local Speed = Table.Speed or 5
  1268. local Drag = Table.Drag or 0
  1269. local Size1 = Table.Size1 or 1
  1270. local Size2 = Table.Size2 or 5
  1271. local Lifetime1 = Table.Lifetime1 or 1
  1272. local Lifetime2 = Table.Lifetime2 or 1.5
  1273. local Parent = Table.Parent or Torso
  1274. local Emit = Table.Emit or 100
  1275. local Offset = Table.Offset or 360
  1276. local Acel = Table.Acel or VT(0,0,0)
  1277. local Enabled = Table.Enabled or false
  1278. PRTCL.Parent = Parent
  1279. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1280. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1281. PRTCL.Speed = NumberRange.new(Speed)
  1282. PRTCL.VelocitySpread = Offset
  1283. PRTCL.Drag = Drag
  1284. PRTCL.Acceleration = Acel
  1285. if Enabled == false then
  1286. PRTCL:Emit(Emit)
  1287. Debris:AddItem(PRTCL,Lifetime2)
  1288. else
  1289. PRTCL.Enabled = true
  1290. end
  1291. return PRTCL
  1292. end
  1293.  
  1294. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1295. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1296. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1297. MakeForm(Part,"Wedge")
  1298. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1299. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1300. MakeForm(Part,"Wedge")
  1301. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1302. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1303. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1304. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1305. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1306. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1307. MakeForm(Part,"Cyl")
  1308. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1309. for i = 1, 8 do
  1310. local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1311. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1312. end
  1313. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1314. MakeForm(Part,"Cyl")
  1315. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1316. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1317. MakeForm(Part,"Ball")
  1318. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1319. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1320. MakeForm(Part,"Wedge")
  1321. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1322. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1323. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1324. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1325. MakeForm(Part,"Cyl")
  1326. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1327. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1328. MakeForm(Part,"Cyl")
  1329. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1330. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1331. MakeForm(Part,"Cyl")
  1332. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1333. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1334. MakeForm(Part,"Wedge")
  1335. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1336. local LASTPART = Handle
  1337. for i = 1, 10 do
  1338. if LASTPART == Handle then
  1339. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1340. LASTPART = Part
  1341. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1342. else
  1343. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1344. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1345. LASTPART = Part
  1346. end
  1347. end
  1348.  
  1349. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false)
  1350. MakeForm(Barrel,"Cyl")
  1351. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1352. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false)
  1353. MakeForm(Part,"Cyl")
  1354. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0))
  1355. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1356. MakeForm(Part,"Wedge")
  1357. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1358. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1359. MakeForm(Hole,"Cyl")
  1360. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
  1361. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1362. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1363. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1364. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1365. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1366. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1367. coroutine.resume(coroutine.create(function()
  1368. while wait() do
  1369. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(sick.PlaybackLoudness/60 + 0.05))
  1370. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05))
  1371. end
  1372. end))
  1373.  
  1374. 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)})
  1375. --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)})
  1376.  
  1377. for _, c in pairs(Gun:GetDescendants()) do
  1378. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1379. c.Material = "Glass"
  1380. c.Color = C3(0,0,0)
  1381. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1382. c.Color = C3(1,0,0)
  1383. c.Material = "Neon"
  1384. end
  1385. end
  1386.  
  1387. Weapon.Parent = Character
  1388. for _, c in pairs(Weapon:GetChildren()) do
  1389. if c.ClassName == "Part" then
  1390. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1391. end
  1392. end
  1393.  
  1394. Weapon.Parent = Character
  1395. Gun.Parent = nil
  1396.  
  1397. for _, c in pairs(Gun:GetChildren()) do
  1398. if c.ClassName == "Part" then
  1399. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1400. end
  1401. end
  1402.  
  1403. for _, c in pairs(Weapon:GetChildren()) do
  1404. if c.ClassName == "Part" then
  1405. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1406. end
  1407. end
  1408.  
  1409. local SKILLTEXTCOLOR = C3(1,0,0)
  1410. local SKILLFONT = "Antique"
  1411. local SKILLTEXTSIZE = 7
  1412.  
  1413. Humanoid.Died:connect(function()
  1414. ATTACK = true
  1415. end)
  1416.  
  1417. 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")
  1418. 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")
  1419. 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")
  1420. 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")
  1421. 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")
  1422.  
  1423. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1424. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1425. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Sleep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1426. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1427. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1428.  
  1429. function printbye(Name)
  1430. 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, "}
  1431. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1432. end
  1433. if INTRO == false and INSTANT == false then
  1434. INTRO = true
  1435. coroutine.resume(coroutine.create(function()
  1436. sick:Play()
  1437. Intro()
  1438. end))
  1439. end
  1440.  
  1441. workspace.ChildAdded:connect(function(instance)
  1442. for BANISH = 1, #TOBANISH do
  1443. if TOBANISH[BANISH] ~= nil then
  1444. if instance.Name == TOBANISH[BANISH] then
  1445. coroutine.resume(coroutine.create(function()
  1446. printbye(instance.Name)
  1447. instance:ClearAllChildren()
  1448. Debris:AddItem(instance,0.0005)
  1449. end))
  1450. end
  1451. end
  1452. end
  1453. end)
  1454.  
  1455. --//=================================\\
  1456. --|| DAMAGING
  1457. --\\=================================//
  1458.  
  1459. function ApplyDamage(Humanoid,Damage,OneShot)
  1460. Damage = Damage * DAMAGEMULTIPLIER
  1461. local DEAD = false
  1462. if Humanoid.Health < 2000 and OneShot == false then
  1463. if Humanoid.Health - Damage > 0 then
  1464. Humanoid.Health = Humanoid.Health - Damage
  1465. else
  1466. Humanoid.Parent:BreakJoints()
  1467. DEAD = true
  1468. end
  1469. else
  1470. DEAD = true
  1471. Humanoid.Parent:BreakJoints()
  1472. end
  1473. if DEAD == true then
  1474. local PARTS = {}
  1475. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1476. if CHILD:IsA("BasePart") then
  1477. table.insert(PARTS,CHILD)
  1478. end
  1479. end
  1480. coroutine.resume(coroutine.create(function()
  1481. wait(2)
  1482. repeat
  1483. Swait()
  1484. local PIECE = nil
  1485. if MRANDOM(1,5) == 1 then
  1486. for E = 1, #PARTS do
  1487. if MRANDOM(1,5) == 1 then
  1488. PIECE = PARTS[E]
  1489. table.remove(PARTS,E)
  1490. break
  1491. end
  1492. end
  1493. end
  1494. if PIECE ~= nil then
  1495. if PIECE.Name == "Head" then
  1496. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1497. else
  1498. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1499. end
  1500. PIECE:remove()
  1501. end
  1502. until #PARTS == 0
  1503. end))
  1504. end
  1505. end
  1506.  
  1507.  
  1508. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1509. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1510. defence.Name = ("HitBy"..Player.Name)
  1511. game:GetService("Debris"):AddItem(defence, 0.001)
  1512. Damage = Damage * DAMAGEMULTIPLIER
  1513. if Humanoid.Health ~= 0 then
  1514. local CritChance = MRANDOM(1,100)
  1515. if Damage > Humanoid.Health then
  1516. Damage = math.ceil(Humanoid.Health)
  1517. if Damage == 0 then
  1518. Damage = 0.1
  1519. end
  1520. end
  1521. Humanoid.Health = Humanoid.Health - Damage
  1522. end
  1523. end
  1524.  
  1525. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1526. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1527. defence.Name = ("HitBy"..Player.Name)
  1528. game:GetService("Debris"):AddItem(defence, 0.001)
  1529. Damage = Damage * DAMAGEMULTIPLIER
  1530. if Humanoid.Health ~= 0 then
  1531. local CritChance = MRANDOM(1,100)
  1532. if Damage > Humanoid.Health then
  1533. Damage = math.ceil(Humanoid.Health)
  1534. if Damage == 0 then
  1535. Damage = 0.1
  1536. end
  1537. end
  1538. Humanoid.Health = Humanoid.Health - Damage
  1539. end
  1540. end
  1541.  
  1542. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1543. local CHILDREN = workspace:GetDescendants()
  1544. for index, CHILD in pairs(CHILDREN) do
  1545. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1546. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1547. if HUM then
  1548. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1549. if TORSO then
  1550. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1551. if INSTAKILL == true then
  1552. CHILD:BreakJoints()
  1553. else
  1554. local DMG = MRANDOM(MINDMG,MAXDMG)
  1555. ApplyDamage(HUM,DMG,TORSO)
  1556. end
  1557. if FLING > 0 then
  1558. for _, c in pairs(CHILD:GetChildren()) do
  1559. if c:IsA("BasePart") then
  1560. local bv = Instance.new("BodyVelocity")
  1561. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1562. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1563. bv.Parent = c
  1564. Debris:AddItem(bv,0.05)
  1565. end
  1566. end
  1567. end
  1568. end
  1569. end
  1570. end
  1571. end
  1572. end
  1573. end
  1574.  
  1575. function CameraEnshaking(Length, Intensity)
  1576. coroutine.resume(coroutine.create(function()
  1577. local intensity = 1 * Intensity
  1578. local rotM = 0.01 * Intensity
  1579. for i = 0, Length, 0.1 do
  1580. Swait()
  1581. intensity = intensity - 0.05 * Intensity / Length
  1582. rotM = rotM - 5.0E-4 * Intensity / Length
  1583. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  1584. Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  1585. end
  1586. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1587. end))
  1588. end
  1589.  
  1590. function KillChildren(v)
  1591. v:BreakJoints()
  1592. for _, c in pairs(v:GetChildren()) do
  1593. if c:IsA("BasePart") then
  1594. if c.Transparency < 1 then
  1595. if c:FindFirstChildOfClass("Decal") then
  1596. c:FindFirstChildOfClass("Decal"):remove()
  1597. end
  1598. particles(c)
  1599. c.PE.Enabled = true
  1600. c.Parent = Effects
  1601. c.CanCollide = false
  1602. c.Material = "Neon"
  1603. c.Color = C3(1,0,0)
  1604. c.Transparency = 1
  1605. local grav = Instance.new("BodyPosition",c)
  1606. grav.P = 20000
  1607. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1608. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1609. grav.Name = "GravityForce"
  1610. coroutine.resume(coroutine.create(function()
  1611. for i = 1, 20 do
  1612. Swait()
  1613. c.Transparency = c.Transparency + 1/20
  1614. end
  1615. c.PE.Enabled = false
  1616. Debris:AddItem(c,2)
  1617. end))
  1618. end
  1619. end
  1620. end
  1621. end
  1622.  
  1623. function ApplyAoE(POSITION,RANGE)
  1624. local CHILDREN = workspace:GetDescendants()
  1625. for index, CHILD in pairs(CHILDREN) do
  1626. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1627. local LISTED = false
  1628. for LIST = 1, #WHITELIST do
  1629. if WHITELIST[LIST] ~= nil then
  1630. if CHILD.Name == WHITELIST[LIST] then
  1631. LISTED = true
  1632. end
  1633. end
  1634. end
  1635. if LISTED == false then
  1636. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1637. if HUM then
  1638. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1639. if TORSO then
  1640. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1641. KillChildren(CHILD)
  1642. end
  1643. end
  1644. end
  1645. end
  1646. end
  1647. end
  1648. end
  1649.  
  1650. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1651. coroutine.resume(coroutine.create(function()
  1652. local METEOR = IT("Model",Effects)
  1653. METEOR.Name = "Meteorite"
  1654. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1655. METEOR.PrimaryPart = CENTER
  1656. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1657. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1658. for i = 1, 15 do
  1659. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1660. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1661. end
  1662. if ISDEBREE ~= true then
  1663. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1664. else
  1665. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1666. end
  1667. local IMPACT = false
  1668. CreateSound(463593339, CENTER, 10, 0.6)
  1669. if SIZE >= 3.5 then
  1670. for i = 1, MRANDOM(3,7) do
  1671. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1672. end
  1673. end
  1674. for i = 1, 200 do
  1675. Swait()
  1676. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1677. if HITFLOOR == nil then
  1678. local ORI = CENTER.Orientation
  1679. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1680. else
  1681. if HITFLOOR.Anchored == true then
  1682. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1683. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1684. end
  1685. IMPACT = true
  1686. break
  1687. end
  1688. end
  1689. if IMPACT == true then
  1690. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1691. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1692. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1693. ApplyAoE(CENTER.Position,30*SIZE)
  1694. end
  1695. METEOR:remove()
  1696. end))
  1697. end
  1698.  
  1699. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  1700. local CHILDREN = workspace:GetDescendants()
  1701. for index, CHILD in pairs(CHILDREN) do
  1702. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1703. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1704. if HUM then
  1705. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1706. if TORSO then
  1707. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1708. if BRUTAL == true then
  1709. Kill(CHILD)
  1710. else
  1711. CHILD:BreakJoints()
  1712. end
  1713. end
  1714. end
  1715. end
  1716. end
  1717. end
  1718. end
  1719.  
  1720. function Kill(Char)
  1721. local NewCharacter = IT("Model",Effects)
  1722. NewCharacter.Name = "Ow im ded ;-;"
  1723. for _, c in pairs(Char:GetDescendants()) do
  1724. if c:IsA("BasePart") and c.Transparency == 0 then
  1725. c:BreakJoints()
  1726. c.Material = "Glass"
  1727. c.Color = C3(1,0,0)
  1728. c.CanCollide = true
  1729. c.Transparency = 0.3
  1730. if c:FindFirstChildOfClass("SpecialMesh") then
  1731. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1732. end
  1733. if c.Name == "Head" then
  1734. c:ClearAllChildren()
  1735. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1736. end
  1737. if c.ClassName == "MeshPart" then
  1738. c.TextureID = ""
  1739. end
  1740. if c:FindFirstChildOfClass("BodyPosition") then
  1741. c:FindFirstChildOfClass("BodyPosition"):remove()
  1742. end
  1743. if c:FindFirstChildOfClass("ParticleEmitter") then
  1744. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1745. end
  1746. c.Parent = NewCharacter
  1747. c.Name = "DeadPart"
  1748. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1749. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1750. end
  1751. end
  1752. Char:remove()
  1753. Debris:AddItem(NewCharacter,5)
  1754. end
  1755.  
  1756. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1757. local CHILDREN = workspace:GetDescendants()
  1758. for index, CHILD in pairs(CHILDREN) do
  1759. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1760. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1761. if HUM then
  1762. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1763. if TORSO then
  1764. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1765. if BRUTAL == true then
  1766. Kill(CHILD)
  1767. else
  1768. CHILD:BreakJoints()
  1769. end
  1770. end
  1771. end
  1772. end
  1773. end
  1774. end
  1775. end
  1776.  
  1777. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1778. local CHILDREN = workspace:GetDescendants()
  1779. for index, CHILD in pairs(CHILDREN) do
  1780. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1781. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1782. if HUM then
  1783. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1784. if TORSO then
  1785. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1786. if BRUTAL == true then
  1787. Kill(CHILD)
  1788. else
  1789. CHILD:BreakJoints()
  1790. end
  1791. end
  1792. end
  1793. end
  1794. end
  1795. end
  1796. end
  1797.  
  1798. function Banish(Foe)
  1799. if Foe then
  1800. coroutine.resume(coroutine.create(function()
  1801. --if game.Players:FindFirstChild(Foe.Name) then
  1802. table.insert(TOBANISH,Foe.Name)
  1803. printbye(Foe.Name)
  1804. --end
  1805. Foe.Archivable = true
  1806. local CLONE = Foe:Clone()
  1807. Foe:Destroy()
  1808. CLONE.Parent = Effects
  1809. CLONE:BreakJoints()
  1810. local MATERIALS = {"Glass","Neon"}
  1811. for _, c in pairs(CLONE:GetDescendants()) do
  1812. if c:IsA("BasePart") then
  1813. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1814. CreateSound(138271815, c, 10, 1, false)
  1815. end
  1816. c.Anchored = true
  1817. c.Transparency = c.Transparency + 0.2
  1818. c.Material = MATERIALS[MRANDOM(1,2)]
  1819. c.Color = C3(1,0,0)
  1820. if c.ClassName == "MeshPart" then
  1821. c.TextureID = ""
  1822. end
  1823. if c:FindFirstChildOfClass("SpecialMesh") then
  1824. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1825. end
  1826. if c:FindFirstChildOfClass("Decal") then
  1827. c:FindFirstChildOfClass("Decal"):remove()
  1828. end
  1829. c.Name = "Banished"
  1830. c.CanCollide = false
  1831. else
  1832. c:remove()
  1833. end
  1834. end
  1835. local A = false
  1836. for i = 1, 35 do
  1837. if A == false then
  1838. A = true
  1839. elseif A == true then
  1840. A = false
  1841. end
  1842. for _, c in pairs(CLONE:GetDescendants()) do
  1843. if c:IsA("BasePart") then
  1844. c.Anchored = true
  1845. c.Material = MATERIALS[MRANDOM(1,2)]
  1846. c.Transparency = c.Transparency + 0.8/35
  1847. if A == false then
  1848. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1849. elseif A == true then
  1850. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1851. end
  1852. end
  1853. end
  1854. Swait()
  1855. end
  1856. CLONE:remove()
  1857. end))
  1858. end
  1859. end
  1860.  
  1861.  
  1862. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1863. local CHILDREN = workspace:GetDescendants()
  1864. for index, CHILD in pairs(CHILDREN) do
  1865. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1866. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1867. if HUM then
  1868. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1869. if TORSO then
  1870. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1871. if ISBANISH == true then
  1872. Banish(CHILD)
  1873. else
  1874. if ISBANISH == "Gravity" then
  1875. HUM.PlatformStand = true
  1876. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1877. local grav = Instance.new("BodyPosition",TORSO)
  1878. grav.D = 15
  1879. grav.P = 20000
  1880. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1881. grav.position = TORSO.Position
  1882. grav.Name = "V3BanishForce"..Player.Name
  1883. else
  1884. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1885. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1886. end
  1887. else
  1888. HUM.PlatformStand = false
  1889. end
  1890. end
  1891. elseif ISBANISH == "Gravity" then
  1892. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1893. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1894. HUM.PlatformStand = false
  1895. end
  1896. end
  1897. end
  1898. end
  1899. end
  1900. end
  1901. end
  1902.  
  1903. function SpawnSmite(POS)
  1904. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1905. local EMITPOS = HITPOS
  1906. if HITFLOOR ~= nil then
  1907. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1908. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1909. EMITPOS = HITPOS
  1910. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1911. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1912. EMITPOS = HITPOS
  1913. end
  1914. end
  1915. if HITFLOOR ~= nil then
  1916. ApplyAoE(EMITPOS,10)
  1917. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1918. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1919. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1920. for i = 1, 5 do
  1921. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1922. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1923. end
  1924. end
  1925. end
  1926.  
  1927. --//=================================\\
  1928. --|| ATTACK FUNCTIONS AND STUFF
  1929. --\\=================================//
  1930.  
  1931. function eh()
  1932. ATTACK = true
  1933. Rooted = false
  1934. Speed = 20
  1935. Swait()
  1936. local CHILDREN = workspace:GetDescendants()
  1937. for index, CHILD in pairs(CHILDREN) do
  1938. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1939. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1940. if HUM then
  1941. local TORSO = CHILD:FindFirstChild("Head")
  1942. if TORSO then
  1943. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  1944. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1945. TORSO:remove()
  1946. if CHILD:FindFirstChild("Torso") then
  1947. Ragdoll(CHILD,Torso,true)
  1948. elseif CHILD:FindFirstChild("UpperTorso") then
  1949. R15Ragdoll(CHILD,true)
  1950. end
  1951. end
  1952. end
  1953. end
  1954. end
  1955. end
  1956. 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})
  1957. 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 = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1})
  1958. for i=0, 0.3, 0.1 / Animation_Speed do
  1959. Swait()
  1960. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  1961. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1964. 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.25 / Animation_Speed)
  1965. 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.25 / Animation_Speed)
  1966. end
  1967. Speed = 20
  1968. ATTACK = false
  1969. Rooted = false
  1970. end
  1971.  
  1972. function Taunt()
  1973. ATTACK = true
  1974. Rooted = true
  1975. CreateSound("1238240145", Torso, 6, 0.9)
  1976. for i=0, 0.6, 0.1 / Animation_Speed do
  1977. Swait()
  1978. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1979. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1980. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1981. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1982. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1983. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1984. end
  1985. for i=0, 0.6, 0.1 / Animation_Speed do
  1986. Swait()
  1987. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1988. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1989. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1990. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1991. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1992. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1993. end
  1994. for i=0, 0.6, 0.1 / Animation_Speed do
  1995. Swait()
  1996. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1997. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1998. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2000. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2001. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2002. end
  2003. for i=0, 0.6, 0.1 / Animation_Speed do
  2004. Swait()
  2005. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2006. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2007. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2008. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2009. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2010. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2011. end
  2012. for i=0, 0.6, 0.1 / Animation_Speed do
  2013. Swait()
  2014. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2015. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2016. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2017. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2018. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2019. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2020. end
  2021. for i=0, 0.6, 0.1 / Animation_Speed do
  2022. Swait()
  2023. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2024. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2025. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2026. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2027. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2028. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2029. end
  2030. ATTACK = false
  2031. Rooted = false
  2032. end
  2033.  
  2034. function TakeOnMe()
  2035. Speed = 16
  2036. local MEME = CreateSound(1171341451, Effects, 2, 1, false)
  2037. ATTACK = true
  2038. Rooted = false
  2039. local DANCE = true
  2040. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  2041. if NEWKEY == "p" then
  2042. DANCE = false
  2043. end
  2044. end)
  2045. PLAYSONG = false
  2046. while true do
  2047. for i = 1, 15 do
  2048. Swait()
  2049. MEME.Parent = Effects
  2050. 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)
  2051. 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)
  2052. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2053. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2054. 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)
  2055. 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)
  2056. end
  2057. if DANCE == false then
  2058. break
  2059. end
  2060. for i = 1, 15 do
  2061. Swait()
  2062. MEME.Parent = Effects
  2063. 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)
  2064. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2065. if MRANDOM(1,7) == 1 then
  2066. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2067. end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2068. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2069. 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)
  2070. 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)
  2071. end
  2072. end
  2073. PLAYSONG = true
  2074. KEY:Disconnect()
  2075. MEME:remove()
  2076. Speed = 25
  2077. ATTACK = false
  2078. Rooted = false
  2079. end
  2080.  
  2081. function Intro()
  2082. ATTACK = true
  2083. Rooted = true
  2084. repeat
  2085. Swait()
  2086. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  2087. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2088. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2089. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2090. LeftShoulder.C0 = Clerp(LeftShoulder.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)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2091. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2092. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2093. until sick.TimePosition > 114
  2094. repeat
  2095. Swait()
  2096. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2097. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2098. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2099. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2100. 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)
  2101. 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)
  2102. until sick.TimePosition > 116
  2103. repeat
  2104. Swait()
  2105. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0.2,0.2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  2106. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(45), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-90), RAD(45), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2110. 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)
  2111. 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)
  2112. until sick.TimePosition >119
  2113. Gun.Parent = Character
  2114. tecks2.TextTransparency = 0
  2115. for i = 1, 100 do
  2116. Swait()
  2117. for _, c in pairs(Character:GetChildren()) do
  2118. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  2119. c.Transparency = 0
  2120. end
  2121. end
  2122. for _, c in pairs(Weapon:GetChildren()) do
  2123. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  2124. c.Transparency = 0
  2125. end
  2126. end
  2127. for _, c in pairs(Weapon:GetDescendants()) do
  2128. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2129. c.Material = "Glass"
  2130. c.Color = C3(0,0,0)
  2131. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2132. c.Color = C3(1,0,0)
  2133. c.Material = "Neon"
  2134. end
  2135. end
  2136. end
  2137. TRANSFORMED = true
  2138. ATTACK = false
  2139. Rooted = false
  2140. end
  2141.  
  2142. function Shot()
  2143. ATTACK = true
  2144. Rooted = false
  2145. for i=0, 0.2, 0.05 / Animation_Speed do
  2146. Swait()
  2147. turnto(Mouse.Hit.p)
  2148. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2149. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2150. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2151. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2152. 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)
  2153. 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)
  2154. end
  2155. repeat
  2156. for i=0, 0.2, 0.05 / Animation_Speed do
  2157. Swait()
  2158. turnto(Mouse.Hit.p)
  2159. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2160. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2161. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2162. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2163. 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)
  2164. 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)
  2165. end
  2166. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2167. SpawnTrail(Hole.Position,POS)
  2168. if HIT ~= nil then
  2169. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2170. Banish(HIT.Parent)
  2171. end
  2172. end
  2173. 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})
  2174. 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 = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2175. 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})
  2176. 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})
  2177. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2178. for i=0, 0.2, 0.05 / Animation_Speed do
  2179. Swait()
  2180. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2181. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2182. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2183. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2184. 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)
  2185. 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)
  2186. end
  2187. until KEYHOLD == false
  2188. ATTACK = false
  2189. Rooted = false
  2190. end
  2191.  
  2192. function Shot2()
  2193. ATTACK = true
  2194. Rooted = false
  2195. for i=0, 0.2, 0.05 / Animation_Speed do
  2196. Swait()
  2197. turnto(Mouse.Hit.p)
  2198. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2199. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2200. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2201. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2202. 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)
  2203. 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)
  2204. end
  2205. repeat
  2206. for i=0, 0.2, 0.05 / Animation_Speed do
  2207. Swait()
  2208. turnto(Mouse.Hit.p)
  2209. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2210. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2211. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2212. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2213. 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)
  2214. 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)
  2215. end
  2216. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2217. SpawnTrail(Hole.Position,POS)
  2218. if HIT ~= nil then
  2219. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2220. Kill(HIT.Parent)
  2221. end
  2222. end
  2223. 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})
  2224. 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 = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2225. 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})
  2226. 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})
  2227. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2228. for i=0, 0.2, 0.05 / Animation_Speed do
  2229. Swait()
  2230. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2231. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2232. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2233. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2234. 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)
  2235. 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)
  2236. end
  2237. until KEYHOLD == false
  2238. ATTACK = false
  2239. Rooted = false
  2240. end
  2241.  
  2242. function AttackTemplate()
  2243. ATTACK = true
  2244. Rooted = false
  2245. for i=0, 1, 0.1 / Animation_Speed do
  2246. Swait()
  2247. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2248. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2249. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2250. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2251. 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)
  2252. 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)
  2253. end
  2254. ATTACK = false
  2255. Rooted = false
  2256. end
  2257.  
  2258. function Finisher()
  2259. local TARGET = Mouse.Target
  2260. if TARGET ~= nil then
  2261. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2262. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2263. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2264. if ROOT and HUM.Health > 0 then
  2265. local FOE = Mouse.Target.Parent
  2266. ATTACK = true
  2267. Rooted = true
  2268. RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
  2269. ROOT.Anchored = true
  2270. CreateSound(670796769, Torso, 9999, 0.6, false)
  2271. CreateSound(159882598, Torso, 5, 0.9, false)
  2272. for i=0, 0.4, 0.1 / Animation_Speed do
  2273. Swait()
  2274. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2275. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2276. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2277. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2278. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2279. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2280. end
  2281. HUM.PlatformStand = true
  2282. ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  2283. coroutine.resume(coroutine.create(function()
  2284. Swait()
  2285. ROOT.Anchored = true
  2286. end))
  2287. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  2288. for i=0, 0.2, 0.1 / Animation_Speed do
  2289. Swait()
  2290. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2291. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2293. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2294. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2295. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2296. end
  2297. 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})
  2298. 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 = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2299. for i=0, 0.2, 0.1 / Animation_Speed do
  2300. Swait()
  2301. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  2302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2303. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2304. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2305. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2306. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2307. end
  2308. 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})
  2309. 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 = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2310. local AMMO = 6
  2311. local FIRING = true
  2312. local SHOOTING = false
  2313. local TIMER = 70
  2314. CreateSound(147722227, GunPoint, 6, 1.3, false)
  2315. for i=0, 0.2, 0.1 / Animation_Speed do
  2316. Swait()
  2317. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2318. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2319. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2320. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2321. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2322. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2323. end
  2324. 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})
  2325. 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 = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2326. for i = 1, 6 do
  2327. local GUNPOS = Hole.CFrame*CF(0, 0, 0).p
  2328. local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
  2329. 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})
  2330. 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 = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2331. HUM.Health = HUM.Health/1.5
  2332. for i=0, 0.2, 0.1 / Animation_Speed do
  2333. Swait()
  2334. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2335. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2336. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2337. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2338. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2339. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2340. end
  2341. 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})
  2342. 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 = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2343. for i=0, 0.2, 0.1 / Animation_Speed do
  2344. Swait()
  2345. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2346. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2347. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2348. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2349. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2350. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2351. end
  2352. end
  2353. 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})
  2354. 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 = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2355. ApplyDamage(HUM,0,true)
  2356. FOE:BreakJoints()
  2357. ROOT.Anchored = false
  2358. for i=0, 0.3, 0.1 / Animation_Speed do
  2359. Swait()
  2360. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2361. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  2362. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2363. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2364. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2365. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2366. end
  2367. ATTACK = false
  2368. Rooted = false
  2369. end
  2370. end
  2371. end
  2372. end
  2373.  
  2374.  
  2375. --//=================================\\
  2376. --|| ASSIGN THINGS TO KEYS
  2377. --\\=================================//
  2378.  
  2379. function MouseDown(Mouse)
  2380. if ATTACK == false then
  2381. end
  2382. end
  2383.  
  2384. function MouseUp(Mouse)
  2385. HOLD = false
  2386. end
  2387.  
  2388. function KeyDown(Key)
  2389. KEYHOLD = true
  2390. if Key == "z" and ATTACK == false then
  2391. Shot()
  2392. end
  2393.  
  2394. if Key == "v" and ATTACK == false then
  2395. Shot2()
  2396. end
  2397.  
  2398. if Key == "x" and ATTACK == false then
  2399. Finisher()
  2400. end
  2401.  
  2402. if Key == "t" and ATTACK == false then
  2403. Taunt()
  2404. end
  2405.  
  2406. if Key == "c" and ATTACK == false then
  2407. eh()
  2408. end
  2409. end
  2410.  
  2411. function KeyUp(Key)
  2412. KEYHOLD = false
  2413. end
  2414.  
  2415. Mouse.Button1Down:connect(function(NEWKEY)
  2416. MouseDown(NEWKEY)
  2417. end)
  2418. Mouse.Button1Up:connect(function(NEWKEY)
  2419. MouseUp(NEWKEY)
  2420. end)
  2421. Mouse.KeyDown:connect(function(NEWKEY)
  2422. KeyDown(NEWKEY)
  2423. end)
  2424. Mouse.KeyUp:connect(function(NEWKEY)
  2425. KeyUp(NEWKEY)
  2426. end)
  2427.  
  2428. --//=================================\\
  2429. --\\=================================//
  2430.  
  2431.  
  2432. function unanchor()
  2433. if UNANCHOR == true then
  2434. g = Character:GetChildren()
  2435. for i = 1, #g do
  2436. if g[i].ClassName == "Part" then
  2437. g[i].Anchored = false
  2438. end
  2439. end
  2440. end
  2441. end
  2442.  
  2443.  
  2444. --//=================================\\
  2445. --|| WRAP THE WHOLE SCRIPT UP
  2446. --\\=================================//
  2447.  
  2448. Humanoid.Changed:connect(function(Jump)
  2449. if Jump == "Jump" and (Disable_Jump == true) then
  2450. Humanoid.Jump = false
  2451. end
  2452. end)
  2453.  
  2454. local FF = IT("ForceField",Character)
  2455. FF.Visible = false
  2456.  
  2457. INSTANT = false
  2458. Speed = 20
  2459.  
  2460. while true do
  2461. Swait()
  2462. SINE = SINE + CHANGE
  2463. ANIMATE.Parent = nil
  2464. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2465. IDLEANIMATION:Play()
  2466. if TRANSFORMED == true then
  2467. tecks2.TextTransparency = 0
  2468. for _, c in pairs(Character:GetChildren()) do
  2469. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  2470. c.Anchored = false
  2471. c.Transparency = 0
  2472. end
  2473. end
  2474. for _, c in pairs(Weapon:GetChildren()) do
  2475. if c.ClassName == "Part" then
  2476. c.Transparency = 0
  2477. end
  2478. end
  2479. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2480. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2481. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2482. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2483. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2484. if ATTACK == false and VALUE2 == false then
  2485. end
  2486. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2487. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2488. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  2489. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  2490. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  2491. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2492. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2493. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2494. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2495. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2496. end
  2497. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2498. ANIM = "Jump"
  2499. if ATTACK == false then
  2500. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2501. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2502. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2503. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2504. 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)
  2505. 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)
  2506. end
  2507. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2508. ANIM = "Fall"
  2509. if ATTACK == false then
  2510. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2511. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2512. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2513. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2514. 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)
  2515. 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)
  2516. end
  2517. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2518. ANIM = "Idle"
  2519. if ATTACK == false then
  2520. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2521. if MRANDOM(1,7) == 1 then
  2522. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2523. end
  2524. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2526. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2527. 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.25 / Animation_Speed)
  2528. 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.25 / Animation_Speed)
  2529. end
  2530. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2531. ANIM = "Walk"
  2532. if ATTACK == false then
  2533. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2534. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2535. if MRANDOM(1,7) == 1 then
  2536. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2537. end
  2538. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2539. 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)
  2540. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2541. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2542. end
  2543. end
  2544. end
  2545. --end
  2546. Humanoid.DisplayDistanceType = "None"
  2547. unanchor()
  2548. tecks2.TextColor3 = BrickColor.Random().Color
  2549. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  2550. Humanoid.MaxHealth = "inf"
  2551. Humanoid.Health = "inf"
  2552. if Rooted == false then
  2553. Disable_Jump = false
  2554. Humanoid.WalkSpeed = Speed
  2555. elseif Rooted == true then
  2556. Disable_Jump = true
  2557. Humanoid.WalkSpeed = 0
  2558. end
  2559. if Head:FindFirstChild("face") then
  2560. Head.face.Texture = "rbxassetid://403870689"
  2561. end
  2562. local MATHS = {"0","1"}
  2563. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  2564. Humanoid.PlatformStand = false
  2565. if INTRO == false and INSTANT == false then
  2566. INTRO = true
  2567. coroutine.resume(coroutine.create(function()
  2568. sick:Play()
  2569. Intro()
  2570. end))
  2571. end
  2572. if INSTANT == true then
  2573. if TRANSFORMED == false then
  2574. sick.TimePosition = 60
  2575. sick:Play()
  2576. end
  2577. TRANSFORMED = true
  2578. end
  2579. script.Parent = PlayerGui
  2580. Character.Parent = workspace
  2581. Humanoid.Parent = Character
  2582. end
  2583. --//=================================\\
  2584. --\\=================================//
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590. --//====================================================\\--
  2591. --|| END OF SCRIPT
  2592. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement