View difference between Paste ID: iqSiUqJh and 7vqwBrSM
SHOW: | | - or go back to the newest paste.
1
wait(0.2)
2-
--||			   CREATED BY SHACKLUSTER
2+
3-
--\\====================================================//--
3+
4
Bonniee = Instance.new("ForceField", game.Players.LocalPlayer.Character)
5-
Class_Name=string.reverse"ihS-ihS yB tidE "
5+
6
local nel = game.Players.LocalPlayer.Character.Humanoid
7
nel.MaxHealth = math.huge
8
Player = game:GetService("Players").LocalPlayer
9
PlayerGui = Player.PlayerGui
10
Cam = workspace.CurrentCamera
11
Backpack = Player.Backpack
12
Character = Player.Character
13
Humanoid = Character.Humanoid
14
Mouse = Player:GetMouse()
15
RootPart = Character["HumanoidRootPart"]
16
Torso = Character["Torso"]
17
Head = Character["Head"]
18
RightArm = Character["Right Arm"]
19
LeftArm = Character["Left Arm"]
20
RightLeg = Character["Right Leg"]
21
LeftLeg = Character["Left Leg"]
22
RootJoint = RootPart["RootJoint"]
23
Neck = Torso["Neck"]
24
RightShoulder = Torso["Right Shoulder"]
25
LeftShoulder = Torso["Left Shoulder"]
26
RightHip = Torso["Right Hip"]
27
LeftHip = Torso["Left Hip"]
28
29
IT = Instance.new
30
CF = CFrame.new
31
VT = Vector3.new
32
RAD = math.rad
33
C3 = Color3.new
34
UD2 = UDim2.new
35
BRICKC = BrickColor.new
36
ANGLES = CFrame.Angles
37
EULER = CFrame.fromEulerAnglesXYZ
38
COS = math.cos
39
ACOS = math.acos
40
SIN = math.sin
41
ASIN = math.asin
42
ABS = math.abs
43
MRANDOM = math.random
44
FLOOR = math.floor
45
46
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
47
	local NEWMESH = IT(MESH)
48
	if MESH == "SpecialMesh" then
49
		NEWMESH.MeshType = MESHTYPE
50
		if MESHID ~= "nil" and MESHID ~= "" then
51
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
52
		end
53
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
54
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
55
		end
56
	end
57
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
58
	NEWMESH.Scale = SCALE
59
	NEWMESH.Parent = PARENT
60
	return NEWMESH
61
end
62
63
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
64
	local NEWPART = IT("Part")
65
	NEWPART.formFactor = FORMFACTOR
66
	NEWPART.Reflectance = REFLECTANCE
67
	NEWPART.Transparency = TRANSPARENCY
68
	NEWPART.CanCollide = false
69
	NEWPART.Locked = true
70
	NEWPART.Anchored = true
71
	if ANCHOR == false then
72
		NEWPART.Anchored = false
73
	end
74
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
75
	NEWPART.Name = NAME
76
	NEWPART.Size = SIZE
77
	NEWPART.Position = Torso.Position
78
	NEWPART.Material = MATERIAL
79
	NEWPART:BreakJoints()
80
	NEWPART.Parent = PARENT
81
	return NEWPART
82
end
83
84
--//=================================\\
85
--||		  CUSTOMIZATION
86
--\\=================================//
87
88
Player_Size = 1 --Size of the player.
89
Animation_Speed = 3
90
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
91
92
local Speed = 16
93
local Effects2 = {}
94-
warn(Class_Name.." #4817")
94+
95
--//=================================\\
96
--|| 	  END OF CUSTOMIZATION
97
--\\=================================//
98
99
	local function weldBetween(a, b)
100
	    local weldd = Instance.new("ManualWeld")
101
	    weldd.Part0 = a
102
	    weldd.Part1 = b
103
	    weldd.C0 = CFrame.new()
104
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
105
	    weldd.Parent = a
106
	    return weldd
107
	end
