Advertisement
CreatorXHands

Chill FE

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