Advertisement
DoggoClan

My PC

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