Advertisement
Telamun

The Illuminati Boi

May 21st, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.07 KB | None | 0 0
  1. ---CREATED BY SoIHeardYouLikeMemes/Kidd_Anonymouse/Teen_Anonymouse/Adult_Anonymouse/FetusAnonymouse---
  2. ---those are all my alts btw.---
  3. local you = game.Players.LocalPlayer
  4. local char = you.Character
  5. local mouse = you:GetMouse()
  6. local firing = false
  7.  
  8. local m = Instance.new("Model",char)
  9. local illum = Instance.new("Part",m)
  10. illum.CanCollide = false
  11. illum.BottomSurface = "Smooth"
  12. illum.TopSurface = "Smooth"
  13. illum.Size = Vector3.new(0.2, 0.2, 0.2)
  14. illum.Anchored = true
  15.  
  16. local s = Instance.new("Sound",m)
  17. s.SoundId = "rbxassetid://185492305"
  18. s.Volume = 0.8
  19. s.Looped = true
  20. s:Play()
  21. local SP = Instance.new("SpecialMesh",illum)
  22. SP.MeshId = "rbxassetid://438530093"
  23. SP.TextureId = "rbxassetid://438530120"
  24. SP.Scale = Vector3.new(0.2, 0.2, 0.2)
  25. SP.Offset = Vector3.new(0.5, 8, 0.03)
  26.  
  27.  
  28. local MousePart = Instance.new("Part",m)
  29. MousePart.CanCollide = false
  30. MousePart.BottomSurface = "Smooth"
  31. MousePart.TopSurface = "Smooth"
  32. MousePart.Size = Vector3.new(0.2, 0.2, 0.2)
  33. MousePart.Anchored = true
  34.  
  35.  
  36. local TipPart = Instance.new("Part",m)
  37. TipPart.CanCollide = false
  38. TipPart.BottomSurface = "Smooth"
  39. TipPart.TopSurface = "Smooth"
  40. TipPart.BrickColor = BrickColor.new("Lime green")
  41. TipPart.Material = "Neon"
  42. TipPart.FormFactor = "Custom"
  43. TipPart.Shape = "Ball"
  44. TipPart.Size = Vector3.new(2, 2, 2)
  45. TipPart.Anchored = true
  46. TipPart.Locked = true
  47. TipPart.CanCollide = false
  48. TipPart.Transparency = 0.5
  49.  
  50. local PE1 = Instance.new("ParticleEmitter",TipPart) -- dorritoes
  51. PE1.Texture = "rbxassetid://686815657"
  52. PE1.LightEmission = 0.3
  53. PE1.Acceleration = Vector3.new(0,-2,0)
  54. PE1.Lifetime = NumberRange.new(5,7)
  55. PE1.Speed = NumberRange.new(3,5)
  56. PE1.Rate = 30
  57. PE1.VelocitySpread = 50
  58.  
  59. local PE2 = Instance.new("ParticleEmitter",TipPart) --illuminati
  60. PE2.Texture = "rbxassetid://686815657"
  61. PE2.LightEmission = 1
  62. PE2.Acceleration = Vector3.new(0,-2,0)
  63. PE2.Lifetime = NumberRange.new(5,7)
  64. PE2.Speed = NumberRange.new(3,5)
  65. PE2.Rate = 10
  66. PE2.VelocitySpread = 50
  67.  
  68. local PE3 = Instance.new("ParticleEmitter",TipPart) --HitMarkers
  69. PE3.Texture = "rbxassetid://686815657"
  70. PE3.LightEmission = 1
  71. PE3.Acceleration = Vector3.new(0,-2,0)
  72. PE3.Lifetime = NumberRange.new(5,7)
  73. PE3.Speed = NumberRange.new(3,5)
  74. PE3.Rate = 10
  75. PE3.VelocitySpread = 50
  76.  
  77. local PE4 = Instance.new("ParticleEmitter",MousePart) -- dorritoes
  78. PE4.Texture = "rbxassetid://484383135"
  79. PE4.Acceleration = Vector3.new(0,-10,0)
  80. PE4.Lifetime = NumberRange.new(2,4)
  81. PE4.Speed = NumberRange.new(8,10)
  82. PE4.Rate = 100
  83. PE4.VelocitySpread = 50
  84.  
  85. local PE5 = Instance.new("ParticleEmitter",MousePart) --illuminati
  86. PE5.Texture = "rbxassetid://686815657"
  87. PE5.Acceleration = Vector3.new(0,-10,0)
  88. PE5.Lifetime = NumberRange.new(2,4)
  89. PE5.Speed = NumberRange.new(8,10)
  90. PE5.Rate = 100
  91. PE5.VelocitySpread = 50
  92.  
  93. local PE6 = Instance.new("ParticleEmitter",MousePart) --HitMarkers
  94. PE6.Texture = "rbxassetid://644165701"
  95. PE6.Acceleration = Vector3.new(0,-10,0)
  96. PE6.Lifetime = NumberRange.new(2,4)
  97. PE6.Speed = NumberRange.new(8,10)
  98. PE6.Rate = 100
  99. PE6.VelocitySpread = 50
  100.  
  101. PE1.Enabled = false
  102. PE2.Enabled = false
  103. PE3.Enabled = false
  104. PE4.Enabled = false
  105. PE5.Enabled = false
  106. PE6.Enabled = false
  107.  
  108. function drawlazer(p1,p2)
  109. part = Instance.new("Part", m)
  110. part.Name = "Location"
  111. part.BottomSurface = 0
  112. part.TopSurface = 0
  113. part.BrickColor = BrickColor.new("Lime green")
  114. part.Material = "Neon"
  115. part.FormFactor = "Custom"
  116. part.Shape = "Ball"
  117. part.Size = Vector3.new(4, 4, 4)
  118. part.Anchored = true
  119. part.Locked = true
  120. part.CanCollide = false
  121. part.Transparency = 0.5
  122. part.CFrame = CFrame.new(p1.Position.x,p1.Position.y,p1.Position.z)
  123.  
  124. obj = part
  125. local lastPos = obj.CFrame.p
  126. objC = obj:Clone()
  127. objC.Name = "Line"
  128. objC.Parent = m
  129. objC.Shape = "Ball"
  130. objC.Anchored = true
  131. local distance = (p2.Position- obj.CFrame.p).magnitude
  132. objC.Size = Vector3.new(10,10,distance)
  133. objC.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/2)
  134. lastPos = obj.CFrame.p
  135. objCC1 = objC:Clone()
  136. objCC1.Parent = objC
  137. objCC1.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/2.5)
  138. objCC1.Size = Vector3.new(4,4,distance/2)
  139. objCC1.Name = "LineC1"
  140.  
  141. objCC2 = objC:Clone()
  142. objCC2.Parent = objC
  143. objCC2.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/1.5)
  144. objCC2.Size = Vector3.new(4,4,distance/2)
  145. objCC2.Name = "LineC2"
  146. objCC2:ClearAllChildren()
  147.  
  148. end
  149.  
  150. function drawlazer2(p1,p2)
  151. part = m:FindFirstChild("Location")
  152. part.CFrame = CFrame.new(p1.Position.x,p1.Position.y,p1.Position.z)
  153. obj = part
  154. local distance = (p2.Position- obj.CFrame.p).magnitude
  155. objC = m.Line:Clone()
  156. objC.Name = "Line2"
  157. objC.Parent = m
  158. objC.Size = Vector3.new(4,4,distance)
  159. objC.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/2)
  160.  
  161. objCC1 = objC.LineC1
  162.  
  163. objCC1.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/2.5)
  164. objCC1.Size = Vector3.new(4,4,distance/2)
  165.  
  166.  
  167. objCC2 = objC.LineC2
  168.  
  169. objCC2.CFrame = CFrame.new(p2.Position,obj.Position)*CFrame.new(0,0,-distance/1.5)
  170. objCC2.Size = Vector3.new(4,4,distance/2)
  171.  
  172.  
  173. m.Line:remove()
  174.  
  175. objC.Name = "Line"
  176. for _,v in pairs(game.Players:GetPlayers()) do
  177.  
  178. if v ~= you then
  179. local d = (part.Position- v.Character:WaitForChild("Torso").CFrame.p).magnitude
  180. if d <= 5 then
  181. v.Character:FindFirstChildOfClass("Humanoid"):TakeDamage(5)
  182. end
  183. end
  184. --wait()
  185. end
  186.  
  187. end
  188.  
  189.  
  190. function despawn1(part1,part2,length)
  191.  
  192. for i = 10,1,-1 do
  193.  
  194. part1.Transparency = part1.Transparency + 0.1
  195. part1.Size = part1.Size + Vector3.new(0.2,0.2,length)
  196. part1.Size = Vector3.new(part1.Size.X,part1.Size.Y,length)
  197.  
  198. wait(0.01)
  199. end
  200. part1:remove()
  201.  
  202. for i = 10,1,-1 do
  203.  
  204. part2.Transparency = part2.Transparency + 0.1
  205.  
  206. wait(0.01)
  207. end
  208. part2:remove()
  209.  
  210. end
  211.  
  212. function despawn2(part1,length)
  213.  
  214. for i = 10,1,-1 do
  215.  
  216. part1.Transparency = part1.Transparency + 0.1
  217. part1.Size = part1.Size + Vector3.new(0.2,0,length)
  218. part1.Size = Vector3.new(part1.Size.X,part1.Size.Y,length)
  219.  
  220. wait(0.01)
  221. end
  222. part1:remove()
  223. end
  224.  
  225.  
  226.  
  227. function snipe(T)
  228.  
  229. part = Instance.new("Part", m)
  230. part.Name = "Sniper"
  231. part.BottomSurface = 0
  232. part.TopSurface = 0
  233. part.BrickColor = BrickColor.new("Really black")
  234. part.Material = "Neon"
  235. part.FormFactor = "Custom"
  236. part.Size = Vector3.new(1, 1, 3)
  237. part.Anchored = true
  238. part.Locked = true
  239. part.CanCollide = false
  240. part.Transparency = 0
  241.  
  242. local SP = Instance.new("SpecialMesh",part)
  243. SP.MeshId = "rbxassetid://685827900"
  244. SP.Scale = Vector3.new(0.05, 0.05, 0.05)
  245. SP.Offset = Vector3.new(0, -0.3, 3.05)
  246.  
  247. local S=part
  248.  
  249. part.Position = char.Torso.Position + Vector3.new(math.random(-5,5),math.random(3,8),math.random(-5,5))
  250. part.CFrame = CFrame.new(part.Position,T.Position)
  251.  
  252.  
  253. obj = part
  254. local lastPos = obj.CFrame.p
  255. objC = obj:Clone()
  256. objC.Mesh:remove()
  257. wait(0.05)
  258. objC.Parent = part
  259. objC.Shape = "Ball"
  260. objC.FormFactor = "Custom"
  261. objC.Anchored = true
  262. objC.BrickColor = BrickColor.new("New Yeller")
  263. local distance = (T.Position- obj.CFrame.p).magnitude
  264. objC.Size = Vector3.new(0.2,0.2,distance)
  265. objC.CFrame = CFrame.new(T.Position,obj.Position)*CFrame.new(0,0,-distance/2)
  266. local s = Instance.new("Sound",part)
  267. s.SoundId = "rbxassetid://680140087"
  268. s.Volume = 1
  269. s.PlayOnRemove = true
  270. s:remove()
  271. despawn1(objC,part,distance)
  272. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  273. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(20)
  274. local PETemp = Instance.new("ParticleEmitter",mouse.Target) --HitMarkers
  275. PETemp.Texture = "rbxassetid://644165701"
  276. PETemp.Acceleration = Vector3.new(0,-10,0)
  277. PETemp.Lifetime = NumberRange.new(2,4)
  278. PETemp.Speed = NumberRange.new(8,10)
  279. PETemp.Rate = 100
  280. PETemp.VelocitySpread = 50
  281. PETemp.Enabled = true
  282. wait(0.1)
  283. PETemp.Enabled = false
  284. end
  285. end
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292. function ThrowDorito(a,b)
  293. if m:FindFirstChild("Throw") == nil then
  294. local animation=Instance.new("Animation",char:FindFirstChildOfClass("Humanoid"))
  295. animation.Name="Throw"
  296. animation.AnimationId="http://www.roblox.com/asset/?id=207107855"
  297. anim=char:FindFirstChildOfClass("Humanoid"):LoadAnimation(animation)
  298. anim:Play()
  299. else
  300. local animation=char:FindFirstChildOfClass("Humanoid").Throw
  301. anim=char:FindFirstChildOfClass("Humanoid"):LoadAnimation(animation)
  302. anim:Play()
  303. end
  304.  
  305. part = Instance.new("Part", m)
  306. part.Name = "Dorito"
  307. part.BottomSurface = 0
  308. part.TopSurface = 0
  309. part.BrickColor = BrickColor.new("Neon orange")
  310. part.Material = "Neon"
  311. part.FormFactor = "Custom"
  312. part.Shape = "Ball"
  313. part.Size = Vector3.new(1,0.2,1)
  314. part.Anchored = true
  315. part.Locked = true
  316. part.CanCollide = false
  317. part.Transparency = 0
  318. part.CFrame = CFrame.new(a.Position.x,a.Position.y,a.Position.z)
  319. local SP = Instance.new("SpecialMesh",part)
  320. SP.MeshId = "rbxassetid://627995517"
  321. SP.Scale = Vector3.new(1, 1, 1)
  322.  
  323.  
  324. obj = part
  325. local lastPos = obj.CFrame.p
  326. objC = obj:Clone()
  327. objC.Name = "DoritoTrail"
  328. objC.Mesh:remove()
  329. objC.Parent = m
  330. objC.FormFactor = "Custom"
  331. objC.Anchored = true
  332. objC.Transparency = 0.5
  333. objC.BrickColor = BrickColor.new("CGA brown")
  334.  
  335. local distance = (b.Position- obj.CFrame.p).magnitude
  336. objC.Size = Vector3.new(1,0.2,distance)
  337. objC.CFrame = CFrame.new(b.Position,obj.Position)*CFrame.new(0,0,-distance/2)
  338. lastPos = obj.CFrame.p
  339. obj.CFrame = CFrame.new(b.Position,obj.Position)*CFrame.new(0,0,-distance)
  340. obj.CFrame = obj.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(1,99),0)
  341. objC.Size = Vector3.new(1,0.2,distance)
  342. print(distance)
  343. local target = mouse.Target
  344. local weld = Instance.new("ManualWeld")
  345. weld.Part0 = part
  346. weld.Part1 = target
  347. weld.C0 = CFrame.new()
  348. weld.C1 = target.CFrame:inverse() * part.CFrame
  349. weld.Parent = part
  350. part.Anchored = false
  351. if target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  352. target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(5)
  353. end
  354. despawn2(objC,distance)
  355. end
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365. function shoot()
  366. print("FIRE!")
  367. TipPart.Transparency = 0.5
  368. if m:FindFirstChild("Line") == nil then
  369.  
  370. drawlazer(MousePart,TipPart)
  371. else
  372. drawlazer2(MousePart,TipPart)
  373. end
  374. local s = Instance.new("Sound",TipPart)
  375. s.SoundId = "rbxassetid://705502934"
  376. s.Volume = 2.5
  377. s.PlayOnRemove = true
  378. s:remove()
  379. wait()
  380. end
  381.  
  382. --.KEYS....KEYS....KEYSKEYSKEYS....KEYS....KEYS....KEYSKEYSKEYS......--
  383. --.KEYS....KEYS....KEYSKEYSKEYS....KEYS....KEYS..KEYSKEYS..KEYSKEYS..--
  384. --.KEYS..KEYS......KEYS..............KEYSKEYS...KEYS...........KEYS..--
  385. --.KEYS..KEYS......KEYS..............KEYSKEYS...KEYSKEYS.............--
  386. --.KEYSKEYS........KEYSKEYS............KEYS........KEYSKEYS..........--
  387. --.KEYSKEYS........KEYSKEYS............KEYS............KEYSKEYS......--
  388. --.KEYS..KEYS......KEYS..............KEYS..................KEYSKEYS..--
  389. --.KEYS..KEYS......KEYS..............KEYS.......KEYS...........KEYS..--
  390. --.KEYS....KEYS....KEYSKEYSKEYS....KEYS.........KEYSKEYS..KEYSKEYS...--
  391. --.KEYS....KEYS....KEYSKEYSKEYS....KEYS............KEYSKEYSKEYS......--
  392. mouse.Button1Up:connect(function()
  393. firing = false
  394. print("Stop")
  395. PE1.Enabled = false
  396. PE2.Enabled = false
  397. PE3.Enabled = false
  398. PE4.Enabled = false
  399. PE5.Enabled = false
  400. PE6.Enabled = false
  401. if m:FindFirstChild("Line") ~= nil then
  402. m.Line:remove()
  403. m.Location:remove()
  404. end
  405. TipPart.Transparency = 1
  406. repeat illum.CFrame = illum.CFrame * CFrame.fromEulerAnglesXYZ(0,0.05,0) illum.Position = char.Torso.Position + Vector3.new(0,.01,0) if m:FindFirstChild("Line") ~= nil then m:FindFirstChild("Line"):remove() end if m:FindFirstChild("Location") ~= nil then m:FindFirstChild("Location"):remove() end wait()
  407. until firing == true
  408. end)
  409.  
  410. mouse.Button1Down:connect(function()
  411. firing = true
  412. PE1.Enabled = true
  413. --PE2.Enabled = true
  414. --PE3.Enabled = true
  415. PE4.Enabled = true
  416. PE5.Enabled = true
  417. PE6.Enabled = true
  418. repeat MousePart.CFrame = CFrame.new(mouse.Hit.p) TipPart.Position = char.Head.Position + Vector3.new(0,9,0) illum.CFrame = illum.CFrame * CFrame.fromEulerAnglesXYZ(0,0.05,0) illum.Position = char.Torso.Position + Vector3.new(0,.01,0) shoot() wait()
  419. until firing == false
  420.  
  421. end)
  422.  
  423. mouse.KeyDown:connect(function(key)
  424. if key == "q" and firing == false then
  425. MousePart.CFrame = CFrame.new(mouse.Hit.p)
  426. snipe(MousePart)
  427. print("Snipe")
  428. elseif key == "e" and firing == false then
  429. MousePart.CFrame = CFrame.new(mouse.Hit.p)
  430. ThrowDorito(MousePart,char:FindFirstChild("Right Arm"))
  431. print("Dorito")
  432. end
  433.  
  434. end)m = game.Players.LocalPlayer
  435.  
  436. char = m.Character
  437.  
  438. function Random(num)
  439. local section=num % 1 * 3;
  440. local secondary=0.5 * math.pi * (section % 1);
  441. if section < 1 then
  442. return 1,1 - math.cos(secondary),1 - math.sin(secondary);
  443. elseif section < 2 then
  444. return 1 - math.sin(secondary),1,1 - math.cos(secondary);
  445. else
  446. return 1 - math.cos(secondary),1 - math.sin(secondary),1;
  447. end
  448. end
  449.  
  450. --//Lol try to figure this one out//
  451. function rainb(hue)
  452. local section = hue % 1 * 3
  453. local secondary = 0.5 * math.pi * (section % 1)
  454. if section < 1 then
  455. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  456. elseif section < 2 then
  457. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  458. else
  459. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  460. end
  461. end
  462.  
  463. Chillmusic = Instance.new("Sound", workspace)
  464. Chillmusic.Parent = game.Chat
  465. Chillmusic.Volume = 8
  466. Chillmusic.SoundId = "rbxassetid://662742095"
  467. Chillmusic.Looped = true
  468. Chillmusic:Play()
  469.  
  470. local txt = Instance.new("BillboardGui", char)
  471. txt.Adornee = char.Head
  472. txt.Name = "_status"
  473. txt.Size = UDim2.new(2, 0, 1.2, 0)
  474. txt.StudsOffset = Vector3.new(-9, 8, 0)
  475. local text = Instance.new("TextLabel", txt)
  476. text.Size = UDim2.new(10, 0, 7, 0)
  477. text.FontSize = "Size24"
  478. text.TextScaled = true
  479. text.TextTransparency = 0
  480. text.BackgroundTransparency = 1
  481. text.TextTransparency = 0
  482. text.TextStrokeTransparency = 0
  483. text.Font = "Arcade"
  484. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  485. v = Instance.new("Part")
  486. v.Name = "ColorBrick"
  487. v.Parent = m.Character
  488. v.FormFactor = "Symmetric"
  489. v.Anchored = true
  490. v.CanCollide = false
  491. v.BottomSurface = "Smooth"
  492. v.TopSurface = "Smooth"
  493. v.Size = Vector3.new(10, 5, 3)
  494. v.Transparency = 1
  495. v.CFrame = char.Torso.CFrame
  496. v.BrickColor = BrickColor.new("Really black")
  497. v.Transparency = 1
  498. spawn(function()
  499. TweenService = game:GetService("TweenService")
  500. Colours = {Color3.fromRGB(0,100,200),Color3.fromRGB(4, 175, 236)}
  501. Int = 0
  502. while wait(2) do
  503. if Int == #Colours then Int = 0 end
  504. Int = Int+1
  505. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  506. end
  507. end)
  508. v.Shape = "Block"
  509. text.Text = "~»Chill Af«~"
  510. Player = game:GetService("Players").LocalPlayer
  511. Character = Player.Character
  512. PlayerGui = Player.PlayerGui
  513. Backpack = Player.Backpack
  514. Torso = Character.Torso
  515. Head = Character.Head
  516. Humanoid = Character.Humanoid
  517. m = Instance.new("Model", Character)
  518. LeftArm = Character["Left Arm"]
  519. LeftLeg = Character["Left Leg"]
  520. RightArm = Character["Right Arm"]
  521. RightLeg = Character["Right Leg"]
  522. LS = Torso["Left Shoulder"]
  523. LH = Torso["Left Hip"]
  524. RS = Torso["Right Shoulder"]
  525. RH = Torso["Right Hip"]
  526. Face = Head.face
  527. Neck = Torso.Neck
  528. it = Instance.new
  529. attacktype = 1
  530. vt = Vector3.new
  531. cf = CFrame.new
  532. bc = BrickColor.new
  533. br = BrickColor.random
  534. it = Instance.new
  535. euler = CFrame.fromEulerAnglesXYZ
  536. angles = CFrame.Angles
  537. cloaked = false
  538. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  539. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  540. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  541. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  542. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  543. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  544. RootPart = Character.HumanoidRootPart
  545. RootJoint = RootPart.RootJoint
  546. RootCF = euler(-1.57, 0, 3.14)
  547. attack = false
  548. attackdebounce = false
  549. equipped = false
  550. trispeed = 0.2
  551. attackmode = "none"
  552. local idle = 0
  553. local Anim = "Idle"
  554. Head.face.Texture = "rbxassetid://206844132"
  555.  
  556. local Trail = Instance.new("Trail",char)
  557. local attachment0 = Instance.new("Attachment",char["Right Arm"])
  558. attachment0.Name = "TrailAttachment0"
  559. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  560. local attachment1 = Instance.new("Attachment",char["Right Arm"])
  561. attachment1.CFrame = CFrame.new(0.25,-1,0)
  562. attachment1.Name = "TrailAttachment1"
  563. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  564. 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))})
  565. Trail.Lifetime = 0.5
  566. Trail.Attachment0 = attachment0
  567. Trail.Attachment1 = attachment1
  568.  
  569. local Trail = Instance.new("Trail",char)
  570. local attachment0 = Instance.new("Attachment",char["Left Arm"])
  571. attachment0.Name = "TrailAttachment0"
  572. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  573. local attachment1 = Instance.new("Attachment",char["Left Arm"])
  574. attachment1.CFrame = CFrame.new(0.25,-1,0)
  575. attachment1.Name = "TrailAttachment1"
  576. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  577. 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))})
  578. Trail.Lifetime = 0.5
  579. Trail.Attachment0 = attachment0
  580. Trail.Attachment1 = attachment1
  581.  
  582. local Trail = Instance.new("Trail",char)
  583. local attachment0 = Instance.new("Attachment",char["Right Leg"])
  584. attachment0.Name = "TrailAttachment0"
  585. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  586. local attachment1 = Instance.new("Attachment",char["Right Leg"])
  587. attachment1.CFrame = CFrame.new(0.25,-1,0)
  588. attachment1.Name = "TrailAttachment1"
  589. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  590. 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))})
  591. Trail.Lifetime = 0.5
  592. Trail.Attachment0 = attachment0
  593. Trail.Attachment1 = attachment1
  594.  
  595. local Trail = Instance.new("Trail",char)
  596. local attachment0 = Instance.new("Attachment",char["Left Leg"])
  597. attachment0.Name = "TrailAttachment0"
  598. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  599. local attachment1 = Instance.new("Attachment",char["Left Leg"])
  600. attachment1.CFrame = CFrame.new(0.25,-1,0)
  601. attachment1.Name = "TrailAttachment1"
  602. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  603. 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))})
  604. Trail.Lifetime = 0.5
  605. Trail.Attachment0 = attachment0
  606. Trail.Attachment1 = attachment1
  607.  
  608.  
  609. Humanoid.Animator.Parent = nil
  610. Character.Animate.Parent = nil
  611. function FindNearestTorso(Position, Distance, SinglePlayer)
  612. if SinglePlayer then
  613. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  614. end
  615. local List = {}
  616. for i, v in pairs(workspace:GetChildren()) do
  617. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
  618. table.insert(List, v)
  619. end
  620. end
  621. return List
  622. end
  623. function lerp(a, b, t)
  624. return a + (b - a) * t
  625. end
  626. function slerp(a, b, t)
  627. dot = a:Dot(b)
  628. if dot > 0.99999 or dot < -0.99999 then
  629. return t <= 0.5 and a or b
  630. else
  631. r = math.acos(dot)
  632. return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r)
  633. end
  634. end
  635. function matrixInterpolate(a, b, t)
  636. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  637. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  638. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t)
  639. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t)
  640. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t)
  641. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t)
  642. local t = v1:Dot(v2)
  643. if not (t < 0) and t ~= 0 and not (t > 0) then
  644. return CFrame.new()
  645. end
  646. 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)
  647. end
  648. function genWeld(a, b)
  649. local w = Instance.new("Weld", a)
  650. w.Part0 = a
  651. w.Part1 = b
  652. return w
  653. end
  654. function weld(a, b)
  655. local weld = Instance.new("Weld")
  656. weld.Name = "W"
  657. weld.Part0 = a
  658. weld.Part1 = b
  659. weld.C0 = a.CFrame:inverse() * b.CFrame
  660. weld.Parent = a
  661. return weld
  662. end
  663. function Lerp(c1, c2, al)
  664. local com1 = {
  665. c1.X,
  666. c1.Y,
  667. c1.Z,
  668. c1:toEulerAnglesXYZ()
  669. }
  670. local com2 = {
  671. c2.X,
  672. c2.Y,
  673. c2.Z,
  674. c2:toEulerAnglesXYZ()
  675. }
  676. for i, v in pairs(com1) do
  677. com1[i] = v + (com2[i] - v) * al
  678. end
  679. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  680. end
  681. function clerp(a, b, t)
  682. local qa = {
  683. QuaternionFromCFrame(a)
  684. }
  685. local qb = {
  686. QuaternionFromCFrame(b)
  687. }
  688. local ax, ay, az = a.x, a.y, a.z
  689. local bx, by, bz = b.x, b.y, b.z
  690. local _t = 1 - t
  691. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  692. end
  693. function QuaternionFromCFrame(cf)
  694. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  695. local trace = m00 + m11 + m22
  696. if trace > 0 then
  697. local s = math.sqrt(1 + trace)
  698. local recip = 0.5 / s
  699. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  700. else
  701. local i = 0
  702. if m00 < m11 then
  703. i = 1
  704. end
  705. if m22 > (i == 0 and m00 or m11) then
  706. i = 2
  707. end
  708. if i == 0 then
  709. local s = math.sqrt(m00 - m11 - m22 + 1)
  710. local recip = 0.5 / s
  711. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  712. elseif i == 1 then
  713. local s = math.sqrt(m11 - m22 - m00 + 1)
  714. local recip = 0.5 / s
  715. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  716. elseif i == 2 then
  717. local s = math.sqrt(m22 - m00 - m11 + 1)
  718. local recip = 0.5 / s
  719. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  720. end
  721. end
  722. end
  723. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  724. local xs, ys, zs = x + x, y + y, z + z
  725. local wx, wy, wz = w * xs, w * ys, w * zs
  726. local xx = x * xs
  727. local xy = x * ys
  728. local xz = x * zs
  729. local yy = y * ys
  730. local yz = y * zs
  731. local zz = z * zs
  732. 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))
  733. end
  734. function QuaternionSlerp(a, b, t)
  735. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  736. local startInterp, finishInterp
  737. if cosTheta >= 1.0E-4 then
  738. if 1 - cosTheta > 1.0E-4 then
  739. local theta = math.acos(cosTheta)
  740. local invSinTheta = 1 / math.sin(theta)
  741. startInterp = math.sin((1 - t) * theta) * invSinTheta
  742. finishInterp = math.sin(t * theta) * invSinTheta
  743. else
  744. startInterp = 1 - t
  745. finishInterp = t
  746. end
  747. elseif 1 + cosTheta > 1.0E-4 then
  748. local theta = math.acos(-cosTheta)
  749. local invSinTheta = 1 / math.sin(theta)
  750. startInterp = math.sin((t - 1) * theta) * invSinTheta
  751. finishInterp = math.sin(t * theta) * invSinTheta
  752. else
  753. startInterp = t - 1
  754. finishInterp = t
  755. end
  756. 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
  757. end
  758. function rayCast(Pos, Dir, Max, Ignore)
  759. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  760. end
  761. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  762. local fp = it("Part")
  763. fp.formFactor = formfactor
  764. fp.Parent = parent
  765. fp.Reflectance = reflectance
  766. fp.Transparency = transparency
  767. fp.CanCollide = false
  768. fp.Locked = true
  769. fp.BrickColor = brickcolor
  770. fp.Name = name
  771. fp.Size = size
  772. fp.Position = Torso.Position
  773. fp.BottomSurface = "Smooth"
  774. fp.TopSurface = "Smooth"
  775. fp:BreakJoints()
  776. return fp
  777. end
  778. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  779. local mesh = it(Mesh)
  780. mesh.Parent = part
  781. if Mesh == "SpecialMesh" then
  782. mesh.MeshType = meshtype
  783. mesh.MeshId = meshid
  784. end
  785. mesh.Offset = offset
  786. mesh.Scale = scale
  787. return mesh
  788. end
  789. function weld(parent, part0, part1, c0)
  790. local weld = it("Weld")
  791. weld.Parent = parent
  792. weld.Part0 = part0
  793. weld.Part1 = part1
  794. weld.C0 = c0
  795. return weld
  796. end
  797. function rayCast(Pos, Dir, Max, Ignore)
  798. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  799. end
  800. RSH, LSH = nil, nil
  801. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  802. RW.Name = "Right Shoulder"
  803. LW.Name = "Left Shoulder"
  804. LH = Torso["Left Hip"]
  805. RH = Torso["Right Hip"]
  806. TorsoColor = Torso.BrickColor
  807. function NoOutline(Part)
  808. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  809. end
  810. player = Player
  811. ch = Character
  812. RSH = ch.Torso["Right Shoulder"]
  813. LSH = ch.Torso["Left Shoulder"]
  814. RSH.Parent = nil
  815. LSH.Parent = nil
  816. RW.Name = "Right Shoulder"
  817. RW.Part0 = ch.Torso
  818. RW.C0 = cf(1.5, 0.5, 0)
  819. RW.C1 = cf(0, 0.5, 0)
  820. RW.Part1 = ch["Right Arm"]
  821. RW.Parent = ch.Torso
  822. LW.Name = "Left Shoulder"
  823. LW.Part0 = ch.Torso
  824. LW.C0 = cf(-1.5, 0.5, 0)
  825. LW.C1 = cf(0, 0.5, 0)
  826. LW.Part1 = ch["Left Arm"]
  827. LW.Parent = ch.Torso
  828. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  829. local wld = Instance.new("Weld", wp1)
  830. wld.Part0 = wp0
  831. wld.Part1 = wp1
  832. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  833. end
  834. newWeld(RootPart, Torso, 0, -1, 0)
  835. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  836. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  837. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  838. newWeld(Torso, RightLeg, 0.5, -1, 0)
  839. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  840. Player = game:GetService("Players").LocalPlayer
  841. Character = Player.Character
  842. mouse = Player:GetMouse()
  843. m = Instance.new("Model", Character)
  844. local weldBetween = function(a, b)
  845. local weldd = Instance.new("ManualWeld")
  846. weldd.Part0 = a
  847. weldd.Part1 = b
  848. weldd.C0 = CFrame.new()
  849. weldd.C1 = b.CFrame:inverse() * a.CFrame
  850. weldd.Parent = a
  851. return weldd
  852. end
  853. ArtificialHB = Instance.new("BindableEvent", script)
  854. ArtificialHB.Name = "Heartbeat"
  855. script:WaitForChild("Heartbeat")
  856. frame = 0.016666666666666666
  857. tf = 0
  858. allowframeloss = false
  859. tossremainder = false
  860. lastframe = tick()
  861. script.Heartbeat:Fire()
  862. game:GetService("RunService").Heartbeat:connect(function(s, p)
  863. tf = tf + s
  864. if tf >= frame then
  865. if allowframeloss then
  866. script.Heartbeat:Fire()
  867. lastframe = tick()
  868. else
  869. for i = 1, math.floor(tf / frame) do
  870. script.Heartbeat:Fire()
  871. end
  872. lastframe = tick()
  873. end
  874. if tossremainder then
  875. tf = 0
  876. else
  877. tf = tf - frame * math.floor(tf / frame)
  878. end
  879. end
  880. end)
  881. function swait(num)
  882. if num == 0 or num == nil then
  883. ArtificialHB.Event:wait()
  884. else
  885. for i = 0, num do
  886. ArtificialHB.Event:wait()
  887. end
  888. end
  889. end
  890. mouse.KeyDown:connect(function(key)
  891. if key == "c" then
  892. repeat
  893. swait()
  894. Chillmusic.Volume = Chillmusic.Volume - 0.05
  895. until Chillmusic.Volume == 0
  896. Chillmusic:Stop()
  897. swait()
  898. Chillmusic2:Play()
  899. Chillmusic.Volume = 1
  900. end
  901. end)
  902. mouse.KeyDown:connect(function(key)
  903. if key == "f" then
  904. text.Text = "Guys why not just chill?"
  905. wait(1)
  906. text.Text = "It's just the way life should be."
  907. wait(1)
  908. text.Text = "Chill is life."
  909. wait(1)
  910. text.Text = "Chill is love."
  911. wait(1)
  912. text.Text = "Chill is for the best."
  913. wait(1)
  914. text.Text = "Maybe if you were chill you wouldn't be a skid..."
  915. wait(3)
  916. text.Text = "But some people cant handle the chill can they."
  917. wait(3)
  918. text.Text = "Chill Af"
  919. end
  920. end)
  921. mouse.KeyDown:connect(function(key)
  922. if key == "v" then
  923. repeat
  924. swait()
  925. Chillmusic2.Volume = Chillmusic2.Volume - 0.05
  926. until Chillmusic2.Volume == 0
  927. Chillmusic2:Stop()
  928. swait()
  929. Chillmusic:Play()
  930. Chillmusic2.Volume = 1
  931. end
  932. end)
  933. mouse.KeyDown:connect(function(key)
  934. if key == "b" then
  935. text.Text = "Be back scrubs."
  936. wait(1)
  937. text.Text = "Afk nibba..."
  938. end
  939. end)
  940. mouse.KeyDown:connect(function(key)
  941. if key == "n" then
  942. text.Text = "K back you nubs's!"
  943. wait(1)
  944. text.Text = "Chill Af"
  945. end
  946. end)
  947. m = Instance.new("ForceField", Character)
  948. m.Visible = false
  949. Character.Humanoid.WalkSpeed = 4
  950. mouse.KeyDown:connect(function(key)
  951. if string.byte(key) == 48 then
  952. Swing = 2
  953. Character.Humanoid.WalkSpeed = 40
  954. end
  955. end)
  956. mouse.KeyUp:connect(function(key)
  957. if string.byte(key) == 48 then
  958. Swing = 1
  959. Character.Humanoid.WalkSpeed = 4
  960. end
  961. end)
  962. local sine = 0
  963. local change = 1
  964. local val = 0
  965. spawn(function()
  966. while true do
  967. swait()
  968. sine = sine + change
  969. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  970. local velderp = RootPart.Velocity.y
  971. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  972. if equipped == true or equipped == false then
  973. if attack == false then
  974. idle = idle + 1
  975. Character.Humanoid.MaxHealth = math.huge
  976. Character.Humanoid.Health = math.huge
  977. else
  978. idle = 0
  979. end
  980. if not (idle >= 500) or attack == false then
  981. end
  982. if torvel < 1 and hitfloor ~= nil then
  983. Anim = "Chill"
  984. if attack == false then
  985. Humanoid.CameraOffset = Vector3.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0)
  986. 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)
  987. 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)
  988. 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)
  989. 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)
  990. 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)
  991. 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)
  992. end
  993. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  994. Anim = "Walk"
  995. if attack == false then
  996. Humanoid.CameraOffset = Vector3.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0)
  997. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.2)
  998. 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)
  999. 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)
  1000. 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)
  1001. 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)
  1002. 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)
  1003. 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)
  1004. end
  1005. elseif torvel >= 22 and hitfloor ~= nil then
  1006. Anim = "Run"
  1007. if attack == false then
  1008. Humanoid.CameraOffset = Vector3.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0)
  1009. 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)
  1010. 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)
  1011. 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)
  1012. 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)
  1013. 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)
  1014. 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)
  1015. 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)
  1016. end
  1017. end
  1018. end
  1019. end
  1020. end)
  1021.  
  1022.  
  1023.  
  1024. -- Objects
  1025.  
  1026. local Chill_Gui_Bro = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  1027. local Header = Instance.new("Frame")
  1028. local BackGround = Instance.new("Frame")
  1029. local Chill_Gui_Label = Instance.new("TextLabel")
  1030. local Play_ID_Button = Instance.new("TextButton")
  1031. local ID_Box = Instance.new("TextBox")
  1032. local Set_Vol_Button = Instance.new("TextButton")
  1033. local Vol_Box = Instance.new("TextBox")
  1034. local Set_Tpos_Button = Instance.new("TextButton")
  1035. local Tpos_Box = Instance.new("TextBox")
  1036. local Set_Text_Button = Instance.new("TextButton")
  1037. local Tpos_Box_2 = Instance.new("TextBox")
  1038. local Toggle_Chat_Button = Instance.new("TextButton")
  1039. local Chat_Toggle_Label = Instance.new("TextLabel")
  1040. local Current_Song_Label = Instance.new("TextLabel")
  1041.  
  1042. -- Properties
  1043.  
  1044. Chill_Gui_Bro.Name = "Chill_Gui_Bro"
  1045.  
  1046. Header.Name = "Header"
  1047. Header.Parent = Chill_Gui_Bro
  1048. Header.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1049. Header.BorderSizePixel = 0
  1050. Header.Draggable = true
  1051. Header.Active = true
  1052. Header.Selectable = true
  1053. Header.Position = UDim2.new(0.469539374, 0, 0.147921771, 0)
  1054. Header.Size = UDim2.new(0, 250, 0, 45)
  1055.  
  1056. BackGround.Name = "BackGround"
  1057. BackGround.Parent = Header
  1058. BackGround.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  1059. BackGround.BorderSizePixel = 0
  1060. BackGround.Draggable = true
  1061. BackGround.Position = UDim2.new(0, 0, 1, 0)
  1062. BackGround.Size = UDim2.new(0, 250, 0, 299)
  1063.  
  1064. Chill_Gui_Label.Name = "Chill_Gui_Label"
  1065. Chill_Gui_Label.Parent = Header
  1066. Chill_Gui_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  1067. Chill_Gui_Label.BackgroundTransparency = 1
  1068. Chill_Gui_Label.BorderSizePixel = 0
  1069. Chill_Gui_Label.Draggable = true
  1070. Chill_Gui_Label.Size = UDim2.new(0, 250, 0, 45)
  1071. Chill_Gui_Label.Font = Enum.Font.Arcade
  1072. Chill_Gui_Label.Text = "~»Chill Gui«~"
  1073. Chill_Gui_Label.TextColor3 = Color3.new(1, 1, 1)
  1074. Chill_Gui_Label.TextScaled = true
  1075. Chill_Gui_Label.TextSize = 14
  1076. Chill_Gui_Label.TextWrapped = true
  1077.  
  1078. Play_ID_Button.Name = "Play_ID_Button"
  1079. Play_ID_Button.Parent = Header
  1080. Play_ID_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1081. Play_ID_Button.BorderColor3 = Color3.new(0, 0, 0)
  1082. Play_ID_Button.BorderSizePixel = 0
  1083. Play_ID_Button.Position = UDim2.new(0.0520000011, 0, 1.22222221, 0)
  1084. Play_ID_Button.Size = UDim2.new(0, 68, 0, 35)
  1085. Play_ID_Button.Font = Enum.Font.Arcade
  1086. Play_ID_Button.Text = "Play ID"
  1087. Play_ID_Button.TextColor3 = Color3.new(1, 1, 1)
  1088. Play_ID_Button.TextSize = 20
  1089. Play_ID_Button.TextWrapped = true
  1090.  
  1091. ID_Box.Name = "ID_Box"
  1092. ID_Box.Parent = Header
  1093. ID_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1094. ID_Box.BorderColor3 = Color3.new(0, 0, 0)
  1095. ID_Box.BorderSizePixel = 0
  1096. ID_Box.Position = UDim2.new(0.356000006, 0, 1.22222221, 0)
  1097. ID_Box.Size = UDim2.new(0, 140, 0, 35)
  1098. ID_Box.Font = Enum.Font.Arcade
  1099. ID_Box.Text = "ID here"
  1100. ID_Box.TextColor3 = Color3.new(1, 1, 1)
  1101. ID_Box.TextSize = 35
  1102. ID_Box.TextWrapped = true
  1103.  
  1104. Set_Vol_Button.Name = "Set_Vol_Button"
  1105. Set_Vol_Button.Parent = Header
  1106. Set_Vol_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1107. Set_Vol_Button.BorderColor3 = Color3.new(0, 0, 0)
  1108. Set_Vol_Button.BorderSizePixel = 0
  1109. Set_Vol_Button.Position = UDim2.new(0.0520000011, 0, 2.20000005, 0)
  1110. Set_Vol_Button.Size = UDim2.new(0, 68, 0, 35)
  1111. Set_Vol_Button.Font = Enum.Font.Arcade
  1112. Set_Vol_Button.Text = "Set Vol"
  1113. Set_Vol_Button.TextColor3 = Color3.new(1, 1, 1)
  1114. Set_Vol_Button.TextSize = 20
  1115. Set_Vol_Button.TextWrapped = true
  1116.  
  1117. Vol_Box.Name = "Vol_Box"
  1118. Vol_Box.Parent = Header
  1119. Vol_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1120. Vol_Box.BorderColor3 = Color3.new(0, 0, 0)
  1121. Vol_Box.BorderSizePixel = 0
  1122. Vol_Box.Position = UDim2.new(0.356000006, 0, 2.20000005, 0)
  1123. Vol_Box.Size = UDim2.new(0, 140, 0, 35)
  1124. Vol_Box.Font = Enum.Font.Arcade
  1125. Vol_Box.Text = "Volume"
  1126. Vol_Box.TextColor3 = Color3.new(1, 1, 1)
  1127. Vol_Box.TextSize = 35
  1128. Vol_Box.TextWrapped = true
  1129.  
  1130. Set_Tpos_Button.Name = "Set_Tpos_Button"
  1131. Set_Tpos_Button.Parent = Header
  1132. Set_Tpos_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1133. Set_Tpos_Button.BorderColor3 = Color3.new(0, 0, 0)
  1134. Set_Tpos_Button.BorderSizePixel = 0
  1135. Set_Tpos_Button.Position = UDim2.new(0.0520000011, 0, 3.24444437, 0)
  1136. Set_Tpos_Button.Size = UDim2.new(0, 68, 0, 35)
  1137. Set_Tpos_Button.Font = Enum.Font.Arcade
  1138. Set_Tpos_Button.Text = "Set Tpos"
  1139. Set_Tpos_Button.TextColor3 = Color3.new(1, 1, 1)
  1140. Set_Tpos_Button.TextSize = 18
  1141. Set_Tpos_Button.TextWrapped = true
  1142.  
  1143. Tpos_Box.Name = "Tpos_Box"
  1144. Tpos_Box.Parent = Header
  1145. Tpos_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1146. Tpos_Box.BorderColor3 = Color3.new(0, 0, 0)
  1147. Tpos_Box.BorderSizePixel = 0
  1148. Tpos_Box.Position = UDim2.new(0.356000006, 0, 3.24444437, 0)
  1149. Tpos_Box.Size = UDim2.new(0, 140, 0, 35)
  1150. Tpos_Box.Font = Enum.Font.Arcade
  1151. Tpos_Box.Text = "Time Position"
  1152. Tpos_Box.TextColor3 = Color3.new(1, 1, 1)
  1153. Tpos_Box.TextSize = 20
  1154. Tpos_Box.TextWrapped = true
  1155.  
  1156. Set_Text_Button.Name = "Set_Text_Button"
  1157. Set_Text_Button.Parent = Header
  1158. Set_Text_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1159. Set_Text_Button.BorderColor3 = Color3.new(0, 0, 0)
  1160. Set_Text_Button.BorderSizePixel = 0
  1161. Set_Text_Button.Position = UDim2.new(0.0600000024, 0, 4.22222233, 0)
  1162. Set_Text_Button.Size = UDim2.new(0, 68, 0, 35)
  1163. Set_Text_Button.Font = Enum.Font.Arcade
  1164. Set_Text_Button.Text = "Set Text"
  1165. Set_Text_Button.TextColor3 = Color3.new(1, 1, 1)
  1166. Set_Text_Button.TextSize = 18
  1167. Set_Text_Button.TextWrapped = true
  1168.  
  1169. Tpos_Box_2.Name = "Tpos_Box"
  1170. Tpos_Box_2.Parent = Header
  1171. Tpos_Box_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1172. Tpos_Box_2.BorderColor3 = Color3.new(0, 0, 0)
  1173. Tpos_Box_2.BorderSizePixel = 0
  1174. Tpos_Box_2.Position = UDim2.new(0.356000006, 0, 4.22222233, 0)
  1175. Tpos_Box_2.Size = UDim2.new(0, 140, 0, 35)
  1176. Tpos_Box_2.Font = Enum.Font.Arcade
  1177. Tpos_Box_2.Text = "Text"
  1178. Tpos_Box_2.TextColor3 = Color3.new(1, 1, 1)
  1179. Tpos_Box_2.TextSize = 20
  1180. Tpos_Box_2.TextWrapped = true
  1181.  
  1182. Toggle_Chat_Button.Name = "Toggle_Chat_Button"
  1183. Toggle_Chat_Button.Parent = Header
  1184. Toggle_Chat_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1185. Toggle_Chat_Button.BorderColor3 = Color3.new(0, 0, 0)
  1186. Toggle_Chat_Button.BorderSizePixel = 0
  1187. Toggle_Chat_Button.Position = UDim2.new(0.0579999983, 0, 5.26666689, 0)
  1188. Toggle_Chat_Button.Size = UDim2.new(0, 97, 0, 35)
  1189. Toggle_Chat_Button.Font = Enum.Font.Arcade
  1190. Toggle_Chat_Button.Text = "Toggle Chat"
  1191. Toggle_Chat_Button.TextColor3 = Color3.new(1, 1, 1)
  1192. Toggle_Chat_Button.TextSize = 20
  1193. Toggle_Chat_Button.TextWrapped = true
  1194.  
  1195. Chat_Toggle_Label.Name = "Chat_Toggle_Label"
  1196. Chat_Toggle_Label.Parent = Header
  1197. Chat_Toggle_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  1198. Chat_Toggle_Label.BackgroundTransparency = 0.89999997615814
  1199. Chat_Toggle_Label.BorderColor3 = Color3.new(1, 1, 1)
  1200. Chat_Toggle_Label.Position = UDim2.new(0.540000021, 0, 5.26666689, 0)
  1201. Chat_Toggle_Label.Size = UDim2.new(0, 94, 0, 35)
  1202. Chat_Toggle_Label.Font = Enum.Font.Arcade
  1203. Chat_Toggle_Label.Text = "~»False«~"
  1204. Chat_Toggle_Label.TextColor3 = Color3.new(1, 1, 1)
  1205. Chat_Toggle_Label.TextScaled = true
  1206. Chat_Toggle_Label.TextSize = 14
  1207. Chat_Toggle_Label.TextWrapped = true
  1208.  
  1209. Current_Song_Label.Name = "Current_Song_Label"
  1210. Current_Song_Label.Parent = Header
  1211. Current_Song_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  1212. Current_Song_Label.BackgroundTransparency = 0.89999997615814
  1213. Current_Song_Label.BorderColor3 = Color3.new(1, 1, 1)
  1214. Current_Song_Label.Position = UDim2.new(0.0520000011, 0, 6.64444447, 0)
  1215. Current_Song_Label.Size = UDim2.new(0, 225, 0, 35)
  1216. Current_Song_Label.Font = Enum.Font.Arcade
  1217. Current_Song_Label.Text = "~»Current Song: None«~"
  1218. Current_Song_Label.TextColor3 = Color3.new(1, 1, 1)
  1219. Current_Song_Label.TextScaled = true
  1220. Current_Song_Label.TextSize = 14
  1221. Current_Song_Label.TextWrapped = true
  1222.  
  1223. Play_ID_Button.MouseButton1Down:Connect(function()
  1224. if tonumber(ID_Box.Text) then
  1225. Chillmusic:Stop()
  1226. Chillmusic.SoundId='rbxassetid://'..tonumber(ID_Box.Text)
  1227. Chillmusic:Play()
  1228. currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(ID_Box.Text)).Name
  1229. text.Text = "~»Chill Af«~ Now Playing: "..currentsong
  1230. Current_Song_Label.Text = "~»Current Song: "..currentsong.."«~"
  1231. wait(4)
  1232. text.Text = "~»Fell Apart AF«~"
  1233. end
  1234. end)
  1235. local ischatting = false
  1236.  
  1237. Set_Vol_Button.MouseButton1Down:Connect(function()
  1238.  
  1239. Chillmusic.Volume = tonumber(Vol_Box.Text)
  1240. end)
  1241.  
  1242. Set_Tpos_Button.MouseButton1Down:Connect(function()
  1243.  
  1244. Chillmusic.TimePosition = tonumber(Tpos_Box.Text)
  1245. end)
  1246.  
  1247. Set_Text_Button.MouseButton1Down:Connect(function()
  1248.  
  1249. text.Text = "~»"..Tpos_Box_2.Text.."«~"
  1250. end)
  1251.  
  1252. Toggle_Chat_Button.MouseButton1Down:Connect(function()
  1253. if ischatting == false then
  1254. ischatting = true
  1255. Chat_Toggle_Label.Text = "~»True«~"
  1256. spawn(function()
  1257. game.Players.LocalPlayer.Chatted:connect(function(msg)
  1258. for i = 0, msg:len(), 1 do
  1259. text.Text = "~»"..msg:sub(0, i).."«~"
  1260. end
  1261. wait(3)
  1262. text.Text = "~»FUCK YOU«~"
  1263. end)
  1264. end)
  1265. else
  1266. ischatting = false
  1267. Chat_Toggle_Label.Text = "False"
  1268. end
  1269. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement