Advertisement
Lukas17

Untitled

Mar 22nd, 2018
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.97 KB | None | 0 0
  1. game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=109676489"
  2. game.Players.LocalPlayer.Character["Body Colors"].HeadColor = BrickColor.new("Really red")
  3.  
  4. m = game.Players.LocalPlayer
  5. char = m.Character
  6.  
  7. function Random(num)
  8. local section=num % 1 * 3;
  9. local secondary=0.5 * math.pi * (section % 1);
  10. if section < 1 then
  11. return 1,1 - math.cos(secondary),1 - math.sin(secondary);
  12. elseif section < 2 then
  13. return 1 - math.sin(secondary),1,1 - math.cos(secondary);
  14. else
  15. return 1 - math.cos(secondary),1 - math.sin(secondary),1;
  16. end
  17. end
  18.  
  19. --//Lol try to figure this one out//
  20. function rainb(hue)
  21. local section = hue % 1 * 3
  22. local secondary = 0.5 * math.pi * (section % 1)
  23. if section < 1 then
  24. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  25. elseif section < 2 then
  26. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  27. else
  28. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  29. end
  30. end
  31.  
  32. Chillmusic = Instance.new("Sound", workspace)
  33. Chillmusic.Parent = game.Chat
  34. Chillmusic.Volume = 500
  35. Chillmusic.SoundId = "rbxassetid://554401279"
  36. Chillmusic.Looped = true
  37. Chillmusic:Play()
  38.  
  39. local txt = Instance.new("BillboardGui", char)
  40. txt.Adornee = char.Head
  41. txt.Name = "_status"
  42. txt.Size = UDim2.new(2, 0, 1.2, 0)
  43. txt.StudsOffset = Vector3.new(-9, 8, 0)
  44. local text = Instance.new("TextLabel", txt)
  45. text.Size = UDim2.new(10, 0, 7, 0)
  46. text.FontSize = "Size24"
  47. text.TextScaled = true
  48. text.TextTransparency = 0
  49. text.BackgroundTransparency = 1
  50. text.TextTransparency = 0
  51. text.TextStrokeTransparency = 0
  52. text.Font = "Bodoni"
  53. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  54. v = Instance.new("Part")
  55. v.Name = "ColorBrick"
  56. v.Parent = m.Character
  57. v.FormFactor = "Symmetric"
  58. v.Anchored = true
  59. v.CanCollide = false
  60. v.BottomSurface = "Smooth"
  61. v.TopSurface = "Smooth"
  62. v.Size = Vector3.new(10, 5, 3)
  63. v.Transparency = 1
  64. v.CFrame = char.Torso.CFrame
  65. v.BrickColor = BrickColor.new("Really black")
  66. v.Transparency = 1
  67. spawn(function()
  68. TweenService = game:GetService("TweenService")
  69. Colours = {Color3.fromRGB(0,100,200),Color3.fromRGB(4, 175, 236)}
  70. Int = 0
  71. while wait(2) do
  72. if Int == #Colours then Int = 0 end
  73. Int = Int+1
  74. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  75. end
  76. end)
  77. v.Shape = "Block"
  78. text.Text = "~»I Hate Roblox Hashtags«~"
  79. Player = game:GetService("Players").LocalPlayer
  80. Character = Player.Character
  81. PlayerGui = Player.PlayerGui
  82. Backpack = Player.Backpack
  83. Torso = Character.Torso
  84. Head = Character.Head
  85. Humanoid = Character.Humanoid
  86. m = Instance.new("Model", Character)
  87. LeftArm = Character["Left Arm"]
  88. LeftLeg = Character["Left Leg"]
  89. RightArm = Character["Right Arm"]
  90. RightLeg = Character["Right Leg"]
  91. LS = Torso["Left Shoulder"]
  92. LH = Torso["Left Hip"]
  93. RS = Torso["Right Shoulder"]
  94. RH = Torso["Right Hip"]
  95. Face = Head.face
  96. Neck = Torso.Neck
  97. it = Instance.new
  98. attacktype = 1
  99. vt = Vector3.new
  100. cf = CFrame.new
  101. bc = BrickColor.new
  102. br = BrickColor.random
  103. it = Instance.new
  104. euler = CFrame.fromEulerAnglesXYZ
  105. angles = CFrame.Angles
  106. cloaked = false
  107. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  108. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  109. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  110. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  111. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  112. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  113. RootPart = Character.HumanoidRootPart
  114. RootJoint = RootPart.RootJoint
  115. RootCF = euler(-1.57, 0, 3.14)
  116. attack = false
  117. attackdebounce = false
  118. equipped = false
  119. trispeed = 0.2
  120. attackmode = "none"
  121. local idle = 0
  122. local Anim = "Idle"
  123.  
  124. local Trail = Instance.new("Trail",char)
  125. local attachment0 = Instance.new("Attachment",char["Right Arm"])
  126. attachment0.Name = "TrailAttachment0"
  127. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  128. local attachment1 = Instance.new("Attachment",char["Right Arm"])
  129. attachment1.CFrame = CFrame.new(0.25,-1,0)
  130. attachment1.Name = "TrailAttachment1"
  131. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  132. Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  133. Trail.Lifetime = 0.5
  134. Trail.Attachment0 = attachment0
  135. Trail.Attachment1 = attachment1
  136.  
  137. local Trail = Instance.new("Trail",char)
  138. local attachment0 = Instance.new("Attachment",char["Left Arm"])
  139. attachment0.Name = "TrailAttachment0"
  140. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  141. local attachment1 = Instance.new("Attachment",char["Left Arm"])
  142. attachment1.CFrame = CFrame.new(0.25,-1,0)
  143. attachment1.Name = "TrailAttachment1"
  144. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  145. Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  146. Trail.Lifetime = 0.5
  147. Trail.Attachment0 = attachment0
  148. Trail.Attachment1 = attachment1
  149.  
  150. local Trail = Instance.new("Trail",char)
  151. local attachment0 = Instance.new("Attachment",char["Right Leg"])
  152. attachment0.Name = "TrailAttachment0"
  153. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  154. local attachment1 = Instance.new("Attachment",char["Right Leg"])
  155. attachment1.CFrame = CFrame.new(0.25,-1,0)
  156. attachment1.Name = "TrailAttachment1"
  157. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  158. Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  159. Trail.Lifetime = 0.5
  160. Trail.Attachment0 = attachment0
  161. Trail.Attachment1 = attachment1
  162.  
  163. local Trail = Instance.new("Trail",char)
  164. local attachment0 = Instance.new("Attachment",char["Left Leg"])
  165. attachment0.Name = "TrailAttachment0"
  166. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  167. local attachment1 = Instance.new("Attachment",char["Left Leg"])
  168. attachment1.CFrame = CFrame.new(0.25,-1,0)
  169. attachment1.Name = "TrailAttachment1"
  170. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  171. Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
  172. Trail.Lifetime = 0.5
  173. Trail.Attachment0 = attachment0
  174. Trail.Attachment1 = attachment1
  175.  
  176.  
  177. Humanoid.Animator.Parent = nil
  178. Character.Animate.Parent = nil
  179. function FindNearestTorso(Position, Distance, SinglePlayer)
  180. if SinglePlayer then
  181. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  182. end
  183. local List = {}
  184. for i, v in pairs(workspace:GetChildren()) do
  185. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
  186. table.insert(List, v)
  187. end
  188. end
  189. return List
  190. end
  191. function lerp(a, b, t)
  192. return a + (b - a) * t
  193. end
  194. function slerp(a, b, t)
  195. dot = a:Dot(b)
  196. if dot > 0.99999 or dot < -0.99999 then
  197. return t <= 0.5 and a or b
  198. else
  199. r = math.acos(dot)
  200. return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r)
  201. end
  202. end
  203. function matrixInterpolate(a, b, t)
  204. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  205. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  206. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t)
  207. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t)
  208. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t)
  209. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t)
  210. local t = v1:Dot(v2)
  211. if not (t < 0) and t ~= 0 and not (t > 0) then
  212. return CFrame.new()
  213. end
  214. return CFrame.new(v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, v2.x, v2.y, v2.z, v3.x, v3.y, v3.z)
  215. end
  216. function genWeld(a, b)
  217. local w = Instance.new("Weld", a)
  218. w.Part0 = a
  219. w.Part1 = b
  220. return w
  221. end
  222. function weld(a, b)
  223. local weld = Instance.new("Weld")
  224. weld.Name = "W"
  225. weld.Part0 = a
  226. weld.Part1 = b
  227. weld.C0 = a.CFrame:inverse() * b.CFrame
  228. weld.Parent = a
  229. return weld
  230. end
  231. function Lerp(c1, c2, al)
  232. local com1 = {
  233. c1.X,
  234. c1.Y,
  235. c1.Z,
  236. c1:toEulerAnglesXYZ()
  237. }
  238. local com2 = {
  239. c2.X,
  240. c2.Y,
  241. c2.Z,
  242. c2:toEulerAnglesXYZ()
  243. }
  244. for i, v in pairs(com1) do
  245. com1[i] = v + (com2[i] - v) * al
  246. end
  247. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  248. end
  249. function clerp(a, b, t)
  250. local qa = {
  251. QuaternionFromCFrame(a)
  252. }
  253. local qb = {
  254. QuaternionFromCFrame(b)
  255. }
  256. local ax, ay, az = a.x, a.y, a.z
  257. local bx, by, bz = b.x, b.y, b.z
  258. local _t = 1 - t
  259. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  260. end
  261. function QuaternionFromCFrame(cf)
  262. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  263. local trace = m00 + m11 + m22
  264. if trace > 0 then
  265. local s = math.sqrt(1 + trace)
  266. local recip = 0.5 / s
  267. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  268. else
  269. local i = 0
  270. if m00 < m11 then
  271. i = 1
  272. end
  273. if m22 > (i == 0 and m00 or m11) then
  274. i = 2
  275. end
  276. if i == 0 then
  277. local s = math.sqrt(m00 - m11 - m22 + 1)
  278. local recip = 0.5 / s
  279. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  280. elseif i == 1 then
  281. local s = math.sqrt(m11 - m22 - m00 + 1)
  282. local recip = 0.5 / s
  283. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  284. elseif i == 2 then
  285. local s = math.sqrt(m22 - m00 - m11 + 1)
  286. local recip = 0.5 / s
  287. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  288. end
  289. end
  290. end
  291. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  292. local xs, ys, zs = x + x, y + y, z + z
  293. local wx, wy, wz = w * xs, w * ys, w * zs
  294. local xx = x * xs
  295. local xy = x * ys
  296. local xz = x * zs
  297. local yy = y * ys
  298. local yz = y * zs
  299. local zz = z * zs
  300. 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))
  301. end
  302. function QuaternionSlerp(a, b, t)
  303. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  304. local startInterp, finishInterp
  305. if cosTheta >= 1.0E-4 then
  306. if 1 - cosTheta > 1.0E-4 then
  307. local theta = math.acos(cosTheta)
  308. local invSinTheta = 1 / math.sin(theta)
  309. startInterp = math.sin((1 - t) * theta) * invSinTheta
  310. finishInterp = math.sin(t * theta) * invSinTheta
  311. else
  312. startInterp = 1 - t
  313. finishInterp = t
  314. end
  315. elseif 1 + cosTheta > 1.0E-4 then
  316. local theta = math.acos(-cosTheta)
  317. local invSinTheta = 1 / math.sin(theta)
  318. startInterp = math.sin((t - 1) * theta) * invSinTheta
  319. finishInterp = math.sin(t * theta) * invSinTheta
  320. else
  321. startInterp = t - 1
  322. finishInterp = t
  323. end
  324. 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
  325. end
  326. function rayCast(Pos, Dir, Max, Ignore)
  327. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  328. end
  329. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  330. local fp = it("Part")
  331. fp.formFactor = formfactor
  332. fp.Parent = parent
  333. fp.Reflectance = reflectance
  334. fp.Transparency = transparency
  335. fp.CanCollide = false
  336. fp.Locked = true
  337. fp.BrickColor = brickcolor
  338. fp.Name = name
  339. fp.Size = size
  340. fp.Position = Torso.Position
  341. fp.BottomSurface = "Smooth"
  342. fp.TopSurface = "Smooth"
  343. fp:BreakJoints()
  344. return fp
  345. end
  346. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  347. local mesh = it(Mesh)
  348. mesh.Parent = part
  349. if Mesh == "SpecialMesh" then
  350. mesh.MeshType = meshtype
  351. mesh.MeshId = meshid
  352. end
  353. mesh.Offset = offset
  354. mesh.Scale = scale
  355. return mesh
  356. end
  357. function weld(parent, part0, part1, c0)
  358. local weld = it("Weld")
  359. weld.Parent = parent
  360. weld.Part0 = part0
  361. weld.Part1 = part1
  362. weld.C0 = c0
  363. return weld
  364. end
  365. function rayCast(Pos, Dir, Max, Ignore)
  366. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  367. end
  368. RSH, LSH = nil, nil
  369. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  370. RW.Name = "Right Shoulder"
  371. LW.Name = "Left Shoulder"
  372. LH = Torso["Left Hip"]
  373. RH = Torso["Right Hip"]
  374. TorsoColor = Torso.BrickColor
  375. function NoOutline(Part)
  376. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  377. end
  378. player = Player
  379. ch = Character
  380. RSH = ch.Torso["Right Shoulder"]
  381. LSH = ch.Torso["Left Shoulder"]
  382. RSH.Parent = nil
  383. LSH.Parent = nil
  384. RW.Name = "Right Shoulder"
  385. RW.Part0 = ch.Torso
  386. RW.C0 = cf(1.5, 0.5, 0)
  387. RW.C1 = cf(0, 0.5, 0)
  388. RW.Part1 = ch["Right Arm"]
  389. RW.Parent = ch.Torso
  390. LW.Name = "Left Shoulder"
  391. LW.Part0 = ch.Torso
  392. LW.C0 = cf(-1.5, 0.5, 0)
  393. LW.C1 = cf(0, 0.5, 0)
  394. LW.Part1 = ch["Left Arm"]
  395. LW.Parent = ch.Torso
  396. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  397. local wld = Instance.new("Weld", wp1)
  398. wld.Part0 = wp0
  399. wld.Part1 = wp1
  400. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  401. end
  402. newWeld(RootPart, Torso, 0, -1, 0)
  403. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  404. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  405. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  406. newWeld(Torso, RightLeg, 0.5, -1, 0)
  407. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  408. Player = game:GetService("Players").LocalPlayer
  409. Character = Player.Character
  410. mouse = Player:GetMouse()
  411. m = Instance.new("Model", Character)
  412. local weldBetween = function(a, b)
  413. local weldd = Instance.new("ManualWeld")
  414. weldd.Part0 = a
  415. weldd.Part1 = b
  416. weldd.C0 = CFrame.new()
  417. weldd.C1 = b.CFrame:inverse() * a.CFrame
  418. weldd.Parent = a
  419. return weldd
  420. end
  421. ArtificialHB = Instance.new("BindableEvent", script)
  422. ArtificialHB.Name = "Heartbeat"
  423. script:WaitForChild("Heartbeat")
  424. frame = 0.016666666666666666
  425. tf = 0
  426. allowframeloss = false
  427. tossremainder = false
  428. lastframe = tick()
  429. script.Heartbeat:Fire()
  430. game:GetService("RunService").Heartbeat:connect(function(s, p)
  431. tf = tf + s
  432. if tf >= frame then
  433. if allowframeloss then
  434. script.Heartbeat:Fire()
  435. lastframe = tick()
  436. else
  437. for i = 1, math.floor(tf / frame) do
  438. script.Heartbeat:Fire()
  439. end
  440. lastframe = tick()
  441. end
  442. if tossremainder then
  443. tf = 0
  444. else
  445. tf = tf - frame * math.floor(tf / frame)
  446. end
  447. end
  448. end)
  449. function swait(num)
  450. if num == 0 or num == nil then
  451. ArtificialHB.Event:wait()
  452. else
  453. for i = 0, num do
  454. ArtificialHB.Event:wait()
  455. end
  456. end
  457. end
  458. mouse.KeyDown:connect(function(key)
  459. if key == "c" then
  460. repeat
  461. swait()
  462. Chillmusic.Volume = Chillmusic.Volume - 0.05
  463. until Chillmusic.Volume == 0
  464. Chillmusic:Stop()
  465. swait()
  466. Chillmusic2:Play()
  467. Chillmusic.Volume = 1
  468. end
  469. end)
  470. mouse.KeyDown:connect(function(key)
  471. if key == "f" then
  472. text.Text = "Roblox Plz"
  473. wait(1)
  474. text.Text = "F TAGS"
  475. wait(1)
  476. text.Text = "HASHTAGS >:("
  477. wait(1)
  478. text.Text = "ROBLOX REMOVE HASHTAGS"
  479. wait(1)
  480. text.Text = "Delete hashtags"
  481. wait(1)
  482. text.Text = "Hashtags are gay"
  483. wait(3)
  484. text.Text = "Hashtags are making me angry"
  485. wait(3)
  486. text.Text = "I Hate Roblox Tags"
  487. end
  488. end)
  489. mouse.KeyDown:connect(function(key)
  490. if key == "v" then
  491. repeat
  492. swait()
  493. Chillmusic2.Volume = Chillmusic2.Volume - 0.05
  494. until Chillmusic2.Volume == 0
  495. Chillmusic2:Stop()
  496. swait()
  497. Chillmusic:Play()
  498. Chillmusic2.Volume = 1
  499. end
  500. end)
  501. mouse.KeyDown:connect(function(key)
  502. if key == "b" then
  503. text.Text = "Be back scrubs."
  504. wait(1)
  505. text.Text = "Afk nibba..."
  506. end
  507. end)
  508. mouse.KeyDown:connect(function(key)
  509. if key == "n" then
  510. text.Text = "K back you nubs's!"
  511. wait(1)
  512. text.Text = "I Hate Roblox Hashtags"
  513. end
  514. end)
  515. m = Instance.new("ForceField", Character)
  516. m.Visible = false
  517. Character.Humanoid.WalkSpeed = 4
  518. mouse.KeyDown:connect(function(key)
  519. if string.byte(key) == 48 then
  520. Swing = 2
  521. Character.Humanoid.WalkSpeed = 40
  522. end
  523. end)
  524. mouse.KeyUp:connect(function(key)
  525. if string.byte(key) == 48 then
  526. Swing = 1
  527. Character.Humanoid.WalkSpeed = 4
  528. end
  529. end)
  530. local sine = 0
  531. local change = 1
  532. local val = 0
  533. spawn(function()
  534. while true do
  535. swait()
  536. sine = sine + change
  537. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  538. local velderp = RootPart.Velocity.y
  539. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  540. if equipped == true or equipped == false then
  541. if attack == false then
  542. idle = idle + 1
  543. Character.Humanoid.MaxHealth = math.huge
  544. Character.Humanoid.Health = math.huge
  545. else
  546. idle = 0
  547. end
  548. if not (idle >= 500) or attack == false then
  549. end
  550. if torvel < 1 and hitfloor ~= nil then
  551. Anim = "Chill"
  552. if attack == false then
  553. Humanoid.CameraOffset = Vector3.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0)
  554. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0) * CFrame.Angles(math.rad(90 + 15 * math.sin(sine / 60)), math.rad(0), math.rad(0)), 0.8)
  555. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20 + 20 * math.cos(sine / 60)), math.rad(0 + 4 * math.sin(sine / 60)), math.rad(0)), 0.2)
  556. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(0 + 20 * math.sin(sine / 60)), math.rad(0 + 55 * math.sin(sine / 60))), 0.3)
  557. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(-20 - 20 * math.sin(sine / 60)), math.rad(0 - 55 * math.sin(sine / 60))), 0.3)
  558. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.86 + 0.03 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 45 * math.cos(sine / 70)), math.rad(3), math.rad(-4)), 0.8)
  559. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 35 * math.cos(sine / 65)), math.rad(-3), math.rad(4)), 0.8)
  560. end
  561. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  562. Anim = "Walk"
  563. if attack == false then
  564. Humanoid.CameraOffset = Vector3.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0)
  565. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.2)
  566. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0) * CFrame.Angles(math.rad(-90 + 5 * math.cos(sine / 45)), math.rad(180 * math.cos(sine / 48.5)), math.rad(0)), 0.8)
  567. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-4 + 2 * math.sin(sine / 48)), math.rad(0), math.rad(0)), 0.2)
  568. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(90 - 20.5 * math.cos(sine / 45))), 0.3)
  569. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(-90 + 20.5 * math.cos(sine / 45))), 0.3)
  570. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1 - 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-4)), 0.8)
  571. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(4)), 0.8)
  572. end
  573. elseif torvel >= 22 and hitfloor ~= nil then
  574. Anim = "Run"
  575. if attack == false then
  576. Humanoid.CameraOffset = Vector3.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0)
  577. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 6 - 1.55 * math.cos(sine / 68.5), -0.2) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.2)
  578. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0) * CFrame.Angles(math.rad(-40 + 20 * math.sin(sine / 68.5)), 0, 0), 0.8)
  579. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-12 + 17 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.2)
  580. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(40 - 20 * math.cos(sine / 68.5))), 0.2)
  581. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(-40 + 20 * math.cos(sine / 68.5))), 0.2)
  582. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.87, -0.25) * CFrame.Angles(math.rad(-45 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8)
  583. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, -0.1) * CFrame.Angles(math.rad(-35 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8)
  584. end
  585. end
  586. end
  587. end
  588. end)
  589.  
  590.  
  591.  
  592. -- Objects
  593.  
  594. local Chill_Gui_Bro = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  595. local Header = Instance.new("Frame")
  596. local BackGround = Instance.new("Frame")
  597. local Chill_Gui_Label = Instance.new("TextLabel")
  598. local Play_ID_Button = Instance.new("TextButton")
  599. local ID_Box = Instance.new("TextBox")
  600. local Set_Vol_Button = Instance.new("TextButton")
  601. local Vol_Box = Instance.new("TextBox")
  602. local Set_Tpos_Button = Instance.new("TextButton")
  603. local Tpos_Box = Instance.new("TextBox")
  604. local Set_Text_Button = Instance.new("TextButton")
  605. local Tpos_Box_2 = Instance.new("TextBox")
  606. local Toggle_Chat_Button = Instance.new("TextButton")
  607. local Chat_Toggle_Label = Instance.new("TextLabel")
  608. local Current_Song_Label = Instance.new("TextLabel")
  609.  
  610. -- Properties
  611.  
  612. Chill_Gui_Bro.Name = "Chill_Gui_Bro"
  613.  
  614. Header.Name = "Header"
  615. Header.Parent = Chill_Gui_Bro
  616. Header.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  617. Header.BorderSizePixel = 0
  618. Header.Draggable = true
  619. Header.Active = true
  620. Header.Selectable = true
  621. Header.Position = UDim2.new(0.469539374, 0, 0.147921771, 0)
  622. Header.Size = UDim2.new(0, 250, 0, 45)
  623.  
  624. BackGround.Name = "BackGround"
  625. BackGround.Parent = Header
  626. BackGround.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  627. BackGround.BorderSizePixel = 0
  628. BackGround.Draggable = true
  629. BackGround.Position = UDim2.new(0, 0, 1, 0)
  630. BackGround.Size = UDim2.new(0, 250, 0, 299)
  631.  
  632. Chill_Gui_Label.Name = "Chill_Gui_Label"
  633. Chill_Gui_Label.Parent = Header
  634. Chill_Gui_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  635. Chill_Gui_Label.BackgroundTransparency = 1
  636. Chill_Gui_Label.BorderSizePixel = 0
  637. Chill_Gui_Label.Draggable = true
  638. Chill_Gui_Label.Size = UDim2.new(0, 250, 0, 45)
  639. Chill_Gui_Label.Font = Enum.Font.Cartoon
  640. Chill_Gui_Label.Text = "~»Tags Gui«~"
  641. Chill_Gui_Label.TextColor3 = Color3.new(1, 1, 1)
  642. Chill_Gui_Label.TextScaled = true
  643. Chill_Gui_Label.TextSize = 14
  644. Chill_Gui_Label.TextWrapped = true
  645.  
  646. Play_ID_Button.Name = "Play_ID_Button"
  647. Play_ID_Button.Parent = Header
  648. Play_ID_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  649. Play_ID_Button.BorderColor3 = Color3.new(0, 0, 0)
  650. Play_ID_Button.BorderSizePixel = 0
  651. Play_ID_Button.Position = UDim2.new(0.0520000011, 0, 1.22222221, 0)
  652. Play_ID_Button.Size = UDim2.new(0, 68, 0, 35)
  653. Play_ID_Button.Font = Enum.Font.Cartoon
  654. Play_ID_Button.Text = "Play ID"
  655. Play_ID_Button.TextColor3 = Color3.new(1, 1, 1)
  656. Play_ID_Button.TextSize = 20
  657. Play_ID_Button.TextWrapped = true
  658.  
  659. ID_Box.Name = "ID_Box"
  660. ID_Box.Parent = Header
  661. ID_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  662. ID_Box.BorderColor3 = Color3.new(0, 0, 0)
  663. ID_Box.BorderSizePixel = 0
  664. ID_Box.Position = UDim2.new(0.356000006, 0, 1.22222221, 0)
  665. ID_Box.Size = UDim2.new(0, 140, 0, 35)
  666. ID_Box.Font = Enum.Font.Cartoon
  667. ID_Box.Text = "ID here"
  668. ID_Box.TextColor3 = Color3.new(1, 1, 1)
  669. ID_Box.TextSize = 35
  670. ID_Box.TextWrapped = true
  671.  
  672. Set_Vol_Button.Name = "Set_Vol_Button"
  673. Set_Vol_Button.Parent = Header
  674. Set_Vol_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  675. Set_Vol_Button.BorderColor3 = Color3.new(0, 0, 0)
  676. Set_Vol_Button.BorderSizePixel = 0
  677. Set_Vol_Button.Position = UDim2.new(0.0520000011, 0, 2.20000005, 0)
  678. Set_Vol_Button.Size = UDim2.new(0, 68, 0, 35)
  679. Set_Vol_Button.Font = Enum.Font.Cartoon
  680. Set_Vol_Button.Text = "Set Vol"
  681. Set_Vol_Button.TextColor3 = Color3.new(1, 1, 1)
  682. Set_Vol_Button.TextSize = 20
  683. Set_Vol_Button.TextWrapped = true
  684.  
  685. Vol_Box.Name = "Vol_Box"
  686. Vol_Box.Parent = Header
  687. Vol_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  688. Vol_Box.BorderColor3 = Color3.new(0, 0, 0)
  689. Vol_Box.BorderSizePixel = 0
  690. Vol_Box.Position = UDim2.new(0.356000006, 0, 2.20000005, 0)
  691. Vol_Box.Size = UDim2.new(0, 140, 0, 35)
  692. Vol_Box.Font = Enum.Font.Cartoon
  693. Vol_Box.Text = "Volume"
  694. Vol_Box.TextColor3 = Color3.new(1, 1, 1)
  695. Vol_Box.TextSize = 35
  696. Vol_Box.TextWrapped = true
  697.  
  698. Set_Tpos_Button.Name = "Set_Tpos_Button"
  699. Set_Tpos_Button.Parent = Header
  700. Set_Tpos_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  701. Set_Tpos_Button.BorderColor3 = Color3.new(0, 0, 0)
  702. Set_Tpos_Button.BorderSizePixel = 0
  703. Set_Tpos_Button.Position = UDim2.new(0.0520000011, 0, 3.24444437, 0)
  704. Set_Tpos_Button.Size = UDim2.new(0, 68, 0, 35)
  705. Set_Tpos_Button.Font = Enum.Font.Cartoon
  706. Set_Tpos_Button.Text = "Set Tpos"
  707. Set_Tpos_Button.TextColor3 = Color3.new(1, 1, 1)
  708. Set_Tpos_Button.TextSize = 18
  709. Set_Tpos_Button.TextWrapped = true
  710.  
  711. Tpos_Box.Name = "Tpos_Box"
  712. Tpos_Box.Parent = Header
  713. Tpos_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  714. Tpos_Box.BorderColor3 = Color3.new(0, 0, 0)
  715. Tpos_Box.BorderSizePixel = 0
  716. Tpos_Box.Position = UDim2.new(0.356000006, 0, 3.24444437, 0)
  717. Tpos_Box.Size = UDim2.new(0, 140, 0, 35)
  718. Tpos_Box.Font = Enum.Font.Cartoon
  719. Tpos_Box.Text = "Time Position"
  720. Tpos_Box.TextColor3 = Color3.new(1, 1, 1)
  721. Tpos_Box.TextSize = 20
  722. Tpos_Box.TextWrapped = true
  723.  
  724. Set_Text_Button.Name = "Set_Text_Button"
  725. Set_Text_Button.Parent = Header
  726. Set_Text_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  727. Set_Text_Button.BorderColor3 = Color3.new(0, 0, 0)
  728. Set_Text_Button.BorderSizePixel = 0
  729. Set_Text_Button.Position = UDim2.new(0.0600000024, 0, 4.22222233, 0)
  730. Set_Text_Button.Size = UDim2.new(0, 68, 0, 35)
  731. Set_Text_Button.Font = Enum.Font.Cartoon
  732. Set_Text_Button.Text = "Set Text"
  733. Set_Text_Button.TextColor3 = Color3.new(1, 1, 1)
  734. Set_Text_Button.TextSize = 18
  735. Set_Text_Button.TextWrapped = true
  736.  
  737. Tpos_Box_2.Name = "Tpos_Box"
  738. Tpos_Box_2.Parent = Header
  739. Tpos_Box_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  740. Tpos_Box_2.BorderColor3 = Color3.new(0, 0, 0)
  741. Tpos_Box_2.BorderSizePixel = 0
  742. Tpos_Box_2.Position = UDim2.new(0.356000006, 0, 4.22222233, 0)
  743. Tpos_Box_2.Size = UDim2.new(0, 140, 0, 35)
  744. Tpos_Box_2.Font = Enum.Font.Cartoon
  745. Tpos_Box_2.Text = "Text"
  746. Tpos_Box_2.TextColor3 = Color3.new(1, 1, 1)
  747. Tpos_Box_2.TextSize = 20
  748. Tpos_Box_2.TextWrapped = true
  749.  
  750. Toggle_Chat_Button.Name = "Toggle_Chat_Button"
  751. Toggle_Chat_Button.Parent = Header
  752. Toggle_Chat_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  753. Toggle_Chat_Button.BorderColor3 = Color3.new(0, 0, 0)
  754. Toggle_Chat_Button.BorderSizePixel = 0
  755. Toggle_Chat_Button.Position = UDim2.new(0.0579999983, 0, 5.26666689, 0)
  756. Toggle_Chat_Button.Size = UDim2.new(0, 97, 0, 35)
  757. Toggle_Chat_Button.Font = Enum.Font.Cartoon
  758. Toggle_Chat_Button.Text = "Toggle Chat"
  759. Toggle_Chat_Button.TextColor3 = Color3.new(1, 1, 1)
  760. Toggle_Chat_Button.TextSize = 20
  761. Toggle_Chat_Button.TextWrapped = true
  762.  
  763. Chat_Toggle_Label.Name = "Chat_Toggle_Label"
  764. Chat_Toggle_Label.Parent = Header
  765. Chat_Toggle_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  766. Chat_Toggle_Label.BackgroundTransparency = 0.89999997615814
  767. Chat_Toggle_Label.BorderColor3 = Color3.new(1, 1, 1)
  768. Chat_Toggle_Label.Position = UDim2.new(0.540000021, 0, 5.26666689, 0)
  769. Chat_Toggle_Label.Size = UDim2.new(0, 94, 0, 35)
  770. Chat_Toggle_Label.Font = Enum.Font.Cartoon
  771. Chat_Toggle_Label.Text = "~»False«~"
  772. Chat_Toggle_Label.TextColor3 = Color3.new(1, 1, 1)
  773. Chat_Toggle_Label.TextScaled = true
  774. Chat_Toggle_Label.TextSize = 14
  775. Chat_Toggle_Label.TextWrapped = true
  776.  
  777. Current_Song_Label.Name = "Current_Song_Label"
  778. Current_Song_Label.Parent = Header
  779. Current_Song_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  780. Current_Song_Label.BackgroundTransparency = 0.89999997615814
  781. Current_Song_Label.BorderColor3 = Color3.new(1, 1, 1)
  782. Current_Song_Label.Position = UDim2.new(0.0520000011, 0, 6.64444447, 0)
  783. Current_Song_Label.Size = UDim2.new(0, 225, 0, 35)
  784. Current_Song_Label.Font = Enum.Font.Cartoon
  785. Current_Song_Label.Text = "~»Current Song: None«~"
  786. Current_Song_Label.TextColor3 = Color3.new(1, 1, 1)
  787. Current_Song_Label.TextScaled = true
  788. Current_Song_Label.TextSize = 14
  789. Current_Song_Label.TextWrapped = true
  790.  
  791. Play_ID_Button.MouseButton1Down:Connect(function()
  792. if tonumber(ID_Box.Text) then
  793. Chillmusic:Stop()
  794. Chillmusic.SoundId='rbxassetid://'..tonumber(ID_Box.Text)
  795. Chillmusic:Play()
  796. currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(ID_Box.Text)).Name
  797. text.Text = "~»I Hate Roblox Hashtags«~ Now Playing: "..currentsong
  798. Current_Song_Label.Text = "~»Current Song: "..currentsong.."«~"
  799. wait(4)
  800. text.Text = "~»I Hate Roblox Hashtags«~"
  801. end
  802. end)
  803. local ischatting = false
  804.  
  805. Set_Vol_Button.MouseButton1Down:Connect(function()
  806.  
  807. Chillmusic.Volume = tonumber(Vol_Box.Text)
  808. end)
  809.  
  810. Set_Tpos_Button.MouseButton1Down:Connect(function()
  811.  
  812. Chillmusic.TimePosition = tonumber(Tpos_Box.Text)
  813. end)
  814.  
  815. Set_Text_Button.MouseButton1Down:Connect(function()
  816.  
  817. text.Text = "~»"..Tpos_Box_2.Text.."«~"
  818. end)
  819.  
  820. Toggle_Chat_Button.MouseButton1Down:Connect(function()
  821. if ischatting == false then
  822. ischatting = true
  823. Chat_Toggle_Label.Text = "~»True«~"
  824. spawn(function()
  825. game.Players.LocalPlayer.Chatted:connect(function(msg)
  826. for i = 0, msg:len(), 1 do
  827. text.Text = "~»"..msg:sub(0, i).."«~"
  828. end
  829. wait(3)
  830. text.Text = "~»I Hate Roblox Hashtags«~"
  831. end)
  832. end)
  833. else
  834. ischatting = false
  835. Chat_Toggle_Label.Text = "~»False«~"
  836. end
  837. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement