View difference between Paste ID: n20xGhEq and KkRT17nA
SHOW: | | - or go back to the newest paste.
1
m = game.Players.LocalPlayer
2
char = m.Character
3
4
function Random(num)
5
    local section=num % 1 * 3;
6
    local secondary=0.5 * math.pi * (section % 1);
7
    if section < 1 then
8
        return 1,1 - math.cos(secondary),1 - math.sin(secondary);
9
    elseif section < 2 then
10
        return 1 - math.sin(secondary),1,1 - math.cos(secondary);
11
    else
12
        return 1 - math.cos(secondary),1 - math.sin(secondary),1;
13
    end
14
end
15
16
--//Lol try to figure this one out//
17
function rainb(hue)
18
    local section = hue % 1 * 3
19
    local secondary = 0.5 * math.pi * (section % 1)
20
    if section < 1 then
21
        return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
22
    elseif section < 2 then
23
        return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
24
    else
25
        return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
26
    end
27
end
28
29
Chillmusic = Instance.new("Sound", workspace)
30
Chillmusic.Parent = game.Chat
31
Chillmusic.Volume = 8
32
Chillmusic.SoundId = "rbxassetid://1221694420"
33
Chillmusic.Looped = true
34
Chillmusic:Play()
35
36
local txt = Instance.new("BillboardGui", char)
37
txt.Adornee = char.Head
38
txt.Name = "_status"
39
txt.Size = UDim2.new(2, 0, 1.2, 0)
40
txt.StudsOffset = Vector3.new(-9, 8, 0)
41
local text = Instance.new("TextLabel", txt)
42
text.Size = UDim2.new(10, 0, 7, 0)
43
text.FontSize = "Size24"
44
text.TextScaled = true
45
text.TextTransparency = 0
46
text.BackgroundTransparency = 1
47
text.TextTransparency = 0
48
text.TextStrokeTransparency = 0
49
text.Font = "Arcade"
50
text.TextStrokeColor3 = Color3.new(0, 0, 0)
51
v = Instance.new("Part")
52
v.Name = "ColorBrick"
53
v.Parent = m.Character
54
v.FormFactor = "Symmetric"
55
v.Anchored = true
56
v.CanCollide = false
57
v.BottomSurface = "Smooth"
58
v.TopSurface = "Smooth"
59
v.Size = Vector3.new(10, 5, 3)
60
v.Transparency = 1
61
v.CFrame = char.Torso.CFrame
62
v.BrickColor = BrickColor.new("Really black")
63
v.Transparency = 1
64
spawn(function()
65
TweenService = game:GetService("TweenService")
66
Colours = {Color3.fromRGB(0,100,200),Color3.fromRGB(4, 175, 236)}
67
Int = 0
68
while wait(2) do
69
    if Int == #Colours then Int = 0 end
70
    Int = Int+1
71
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
72
end
73
end)
74
v.Shape = "Block"
75
text.Text = "~»Chill Af«~"
76
Player = game:GetService("Players").LocalPlayer
77
Character = Player.Character
78
PlayerGui = Player.PlayerGui
79
Backpack = Player.Backpack
80
Torso = Character.Torso
81
Head = Character.Head
82
Humanoid = Character.Humanoid
83
m = Instance.new("Model", Character)
84
LeftArm = Character["Left Arm"]
85
LeftLeg = Character["Left Leg"]
86
RightArm = Character["Right Arm"]
87
RightLeg = Character["Right Leg"]
88
LS = Torso["Left Shoulder"]
89
LH = Torso["Left Hip"]
90
RS = Torso["Right Shoulder"]
91
RH = Torso["Right Hip"]
92
Face = Head.face
93
Neck = Torso.Neck
94
it = Instance.new
95
attacktype = 1
96
vt = Vector3.new
97
cf = CFrame.new
98
bc = BrickColor.new
99
br = BrickColor.random
100
it = Instance.new
101
euler = CFrame.fromEulerAnglesXYZ
102
angles = CFrame.Angles
103
cloaked = false
104
necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
105
necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
106
LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
107
LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
108
RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
109
RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
110
RootPart = Character.HumanoidRootPart
111
RootJoint = RootPart.RootJoint
112
RootCF = euler(-1.57, 0, 3.14)
113
attack = false
114
attackdebounce = false
115
equipped = false
116
trispeed = 0.2
117
attackmode = "none"
118
local idle = 0
119
local Anim = "Idle"
120
Head.face.Texture = "rbxassetid://206844132"
121
122-
local Trail = Instance.new("Trail",char)
122+
123-
local attachment0 = Instance.new("Attachment",char["Right Arm"])
123+
124-
attachment0.Name = "TrailAttachment0"
124+
125-
attachment0.CFrame = CFrame.new(-0.25,-1,0)
125+
126-
local attachment1 = Instance.new("Attachment",char["Right Arm"])
126+
127-
attachment1.CFrame = CFrame.new(0.25,-1,0)
127+
128-
attachment1.Name = "TrailAttachment1"
128+
129-
Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
129+
130-
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))})
130+
131-
Trail.Lifetime = 0.5
131+
132-
Trail.Attachment0 = attachment0
132+
133-
Trail.Attachment1 = attachment1
133+
134
	return List
135-
local Trail = Instance.new("Trail",char)
135+
136-
local attachment0 = Instance.new("Attachment",char["Left Arm"])
136+
137-
attachment0.Name = "TrailAttachment0"
137+
138-
attachment0.CFrame = CFrame.new(-0.25,-1,0)
138+
139-
local attachment1 = Instance.new("Attachment",char["Left Arm"])
139+
140-
attachment1.CFrame = CFrame.new(0.25,-1,0)
140+
141-
attachment1.Name = "TrailAttachment1"
141+
142-
Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
142+
143-
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))})
143+
144-
Trail.Lifetime = 0.5
144+
145-
Trail.Attachment0 = attachment0
145+
146-
Trail.Attachment1 = attachment1
146+
147
end
148-
local Trail = Instance.new("Trail",char)
148+
149-
local attachment0 = Instance.new("Attachment",char["Right Leg"])
149+
150-
attachment0.Name = "TrailAttachment0"
150+
151-
attachment0.CFrame = CFrame.new(-0.25,-1,0)
151+
152-
local attachment1 = Instance.new("Attachment",char["Right Leg"])
152+
153-
attachment1.CFrame = CFrame.new(0.25,-1,0)
153+
154-
attachment1.Name = "TrailAttachment1"
154+
155-
Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
155+
156-
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))})
156+
157-
Trail.Lifetime = 0.5
157+
158-
Trail.Attachment0 = attachment0
158+
159-
Trail.Attachment1 = attachment1
159+
160
end
161-
local Trail = Instance.new("Trail",char)
161+
162-
local attachment0 = Instance.new("Attachment",char["Left Leg"])
162+
163-
attachment0.Name = "TrailAttachment0"
163+
164-
attachment0.CFrame = CFrame.new(-0.25,-1,0)
164+
165-
local attachment1 = Instance.new("Attachment",char["Left Leg"])
165+
166-
attachment1.CFrame = CFrame.new(0.25,-1,0)
166+
167-
attachment1.Name = "TrailAttachment1"
167+
168-
Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
168+
169-
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))})
169+
170-
Trail.Lifetime = 0.5
170+
171-
Trail.Attachment0 = attachment0
171+
172-
Trail.Attachment1 = attachment1
172+
173
	weld.Parent = a
174
	return weld
175
end
176
function Lerp(c1, c2, al)
177
	local com1 = {
178
		c1.X,
179
		c1.Y,
180
		c1.Z,
181
		c1:toEulerAnglesXYZ()
182
	}
183
	local com2 = {
184
		c2.X,
185
		c2.Y,
186
		c2.Z,
187
		c2:toEulerAnglesXYZ()
188
	}
189
	for i, v in pairs(com1) do
190
		com1[i] = v + (com2[i] - v) * al
191
	end
192
	return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
193
end
194
function clerp(a, b, t)
195
	local qa = {
196
		QuaternionFromCFrame(a)
197
	}
198
	local qb = {
199
		QuaternionFromCFrame(b)
200
	}
201
	local ax, ay, az = a.x, a.y, a.z
202
	local bx, by, bz = b.x, b.y, b.z
203
	local _t = 1 - t
204
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
205
end
206
function QuaternionFromCFrame(cf)
207
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
208
	local trace = m00 + m11 + m22
209
	if trace > 0 then
210
		local s = math.sqrt(1 + trace)
211
		local recip = 0.5 / s
212
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
213
	else
214
		local i = 0
215
		if m00 < m11 then
216
			i = 1
217
		end
218
		if m22 > (i == 0 and m00 or m11) then
219
			i = 2
220
		end
221
		if i == 0 then
222
			local s = math.sqrt(m00 - m11 - m22 + 1)
223
			local recip = 0.5 / s
224
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
225
		elseif i == 1 then
226
			local s = math.sqrt(m11 - m22 - m00 + 1)
227
			local recip = 0.5 / s
228
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
229
		elseif i == 2 then
230
			local s = math.sqrt(m22 - m00 - m11 + 1)
231
			local recip = 0.5 / s
232
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
233
		end
234
	end
235
end
236
function QuaternionToCFrame(px, py, pz, x, y, z, w)
237
	local xs, ys, zs = x + x, y + y, z + z
238
	local wx, wy, wz = w * xs, w * ys, w * zs
239
	local xx = x * xs
240
	local xy = x * ys
241
	local xz = x * zs
242
	local yy = y * ys
243
	local yz = y * zs
244
	local zz = z * zs
245
	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))
246
end
247
function QuaternionSlerp(a, b, t)
248
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
249
	local startInterp, finishInterp
250
	if cosTheta >= 1.0E-4 then
251
		if 1 - cosTheta > 1.0E-4 then
252
			local theta = math.acos(cosTheta)
253
			local invSinTheta = 1 / math.sin(theta)
254
			startInterp = math.sin((1 - t) * theta) * invSinTheta
255
			finishInterp = math.sin(t * theta) * invSinTheta
256
		else
257
			startInterp = 1 - t
258
			finishInterp = t
259
		end
260
	elseif 1 + cosTheta > 1.0E-4 then
261
		local theta = math.acos(-cosTheta)
262
		local invSinTheta = 1 / math.sin(theta)
263
		startInterp = math.sin((t - 1) * theta) * invSinTheta
264
		finishInterp = math.sin(t * theta) * invSinTheta
265
	else
266
		startInterp = t - 1
267
		finishInterp = t
268
	end
269
	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
270
end
271
function rayCast(Pos, Dir, Max, Ignore)
272
	return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
273
end
274
function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
275
	local fp = it("Part")
276
	fp.formFactor = formfactor
277
	fp.Parent = parent
278
	fp.Reflectance = reflectance
279
	fp.Transparency = transparency
280
	fp.CanCollide = false
281
	fp.Locked = true
282
	fp.BrickColor = brickcolor
283
	fp.Name = name
284
	fp.Size = size
285
	fp.Position = Torso.Position
286
	fp.BottomSurface = "Smooth"
287
	fp.TopSurface = "Smooth"
288
	fp:BreakJoints()
289
	return fp
290
end
291
function mesh(Mesh, part, meshtype, meshid, offset, scale)
292
	local mesh = it(Mesh)
293
	mesh.Parent = part
294
	if Mesh == "SpecialMesh" then
295
		mesh.MeshType = meshtype
296
		mesh.MeshId = meshid
297
	end
298
	mesh.Offset = offset
299
	mesh.Scale = scale
300
	return mesh
301
end
302
function weld(parent, part0, part1, c0)
303
	local weld = it("Weld")
304
	weld.Parent = parent
305
	weld.Part0 = part0
306
	weld.Part1 = part1
307
	weld.C0 = c0
308
	return weld
309
end
310
function rayCast(Pos, Dir, Max, Ignore)
311
	return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
312
end
313
RSH, LSH = nil, nil
314
RW, LW = Instance.new("Weld"), Instance.new("Weld")
315
RW.Name = "Right Shoulder"
316
LW.Name = "Left Shoulder"
317
LH = Torso["Left Hip"]
318
RH = Torso["Right Hip"]
319
TorsoColor = Torso.BrickColor
320
function NoOutline(Part)
321
	Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
322
end
323
player = Player
324
ch = Character
325
RSH = ch.Torso["Right Shoulder"]
326
LSH = ch.Torso["Left Shoulder"]
327
RSH.Parent = nil
328
LSH.Parent = nil
329
RW.Name = "Right Shoulder"
330
RW.Part0 = ch.Torso
331
RW.C0 = cf(1.5, 0.5, 0)
332
RW.C1 = cf(0, 0.5, 0)
333
RW.Part1 = ch["Right Arm"]
334
RW.Parent = ch.Torso
335
LW.Name = "Left Shoulder"
336
LW.Part0 = ch.Torso
337
LW.C0 = cf(-1.5, 0.5, 0)
338
LW.C1 = cf(0, 0.5, 0)
339
LW.Part1 = ch["Left Arm"]
340
LW.Parent = ch.Torso
341
function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
342
	local wld = Instance.new("Weld", wp1)
343
	wld.Part0 = wp0
344
	wld.Part1 = wp1
345
	wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
346
end
347
newWeld(RootPart, Torso, 0, -1, 0)
348
Torso.Weld.C1 = CFrame.new(0, -1, 0)
349
newWeld(Torso, LeftLeg, -0.5, -1, 0)
350
LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
351
newWeld(Torso, RightLeg, 0.5, -1, 0)
352
RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
353
Player = game:GetService("Players").LocalPlayer
354
Character = Player.Character
355
mouse = Player:GetMouse()
356
m = Instance.new("Model", Character)
357
local weldBetween = function(a, b)
358
	local weldd = Instance.new("ManualWeld")
359
	weldd.Part0 = a
360
	weldd.Part1 = b
361
	weldd.C0 = CFrame.new()
362
	weldd.C1 = b.CFrame:inverse() * a.CFrame
363
	weldd.Parent = a
364
	return weldd
365
end
366
ArtificialHB = Instance.new("BindableEvent", script)
367
ArtificialHB.Name = "Heartbeat"
368
script:WaitForChild("Heartbeat")
369
frame = 0.016666666666666666
370
tf = 0
371
allowframeloss = false
372
tossremainder = false
373
lastframe = tick()
374
script.Heartbeat:Fire()
375
game:GetService("RunService").Heartbeat:connect(function(s, p)
376
	tf = tf + s
377
	if tf >= frame then
378
		if allowframeloss then
379
			script.Heartbeat:Fire()
380
			lastframe = tick()
381
		else
382
			for i = 1, math.floor(tf / frame) do
383
				script.Heartbeat:Fire()
384
			end
385
			lastframe = tick()
386
		end
387
		if tossremainder then
388
			tf = 0
389
		else
390
			tf = tf - frame * math.floor(tf / frame)
391
		end
392
	end
393
end)
394
function swait(num)
395
	if num == 0 or num == nil then
396
		ArtificialHB.Event:wait()
397
	else
398
		for i = 0, num do
399
			ArtificialHB.Event:wait()
400
		end
401
	end
