Advertisement
Mz_TH_edit

Pc man

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