108
109
--//=================================\\
110
--|| 	      USEFUL VALUES
111
--\\=================================//
112
113
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
114
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
115
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
116
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
117
local CHANGEDEFENSE = 0
118
local CHANGEDAMAGE = 0
119
local CHANGEMOVEMENT = 0
120
local ANIM = "Idle"
121
local ATTACK = false
122
local EQUIPPED = false
123
local HOLD = false
124
local COMBO = 1
125
local Rooted = false
126
local SINE = 0
127
local KEYHOLD = false
128
local CHANGE = 2 / Animation_Speed
129
local WALKINGANIM = false
130
local WALK = 0
131
local VALUE1 = false
132
local VALUE2 = false
133
local ROBLOXIDLEANIMATION = IT("Animation")
134
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
135
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
136
--ROBLOXIDLEANIMATION.Parent = Humanoid
137
local WEAPONGUI = IT("ScreenGui", PlayerGui)
138
WEAPONGUI.Name = "Weapon GUI"
139
local Weapon = IT("Model")
140
Weapon.Name = "Adds"
141
local Effects = IT("Folder", Weapon)
142
Effects.Name = "Effects"
143
local ANIMATOR = Humanoid.Animator
144
local ANIMATE = Character.Animate
145
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
146
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
147
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
148
local HITBLOCKSOUNDS = {"199148933", "199148947"}
149
local UNANCHOR = true
150
151
local SKILLTEXTCOLOR = C3(0,0,0)
152
153
local SONGS = {"1386013222","1430157356","1554763595","1504868627","1303881502","1578609447"}
154
local SONGPLAYING = false
155
local SELECTEDSONG = 1
156
157
--//=================================\\
158
--\\=================================//
159
160-
local SONGS = {"1113734859","203547439","1343405182","1183179337","946737865","1110421128"}
160+
161
--//=================================\\
162
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
163
--\\=================================//
164
165
ArtificialHB = Instance.new("BindableEvent", script)
166
ArtificialHB.Name = "ArtificialHB"
167
168
script:WaitForChild("ArtificialHB")
169
170
frame = Frame_Speed
171
tf = 0
172
allowframeloss = false
173
tossremainder = false
174
lastframe = tick()
175
script.ArtificialHB:Fire()
176
177
game:GetService("RunService").Heartbeat:connect(function(s, p)
178
	tf = tf + s
179
	if tf >= frame then
180
		if allowframeloss then
181
			script.ArtificialHB:Fire()
182
			lastframe = tick()
183
		else
184
			for i = 1, math.floor(tf / frame) do
185
				script.ArtificialHB:Fire()
186
			end
187
		lastframe = tick()
188
		end
189
		if tossremainder then
190
			tf = 0
191
		else
192
			tf = tf - frame * math.floor(tf / frame)
193
		end
194
	end
195
end)
196
197
--//=================================\\
198
--\\=================================//
199
200
201
202
203
204
--//=================================\\
205
--|| 	      SOME FUNCTIONS
206
--\\=================================//
207
208
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
209
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
210
end
211
212
function PositiveAngle(NUMBER)
213
	if NUMBER >= 0 then
214
		NUMBER = 0
215
	end
216
	return NUMBER
217
end
218
219
function NegativeAngle(NUMBER)
220
	if NUMBER <= 0 then
221
		NUMBER = 0
222
	end
223
	return NUMBER
224
end
225
226
function Swait(NUMBER)
227
	if NUMBER == 0 or NUMBER == nil then
228
		ArtificialHB.Event:wait()
229
	else
230
		for i = 1, NUMBER do
231
			ArtificialHB.Event:wait()
232
		end
233
	end
234
end
235
236
function QuaternionFromCFrame(cf)
237
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
238
	local trace = m00 + m11 + m22
239
	if trace > 0 then 
240
		local s = math.sqrt(1 + trace)
241
		local recip = 0.5 / s
242
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
243
	else
244
		local i = 0
245
		if m11 > m00 then
246
			i = 1
247
		end
248
		if m22 > (i == 0 and m00 or m11) then
249
			i = 2
250
		end
251
		if i == 0 then
252
			local s = math.sqrt(m00 - m11 - m22 + 1)
