Advertisement
gecksad

Computer Require

Dec 21st, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. wait(0.2)
  3.  
  4. Player = game:GetService("Players").LocalPlayer
  5. PlayerGui = Player.PlayerGui
  6. Cam = workspace.CurrentCamera
  7. Backpack = Player.Backpack
  8. Character = Player.Character
  9. Humanoid = Character.Humanoid
  10. Mouse = Player:GetMouse()
  11. RootPart = Character["HumanoidRootPart"]
  12. Torso = Character["Torso"]
  13. Head = Character["Head"]
  14. RightArm = Character["Right Arm"]
  15. LeftArm = Character["Left Arm"]
  16. RightLeg = Character["Right Leg"]
  17. LeftLeg = Character["Left Leg"]
  18. RootJoint = RootPart["RootJoint"]
  19. Neck = Torso["Neck"]
  20. RightShoulder = Torso["Right Shoulder"]
  21. LeftShoulder = Torso["Left Shoulder"]
  22. RightHip = Torso["Right Hip"]
  23. LeftHip = Torso["Left Hip"]
  24.  
  25. IT = Instance.new
  26. CF = CFrame.new
  27. VT = Vector3.new
  28. RAD = math.rad
  29. C3 = Color3.new
  30. UD2 = UDim2.new
  31. BRICKC = BrickColor.new
  32. ANGLES = CFrame.Angles
  33. EULER = CFrame.fromEulerAnglesXYZ
  34. COS = math.cos
  35. ACOS = math.acos
  36. SIN = math.sin
  37. ASIN = math.asin
  38. ABS = math.abs
  39. MRANDOM = math.random
  40. FLOOR = math.floor
  41.  
  42. --//=================================\\
  43. --|| USEFUL VALUES
  44. --\\=================================//
  45.  
  46. Animation_Speed = 3
  47. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  48. local Speed = 16
  49. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  50. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  51. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  52. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  53. local DAMAGEMULTIPLIER = 1
  54. local ANIM = "Idle"
  55. local ATTACK = false
  56. local EQUIPPED = false
  57. local HOLD = false
  58. local COMBO = 1
  59. local Rooted = false
  60. local SINE = 0
  61. local KEYHOLD = false
  62. local CHANGE = 2 / Animation_Speed
  63. local WALKINGANIM = false
  64. local VALUE1 = false
  65. local VALUE2 = false
  66. local ROBLOXIDLEANIMATION = IT("Animation")
  67. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  68. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  69. --ROBLOXIDLEANIMATION.Parent = Humanoid
  70. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  71. WEAPONGUI.Name = "Weapon GUI"
  72. local Weapon = IT("Model")
  73. Weapon.Name = "Adds"
  74. local Effects = IT("Folder", Weapon)
  75. Effects.Name = "Effects"
  76. local ANIMATOR = Humanoid.Animator
  77. local ANIMATE = Character.Animate
  78. local UNANCHOR = true
  79. local CYAN = BRICKC"Cyan".Color
  80. local ICONS = {"167300717","413366101","839798346","413372165","413366777","132769874","99340890","413364594","64940934","99340699"}
  81.  
  82. --//=================================\\
  83. --\\=================================//
  84.  
  85.  
  86. --//=================================\\
  87. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  88. --\\=================================//
  89.  
  90. ArtificialHB = Instance.new("BindableEvent", script)
  91. ArtificialHB.Name = "ArtificialHB"
  92.  
  93. script:WaitForChild("ArtificialHB")
  94.  
  95. frame = Frame_Speed
  96. tf = 0
  97. allowframeloss = false
  98. tossremainder = false
  99. lastframe = tick()
  100. script.ArtificialHB:Fire()
  101.  
  102. game:GetService("RunService").Heartbeat:connect(function(s, p)
  103. tf = tf + s
  104. if tf >= frame then
  105. if allowframeloss then
  106. script.ArtificialHB:Fire()
  107. lastframe = tick()
  108. else
  109. for i = 1, math.floor(tf / frame) do
  110. script.ArtificialHB:Fire()
  111. end
  112. lastframe = tick()
  113. end
  114. if tossremainder then
  115. tf = 0
  116. else
  117. tf = tf - frame * math.floor(tf / frame)
  118. end
  119. end
  120. end)
  121.  
  122. --//=================================\\
  123. --\\=================================//
  124.  
  125. --//=================================\\
  126. --|| SOME FUNCTIONS
  127. --\\=================================//
  128.  
  129. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  130. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  131. end
  132.  
  133. function PositiveAngle(NUMBER)
  134. if NUMBER >= 0 then
  135. NUMBER = 0
  136. end
  137. return NUMBER
  138. end
  139.  
  140. function NegativeAngle(NUMBER)
  141. if NUMBER <= 0 then
  142. NUMBER = 0
  143. end
  144. return NUMBER
  145. end
  146.  
  147. function Swait(NUMBER)
  148. if NUMBER == 0 or NUMBER == nil then
  149. ArtificialHB.Event:wait()
  150. else
  151. for i = 1, NUMBER do
  152. ArtificialHB.Event:wait()
  153. end
  154. end
  155. end
  156.  
  157. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  158. local NEWMESH = IT(MESH)
  159. if MESH == "SpecialMesh" then
  160. NEWMESH.MeshType = MESHTYPE
  161. if MESHID ~= "nil" and MESHID ~= "" then
  162. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  163. end
  164. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  165. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  166. end
  167. end
  168. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  169. NEWMESH.Scale = SCALE
  170. NEWMESH.Parent = PARENT
  171. return NEWMESH
  172. end
  173.  
  174. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  175. local NEWPART = IT("Part")
  176. NEWPART.formFactor = FORMFACTOR
  177. NEWPART.Reflectance = REFLECTANCE
  178. NEWPART.Transparency = TRANSPARENCY
  179. NEWPART.CanCollide = false
  180. NEWPART.Locked = true
  181. NEWPART.Anchored = true
  182. if ANCHOR == false then
  183. NEWPART.Anchored = false
  184. end
  185. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  186. NEWPART.Name = NAME
  187. NEWPART.Size = SIZE
  188. NEWPART.Position = Torso.Position
  189. NEWPART.Material = MATERIAL
  190. NEWPART:BreakJoints()
  191. NEWPART.Parent = PARENT
  192. return NEWPART
  193. end
  194.  
  195. local function weldBetween(a, b)
  196. local weldd = Instance.new("ManualWeld")
  197. weldd.Part0 = a
  198. weldd.Part1 = b
  199. weldd.C0 = CFrame.new()
  200. weldd.C1 = b.CFrame:inverse() * a.CFrame
  201. weldd.Parent = a
  202. return weldd
  203. end
  204.  
  205.  
  206. function QuaternionFromCFrame(cf)
  207. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  208. local trace = m00 + m11 + m22
  209. if trace > 0 then
  210. local s = math.sqrt(1 + trace)
  211. local recip = 0.5 / s
  212. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  213. else
  214. local i = 0
  215. if m11 > m00 then
  216. i = 1
  217. end
  218. if m22 > (i == 0 and m00 or m11) then
  219. i = 2
  220. end
  221. if i == 0 then
  222. local s = math.sqrt(m00 - m11 - m22 + 1)
  223. local recip = 0.5 / s
  224. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  225. elseif i == 1 then
  226. local s = math.sqrt(m11 - m22 - m00 + 1)
  227. local recip = 0.5 / s
  228. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  229. elseif i == 2 then
  230. local s = math.sqrt(m22 - m00 - m11 + 1)
  231. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  232. end
  233. end
  234. end
  235.  
  236. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  237. local xs, ys, zs = x + x, y + y, z + z
  238. local wx, wy, wz = w * xs, w * ys, w * zs
  239. local xx = x * xs
  240. local xy = x * ys
  241. local xz = x * zs
  242. local yy = y * ys
  243. local yz = y * zs
  244. local zz = z * zs
  245. 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))
  246. end
  247.  
  248. function QuaternionSlerp(a, b, t)
  249. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  250. local startInterp, finishInterp;
  251. if cosTheta >= 0.0001 then
  252. if (1 - cosTheta) > 0.0001 then
  253. local theta = ACOS(cosTheta)
  254. local invSinTheta = 1 / SIN(theta)
  255. startInterp = SIN((1 - t) * theta) * invSinTheta
  256. finishInterp = SIN(t * theta) * invSinTheta
  257. else
  258. startInterp = 1 - t
  259. finishInterp = t
  260. end
  261. else
  262. if (1 + cosTheta) > 0.0001 then
  263. local theta = ACOS(-cosTheta)
  264. local invSinTheta = 1 / SIN(theta)
  265. startInterp = SIN((t - 1) * theta) * invSinTheta
  266. finishInterp = SIN(t * theta) * invSinTheta
  267. else
  268. startInterp = t - 1
  269. finishInterp = t
  270. end
  271. end
  272. 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
  273. end
  274.  
  275. function Clerp(a, b, t)
  276. local qa = {QuaternionFromCFrame(a)}
  277. local qb = {QuaternionFromCFrame(b)}
  278. local ax, ay, az = a.x, a.y, a.z
  279. local bx, by, bz = b.x, b.y, b.z
  280. local _t = 1 - t
  281. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  282. end
  283.  
  284. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  285. local frame = IT("Frame")
  286. frame.BackgroundTransparency = TRANSPARENCY
  287. frame.BorderSizePixel = BORDERSIZEPIXEL
  288. frame.Position = POSITION
  289. frame.Size = SIZE
  290. frame.BackgroundColor3 = COLOR
  291. frame.BorderColor3 = BORDERCOLOR
  292. frame.Name = NAME
  293. frame.Parent = PARENT
  294. return frame
  295. end
  296.  
  297. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  298. local label = IT("TextLabel")
  299. label.BackgroundTransparency = 1
  300. label.Size = UD2(1, 0, 1, 0)
  301. label.Position = UD2(0, 0, 0, 0)
  302. label.TextColor3 = TEXTCOLOR
  303. label.TextStrokeTransparency = STROKETRANSPARENCY
  304. label.TextTransparency = TRANSPARENCY
  305. label.FontSize = TEXTFONTSIZE
  306. label.Font = TEXTFONT
  307. label.BorderSizePixel = BORDERSIZEPIXEL
  308. label.TextScaled = false
  309. label.Text = TEXT
  310. label.Name = NAME
  311. label.Parent = PARENT
  312. return label
  313. end
  314.  
  315. function NoOutlines(PART)
  316. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  317. end
  318.  
  319. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  320. local NEWWELD = IT(TYPE)
  321. NEWWELD.Part0 = PART0
  322. NEWWELD.Part1 = PART1
  323. NEWWELD.C0 = C0
  324. NEWWELD.C1 = C1
  325. NEWWELD.Parent = PARENT
  326. return NEWWELD
  327. end
  328.  
  329. local S = IT("Sound")
  330. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  331. local NEWSOUND = nil
  332. coroutine.resume(coroutine.create(function()
  333. NEWSOUND = S:Clone()
  334. NEWSOUND.Parent = PARENT
  335. NEWSOUND.Volume = VOLUME
  336. NEWSOUND.Pitch = PITCH
  337. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  338. NEWSOUND:play()
  339. if DOESLOOP == true then
  340. NEWSOUND.Looped = true
  341. else
  342. repeat Swait() until NEWSOUND.Playing == false
  343. NEWSOUND:remove()
  344. end
  345. end))
  346. return NEWSOUND
  347. end
  348.  
  349. function CFrameFromTopBack(at, top, back)
  350. local right = top:Cross(back)
  351. 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)
  352. end
  353.  
  354. --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})
  355. function WACKYEFFECT(Table)
  356. local TYPE = (Table.EffectType or "Sphere")
  357. local SIZE = (Table.Size or VT(1,1,1))
  358. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  359. local TRANSPARENCY = (Table.Transparency or 0)
  360. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  361. local CFRAME = (Table.CFrame or Torso.CFrame)
  362. local MOVEDIRECTION = (Table.MoveToPos or nil)
  363. local ROTATION1 = (Table.RotationX or 0)
  364. local ROTATION2 = (Table.RotationY or 0)
  365. local ROTATION3 = (Table.RotationZ or 0)
  366. local MATERIAL = (Table.Material or "Neon")
  367. local COLOR = (Table.Color or C3(1,1,1))
  368. local TIME = (Table.Time or 45)
  369. local SOUNDID = (Table.SoundID or nil)
  370. local SOUNDPITCH = (Table.SoundPitch or nil)
  371. local SOUNDVOLUME = (Table.SoundVolume or nil)
  372. coroutine.resume(coroutine.create(function()
  373. local PLAYSSOUND = false
  374. local SOUND = nil
  375. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  376. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  377. PLAYSSOUND = true
  378. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  379. end
  380. EFFECT.Color = COLOR
  381. local MSH = nil
  382. if TYPE == "Sphere" then
  383. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  384. elseif TYPE == "Block" then
  385. MSH = IT("BlockMesh",EFFECT)
  386. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  387. elseif TYPE == "Wave" then
  388. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  389. elseif TYPE == "Ring" then
  390. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.01), VT(0,0,0))
  391. elseif TYPE == "Slash" then
  392. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  393. elseif TYPE == "Round Slash" then
  394. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  395. elseif TYPE == "Swirl" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  397. elseif TYPE == "Skull" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  399. elseif TYPE == "Crystal" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  401. elseif TYPE == "Box" then
  402. MSH = IT("BlockMesh",EFFECT)
  403. MSH.Scale = SIZE
  404. end
  405. if MSH ~= nil then
  406. local MOVESPEED = nil
  407. if MOVEDIRECTION ~= nil then
  408. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  409. end
  410. local GROWTH = SIZE - ENDSIZE
  411. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  412. if TYPE == "Block" then
  413. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  414. else
  415. EFFECT.CFrame = CFRAME
  416. end
  417. for LOOP = 1, TIME do
  418. Swait()
  419. MSH.Scale = MSH.Scale - GROWTH/TIME
  420. if TYPE == "Wave" then
  421. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  422. end
  423. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  424. if TYPE == "Block" then
  425. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  426. else
  427. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  428. end
  429. if MOVEDIRECTION ~= nil then
  430. local ORI = EFFECT.Orientation
  431. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  432. EFFECT.Orientation = ORI
  433. end
  434. end
  435. if PLAYSSOUND == false then
  436. EFFECT:remove()
  437. else
  438. repeat Swait() until SOUND.Playing == false
  439. EFFECT:remove()
  440. end
  441. else
  442. if PLAYSSOUND == false then
  443. EFFECT:remove()
  444. else
  445. repeat Swait() until SOUND.Playing == false
  446. EFFECT:remove()
  447. end
  448. end
  449. end))
  450. end
  451.  
  452. function MakeForm(PART,TYPE)
  453. if TYPE == "Cyl" then
  454. local MSH = IT("CylinderMesh",PART)
  455. elseif TYPE == "Ball" then
  456. local MSH = IT("SpecialMesh",PART)
  457. MSH.MeshType = "Sphere"
  458. elseif TYPE == "Wedge" then
  459. local MSH = IT("SpecialMesh",PART)
  460. MSH.MeshType = "Wedge"
  461. end
  462. end
  463.  
  464. Debris = game:GetService("Debris")
  465.  
  466. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  467. local DIRECTION = CF(StartPos,EndPos).lookVector
  468. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  469. end
  470.  
  471. function turnto(position)
  472. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  473. end
  474.  
  475. --//=================================\\
  476. --|| WEAPON CREATION
  477. --\\=================================//
  478.  
  479. RightArm:remove()
  480. LeftArm:remove()
  481. RightLeg:remove()
  482. LeftLeg:remove()
  483. Humanoid.HipHeight = 6
  484. Head:ClearAllChildren()
  485. Head.Transparency = 1
  486. Torso.Transparency = 1
  487.  
  488. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(2,2,1),false)
  489. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  490. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(1.6,1.6,1.5),false)
  491. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,0,0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  492. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(2,0.2,0.5),false)
  493. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,0.9,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  494. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(2,0.2,0.5),false)
  495. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,-0.9,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  496. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(0.2,1.8,0.5),false)
  497. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0.9,0,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  498. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(0.2,1.8,0.5),false)
  499. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(-0.9,0,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  500.  
  501. local SCREEN = CreatePart(3, Weapon, "Neon", 0, 0, "Bright blue", "SCREEN", VT(1.8,1.8,0.45),false)
  502. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, SCREEN, CF(0,0,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  503. local Eye1 = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "Eyeball", VT(0.3,0.7,0.2),false)
  504. MakeForm(Eye1,"Ball")
  505. Eye1.Color = C3(0,0,0)
  506. CreateWeldOrSnapOrMotor("Weld", SCREEN, SCREEN, Eye1, CF(0.3,0.2,-0.2) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  507. local Eye2 = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "Eyeball", VT(0.3,0.7,0.2),false)
  508. MakeForm(Eye2,"Ball")
  509. Eye2.Color = C3(0,0,0)
  510. CreateWeldOrSnapOrMotor("Weld", SCREEN, SCREEN, Eye2, CF(-0.3,0.2,-0.2) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  511.  
  512. local TIE = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "TIE", VT(0,0,0),false)
  513. local TIEWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, TIE, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,1.8,0.65))
  514. CreateMesh("SpecialMesh", TIE, "FileMesh", "28463033", "28463022", VT(1,1,1)*1.5, VT(0,0,0))
  515.  
  516. for _, c in pairs(Weapon:GetChildren()) do
  517. if c.ClassName == "Part" then
  518. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  519. end
  520. end
  521.  
  522. local SKILLTEXTCOLOR = C3(0,0,0)
  523. local SKILLFONT = "SciFi"
  524. local SKILLTEXTSIZE = 6
  525.  
  526. Weapon.Parent = Character
  527.  
  528. Humanoid.Died:connect(function()
  529. ATTACK = true
  530. end)
  531.  
  532. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  533. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  534. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  535. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  536.  
  537. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Chuck", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  538. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Suck", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  539. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Disable", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  540. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
  541.  
  542. --//=================================\\
  543. --|| DAMAGE FUNCTIONS
  544. --\\=================================//
  545.  
  546. function StatLabel(CFRAME, TEXT, COLOR)
  547. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  548. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  549. local BODYGYRO = IT("BodyGyro", STATPART)
  550. game:GetService("Debris"):AddItem(STATPART ,5)
  551. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  552. BILLBOARDGUI.Adornee = STATPART
  553. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  554. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  555. BILLBOARDGUI.AlwaysOnTop = false
  556. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  557. TEXTLABEL.BackgroundTransparency = 1
  558. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  559. TEXTLABEL.Text = TEXT
  560. TEXTLABEL.Font = SKILLFONT
  561. TEXTLABEL.FontSize="Size42"
  562. TEXTLABEL.TextColor3 = COLOR
  563. TEXTLABEL.TextStrokeTransparency = 0
  564. TEXTLABEL.TextScaled = true
  565. TEXTLABEL.TextWrapped = true
  566. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  567. for i = 1, 50 do
  568. Swait()
  569. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  570. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  571. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  572. end
  573. THEPART.Parent = nil
  574. end),STATPART, TEXTLABEL)
  575. end
  576.  
  577. --//=================================\\
  578. --|| DAMAGING
  579. --\\=================================//
  580.  
  581. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  582. if Humanoid.MaxHealth == math.huge then
  583. Humanoid.Parent:BreakJoints()
  584. local TORS = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  585. local REMAIN = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(3,3,3),false)
  586. REMAIN.CFrame = TORS.CFrame
  587. REMAIN.CanCollide = true
  588. local GUI = Instance.new("BillboardGui",REMAIN)
  589. GUI.Size = UDim2.new(3,0,3,0)
  590. GUI.Adornee = REMAIN
  591. local GUI2 = IT("ImageLabel",GUI)
  592. GUI2.BackgroundTransparency = 1
  593. GUI2.BorderSizePixel = 0
  594. GUI2.Size = UDim2.new(1,0,1,0)
  595. GUI2.SizeConstraint = "RelativeYY"
  596. GUI2.Image = "http://www.roblox.com/asset/?id=167300717"
  597. CreateSound("681582832", REMAIN, 3, 1, false)
  598. Debris:AddItem(REMAIN,15)
  599. if TORS then
  600. end
  601. Humanoid.Parent:remove()
  602. else
  603. local defence = Instance.new("BoolValue",Humanoid.Parent)
  604. defence.Name = ("HitBy"..Player.Name)
  605. game:GetService("Debris"):AddItem(defence, 0.001)
  606. Damage = Damage * DAMAGEMULTIPLIER
  607. if Humanoid.Health ~= 0 then
  608. local CritChance = MRANDOM(1,100)
  609. if CritChance < CritRate + 1 then
  610. Damage = Damage*CritMultiplier
  611. end
  612. if Damage > Humanoid.Health then
  613. Damage = math.ceil(Humanoid.Health)
  614. if Damage == 0 then
  615. Damage = 0.1
  616. end
  617. end
  618. Humanoid.Health = Humanoid.Health - Damage
  619. if Humanoid.Parent:FindFirstChild("Head") then
  620. if CritChance < CritRate + 1 then
  621. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  622. else
  623. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  624. end
  625. end
  626. if Humanoid.Health == 0 or Humanoid.MaxHealth == "inf" then
  627. local TORS = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  628. local REMAIN = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(3,3,3),false)
  629. REMAIN.CFrame = TORS.CFrame
  630. REMAIN.CanCollide = true
  631. local GUI = Instance.new("BillboardGui",REMAIN)
  632. GUI.Size = UDim2.new(3,0,3,0)
  633. GUI.Adornee = REMAIN
  634. local GUI2 = IT("ImageLabel",GUI)
  635. GUI2.BackgroundTransparency = 1
  636. GUI2.BorderSizePixel = 0
  637. GUI2.Size = UDim2.new(1,0,1,0)
  638. GUI2.SizeConstraint = "RelativeYY"
  639. GUI2.Image = "http://www.roblox.com/asset/?id=167300717"
  640. CreateSound("681582832", REMAIN, 3, 1, false)
  641. Debris:AddItem(REMAIN,15)
  642. if TORS then
  643. end
  644. Humanoid.Parent:remove()
  645. end
  646. end
  647. end
  648. end
  649.  
  650. --//=================================\\
  651. --|| ATTACK FUNCTIONS AND STUFF
  652. --\\=================================//
  653.  
  654. function Chuck()
  655. ATTACK = true
  656. Rooted = false
  657. CreateSound("11900833", SCREEN, 3, 1, false)
  658. coroutine.resume(coroutine.create(function()
  659. local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1))
  660. TOCHUCK.CFrame = CF(SCREEN.Position,Mouse.Hit.p)
  661. local GUI = Instance.new("BillboardGui",TOCHUCK)
  662. GUI.Size = UDim2.new(1,0,1,0)
  663. GUI.Adornee = TOCHUCK
  664. local GUI2 = IT("ImageLabel",GUI)
  665. GUI2.BackgroundTransparency = 1
  666. GUI2.BorderSizePixel = 0
  667. GUI2.Size = UDim2.new(1,0,1,0)
  668. GUI2.SizeConstraint = "RelativeYY"
  669. GUI2.Image = "http://www.roblox.com/asset/?id="..ICONS[MRANDOM(1,#ICONS)]
  670. for i = 1, 100 do
  671. Swait()
  672. TOCHUCK.CFrame = TOCHUCK.CFrame*CF(0,0,-1)
  673. local HIT = Raycast(TOCHUCK.Position, TOCHUCK.CFrame.lookVector, 1.5, Character)
  674. if HIT ~= nil then
  675. if HIT.Parent.ClassName == "Model" then
  676. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  677. CreateSound("131237241", HIT, 3, 1, false)
  678. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(7,14),4,3)
  679. local bv = Instance.new("BodyVelocity")
  680. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  681. bv.velocity = CF(TOCHUCK.Position,HIT.Position).lookVector*15
  682. bv.Parent = HIT
  683. Debris:AddItem(bv,0.1)
  684. local bv = Instance.new("BodyVelocity")
  685. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  686. bv.velocity = CF(HIT.Position,TOCHUCK.Position).lookVector*15
  687. bv.Parent = TOCHUCK
  688. Debris:AddItem(bv,0.1)
  689. end
  690. end
  691. break
  692. end
  693. TOCHUCK.CFrame = TOCHUCK.CFrame*CF(0,0,-1)
  694. local HIT = Raycast(TOCHUCK.Position, TOCHUCK.CFrame.lookVector, 1.5, Character)
  695. if HIT ~= nil then
  696. if HIT.Parent.ClassName == "Model" then
  697. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  698. CreateSound("131237241", HIT, 3, 1, false)
  699. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(7,14),4,3)
  700. local bv = Instance.new("BodyVelocity")
  701. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  702. bv.velocity = CF(TOCHUCK.Position,HIT.Position).lookVector*15
  703. bv.Parent = HIT
  704. Debris:AddItem(bv,0.1)
  705. local bv = Instance.new("BodyVelocity")
  706. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  707. bv.velocity = CF(HIT.Position,TOCHUCK.Position).lookVector*15
  708. bv.Parent = TOCHUCK
  709. Debris:AddItem(bv,0.1)
  710. end
  711. end
  712. break
  713. end
  714. end
  715. TOCHUCK.CanCollide = true
  716. TOCHUCK.Anchored = false
  717. Debris:AddItem(TOCHUCK,5)
  718. end))
  719. for i=0, 0.2, 0.1 / Animation_Speed do
  720. Swait()
  721. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  722. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(-5), RAD(0), RAD(0))* CF(0,0,-0.1), 1 / Animation_Speed)
  723. end
  724. ATTACK = false
  725. Rooted = false
  726. end
  727.  
  728. function Suck()
  729. local target = nil
  730. local targettorso = nil
  731. if Mouse.Target ~= nil then
  732. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  733. target = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  734. targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  735. end
  736. end
  737. if target ~= nil then
  738. VALUE1 = true
  739. CreateSound("131228548", SCREEN, 10, 1, false)
  740. targettorso.Anchored = true
  741. local GYRO = IT("BodyGyro",RootPart)
  742. GYRO.D = 100
  743. GYRO.P = 2000
  744. GYRO.MaxTorque = VT(0,999999999999999999,0)
  745. GYRO.cframe = CF(RootPart.Position,targettorso.Position)
  746. wait(1.5)
  747. GYRO:remove()
  748. coroutine.resume(coroutine.create(function()
  749. local DISTANCE = 10
  750. local REEEE = CreateSound("1278710301", targettorso, 5, 1, true)
  751. repeat
  752. Swait()
  753. targettorso.CFrame = CF(targettorso.Position,RootPart.Position)*CF(0,0,-1)
  754. DISTANCE = (targettorso.Position - RootPart.Position).Magnitude
  755. targettorso.Anchored = true
  756. target.PlatformStand = true
  757. until DISTANCE < 5
  758. REEEE.Looped = false
  759. targettorso.Anchored = false
  760. wait(0.5)
  761. target.PlatformStand = false
  762. end))
  763. VALUE1 = false
  764. end
  765. end
  766.  
  767. function Disable()
  768. local target = nil
  769. local targettorso = nil
  770. if Mouse.Target ~= nil then
  771. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  772. target = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  773. targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  774. end
  775. end
  776. if target ~= nil then
  777. VALUE1 = true
  778. targettorso.Anchored = true
  779. CreateSound("191456748", SCREEN, 10, 1, false)
  780. local GYRO = IT("BodyGyro",RootPart)
  781. GYRO.D = 100
  782. GYRO.P = 2000
  783. GYRO.MaxTorque = VT(0,999999999999999999,0)
  784. GYRO.cframe = CF(RootPart.Position,targettorso.Position)
  785. wait(1)
  786. WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.01,0.01,0.01), Size2 = VT(5,5,0.01), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 314970790, SoundPitch = 1, SoundVolume = 3})
  787. GYRO:remove()
  788. targettorso.CFrame = CF(targettorso.Position,RootPart.Position)
  789. targettorso.Anchored = false
  790. for _, c in pairs(target.Parent:GetChildren()) do
  791. if c.ClassName == "LocalScript" then
  792. local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1))
  793. TOCHUCK.CFrame = targettorso.CFrame
  794. local GUI = Instance.new("BillboardGui",TOCHUCK)
  795. GUI.Size = UDim2.new(1,0,1,0)
  796. GUI.Adornee = TOCHUCK
  797. local GUI2 = IT("ImageLabel",GUI)
  798. GUI2.BackgroundTransparency = 1
  799. GUI2.BorderSizePixel = 0
  800. GUI2.Size = UDim2.new(1,0,1,0)
  801. GUI2.SizeConstraint = "RelativeYY"
  802. GUI2.Image = "http://www.roblox.com/asset/?id=99340858"
  803. c.Disabled = true
  804. c.Parent = TOCHUCK
  805. coroutine.resume(coroutine.create(function()
  806. wait()
  807. TOCHUCK.Anchored = false
  808. TOCHUCK.CanCollide = true
  809. end))
  810. coroutine.resume(coroutine.create(function()
  811. wait(MRANDOM(3,6))
  812. local DISTANCE = 10
  813. TOCHUCK.Anchored = true
  814. TOCHUCK.CanCollide = false
  815. repeat
  816. Swait()
  817. TOCHUCK.CFrame = CF(TOCHUCK.Position,RootPart.Position)*CF(0,0,-1)
  818. DISTANCE = (TOCHUCK.Position - RootPart.Position).Magnitude
  819. until DISTANCE < 2
  820. TOCHUCK:remove()
  821. end))
  822. elseif c.ClassName == "Script" then
  823. local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1))
  824. TOCHUCK.CFrame = targettorso.CFrame
  825. local GUI = Instance.new("BillboardGui",TOCHUCK)
  826. GUI.Size = UDim2.new(1,0,1,0)
  827. GUI.Adornee = TOCHUCK
  828. local GUI2 = IT("ImageLabel",GUI)
  829. GUI2.BackgroundTransparency = 1
  830. GUI2.BorderSizePixel = 0
  831. GUI2.Size = UDim2.new(1,0,1,0)
  832. GUI2.SizeConstraint = "RelativeYY"
  833. GUI2.Image = "http://www.roblox.com/asset/?id=99340890"
  834. c.Disabled = true
  835. c.Parent = TOCHUCK
  836. coroutine.resume(coroutine.create(function()
  837. wait()
  838. TOCHUCK.Anchored = false
  839. TOCHUCK.CanCollide = true
  840. end))
  841. coroutine.resume(coroutine.create(function()
  842. wait(MRANDOM(3,6))
  843. local DISTANCE = 10
  844. TOCHUCK.Anchored = true
  845. TOCHUCK.CanCollide = false
  846. repeat
  847. Swait()
  848. TOCHUCK.CFrame = CF(TOCHUCK.Position,RootPart.Position)*CF(0,0,-1)
  849. DISTANCE = (TOCHUCK.Position - RootPart.Position).Magnitude
  850. until DISTANCE < 1.2
  851. TOCHUCK:remove()
  852. end))
  853. end
  854. end
  855. target.PlatformStand = true
  856. CreateSound("330010786", targettorso, 10, 1, false)
  857. local bv = Instance.new("BodyVelocity")
  858. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  859. bv.velocity = CF(VT(RootPart.Position.X,targettorso.Position.Y-10,RootPart.Position.Z),targettorso.Position).lookVector*350
  860. bv.Parent = targettorso
  861. Debris:AddItem(bv,0.05)
  862. VALUE1 = false
  863. end
  864. end
  865.  
  866. function Warp()
  867. local FRAME = RootPart.Position
  868. for i = 1, 6 do
  869. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Cyan".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  870. end
  871. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z))
  872. for i = 1, 6 do
  873. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Cyan".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  874. end
  875. end
  876.  
  877. function HavingFun()
  878. ATTACK = true
  879. VALUE2 = true
  880. Speed = 65
  881. local SONGS = {329896322,162986891,1027314531,171131642,248967176,922850176,966409302,255023933}
  882. local PISS = CreateSound(SONGS[MRANDOM(1,#SONGS)], SCREEN, 10, 1, true)
  883. repeat
  884. for i = 1, 5 do
  885. Swait()
  886. PISS.Parent = SCREEN
  887. SCREEN.Color = CYAN
  888. CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  889. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  890. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * CF(0,0,-0.1), 1 / Animation_Speed)
  891. end
  892. for i = 1, 5 do
  893. Swait()
  894. PISS.Parent = SCREEN
  895. SCREEN.Color = CYAN
  896. CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  897. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  898. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  899. end
  900. if MRANDOM(1,15) == 1 then
  901. for i = 1, 15 do
  902. Swait()
  903. if VALUE2 == false then
  904. break
  905. end
  906. PISS.Parent = SCREEN
  907. SCREEN.Color = CYAN
  908. CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  909. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(i*18), RAD(0), RAD(0)), 1 / Animation_Speed)
  910. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  911. end
  912. end
  913. if MRANDOM(1,15) == 1 then
  914. for i = 1, 15 do
  915. Swait()
  916. if VALUE2 == false then
  917. break
  918. end
  919. PISS.Parent = SCREEN
  920. SCREEN.Color = CYAN
  921. CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  922. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(i*18)), 1 / Animation_Speed)
  923. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  924. end
  925. end
  926. if MRANDOM(1,15) == 1 then
  927. for i = 1, 15 do
  928. Swait()
  929. if VALUE2 == false then
  930. break
  931. end
  932. PISS.Parent = SCREEN
  933. SCREEN.Color = CYAN
  934. CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  935. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(i*18), RAD(0)), 1 / Animation_Speed)
  936. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  937. end
  938. end
  939. until VALUE2 == false
  940. Speed = 16
  941. PISS:remove()
  942. SCREEN.BrickColor = BRICKC"Bright blue"
  943. CYAN = BRICKC"Cyan".Color
  944. ATTACK = false
  945. end
  946.  
  947. --//=================================\\
  948. --|| ASSIGN THINGS TO KEYS
  949. --\\=================================//
  950.  
  951. function KeyDown(Key)
  952. KEYHOLD = true
  953. if VALUE1 == false and ATTACK == false then
  954. if Key == "z" then
  955. Chuck()
  956. end
  957.  
  958. if Key == "b" then
  959. Suck()
  960. end
  961.  
  962. if Key == "c" then
  963. Disable()
  964. end
  965.  
  966. if Key == "v" then
  967. Warp()
  968. end
  969.  
  970. if Key == "t" then
  971. CreateSound("1395854043", Effects, 5, 1, false)
  972. end
  973. end
  974. if (VALUE1 == false and ATTACK == false) or VALUE2 == true then
  975. if Key == "q" then
  976. if VALUE2 == false then
  977. HavingFun()
  978. elseif VALUE2 == true then
  979. VALUE2 = false
  980. end
  981. end
  982. end
  983. end
  984.  
  985. function KeyUp(Key)
  986. KEYHOLD = false
  987. end
  988.  
  989. Mouse.KeyDown:connect(function(NEWKEY)
  990. KeyDown(NEWKEY)
  991. end)
  992. Mouse.KeyUp:connect(function(NEWKEY)
  993. KeyUp(NEWKEY)
  994. end)
  995.  
  996. --//=================================\\
  997. --\\=================================//
  998.  
  999.  
  1000. function unanchor()
  1001. if UNANCHOR == true then
  1002. g = Character:GetChildren()
  1003. for i = 1, #g do
  1004. if g[i].ClassName == "Part" then
  1005. g[i].Anchored = false
  1006. end
  1007. end
  1008. end
  1009. end
  1010.  
  1011.  
  1012. --//=================================\\
  1013. --|| WRAP THE WHOLE SCRIPT UP
  1014. --\\=================================//
  1015.  
  1016. Humanoid.Changed:connect(function(Jump)
  1017. if Jump == "Jump" and (Disable_Jump == true) then
  1018. Humanoid.Jump = false
  1019. end
  1020. end)
  1021.  
  1022. local LOOPED = 0
  1023.  
  1024. while true do
  1025. Swait()
  1026. script.Parent = WEAPONGUI
  1027. ANIMATE.Parent = nil
  1028. Character.Parent = workspace
  1029. Humanoid.Parent = Character
  1030. if Humanoid then
  1031. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1032. IDLEANIMATION:Play()
  1033. end
  1034. SINE = SINE + CHANGE
  1035. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1036. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1037. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  1038. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1039. if ATTACK == false then
  1040. if TORSOVELOCITY < 1 then
  1041. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1042. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1043. elseif TORSOVELOCITY > 1 then
  1044. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1045. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  1046. end
  1047. end
  1048. unanchor()
  1049. Humanoid.MaxHealth = "inf"
  1050. Humanoid.Health = "inf"
  1051. if Rooted == false then
  1052. Disable_Jump = false
  1053. Humanoid.WalkSpeed = Speed
  1054. elseif Rooted == true then
  1055. Disable_Jump = true
  1056. Humanoid.WalkSpeed = 0
  1057. end
  1058. Head:ClearAllChildren()
  1059. Head.Transparency = 1
  1060. for _, c in pairs(Character:GetChildren()) do
  1061. if c.ClassName == "Part" then
  1062. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1063. c:remove()
  1064. end
  1065. end
  1066. script.Parent = WEAPONGUI
  1067. Humanoid.Name = "Roblox_Studio"
  1068. LOOPED = LOOPED + 1
  1069. if LOOPED == 15 and HITFLOOR then
  1070. LOOPED = 0
  1071. WACKYEFFECT({EffectType = "Ring", Size = VT(0.01,0.01,0.01), Size2 = VT(0.5,0.5,0.01), Transparency = 0.5, Transparency2 = 1, CFrame = CF(HITPOS,HITPOS+NORMAL)*ANGLES(RAD(0),RAD(0),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CYAN, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1072. end
  1073. if LOOPED > 15 then
  1074. LOOPED = 0
  1075. end
  1076. end
  1077.  
  1078. --//=================================\\
  1079. --\\=================================//
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085. --//====================================================\\--
  1086. --|| END OF SCRIPT
  1087. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement