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