253
			local recip = 0.5 / s
254
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
255
		elseif i == 1 then
256
			local s = math.sqrt(m11 - m22 - m00 + 1)
257
			local recip = 0.5 / s
258
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
259
		elseif i == 2 then
260
			local s = math.sqrt(m22 - m00 - m11 + 1)
261
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
262
		end
263
	end
264
end
265
 
266
function QuaternionToCFrame(px, py, pz, x, y, z, w)
267
	local xs, ys, zs = x + x, y + y, z + z
268
	local wx, wy, wz = w * xs, w * ys, w * zs
269
	local xx = x * xs
270
	local xy = x * ys
271
	local xz = x * zs
272
	local yy = y * ys
273
	local yz = y * zs
274
	local zz = z * zs
275
	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))
276
end
277
 
278
function QuaternionSlerp(a, b, t)
279
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
280
	local startInterp, finishInterp;
281
	if cosTheta >= 0.0001 then
282
		if (1 - cosTheta) > 0.0001 then
283
			local theta = ACOS(cosTheta)
284
			local invSinTheta = 1 / SIN(theta)
285
			startInterp = SIN((1 - t) * theta) * invSinTheta
286
			finishInterp = SIN(t * theta) * invSinTheta
287
		else
288
			startInterp = 1 - t
289
			finishInterp = t
290
		end
291
	else
292
		if (1 + cosTheta) > 0.0001 then
293
			local theta = ACOS(-cosTheta)
294
			local invSinTheta = 1 / SIN(theta)
295
			startInterp = SIN((t - 1) * theta) * invSinTheta
296
			finishInterp = SIN(t * theta) * invSinTheta
297
		else
298
			startInterp = t - 1
299
			finishInterp = t
300
		end
301
	end
302
	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
303
end
304
305
function Clerp(a, b, t)
306
	local qa = {QuaternionFromCFrame(a)}
307
	local qb = {QuaternionFromCFrame(b)}
308
	local ax, ay, az = a.x, a.y, a.z
309
	local bx, by, bz = b.x, b.y, b.z
310
	local _t = 1 - t
311
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
312
end
313
314
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
315
	local frame = IT("Frame")
316
	frame.BackgroundTransparency = TRANSPARENCY
317
	frame.BorderSizePixel = BORDERSIZEPIXEL
318
	frame.Position = POSITION
319
	frame.Size = SIZE
320
	frame.BackgroundColor3 = COLOR
321
	frame.BorderColor3 = BORDERCOLOR
322
	frame.Name = NAME
323
	frame.Parent = PARENT
324
	return frame
325
end
326
327
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
328
	local label = IT("TextLabel")
329
	label.BackgroundTransparency = 1
330
	label.Size = UD2(1, 0, 1, 0)
331
	label.Position = UD2(0, 0, 0, 0)
332
	label.TextColor3 = TEXTCOLOR
333
	label.TextStrokeTransparency = STROKETRANSPARENCY
334
	label.TextTransparency = TRANSPARENCY
335
	label.FontSize = TEXTFONTSIZE
336
	label.Font = TEXTFONT
337
	label.BorderSizePixel = BORDERSIZEPIXEL
338
	label.TextScaled = false
339
	label.Text = TEXT
340
	label.Name = NAME
341
	label.Parent = PARENT
342
	return label
343
end
344
345
function NoOutlines(PART)
346
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
347
end
348
349
350
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
351
	local NEWWELD = IT(TYPE)
352
	NEWWELD.Part0 = PART0
353
	NEWWELD.Part1 = PART1
354
	NEWWELD.C0 = C0
355
	NEWWELD.C1 = C1
356
	NEWWELD.Parent = PARENT
357
	return NEWWELD
358
end
359
360
function CreateSound(ID, PARENT, VOLUME, PITCH, DEBRISTIME)
361
	local NEWSOUND = nil
