Advertisement
Laksana

Untitled

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