Advertisement
Guest User

fds

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