362
	coroutine.resume(coroutine.create(function()
363
		NEWSOUND = IT("Sound", PARENT)
364
		NEWSOUND.Volume = VOLUME
365
		NEWSOUND.Pitch = PITCH
366
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
367
		Swait()
368
		NEWSOUND:play()
369
		NEWSOUND.Name = "Audio"
370
		if DEBRISTIME ~= nil then
371
			game:GetService("Debris"):AddItem(NEWSOUND, DEBRISTIME)
372
		end
373
	end))
374
	return NEWSOUND
375
end
376
377
function CFrameFromTopBack(at, top, back)
378
	local right = top:Cross(back)
379
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
380
end
381
382
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
383
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(.2,.2,.2), true)
384
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
385
	wave.CFrame = CFRAME
386
	coroutine.resume(coroutine.create(function(PART)
387
		for i = 1, WAIT do
388
			Swait()
389
			mesh.Scale = mesh.Scale + GROW
390-
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
390+
391
			if wave.Transparency > 0.99 then
392
				wave:remove()
393
			end
394
		end
395
	end))
396
end
397
398
function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
399
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
400
	local mesh = IT("BlockMesh",wave)
401
	wave.CFrame = CFRAME
402
	coroutine.resume(coroutine.create(function(PART)
403
		for i = 1, WAIT do
404
			Swait()
405
			mesh.Scale = mesh.Scale + GROW
406
			wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
407
			wave.Transparency = wave.Transparency + (1/WAIT)
408
			if wave.Transparency > 0.99 then
409
				wave:remove()
410
			end
411
		end
412
	end))
413
end
414
415
function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
416
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(.2,.2,.2), true)
417
	local mesh = nil
418
	if KIND == "Base" then
419
 		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
420
	elseif KIND == "Thin" then
421
 		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
422
	elseif KIND == "Round" then
423-
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
423+
424
	end
425
	wave.CFrame = CFRAME
426
	coroutine.resume(coroutine.create(function(PART)
427
		for i = 1, WAIT do
428
			Swait()
429
			mesh.Scale = mesh.Scale + GROW/10
430
			wave.Transparency = wave.Transparency + (0.5/WAIT)
431
			if wave.Transparency > 0.99 then
432
				wave:remove()
433
			end
434
		end
435
	end))
436
end
437
438
function MakeForm(PART,TYPE)
439
	if TYPE == "Cyl" then
440
		local MSH = IT("CylinderMesh",PART)
441
	elseif TYPE == "Ball" then
442
		local MSH = IT("SpecialMesh",PART)
443
		MSH.MeshType = "Sphere"
444
	elseif TYPE == "Wedge" then
445
		local MSH = IT("SpecialMesh",PART)
446
		MSH.MeshType = "Wedge"
447
	end
448
end
449
450
function CheckTableForString(Table, String)
451
	for i, v in pairs(Table) do
452
		if string.find(string.lower(String), string.lower(v)) then
453
			return true
454
		end
455
	end
456
	return false
457
end
458
459
function CheckIntangible(Hit)
460
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
461
	if Hit and Hit.Parent then
462
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
463
			return true
464
		end
465
	end
466
	return false
467
end
468
469
Debris = game:GetService("Debris")
470
471
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
472
	local Direction = CFrame.new(StartPos, Vec).lookVector
473
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
474
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
475
	if RayHit and CheckIntangible(RayHit) then
476
		if DelayIfHit then
477
			wait()
478
		end
479
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
480
	end
481
	return RayHit, RayPos, RayNormal
482
end
483
484
function turnto(position)
485
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
486
end
487
488
--//=================================\\
489
--||	     WEAPON CREATION
490
--\\=================================//
491
492
493
for _, c in pairs(Weapon:GetChildren()) do
494
	if c.ClassName == "Part" then
495
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
496
	end