402
end
403
mouse.KeyDown:connect(function(key)
404
	if key == "c" then
405
		repeat
406
			swait()
407
			Chillmusic.Volume = Chillmusic.Volume - 0.05
408
		until Chillmusic.Volume == 0
409
		Chillmusic:Stop()
410
		swait()
411
		Chillmusic2:Play()
412
		Chillmusic.Volume = 1
413
	end
414
end)
415
mouse.KeyDown:connect(function(key)
416
	if key == "f" then
417
		text.Text = "Guys why not just chill?"
418
		wait(1)
419
		text.Text = "It's just the way life should be."
420
		wait(1)
421
		text.Text = "Chill is life."
422
		wait(1)
423
		text.Text = "Chill is love."
424
		wait(1)
425
		text.Text = "Chill is for the best."
426
		wait(1)
427
		text.Text = "Maybe if you were chill you wouldn't be a skid..."
428
		wait(3)
429
		text.Text = "But some people cant handle the chill can they."
430
		wait(3)
431
		text.Text = "Chill Af"
432
	end
433
end)
434
mouse.KeyDown:connect(function(key)
435
	if key == "v" then
436
		repeat
437
			swait()
438
			Chillmusic2.Volume = Chillmusic2.Volume - 0.05
439
		until Chillmusic2.Volume == 0
440
		Chillmusic2:Stop()
441
		swait()
442
		Chillmusic:Play()
443
		Chillmusic2.Volume = 1
444
	end
445
end)
446
mouse.KeyDown:connect(function(key)
447
	if key == "b" then
448
		text.Text = "Be back scrubs."
449
		wait(1)
450
		text.Text = "Afk nibba..."
451
	end
452
end)
453
mouse.KeyDown:connect(function(key)
454
	if key == "n" then
455
		text.Text = "K back you nubs's!"
456
		wait(1)
457
		text.Text = "Chill Af"
458
	end
459
end)
460
m = Instance.new("ForceField", Character)
461
m.Visible = false
462
Character.Humanoid.WalkSpeed = 4
463
mouse.KeyDown:connect(function(key)
464
	if string.byte(key) == 48 then
465
		Swing = 2
466
		Character.Humanoid.WalkSpeed = 40
467
	end
468
end)
469
mouse.KeyUp:connect(function(key)
470
	if string.byte(key) == 48 then
471
		Swing = 1
472
		Character.Humanoid.WalkSpeed = 4
473
	end
474
end)
475
local sine = 0
476
local change = 1
477
local val = 0
478
spawn(function()
479
while true do
480
	swait()
481
	sine = sine + change
482
	local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
483
	local velderp = RootPart.Velocity.y
484
	hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
485
	if equipped == true or equipped == false then
486
		if attack == false then
487
			idle = idle + 1
488
			Character.Humanoid.MaxHealth = math.huge
489
			Character.Humanoid.Health = math.huge
490
		else
491
			idle = 0
492
		end
493
		if not (idle >= 500) or attack == false then
494
		end
495
		if torvel < 1 and hitfloor ~= nil then
496
			Anim = "Chill"
497
			if attack == false then
498
				Humanoid.CameraOffset = Vector3.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0)
499
				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)
500
				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)
501
				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)
502
				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)
503
				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)
504
				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)
505
			end
506
		elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
507
			Anim = "Walk"
508
			if attack == false then
509
				Humanoid.CameraOffset = Vector3.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0)
510
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.2)
511
				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)
512
				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)
513
				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)
514
				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)
515
				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)
516
				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)
517
			end
518
		elseif torvel >= 22 and hitfloor ~= nil then
519
			Anim = "Run"
520
			if attack == false then
521
				Humanoid.CameraOffset = Vector3.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0)
522
				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)
523
				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)
524
				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)
525
				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)
526
				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)
527
				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)
528
				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)
529
			end
530
		end
531
	end
532
end
533
end)
534
535
536
537
-- Objects
538
539
local Chill_Gui_Bro = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
540
local Header = Instance.new("Frame")
541
local BackGround = Instance.new("Frame")
542
local Chill_Gui_Label = Instance.new("TextLabel")
543
local Play_ID_Button = Instance.new("TextButton")
544
local ID_Box = Instance.new("TextBox")
545
local Set_Vol_Button = Instance.new("TextButton")
546
local Vol_Box = Instance.new("TextBox")
547
local Set_Tpos_Button = Instance.new("TextButton")
548
local Tpos_Box = Instance.new("TextBox")
549
local Set_Text_Button = Instance.new("TextButton")
550
local Tpos_Box_2 = Instance.new("TextBox")
551
local Toggle_Chat_Button = Instance.new("TextButton")
552
local Chat_Toggle_Label = Instance.new("TextLabel")
553
local Current_Song_Label = Instance.new("TextLabel")
554
555
-- Properties
556
557
Chill_Gui_Bro.Name = "Chill_Gui_Bro"
558
559
Header.Name = "Header"
560
Header.Parent = Chill_Gui_Bro
561
Header.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
562
Header.BorderSizePixel = 0
563
Header.Draggable = true
564
Header.Active = true
565
Header.Selectable = true
566
Header.Position = UDim2.new(0.469539374, 0, 0.147921771, 0)
567
Header.Size = UDim2.new(0, 250, 0, 45)
568
569
BackGround.Name = "BackGround"
570
BackGround.Parent = Header
571
BackGround.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
572
BackGround.BorderSizePixel = 0
573
BackGround.Draggable = true
574
BackGround.Position = UDim2.new(0, 0, 1, 0)
575
BackGround.Size = UDim2.new(0, 250, 0, 299)
576
577
Chill_Gui_Label.Name = "Chill_Gui_Label"
578
Chill_Gui_Label.Parent = Header
579
Chill_Gui_Label.BackgroundColor3 = Color3.new(1, 1, 1)
580
Chill_Gui_Label.BackgroundTransparency = 1
581
Chill_Gui_Label.BorderSizePixel = 0
582
Chill_Gui_Label.Draggable = true
583
Chill_Gui_Label.Size = UDim2.new(0, 250, 0, 45)
584
Chill_Gui_Label.Font = Enum.Font.Arcade
585
Chill_Gui_Label.Text = "~»Chill Gui«~"
586
Chill_Gui_Label.TextColor3 = Color3.new(1, 1, 1)
587
Chill_Gui_Label.TextScaled = true
588
Chill_Gui_Label.TextSize = 14
589
Chill_Gui_Label.TextWrapped = true
590
591
Play_ID_Button.Name = "Play_ID_Button"
592
Play_ID_Button.Parent = Header
593
Play_ID_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
594
Play_ID_Button.BorderColor3 = Color3.new(0, 0, 0)
595
Play_ID_Button.BorderSizePixel = 0
596
Play_ID_Button.Position = UDim2.new(0.0520000011, 0, 1.22222221, 0)
597
Play_ID_Button.Size = UDim2.new(0, 68, 0, 35)
598
Play_ID_Button.Font = Enum.Font.Arcade
599
Play_ID_Button.Text = "Play ID"
600
Play_ID_Button.TextColor3 = Color3.new(1, 1, 1)
601
Play_ID_Button.TextSize = 20
602
Play_ID_Button.TextWrapped = true
603
604
ID_Box.Name = "ID_Box"
605
ID_Box.Parent = Header
606
ID_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
607
ID_Box.BorderColor3 = Color3.new(0, 0, 0)
608
ID_Box.BorderSizePixel = 0
609
ID_Box.Position = UDim2.new(0.356000006, 0, 1.22222221, 0)
610
ID_Box.Size = UDim2.new(0, 140, 0, 35)
611
ID_Box.Font = Enum.Font.Arcade
612
ID_Box.Text = "ID here"
613
ID_Box.TextColor3 = Color3.new(1, 1, 1)
614
ID_Box.TextSize = 35
615
ID_Box.TextWrapped = true
616
617
Set_Vol_Button.Name = "Set_Vol_Button"
618
Set_Vol_Button.Parent = Header
619
Set_Vol_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
620
Set_Vol_Button.BorderColor3 = Color3.new(0, 0, 0)
621
Set_Vol_Button.BorderSizePixel = 0
622
Set_Vol_Button.Position = UDim2.new(0.0520000011, 0, 2.20000005, 0)
623
Set_Vol_Button.Size = UDim2.new(0, 68, 0, 35)
624
Set_Vol_Button.Font = Enum.Font.Arcade
625
Set_Vol_Button.Text = "Set Vol"
626
Set_Vol_Button.TextColor3 = Color3.new(1, 1, 1)
627
Set_Vol_Button.TextSize = 20
628
Set_Vol_Button.TextWrapped = true
629
630
Vol_Box.Name = "Vol_Box"
631
Vol_Box.Parent = Header
632
Vol_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
633
Vol_Box.BorderColor3 = Color3.new(0, 0, 0)
634
Vol_Box.BorderSizePixel = 0
635
Vol_Box.Position = UDim2.new(0.356000006, 0, 2.20000005, 0)
636
Vol_Box.Size = UDim2.new(0, 140, 0, 35)
637
Vol_Box.Font = Enum.Font.Arcade
638
Vol_Box.Text = "Volume"
639
Vol_Box.TextColor3 = Color3.new(1, 1, 1)
640
Vol_Box.TextSize = 35
641
Vol_Box.TextWrapped = true
642
643
Set_Tpos_Button.Name = "Set_Tpos_Button"
644
Set_Tpos_Button.Parent = Header
645
Set_Tpos_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
646
Set_Tpos_Button.BorderColor3 = Color3.new(0, 0, 0)
647
Set_Tpos_Button.BorderSizePixel = 0
648
Set_Tpos_Button.Position = UDim2.new(0.0520000011, 0, 3.24444437, 0)
649
Set_Tpos_Button.Size = UDim2.new(0, 68, 0, 35)
650
Set_Tpos_Button.Font = Enum.Font.Arcade
651
Set_Tpos_Button.Text = "Set Tpos"
652
Set_Tpos_Button.TextColor3 = Color3.new(1, 1, 1)
653
Set_Tpos_Button.TextSize = 18
654
Set_Tpos_Button.TextWrapped = true
655
656
Tpos_Box.Name = "Tpos_Box"
657
Tpos_Box.Parent = Header
658
Tpos_Box.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
659
Tpos_Box.BorderColor3 = Color3.new(0, 0, 0)
660
Tpos_Box.BorderSizePixel = 0
661
Tpos_Box.Position = UDim2.new(0.356000006, 0, 3.24444437, 0)
662
Tpos_Box.Size = UDim2.new(0, 140, 0, 35)
663
Tpos_Box.Font = Enum.Font.Arcade
664
Tpos_Box.Text = "Time Position"
665
Tpos_Box.TextColor3 = Color3.new(1, 1, 1)
666
Tpos_Box.TextSize = 20
667
Tpos_Box.TextWrapped = true
668
669
Set_Text_Button.Name = "Set_Text_Button"
670
Set_Text_Button.Parent = Header
671
Set_Text_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
672
Set_Text_Button.BorderColor3 = Color3.new(0, 0, 0)
673
Set_Text_Button.BorderSizePixel = 0
674
Set_Text_Button.Position = UDim2.new(0.0600000024, 0, 4.22222233, 0)
675
Set_Text_Button.Size = UDim2.new(0, 68, 0, 35)
676
Set_Text_Button.Font = Enum.Font.Arcade
677
Set_Text_Button.Text = "Set Text"
678
Set_Text_Button.TextColor3 = Color3.new(1, 1, 1)
679
Set_Text_Button.TextSize = 18
680
Set_Text_Button.TextWrapped = true
681
682
Tpos_Box_2.Name = "Tpos_Box"
683
Tpos_Box_2.Parent = Header
684
Tpos_Box_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
685
Tpos_Box_2.BorderColor3 = Color3.new(0, 0, 0)
686
Tpos_Box_2.BorderSizePixel = 0
687
Tpos_Box_2.Position = UDim2.new(0.356000006, 0, 4.22222233, 0)
688
Tpos_Box_2.Size = UDim2.new(0, 140, 0, 35)
689
Tpos_Box_2.Font = Enum.Font.Arcade
690
Tpos_Box_2.Text = "Text"
691
Tpos_Box_2.TextColor3 = Color3.new(1, 1, 1)
692
Tpos_Box_2.TextSize = 20
693
Tpos_Box_2.TextWrapped = true
694
695
Toggle_Chat_Button.Name = "Toggle_Chat_Button"
696
Toggle_Chat_Button.Parent = Header
697
Toggle_Chat_Button.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
698
Toggle_Chat_Button.BorderColor3 = Color3.new(0, 0, 0)
699
Toggle_Chat_Button.BorderSizePixel = 0
700
Toggle_Chat_Button.Position = UDim2.new(0.0579999983, 0, 5.26666689, 0)
701
Toggle_Chat_Button.Size = UDim2.new(0, 97, 0, 35)
702
Toggle_Chat_Button.Font = Enum.Font.Arcade
703
Toggle_Chat_Button.Text = "Toggle Chat"
704
Toggle_Chat_Button.TextColor3 = Color3.new(1, 1, 1)
705
Toggle_Chat_Button.TextSize = 20
706
Toggle_Chat_Button.TextWrapped = true
707
708
Chat_Toggle_Label.Name = "Chat_Toggle_Label"
709
Chat_Toggle_Label.Parent = Header
710
Chat_Toggle_Label.BackgroundColor3 = Color3.new(1, 1, 1)
711
Chat_Toggle_Label.BackgroundTransparency = 0.89999997615814
712
Chat_Toggle_Label.BorderColor3 = Color3.new(1, 1, 1)
713
Chat_Toggle_Label.Position = UDim2.new(0.540000021, 0, 5.26666689, 0)
714
Chat_Toggle_Label.Size = UDim2.new(0, 94, 0, 35)
715
Chat_Toggle_Label.Font = Enum.Font.Arcade
716
Chat_Toggle_Label.Text = "~»False«~"
717
Chat_Toggle_Label.TextColor3 = Color3.new(1, 1, 1)
718
Chat_Toggle_Label.TextScaled = true
719
Chat_Toggle_Label.TextSize = 14
720
Chat_Toggle_Label.TextWrapped = true
721
722
Current_Song_Label.Name = "Current_Song_Label"
723
Current_Song_Label.Parent = Header
724
Current_Song_Label.BackgroundColor3 = Color3.new(1, 1, 1)
725
Current_Song_Label.BackgroundTransparency = 0.89999997615814
726
Current_Song_Label.BorderColor3 = Color3.new(1, 1, 1)
727
Current_Song_Label.Position = UDim2.new(0.0520000011, 0, 6.64444447, 0)
728
Current_Song_Label.Size = UDim2.new(0, 225, 0, 35)
729
Current_Song_Label.Font = Enum.Font.Arcade
730
Current_Song_Label.Text = "~»Current Song: None«~"
731
Current_Song_Label.TextColor3 = Color3.new(1, 1, 1)
732
Current_Song_Label.TextScaled = true
733
Current_Song_Label.TextSize = 14
734
Current_Song_Label.TextWrapped = true
735
736
Play_ID_Button.MouseButton1Down:Connect(function()
737
if tonumber(ID_Box.Text) then
738
	Chillmusic:Stop()
739
	Chillmusic.SoundId='rbxassetid://'..tonumber(ID_Box.Text)
740
	Chillmusic:Play()
741
	currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(ID_Box.Text)).Name
742
	text.Text = "~»Chill Af«~ Now Playing: "..currentsong
743
	Current_Song_Label.Text = "~»Current Song: "..currentsong.."«~"
744
wait(4)
745
text.Text = "~»Fell Apart AF«~"
746
end
747
end)
748
local ischatting = false
749
750
Set_Vol_Button.MouseButton1Down:Connect(function()
751
752
	Chillmusic.Volume = tonumber(Vol_Box.Text)
753
end)
754
755
Set_Tpos_Button.MouseButton1Down:Connect(function()
756
757
	Chillmusic.TimePosition = tonumber(Tpos_Box.Text)
758
end)
759
760
Set_Text_Button.MouseButton1Down:Connect(function()
761
762
	text.Text = "~»"..Tpos_Box_2.Text.."«~"
763
end)
764
765
Toggle_Chat_Button.MouseButton1Down:Connect(function()
766
if ischatting == false then
767
ischatting = true
768
Chat_Toggle_Label.Text = "~»True«~"
769
spawn(function()
770
game.Players.LocalPlayer.Chatted:connect(function(msg)
771
for i = 0, msg:len(), 1 do
772
	text.Text = "~»"..msg:sub(0, i).."«~"
773
end
774
wait(3)
775
text.Text = "~»Fell Apart AF«~"
776
end)
777
end)
778
else
779
ischatting = false
780
Chat_Toggle_Label.Text = "~»False«~"
781
end
782
end)