Advertisement
9Simplicity9

Untitled

Mar 20th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. warn'Edit By UndeniableInfinity, U_M9, and Pedrorb03.'
  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://622820644"
  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(1031429)
  187. GiveHat(335079187)
  188. GiveHat(331486478)
  189. GiveHat(138932314)
  190. GiveHat(193659065)
  191. GiveHat(416828455)
  192. GiveHat(106709262)
  193. ]],char)
  194. ----end of U_M9's part----
  195.  
  196. local txt = Instance.new("BillboardGui", char)
  197. txt.Adornee = char.Head
  198. txt.Name = "_status"
  199. txt.Size = UDim2.new(2, 0, 1.2, 0)
  200. txt.StudsOffset = Vector3.new(-9, 8, 0)
  201. local text = Instance.new("TextLabel", txt)
  202. text.Size = UDim2.new(10, 0, 7, 0)
  203. text.FontSize = "Size24"
  204. text.TextScaled = true
  205. text.TextTransparency = 0
  206. text.BackgroundTransparency = 1
  207. text.TextTransparency = 0
  208. text.TextStrokeTransparency = 0
  209. text.Font = "Bodoni"
  210. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  211. v = Instance.new("Part")
  212. v.Name = "ColorBrick"
  213. v.Parent = m.Character
  214. v.FormFactor = "Symmetric"
  215. v.Anchored = true
  216. v.CanCollide = false
  217. v.BottomSurface = "Smooth"
  218. v.TopSurface = "Smooth"
  219. v.Size = Vector3.new(10, 5, 3)
  220. v.Transparency = 1
  221. v.CFrame = char.Torso.CFrame
  222. v.BrickColor = BrickColor.new("Really black")
  223. v.Transparency = 1
  224. spawn(function()
  225. local TweenService = game:GetService("TweenService")
  226. 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)}
  227. local Int = 0
  228. while wait(0.5) do
  229. if Int == #Colours then Int = 0 end
  230. Int = Int+1
  231. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  232. end
  233. end)
  234. v.Shape = "Block"
  235. text.Text = "♢Chill God♢"
  236. Player = game:GetService("Players").LocalPlayer
  237. Character = Player.Character
  238. PlayerGui = Player.PlayerGui
  239. Backpack = Player.Backpack
  240. Torso = Character.Torso
  241. Head = Character.Head
  242. Humanoid = Character.Humanoid
  243. m = Instance.new("Model", Character)
  244. LeftArm = Character["Left Arm"]
  245. LeftLeg = Character["Left Leg"]
  246. RightArm = Character["Right Arm"]
  247. RightLeg = Character["Right Leg"]
  248. LS = Torso["Left Shoulder"]
  249. LH = Torso["Left Hip"]
  250. RS = Torso["Right Shoulder"]
  251. RH = Torso["Right Hip"]
  252. Face = Head.face
  253. Neck = Torso.Neck
  254. it = Instance.new
  255. attacktype = 1
  256. vt = Vector3.new
  257. cf = CFrame.new
  258. bc = BrickColor.new
  259. br = BrickColor.random
  260. it = Instance.new
  261. euler = CFrame.fromEulerAnglesXYZ
  262. angles = CFrame.Angles
  263. cloaked = false
  264. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  265. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  266. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  267. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  268. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  269. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  270. RootPart = Character.HumanoidRootPart
  271. RootJoint = RootPart.RootJoint
  272. RootCF = euler(-1.57, 0, 3.14)
  273. attack = false
  274. attackdebounce = false
  275. equipped = false
  276. trispeed = 0.2
  277. attackmode = "none"
  278. local idle = 0
  279. local Anim = "Idle"
  280. Head.face.Texture = "rbxassetid://206844132"
  281. local orbe = Instance.new("Part")
  282. orbe.Parent = char
  283. orbe.Size = Vector3.new(0.2, 0.2, 0.2)
  284. orbe.Archivable = true
  285. orbe.Transparency = 1
  286. orbe.BrickColor = maincolor
  287. orbe.Material = "Neon"
  288. orbe.CanCollide = false
  289. local weld1e = Instance.new("Weld")
  290. weld1e.Parent = rleg
  291. weld1e.Part0 = rleg
  292. weld1e.Part1 = orbe
  293. weld1e.C1 = CFrame.new(0, 1.125, 0)
  294. local pt1e = NumberSequenceKeypoint.new(0,0.85,0)
  295. local pt2e = NumberSequenceKeypoint.new(1,0,0)
  296. local effectoe = Instance.new("ParticleEmitter",orbe)
  297. effectoe.LightEmission = 1
  298. effectoe.Texture = "rbxasset://textures/particles/smoke_main.dds"
  299. effectoe.Color = Color3.new(255,0,0)
  300. effectoe.Rate = 10000
  301. effectoe.Lifetime = NumberRange.new(1)
  302. effectoe.Size = NumberSequence.new({pt1e,pt2e})
  303. effectoe.Speed = NumberRange.new(0,0)
  304. effectoe.RotSpeed = NumberRange.new(100,100)
  305.  
  306. local orbze = Instance.new("Part")
  307. orbze.Parent = char
  308. orbze.Size = Vector3.new(0.2, 0.2, 0.2)
  309. orbze.Archivable = true
  310. orbze.Transparency = 1
  311. orbze.BrickColor = maincolor
  312. orbze.Material = "Neon"
  313. orbze.CanCollide = false
  314. local weldz1 = Instance.new("Weld")
  315. weldz1.Parent = lleg
  316. weldz1.Part0 = lleg
  317. weldz1.Part1 = orbze
  318. weldz1.C1 = CFrame.new(0, 1.125, 0)
  319. local effectone = Instance.new("ParticleEmitter",orbze)
  320. effectone.LightEmission = 1
  321. effectone.Texture = "rbxasset://textures/particles/smoke_main.dds"
  322. effectone.Color = BrickColor.new(255,0,0)
  323. effectone.Rate = 10000
  324. effectone.Lifetime = NumberRange.new(1)
  325. effectone.Size = NumberSequence.new({pt1e,pt2e})
  326. effectone.Speed = NumberRange.new(0,0)
  327. effectone.RotSpeed = NumberRange.new(100,100)
  328.  
  329. local orb = Instance.new("Part")
  330. orb.Parent = char
  331. orb.Size = Vector3.new(1, 1, 1)
  332. orb.Archivable = true
  333. orb.Transparency = 1
  334. orb.BrickColor = BrickColor.new("Bright orange")
  335. orb.Material = "Wood"
  336. orb.CanCollide = false
  337. local weld1 = Instance.new("Weld")
  338. weld1.Parent = rarm
  339. weld1.Part0 = rarm
  340. weld1.Part1 = orb
  341. weld1.C1 = CFrame.new(0, 1.125, 0)
  342. local pt1 = NumberSequenceKeypoint.new(0,0.475,0)
  343. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  344. local effecto = Instance.new("ParticleEmitter",orb)
  345. effecto.LightEmission = 1
  346. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  347. effecto.Color = BrickColor.new(255,0,0)
  348. effecto.Rate = 10000
  349. effecto.Lifetime = NumberRange.new(1)
  350. effecto.Size = NumberSequence.new({pt1,pt2})
  351. effecto.Speed = NumberRange.new(0,0)
  352. effecto.RotSpeed = NumberRange.new(100,100)
  353.  
  354. local orbz = Instance.new("Part")
  355. orbz.Parent = char
  356. orbz.Size = Vector3.new(1, 1, 1)
  357. orbz.Archivable = true
  358. orbz.Transparency = 1
  359. orbz.BrickColor = BrickColor.new("Bright orange")
  360. orbz.Material = "Wood"
  361. orbz.CanCollide = false
  362. local weldz1 = Instance.new("Weld")
  363. weldz1.Parent = larm
  364. weldz1.Part0 = larm
  365. weldz1.Part1 = orbz
  366. weldz1.C1 = CFrame.new(0, 1.125, 0)
  367. local effecton = Instance.new("ParticleEmitter",orbz)
  368. effecton.LightEmission = 1
  369. effecton.Texture = "rbxasset://textures/particles/smoke_main.dds"
  370. effecton.Color = BrickColor.new(255,0,0)
  371. effecton.Rate = 10000
  372. effecton.Lifetime = NumberRange.new(1)
  373. effecton.Size = NumberSequence.new({pt1,pt2})
  374. effecton.Speed = NumberRange.new(0,0)
  375. effecton.RotSpeed = NumberRange.new(100,100)
  376.  
  377. local Trail = Instance.new("Trail",char)
  378. local attachment0 = Instance.new("Attachment",char["Right Arm"])
  379. attachment0.Name = "TrailAttachment0"
  380. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  381. local attachment1 = Instance.new("Attachment",char["Right Arm"])
  382. attachment1.CFrame = CFrame.new(0.25,-1,0)
  383. attachment1.Name = "TrailAttachment1"
  384. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  385. 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))})
  386. Trail.Lifetime = 0.5
  387. Trail.Attachment0 = attachment0
  388. Trail.Attachment1 = attachment1
  389.  
  390. local Trail = Instance.new("Trail",char)
  391. local attachment0 = Instance.new("Attachment",char["Left Arm"])
  392. attachment0.Name = "TrailAttachment0"
  393. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  394. local attachment1 = Instance.new("Attachment",char["Left Arm"])
  395. attachment1.CFrame = CFrame.new(0.25,-1,0)
  396. attachment1.Name = "TrailAttachment1"
  397. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  398. 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))})
  399. Trail.Lifetime = 0.5
  400. Trail.Attachment0 = attachment0
  401. Trail.Attachment1 = attachment1
  402.  
  403. local Trail = Instance.new("Trail",char)
  404. local attachment0 = Instance.new("Attachment",char["Right Leg"])
  405. attachment0.Name = "TrailAttachment0"
  406. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  407. local attachment1 = Instance.new("Attachment",char["Right Leg"])
  408. attachment1.CFrame = CFrame.new(0.25,-1,0)
  409. attachment1.Name = "TrailAttachment1"
  410. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  411. 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))})
  412. Trail.Lifetime = 0.5
  413. Trail.Attachment0 = attachment0
  414. Trail.Attachment1 = attachment1
  415.  
  416. local Trail = Instance.new("Trail",char)
  417. local attachment0 = Instance.new("Attachment",char["Left Leg"])
  418. attachment0.Name = "TrailAttachment0"
  419. attachment0.CFrame = CFrame.new(-0.25,-1,0)
  420. local attachment1 = Instance.new("Attachment",char["Left Leg"])
  421. attachment1.CFrame = CFrame.new(0.25,-1,0)
  422. attachment1.Name = "TrailAttachment1"
  423. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  424. 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))})
  425. Trail.Lifetime = 0.5
  426. Trail.Attachment0 = attachment0
  427. Trail.Attachment1 = attachment1
  428.  
  429.  
  430. Humanoid.Animator.Parent = nil
  431. Character.Animate.Parent = nil
  432. function FindNearestTorso(Position, Distance, SinglePlayer)
  433. if SinglePlayer then
  434. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  435. end
  436. local List = {}
  437. for i, v in pairs(workspace:GetChildren()) do
  438. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
  439. table.insert(List, v)
  440. end
  441. end
  442. return List
  443. end
  444. function lerp(a, b, t)
  445. return a + (b - a) * t
  446. end
  447. function slerp(a, b, t)
  448. local dot = a:Dot(b)
  449. if dot > 0.99999 or dot < -0.99999 then
  450. return t <= 0.5 and a or b
  451. else
  452. local r = math.acos(dot)
  453. return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r)
  454. end
  455. end
  456. function matrixInterpolate(a, b, t)
  457. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  458. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  459. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t)
  460. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t)
  461. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t)
  462. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t)
  463. local t = v1:Dot(v2)
  464. if not (t < 0) and t ~= 0 and not (t > 0) then
  465. return CFrame.new()
  466. end
  467. 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)
  468. end
  469. function genWeld(a, b)
  470. local w = Instance.new("Weld", a)
  471. w.Part0 = a
  472. w.Part1 = b
  473. return w
  474. end
  475. function weld(a, b)
  476. local weld = Instance.new("Weld")
  477. weld.Name = "W"
  478. weld.Part0 = a
  479. weld.Part1 = b
  480. weld.C0 = a.CFrame:inverse() * b.CFrame
  481. weld.Parent = a
  482. return weld
  483. end
  484. function Lerp(c1, c2, al)
  485. local com1 = {
  486. c1.X,
  487. c1.Y,
  488. c1.Z,
  489. c1:toEulerAnglesXYZ()
  490. }
  491. local com2 = {
  492. c2.X,
  493. c2.Y,
  494. c2.Z,
  495. c2:toEulerAnglesXYZ()
  496. }
  497. for i, v in pairs(com1) do
  498. com1[i] = v + (com2[i] - v) * al
  499. end
  500. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  501. end
  502. function clerp(a, b, t)
  503. local qa = {
  504. QuaternionFromCFrame(a)
  505. }
  506. local qb = {
  507. QuaternionFromCFrame(b)
  508. }
  509. local ax, ay, az = a.x, a.y, a.z
  510. local bx, by, bz = b.x, b.y, b.z
  511. local _t = 1 - t
  512. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  513. end
  514. function QuaternionFromCFrame(cf)
  515. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  516. local trace = m00 + m11 + m22
  517. if trace > 0 then
  518. local s = math.sqrt(1 + trace)
  519. local recip = 0.5 / s
  520. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  521. else
  522. local i = 0
  523. if m00 < m11 then
  524. i = 1
  525. end
  526. if m22 > (i == 0 and m00 or m11) then
  527. i = 2
  528. end
  529. if i == 0 then
  530. local s = math.sqrt(m00 - m11 - m22 + 1)
  531. local recip = 0.5 / s
  532. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  533. elseif i == 1 then
  534. local s = math.sqrt(m11 - m22 - m00 + 1)
  535. local recip = 0.5 / s
  536. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  537. elseif i == 2 then
  538. local s = math.sqrt(m22 - m00 - m11 + 1)
  539. local recip = 0.5 / s
  540. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  541. end
  542. end
  543. end
  544. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  545. local xs, ys, zs = x + x, y + y, z + z
  546. local wx, wy, wz = w * xs, w * ys, w * zs
  547. local xx = x * xs
  548. local xy = x * ys
  549. local xz = x * zs
  550. local yy = y * ys
  551. local yz = y * zs
  552. local zz = z * zs
  553. 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))
  554. end
  555. function QuaternionSlerp(a, b, t)
  556. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  557. local startInterp, finishInterp
  558. if cosTheta >= 1.0E-4 then
  559. if 1 - cosTheta > 1.0E-4 then
  560. local theta = math.acos(cosTheta)
  561. local invSinTheta = 1 / math.sin(theta)
  562. startInterp = math.sin((1 - t) * theta) * invSinTheta
  563. finishInterp = math.sin(t * theta) * invSinTheta
  564. else
  565. startInterp = 1 - t
  566. finishInterp = t
  567. end
  568. elseif 1 + cosTheta > 1.0E-4 then
  569. local theta = math.acos(-cosTheta)
  570. local invSinTheta = 1 / math.sin(theta)
  571. startInterp = math.sin((t - 1) * theta) * invSinTheta
  572. finishInterp = math.sin(t * theta) * invSinTheta
  573. else
  574. startInterp = t - 1
  575. finishInterp = t
  576. end
  577. 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
  578. end
  579. function rayCast(Pos, Dir, Max, Ignore)
  580. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  581. end
  582. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  583. local fp = it("Part")
  584. fp.formFactor = formfactor
  585. fp.Parent = parent
  586. fp.Reflectance = reflectance
  587. fp.Transparency = transparency
  588. fp.CanCollide = false
  589. fp.Locked = true
  590. fp.BrickColor = brickcolor
  591. fp.Name = name
  592. fp.Size = size
  593. fp.Position = Torso.Position
  594. fp.BottomSurface = "Smooth"
  595. fp.TopSurface = "Smooth"
  596. fp:BreakJoints()
  597. return fp
  598. end
  599. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  600. local mesh = it(Mesh)
  601. mesh.Parent = part
  602. if Mesh == "SpecialMesh" then
  603. mesh.MeshType = meshtype
  604. mesh.MeshId = meshid
  605. end
  606. mesh.Offset = offset
  607. mesh.Scale = scale
  608. return mesh
  609. end
  610. function weld(parent, part0, part1, c0)
  611. local weld = it("Weld")
  612. weld.Parent = parent
  613. weld.Part0 = part0
  614. weld.Part1 = part1
  615. weld.C0 = c0
  616. return weld
  617. end
  618. function rayCast(Pos, Dir, Max, Ignore)
  619. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  620. end
  621. RSH, LSH = nil, nil
  622. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  623. RW.Name = "Right Shoulder"
  624. LW.Name = "Left Shoulder"
  625. LH = Torso["Left Hip"]
  626. RH = Torso["Right Hip"]
  627. TorsoColor = Torso.BrickColor
  628. function NoOutline(Part)
  629. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  630. end
  631. player = Player
  632. ch = Character
  633. RSH = ch.Torso["Right Shoulder"]
  634. LSH = ch.Torso["Left Shoulder"]
  635. RSH.Parent = nil
  636. LSH.Parent = nil
  637. RW.Name = "Right Shoulder"
  638. RW.Part0 = ch.Torso
  639. RW.C0 = cf(1.5, 0.5, 0)
  640. RW.C1 = cf(0, 0.5, 0)
  641. RW.Part1 = ch["Right Arm"]
  642. RW.Parent = ch.Torso
  643. LW.Name = "Left Shoulder"
  644. LW.Part0 = ch.Torso
  645. LW.C0 = cf(-1.5, 0.5, 0)
  646. LW.C1 = cf(0, 0.5, 0)
  647. LW.Part1 = ch["Left Arm"]
  648. LW.Parent = ch.Torso
  649. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  650. local wld = Instance.new("Weld", wp1)
  651. wld.Part0 = wp0
  652. wld.Part1 = wp1
  653. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  654. end
  655. newWeld(RootPart, Torso, 0, -1, 0)
  656. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  657. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  658. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  659. newWeld(Torso, RightLeg, 0.5, -1, 0)
  660. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  661. Player = game:GetService("Players").LocalPlayer
  662. Character = Player.Character
  663. mouse = Player:GetMouse()
  664. m = Instance.new("Model", Character)
  665. local weldBetween = function(a, b)
  666. local weldd = Instance.new("ManualWeld")
  667. weldd.Part0 = a
  668. weldd.Part1 = b
  669. weldd.C0 = CFrame.new()
  670. weldd.C1 = b.CFrame:inverse() * a.CFrame
  671. weldd.Parent = a
  672. return weldd
  673. end
  674. ArtificialHB = Instance.new("BindableEvent", script)
  675. ArtificialHB.Name = "Heartbeat"
  676. script:WaitForChild("Heartbeat")
  677. frame = 0.016666666666666666
  678. tf = 0
  679. allowframeloss = false
  680. tossremainder = false
  681. lastframe = tick()
  682. script.Heartbeat:Fire()
  683. game:GetService("RunService").Heartbeat:connect(function(s, p)
  684. tf = tf + s
  685. if tf >= frame then
  686. if allowframeloss then
  687. script.Heartbeat:Fire()
  688. lastframe = tick()
  689. else
  690. for i = 1, math.floor(tf / frame) do
  691. script.Heartbeat:Fire()
  692. end
  693. lastframe = tick()
  694. end
  695. if tossremainder then
  696. tf = 0
  697. else
  698. tf = tf - frame * math.floor(tf / frame)
  699. end
  700. end
  701. end)
  702. function swait(num)
  703. if num == 0 or num == nil then
  704. ArtificialHB.Event:wait()
  705. else
  706. for i = 0, num do
  707. ArtificialHB.Event:wait()
  708. end
  709. end
  710. end
  711. mouse.KeyDown:connect(function(key)
  712. if key == "c" then
  713. repeat
  714. swait()
  715. Chillmusic.Volume = Chillmusic.Volume - 0.05
  716. until Chillmusic.Volume == 0
  717. Chillmusic:Stop()
  718. swait()
  719. Chillmusic:Play()
  720. Chillmusic.Volume = 1
  721. end
  722. end)
  723. mouse.KeyDown:connect(function(key)
  724. if key == "p" then
  725. text.Text = "Guys why not just chill?"
  726. wait(1)
  727. text.Text = "I Mean It's not that cold to make you Cold Hearted."
  728. wait(3)
  729. text.Text = "xD"
  730. wait(1)
  731. text.Text = "Heh, This is A Very Cold Script."
  732. wait(3)
  733. text.Text = "Your Skid Hands Won't Handle The Cold."
  734. wait(3)
  735. text.Text = "Niko... I Miss Her."
  736. wait(3)
  737. text.Text = "...You Know What? Ill Stay Chill."
  738. wait(3)
  739. text.Text = "♢Chill God♢"
  740. end
  741. end)
  742. mouse.KeyDown:connect(function(key)
  743. if key == "v" then
  744. repeat
  745. swait()
  746. Chillmusic.Volume = Chillmusic.Volume - 0.05
  747. until Chillmusic.Volume == 0
  748. Chillmusic:Stop()
  749. swait()
  750. Chillmusic:Play()
  751. Chillmusic.Volume = 1
  752. end
  753. end)
  754. mouse.KeyDown:connect(function(key)
  755. if key == "b" then
  756. text.Text = "Ill Be Back, Bois."
  757. wait(1)
  758. text.Text = "Chill God Is Afk."
  759. end
  760. end)
  761. mouse.KeyDown:connect(function(key)
  762. if key == "n" then
  763. text.Text = "ZA WARUDO"
  764. wait(1)
  765. text.Text = "♢Chill God♢"
  766. end
  767. end)
  768. m = Instance.new("ForceField", Character)
  769. m.Visible = false
  770. Character.Humanoid.WalkSpeed = 4
  771. mouse.KeyDown:connect(function(key)
  772. if string.byte(key) == 48 then
  773. Swing = 2
  774. Character.Humanoid.WalkSpeed = 40
  775. end
  776. end)
  777. mouse.KeyUp:connect(function(key)
  778. if string.byte(key) == 48 then
  779. Swing = 1
  780. Character.Humanoid.WalkSpeed = 4
  781. end
  782. end)
  783. local sine = 0
  784. local change = 1
  785. local val = 0
  786. spawn(function()
  787. while true do
  788. swait()
  789. sine = sine + change
  790. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  791. local velderp = RootPart.Velocity.y
  792. local hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  793. if equipped == true or equipped == false then
  794. if attack == false then
  795. idle = idle + 1
  796. Character.Humanoid.MaxHealth = math.huge
  797. Character.Humanoid.Health = math.huge
  798. else
  799. idle = 0
  800. end
  801. if not (idle >= 500) or attack == false then
  802. end
  803. if torvel < 1 and hitfloor ~= nil then
  804. Anim = "Chill"
  805. if attack == false then
  806. Humanoid.CameraOffset = Vector3.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0)
  807. 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)
  808. 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)
  809. 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)
  810. 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)
  811. 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)
  812. 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)
  813. end
  814. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  815. Anim = "Walk"
  816. if attack == false then
  817. Humanoid.CameraOffset = Vector3.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0)
  818. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.2)
  819. 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)
  820. 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)
  821. 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)
  822. 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)
  823. 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)
  824. 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)
  825. end
  826. elseif torvel >= 22 and hitfloor ~= nil then
  827. Anim = "Run"
  828. if attack == false then
  829. Humanoid.CameraOffset = Vector3.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0)
  830. 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)
  831. 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)
  832. 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)
  833. 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)
  834. 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)
  835. 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)
  836. 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)
  837. end
  838. end
  839. end
  840. end
  841. end)
  842.  
  843.  
  844.  
  845. -- Objects
  846.  
  847. local Chill_Gui_Bro = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  848. local Header = Instance.new("Frame")
  849. local BackGround = Instance.new("Frame")
  850. local Chill_Gui_Label = Instance.new("TextLabel")
  851. local Play_ID_Button = Instance.new("TextButton")
  852. local ID_Box = Instance.new("TextBox")
  853. local Set_Vol_Button = Instance.new("TextButton")
  854. local Vol_Box = Instance.new("TextBox")
  855. local Set_Tpos_Button = Instance.new("TextButton")
  856. local Tpos_Box = Instance.new("TextBox")
  857. local Set_Text_Button = Instance.new("TextButton")
  858. local Tpos_Box_2 = Instance.new("TextBox")
  859. local Toggle_Chat_Button = Instance.new("TextButton")
  860. local Chat_Toggle_Label = Instance.new("TextLabel")
  861. local Current_Song_Label = Instance.new("TextLabel")
  862.  
  863. -- Properties
  864.  
  865. Chill_Gui_Bro.Name = "Chill_Gui_Bro"
  866.  
  867. Header.Name = "Header"
  868. Header.Parent = Chill_Gui_Bro
  869. Header.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  870. Header.BorderSizePixel = 0
  871. Header.Draggable = true
  872. Header.Active = true
  873. Header.Selectable = true
  874. Header.Position = UDim2.new(0.469539374, 0, 0.147921771, 0)
  875. Header.Size = UDim2.new(0, 250, 0, 45)
  876.  
  877. BackGround.Name = "BackGround"
  878. BackGround.Parent = Header
  879. BackGround.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  880. BackGround.BorderSizePixel = 0
  881. BackGround.Draggable = true
  882. BackGround.Position = UDim2.new(0, 0, 1, 0)
  883. BackGround.Size = UDim2.new(0, 250, 0, 299)
  884.  
  885. Chill_Gui_Label.Name = "Chill_Gui_Label"
  886. Chill_Gui_Label.Parent = Header
  887. Chill_Gui_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  888. Chill_Gui_Label.BackgroundTransparency = 1
  889. Chill_Gui_Label.BorderSizePixel = 0
  890. Chill_Gui_Label.Draggable = true
  891. Chill_Gui_Label.Size = UDim2.new(0, 250, 0, 45)
  892. Chill_Gui_Label.Font = Enum.Font.Cartoon
  893. Chill_Gui_Label.Text = "~»Chill God Gui«~"
  894. Chill_Gui_Label.TextColor3 = Color3.new(1, 1, 1)
  895. Chill_Gui_Label.TextScaled = true
  896. Chill_Gui_Label.TextSize = 14
  897. Chill_Gui_Label.TextWrapped = true
  898.  
  899. Play_ID_Button.Name = "Play_ID_Button"
  900. Play_ID_Button.Parent = Header
  901. Play_ID_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  902. Play_ID_Button.BorderColor3 = Color3.new(0, 0, 0)
  903. Play_ID_Button.BorderSizePixel = 0
  904. Play_ID_Button.Position = UDim2.new(0.0520000011, 0, 1.22222221, 0)
  905. Play_ID_Button.Size = UDim2.new(0, 68, 0, 35)
  906. Play_ID_Button.Font = Enum.Font.Cartoon
  907. Play_ID_Button.Text = "Play ID"
  908. Play_ID_Button.TextColor3 = Color3.new(1, 1, 1)
  909. Play_ID_Button.TextSize = 20
  910. Play_ID_Button.TextWrapped = true
  911.  
  912. ID_Box.Name = "ID_Box"
  913. ID_Box.Parent = Header
  914. ID_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  915. ID_Box.BorderColor3 = Color3.new(0, 0, 0)
  916. ID_Box.BorderSizePixel = 0
  917. ID_Box.Position = UDim2.new(0.356000006, 0, 1.22222221, 0)
  918. ID_Box.Size = UDim2.new(0, 140, 0, 35)
  919. ID_Box.Font = Enum.Font.Cartoon
  920. ID_Box.Text = "ID here"
  921. ID_Box.TextColor3 = Color3.new(1, 1, 1)
  922. ID_Box.TextSize = 35
  923. ID_Box.TextWrapped = true
  924.  
  925. Set_Vol_Button.Name = "Set_Vol_Button"
  926. Set_Vol_Button.Parent = Header
  927. Set_Vol_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  928. Set_Vol_Button.BorderColor3 = Color3.new(0, 0, 0)
  929. Set_Vol_Button.BorderSizePixel = 0
  930. Set_Vol_Button.Position = UDim2.new(0.0520000011, 0, 2.20000005, 0)
  931. Set_Vol_Button.Size = UDim2.new(0, 68, 0, 35)
  932. Set_Vol_Button.Font = Enum.Font.Cartoon
  933. Set_Vol_Button.Text = "Set Vol"
  934. Set_Vol_Button.TextColor3 = Color3.new(1, 1, 1)
  935. Set_Vol_Button.TextSize = 20
  936. Set_Vol_Button.TextWrapped = true
  937.  
  938. Vol_Box.Name = "Vol_Box"
  939. Vol_Box.Parent = Header
  940. Vol_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  941. Vol_Box.BorderColor3 = Color3.new(0, 0, 0)
  942. Vol_Box.BorderSizePixel = 0
  943. Vol_Box.Position = UDim2.new(0.356000006, 0, 2.20000005, 0)
  944. Vol_Box.Size = UDim2.new(0, 140, 0, 35)
  945. Vol_Box.Font = Enum.Font.Cartoon
  946. Vol_Box.Text = "Volume"
  947. Vol_Box.TextColor3 = Color3.new(1, 1, 1)
  948. Vol_Box.TextSize = 35
  949. Vol_Box.TextWrapped = true
  950.  
  951. Set_Tpos_Button.Name = "Set_Tpos_Button"
  952. Set_Tpos_Button.Parent = Header
  953. Set_Tpos_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  954. Set_Tpos_Button.BorderColor3 = Color3.new(0, 0, 0)
  955. Set_Tpos_Button.BorderSizePixel = 0
  956. Set_Tpos_Button.Position = UDim2.new(0.0520000011, 0, 3.24444437, 0)
  957. Set_Tpos_Button.Size = UDim2.new(0, 68, 0, 35)
  958. Set_Tpos_Button.Font = Enum.Font.Cartoon
  959. Set_Tpos_Button.Text = "Set Tpos"
  960. Set_Tpos_Button.TextColor3 = Color3.new(1, 1, 1)
  961. Set_Tpos_Button.TextSize = 18
  962. Set_Tpos_Button.TextWrapped = true
  963.  
  964. Tpos_Box.Name = "Tpos_Box"
  965. Tpos_Box.Parent = Header
  966. Tpos_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  967. Tpos_Box.BorderColor3 = Color3.new(0, 0, 0)
  968. Tpos_Box.BorderSizePixel = 0
  969. Tpos_Box.Position = UDim2.new(0.356000006, 0, 3.24444437, 0)
  970. Tpos_Box.Size = UDim2.new(0, 140, 0, 35)
  971. Tpos_Box.Font = Enum.Font.Cartoon
  972. Tpos_Box.Text = "Time Position"
  973. Tpos_Box.TextColor3 = Color3.new(1, 1, 1)
  974. Tpos_Box.TextSize = 20
  975. Tpos_Box.TextWrapped = true
  976.  
  977. Set_Text_Button.Name = "Set_Text_Button"
  978. Set_Text_Button.Parent = Header
  979. Set_Text_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  980. Set_Text_Button.BorderColor3 = Color3.new(0, 0, 0)
  981. Set_Text_Button.BorderSizePixel = 0
  982. Set_Text_Button.Position = UDim2.new(0.0600000024, 0, 4.22222233, 0)
  983. Set_Text_Button.Size = UDim2.new(0, 68, 0, 35)
  984. Set_Text_Button.Font = Enum.Font.Cartoon
  985. Set_Text_Button.Text = "Set Text"
  986. Set_Text_Button.TextColor3 = Color3.new(1, 1, 1)
  987. Set_Text_Button.TextSize = 18
  988. Set_Text_Button.TextWrapped = true
  989.  
  990. Tpos_Box_2.Name = "Tpos_Box"
  991. Tpos_Box_2.Parent = Header
  992. Tpos_Box_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  993. Tpos_Box_2.BorderColor3 = Color3.new(0, 0, 0)
  994. Tpos_Box_2.BorderSizePixel = 0
  995. Tpos_Box_2.Position = UDim2.new(0.356000006, 0, 4.22222233, 0)
  996. Tpos_Box_2.Size = UDim2.new(0, 140, 0, 35)
  997. Tpos_Box_2.Font = Enum.Font.Cartoon
  998. Tpos_Box_2.Text = "Text"
  999. Tpos_Box_2.TextColor3 = Color3.new(1, 1, 1)
  1000. Tpos_Box_2.TextSize = 20
  1001. Tpos_Box_2.TextWrapped = true
  1002.  
  1003. Toggle_Chat_Button.Name = "Toggle_Chat_Button"
  1004. Toggle_Chat_Button.Parent = Header
  1005. Toggle_Chat_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  1006. Toggle_Chat_Button.BorderColor3 = Color3.new(0, 0, 0)
  1007. Toggle_Chat_Button.BorderSizePixel = 0
  1008. Toggle_Chat_Button.Position = UDim2.new(0.0579999983, 0, 5.26666689, 0)
  1009. Toggle_Chat_Button.Size = UDim2.new(0, 97, 0, 35)
  1010. Toggle_Chat_Button.Font = Enum.Font.Cartoon
  1011. Toggle_Chat_Button.Text = "Toggle Chat"
  1012. Toggle_Chat_Button.TextColor3 = Color3.new(1, 1, 1)
  1013. Toggle_Chat_Button.TextSize = 20
  1014. Toggle_Chat_Button.TextWrapped = true
  1015.  
  1016. Chat_Toggle_Label.Name = "Chat_Toggle_Label"
  1017. Chat_Toggle_Label.Parent = Header
  1018. Chat_Toggle_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  1019. Chat_Toggle_Label.BackgroundTransparency = 0.89999997615814
  1020. Chat_Toggle_Label.BorderColor3 = Color3.new(1, 1, 1)
  1021. Chat_Toggle_Label.Position = UDim2.new(0.540000021, 0, 5.26666689, 0)
  1022. Chat_Toggle_Label.Size = UDim2.new(0, 94, 0, 35)
  1023. Chat_Toggle_Label.Font = Enum.Font.Cartoon
  1024. Chat_Toggle_Label.Text = "~»False«~"
  1025. Chat_Toggle_Label.TextColor3 = Color3.new(1, 1, 1)
  1026. Chat_Toggle_Label.TextScaled = true
  1027. Chat_Toggle_Label.TextSize = 14
  1028. Chat_Toggle_Label.TextWrapped = true
  1029.  
  1030. Current_Song_Label.Name = "Current_Song_Label"
  1031. Current_Song_Label.Parent = Header
  1032. Current_Song_Label.BackgroundColor3 = Color3.new(1, 1, 1)
  1033. Current_Song_Label.BackgroundTransparency = 0.89999997615814
  1034. Current_Song_Label.BorderColor3 = Color3.new(1, 1, 1)
  1035. Current_Song_Label.Position = UDim2.new(0.0520000011, 0, 6.64444447, 0)
  1036. Current_Song_Label.Size = UDim2.new(0, 225, 0, 35)
  1037. Current_Song_Label.Font = Enum.Font.Cartoon
  1038. Current_Song_Label.Text = "~»Current Song: None«~"
  1039. Current_Song_Label.TextColor3 = Color3.new(1, 1, 1)
  1040. Current_Song_Label.TextScaled = true
  1041. Current_Song_Label.TextSize = 14
  1042. Current_Song_Label.TextWrapped = true
  1043.  
  1044. Play_ID_Button.MouseButton1Down:Connect(function()
  1045. if tonumber(ID_Box.Text) then
  1046. Chillmusic:Stop()
  1047. Chillmusic.SoundId='rbxassetid://'..tonumber(ID_Box.Text)
  1048. Chillmusic:Play()
  1049. local currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(ID_Box.Text)).Name
  1050. text.Text = "♢Chill God♢ Now Playing: "..currentsong
  1051. Current_Song_Label.Text = "~»Current Song: "..currentsong.."«~"
  1052. wait(4)
  1053. text.Text = "♢Chill God♢"
  1054. end
  1055. end)
  1056. local ischatting = false
  1057.  
  1058. Set_Vol_Button.MouseButton1Down:Connect(function()
  1059.  
  1060. Chillmusic.Volume = tonumber(Vol_Box.Text)
  1061. end)
  1062.  
  1063. Set_Tpos_Button.MouseButton1Down:Connect(function()
  1064.  
  1065. Chillmusic.TimePosition = tonumber(Tpos_Box.Text)
  1066. end)
  1067.  
  1068. Set_Text_Button.MouseButton1Down:Connect(function()
  1069.  
  1070. text.Text = "~»"..Tpos_Box_2.Text.."«~"
  1071. end)
  1072.  
  1073. Toggle_Chat_Button.MouseButton1Down:Connect(function()
  1074. if ischatting == false then
  1075. ischatting = true
  1076. Chat_Toggle_Label.Text = "~»True«~"
  1077. spawn(function()
  1078. game.Players.LocalPlayer.Chatted:connect(function(msg)
  1079. for i = 0, msg:len(), 1 do
  1080. text.Text = "~»"..msg:sub(0, i).."«~"
  1081. end
  1082. wait(3)
  1083. text.Text = "♢Chill God♢"
  1084. end)
  1085. end)
  1086. else
  1087. ischatting = false
  1088. Chat_Toggle_Label.Text = "~»False«~" ----end of UndeniableInfinity's part----
  1089. end
  1090. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement