Advertisement
Guest User

Untitled

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