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