Advertisement
Scorpion2

wow, computer logic

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