SHARE
TWEET

Untitled

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