497
end
498
499
local Radio = CreatePart(1, Weapon, "Marble", 0, 0, "Pearl", "RAD-io", VT(.1,0.2,0.1),false)
500
CreateWeldOrSnapOrMotor("Weld", Radio, Torso, Radio, CF(0, 0, 1) * ANGLES(RAD(0), RAD(180), RAD(45)), CF(0, 0, 0))
501
local RADIOMESH = CreateMesh("SpecialMesh", Radio, "FileMesh", "1114777176", "1114777186", VT(.3,.3,.3), VT(0,0,0))
502
503
Weapon.Parent = Character
504
505
Humanoid.Died:connect(function()
506
	ATTACK = true
507
end)
508-
local RADIOMESH = CreateMesh("SpecialMesh", Radio, "FileMesh", "1082816", "2766467", VT(1,1,1), VT(0,0,0))
508+
509
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1 , 2, UD2(0.10, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
510
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
511
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
512
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
513
514
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Sit", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 1")
515
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] ???", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 2")
516
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Toggle Radio (Off, On)", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 3")
517
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Change song", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 4")
518
519
local INFOFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
520
local INFOTEXT = CreateLabel(INFOFRAME, "Say 's|' to add song", SKILLTEXTCOLOR, 6, "Cartoon", 0, 2, 1, "Text HA")
521-
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] sitt", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 1")
521+
522-
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Wut", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 2")
522+
523-
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Toggle Radio (Open,off)", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 3")
523+
local INFOTEXT = CreateLabel(INFOFRAME, "Say 'r|' to remove song", SKILLTEXTCOLOR, 6, "Cartoon", 0, 2, 1, "Text HA")
524
525
526
--//=================================\\
527-
local INFOTEXT = CreateLabel(INFOFRAME, "Say 'AddSong:ID' to add da song", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text HA")
527+
528
--\\=================================//
529
530-
local INFOTEXT = CreateLabel(INFOFRAME, "Say 'RSong:Number' to remove da song", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text HA")
530+
531
	if msg:sub(1,2) == "s|" then
532
		local ID = msg:sub(3)
533
		table.insert(SONGS,ID)
534
		SELECTEDSONG = #SONGS
535
	end
536
	if msg:sub(1,2) == "r|" then
537
		local ID = msg:sub(3)
538-
	if msg:sub(1,8) == "AddSong:" then
538+
539-
		local ID = msg:sub(9)
539+
540
		end
541
	end
542
end
543-
	if msg:sub(1,11) == "RemoveSong:" then
543+
544-
		local ID = msg:sub(12)
544+
545
	local SITT = CreateSound("188959311", Torso, 0.8, 1, 30)
546
	ATTACK = true
547
	repeat Swait() until SITT.TimePosition > .1
548
	VALUE1 = true
549
	ATTACK = false
550
end
551
552
function mostworryingindeed()
553
	ATTACK = true
554
	VALUE2 = true
555
	CreateSound("188959311", Torso, 10, 1, 6)
556
	for i = 1, 35 do
557
		Swait()
558
		RightArm.Transparency = RightArm.Transparency + 1/35
559
		LeftArm.Transparency = LeftArm.Transparency + 1/35
560
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(150, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
561
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-150, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
562
	end
563
	for i = 1, 150 do
564
		Swait()
565
		RightArm.Transparency = RightArm.Transparency - 1/100
566
		LeftArm.Transparency = LeftArm.Transparency - 1/100
567
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2, 1, -0.1) * ANGLES(RAD(155), RAD(-25), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
568
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2, 1, -0.1) * ANGLES(RAD(155), RAD(25), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
569
	end
570
	RightArm.Transparency = 0
571
	LeftArm.Transparency = 0
572
	local SITT = CreateSound("501536185", Torso, 10, 1, 6)
573
	Swait(2)
574
	repeat Swait() until SITT.Playing == false
575
	VALUE2 = false
576
	ATTACK = false
577
end
578
579
--//=================================\\
580
--||	  ASSIGN THINGS TO KEYS
581
--\\=================================//
582
583
function MouseDown(Mouse)
584
	if ATTACK == false then
585
	end
586
end
587
588
function MouseUp(Mouse)
589
HOLD = false
590
end
591
592
function KeyDown(Key)
593
	KEYHOLD = true
594
	if Key == "z" and ATTACK == false then
595
		if VALUE1 == false then
596
			sitt()
597
		else
598
			VALUE1 = false
599
		end
600
	end
601
602
	if Key == "b" and ATTACK == false then
603
		mostworryingindeed()
604
	end
605
606
	if Key == "c" and ATTACK == false then
607
		if SONGPLAYING == false then
608
			SONGPLAYING = true
609
			local SONG = CreateSound(SONGS[SELECTEDSONG], Radio, 10, 1, nil)
610
			SONG.Looped = true
611
		else
612
			if Radio:FindFirstChild("Audio") then
613
				Radio.Audio:remove()
614
			end
615
			SONGPLAYING = false
616
		end
617
	end
618
619
	if Key == "v" and ATTACK == false then
620
		SELECTEDSONG = SELECTEDSONG + 1
621
	end
622
end
623
624
function KeyUp(Key)
625
	KEYHOLD = false
626
end
627
628
	Mouse.Button1Down:connect(function(NEWKEY)
629
		MouseDown(NEWKEY)
630
	end)
631
	Mouse.Button1Up:connect(function(NEWKEY)
632
		MouseUp(NEWKEY)
633
	end)
634
	Mouse.KeyDown:connect(function(NEWKEY)
635
		KeyDown(NEWKEY)
636
	end)
637
	Mouse.KeyUp:connect(function(NEWKEY)
638
		KeyUp(NEWKEY)
639
	end)
640
641
--//=================================\\
642
--\\=================================//
643
644
645
function unanchor()
646
	if UNANCHOR == true then
647
		g = Character:GetChildren()
648
		for i = 1, #g do
649
			if g[i].ClassName == "Part" then
650
				g[i].Anchored = false
651
			end
652
		end
653
	end
654
end
655
656
657
--//=================================\\
658
--||	WRAP THE WHOLE SCRIPT UP
659
--\\=================================//
660
661
Humanoid.Changed:connect(function(Jump)
662
	if Jump == "Jump" and (Disable_Jump == true) then
663
		Humanoid.Jump = false
664
	end
665
end)
666
667
while true do
668
	Swait()
669
	ANIMATE.Parent = nil
670
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
671
	IDLEANIMATION:Play()
672
	SINE = SINE + CHANGE
673
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
674
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
675
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
676
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
677
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
678
	if VALUE1 == false then
679
		if VALUE2 == false then
680
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
681
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
682
		end
683
		HipHeight = 3
684
		Rooted = false
685
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.35 * COS(SINE / 42)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
686
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
687
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
688
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
689
	else
690
		if VALUE2 == false then
691
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
692
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
693
		end
694
		Rooted = true
695
		HipHeight = 0
696
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
697
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
698
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(75), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
699
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(75), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1/ Animation_Speed)
700
	end
701
	unanchor()
702
	Humanoid.MaxHealth = "inf"
703
	Humanoid.Health = "inf"
704
	if Rooted == false then
705
		Disable_Jump = false
706
		Humanoid.WalkSpeed = Speed
707
	elseif Rooted == true then
708
		Disable_Jump = true
709
		Humanoid.WalkSpeed = 0
710
	end
711
	if SELECTEDSONG > #SONGS then
712
		SELECTEDSONG = 1
713
	end
714
	if SONGPLAYING == true then
715
		local SONG = Radio:FindFirstChild("Audio")
716
		if SONG ~= nil then
717
			SONG.Playing = true
718
			if SONG.SoundId ~= "rbxassetid://"..SONGS[SELECTEDSONG] then
719
				SONG.SoundId = "rbxassetid://"..SONGS[SELECTEDSONG]
720
				SONG:Play()
721
			end
722
			RADIOMESH.Scale = VT(.3,.3,.3)+(VT(.2,.2,.2)*SONG.PlaybackLoudness/100)
723
		end
724
	else
725
		RADIOMESH.Scale = VT(.3,.3,.3)
726
	end
727
end
728
729-
			RADIOMESH.Scale = VT(3,3,3)+(VT(1,1,1)*SONG.PlaybackLoudness/100)
729+
730
--\\=================================//
731
732-
		RADIOMESH.Scale = VT(3,3,3)
732+
733
734
735
736
--//====================================================\\--
737
--||			  		 END OF SCRIPT
738
--\\====================================================//--