Advertisement
Guest User

Untitled

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