WagnerJunio07

Test

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