kaualima12

.........................lll..........................

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