View difference between Paste ID: 9YRw42DE and rQ5zXcMU
SHOW: | | - or go back to the newest paste.
1
-----------//KRYSTAL DANCE V2\\-----------
2
--[[Movelist
3
Q = The Swoosher
4
E = The nutty
5
R = Spin me right round!
6
T = Plum juice dance
7
Y = Moonwalk
8
U = Slav dance
9
P = Barrel roll
10
F = The Jerky
11
G = The Shuffle
12
H = The Spongebob
13
J = Here comes the money!
14
K = Runnin' in the 90's
15
---------]]
16
17
--Alright so before i start rambling on about absolute nonsense, please subscribe to Pewdiepie on youtube! Help him defeat T-Series!--
18
--Also subscribe to Vengefulprogram--
19
--Krystal dance! The old famous script that sadly has been broken(sorta), i've decided to rework this thing because... nostalgia.--
20
--This is one of the first scripts i've ever ran on SB, seeing this back again really reminds me of how much of a noob i was.--
21
--Credits to Krystalteam, they made the original krystal dance! Be sure to respect them or else...--
22
--#makeoldscriptsgreatagain--
23
24
if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
25
do
26
	script.Parent = owner.Character
27
	local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
28
	local function NewFakeEvent()
29
		local Bind = Instance.new("BindableEvent")
30
		local Fake;Fake = {Connections = {},
31
		fakeEvent=true;
32
		Connect=function(self,Func)
33
			Bind.Event:connect(Func)
34
			self.Connections[Bind] = true
35
			return setmetatable({Connected = true},{
36
			__index = function (self,Index)
37
				if Index:lower() == "disconnect" then
38
					return function() Fake.Connections[Bind] = false;self.Connected = false end
39
				end
40
				return Fake[Index]
41
			end;
42
			__tostring = function() return "Connection" end;
43
		})
44
		end}
45
		Fake.connect = Fake.Connect;return Fake;
46
	end
47
	local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
48
	local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
49
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
50
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
51
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
52
	local function TriggerEvent(self,Event,...)
53
		local Trigger = Mouse[Event]
54
		if Trigger and Trigger.fakeEvent and Trigger.Connections then
55
			for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
56
		end
57
	end
58
	Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
59
	Event.OnServerEvent:Connect(function(FiredBy,Input)
60
		if FiredBy.Name ~= owner.Name then return end
61
		if Input.MouseEvent then
62
			Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
63
		else
64
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
65
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
66
			for _,Action in pairs(ContextActionService.Actions) do
67
				for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
68
			end
69
			Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
70
			UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
71
		end
72
	end)
73
	InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
74
	Event.Parent = NLS([[
75
		local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
76
		local Input = function(Input,gameProcessedEvent)
77
			if gameProcessedEvent then return end
78
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
79
		end
80
		UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
81
		local Hit,Target
82
		while wait(1/30) do
83
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
84
				Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
85
			end
86
		end
87
	]],owner.Character)
88
end
89
RealGame = game;game = setmetatable({},{
90
	__index = function (self,Index)
91
		local Sandbox = function (Thing)
92
			if Thing:IsA("Player") then
93
				local RealPlayer = Thing
94
				return setmetatable({},{
95
					__index = function (self,Index)
96
						local Type = type(RealPlayer[Index])
97
						if Type == "function" then
98
							if Index:lower() == "getmouse" or Index:lower() == "mouse" then
99
								return function (self)return InternalData["Mouse"] end
100
							end
101
							return function (self,...)return RealPlayer[Index](RealPlayer,...) end
102
						end
103
						return RealPlayer[Index]
104
					end;
105
					__tostring = function(self) return RealPlayer.Name end
106
				})
107
			end
108
		end
109
		if RealGame[Index] then
110
			local Type = type(RealGame[Index])
111
			if Type == "function" then
112
				if Index:lower() == "getservice" or Index:lower() == "service" then
113
					return function (self,Service)
114
						local FakeServices = {
115
							["players"] = function()
116
								return setmetatable({},{
117
									__index = function (self2,Index2)
118
										local RealService = RealGame:GetService(Service)
119
										local Type2 = type(Index2)
120
										if Type2 == "function" then
121
											return function (self,...) return RealService[Index2](RealService,...)end
122
										else
123
											if Index2:lower() == "localplayer" then return Sandbox(owner) end
124
											return RealService[Index2]
125
										end
126
									end;
127
									__tostring = function(self) return RealGame:GetService(Service).Name end
128
								})
129
							end;
130
							["contextactionservice"] = function() return InternalData["ContextActionService"] end;
131
							["userinputservice"] = function() return InternalData["UserInputService"] end;
132
							["runservice"] = function()
133
								return setmetatable({},{
134
									__index = function(self2,Index2)
135
										local RealService = RealGame:GetService(Service)
136
										local Type2 = type(Index2)
137
										if Type2 == "function" then
138
											return function (self,...) return RealService[Index2](RealService,...) end
139
										else
140
											local RunServices = {
141
												["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
142
												["renderstepped"] = function() return RealService["Stepped"] end
143
											}
144
											if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
145
											return RealService[Index2]
146
										end
147
									end
148
								})
149
							end
150
						}
151
						if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
152
						return RealGame:GetService(Service)
153
					end
154
				end
155
				return function (self,...) return RealGame[Index](RealGame,...) end
156
			else
157
				if game:GetService(Index) then return game:GetService(Index) end
158
				return RealGame[Index]
159
			end
160
		end
161
		return nil
162
	end
163
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
164
165
Player=game.Players.LocalPlayer
166
Character=Player.Character
167
Character.Humanoid.Name = "noneofurbusiness"
168
hum = Character.noneofurbusiness
169
LeftArm=Character["Left Arm"]
170
LeftLeg=Character["Left Leg"]
171
RightArm=Character["Right Arm"]
172
RightLeg=Character["Right Leg"]
173
Root=Character["HumanoidRootPart"]
174
Head=Character["Head"]
175
Torso=Character["Torso"]
176
Neck=Torso["Neck"]
177
mouse = Player:GetMouse()
178
walking = false
179
jumping = false
180
attacking = false
181
firsttime = false
182
tauntdebounce = false
183
position = nil
184
MseGuide = true
185
running = false
186
settime = 0
187
sine = 0
188
t = 0
189
ws = 14
190
change = 1
191
combo1 = true
192
dancing = false
193
equip = false
194
dgs = 75
195
combo2 = false
196
switch1 = true
197
switch2 = false
198
firsttime2 = false
199
combo3 = false
200
gunallowance = false
201
shooting = false
202
RunSrv = game:GetService("RunService")
203
RenderStepped = game:GetService("RunService").RenderStepped
204
removeuseless = game:GetService("Debris")
205
206
screenGui = Instance.new("ScreenGui")
207
screenGui.Parent = script.Parent
208
209
local HEADLERP = Instance.new("ManualWeld")
210
HEADLERP.Parent = Head
211
HEADLERP.Part0 = Head
212
HEADLERP.Part1 = Head
213
HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
214
215
local TORSOLERP = Instance.new("ManualWeld")
216
TORSOLERP.Parent = Root
217
TORSOLERP.Part0 = Torso
218
TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
219
220
local ROOTLERP = Instance.new("ManualWeld")
221
ROOTLERP.Parent = Root
222
ROOTLERP.Part0 = Root
223
ROOTLERP.Part1 = Torso
224
ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
225
226
local RIGHTARMLERP = Instance.new("ManualWeld")
227
RIGHTARMLERP.Parent = RightArm
228
RIGHTARMLERP.Part0 = RightArm
229
RIGHTARMLERP.Part1 = Torso
230
RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
231
232
local LEFTARMLERP = Instance.new("ManualWeld")
233
LEFTARMLERP.Parent = LeftArm
234
LEFTARMLERP.Part0 = LeftArm
235
LEFTARMLERP.Part1 = Torso
236
LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
237
238
local RIGHTLEGLERP = Instance.new("ManualWeld")
239
RIGHTLEGLERP.Parent = RightLeg
240
RIGHTLEGLERP.Part0 = RightLeg
241
RIGHTLEGLERP.Part1 = Torso
242
RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
243
244
local LEFTLEGLERP = Instance.new("ManualWeld")
245
LEFTLEGLERP.Parent = LeftLeg
246
LEFTLEGLERP.Part0 = LeftLeg
247
LEFTLEGLERP.Part1 = Torso
248
LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
249
250
local function weldBetween(a, b)
251
    local weld = Instance.new("ManualWeld", a)
252
    weld.Part0 = a
253
    weld.Part1 = b
254
    weld.C0 = a.CFrame:inverse() * b.CFrame
255
    return weld
256
end
257
258
function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
259
A = Instance.new("Attachment", PARENT)
260
A.Position = POSITION1
261
A.Name = "A"
262
B = Instance.new("Attachment", PARENT)
263
B.Position = POSITION2
264
B.Name = "B"
265
tr1 = Instance.new("Trail", PARENT)
266
tr1.Attachment0 = A
267
tr1.Attachment1 = B
268
tr1.Enabled = true
269
tr1.Lifetime = LIFETIME
270
tr1.TextureMode = "Static"
271
tr1.LightInfluence = 0
272
tr1.Color = COLOR
273
tr1.Transparency = NumberSequence.new(0, 1)
274
end
275
276
introsound = Instance.new("Sound",Head)
277
introsound.SoundId = "rbxassetid://236146895"
278
introsound.Volume = 8
279
introsound:Play()
280
281
282
fedora = Instance.new("Part",Character)
283
fedora.Size = Vector3.new(2,2,2)
284
fedora.CFrame = Head.CFrame
285
fedora.CanCollide = false
286
fedoraweld = Instance.new("Weld",fedora)
287
fedoraweld.Part0 = fedora
288
fedoraweld.Part1 = Head
289
fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.75,0)
290
mfedora = Instance.new("SpecialMesh", fedora)
291
mfedora.MeshType = "FileMesh"
292
mfedora.Scale = Vector3.new(.0007, .0007, .0007)
293
mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13640868','http://www.roblox.com/asset/?id=18987684'
294
295
296
297
298
godmode = coroutine.wrap(function()
299
for i,v in pairs(Character:GetChildren()) do
300
if v:IsA("BasePart") and v ~= Root then
301
v.Anchored = false
302
end
303
end
304
while true do
305
hum.MaxHealth = math.huge
306
wait(0.0000001)
307
hum.Health = math.huge
308
wait()
309
end
310
end)
311
godmode()
312
ff = Instance.new("ForceField", Character)
313
ff.Visible = false
314
315
coroutine.wrap(function()
316
for i,v in pairs(Character:GetChildren()) do
317
if v.Name == "Animate" then v:Remove()
318
end
319
end
320
end)()
321
322
function damagealll(Radius,Position)		
323
	local Returning = {}		
324
	for _,v in pairs(workspace:GetChildren()) do		
325
		if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
326
if v:FindFirstChild("Torso") then		
327
			local Mag = (v.Torso.Position - Position).magnitude		
328
			if Mag < Radius then		
329
				table.insert(Returning,v)		
330
			end
331
elseif v:FindFirstChild("UpperTorso") then	
332
			local Mag = (v.UpperTorso.Position - Position).magnitude		
333
			if Mag < Radius then		
334
				table.insert(Returning,v)		
335
			end
336
end	
337
		end		
338
	end		
339
	return Returning		
340
end
341
342
ArtificialHB = Instance.new("BindableEvent", script)
343
ArtificialHB.Name = "Heartbeat"
344
script:WaitForChild("Heartbeat")
345
346
frame = 1 / 60
347
tf = 0
348
allowframeloss = false
349
tossremainder = false
350
351
352
lastframe = tick()
353
script.Heartbeat:Fire()
354
355
356
game:GetService("RunService").Heartbeat:connect(function(s, p)
357
	tf = tf + s
358
	if tf >= frame then
359
		if allowframeloss then
360
			script.Heartbeat:Fire()
361
			lastframe = tick()
362
		else
363
			for i = 1, math.floor(tf / frame) do
364
				script.Heartbeat:Fire()
365
			end
366
			lastframe = tick()
367
		end
368
		if tossremainder then
369
			tf = 0
370
		else
371
			tf = tf - frame * math.floor(tf / frame)
372
		end
373
	end
374
end)
375
376
function swait(num)
377
	if num == 0 or num == nil then
378
		game:service("RunService").Stepped:wait(0)
379
	else
380
		for i = 0, num do
381
			game:service("RunService").Stepped:wait(0)
382
		end
383
	end
384
end
385
386
387
388
389
intro = true
390
ws = 0
391
392
bigfedora = Instance.new("Part",Character)
393
bigfedora.Size = Vector3.new(2,2,2)
394-
bigfedora.CFrame = bigfedora.CFrame:inverse() * Root.CFrame * CFrame.new(math.random(-60,60),1000,math.random(-60,60)) * CFrame.Angles(0,180,0)
394+
bigfedora.CFrame = bigfedora.CFrame:inverse() * Root.CFrame * CFrame.new(math.random(-60,60),1000,math.random(-60,60)) * CFrame.Angles(0,50,0)
395
bigfedora.CanCollide = false
396
bigfedora.Anchored = true
397
bigfedora.Name = "mbigf"
398
mbigfedora = Instance.new("SpecialMesh", bigfedora)
399
mbigfedora.MeshType = "FileMesh"
400-
mbigfedora.Scale = Vector3.new(5, 5, 5)
400+
mbigfedora.Scale = Vector3.new(8, 8, 8)
401-
mbigfedora.MeshId,mbigfedora.TextureId = 'http://www.roblox.com/asset/?id=119780441','http://www.roblox.com/asset/?id=119778350'
401+
mbigfedora.MeshId,mbigfedora.TextureId = 'http://www.roblox.com/asset/?id=28502053','http://www.roblox.com/asset/?id=2585319293'
402
for i,v in pairs(Character:GetDescendants()) do
403
if v:IsA("Part") and v.Name ~= "mbigf" then v.Transparency = 1
404
end
405
end
406
for i = 1, 60 do
407-
bigfedora.CFrame = bigfedora.CFrame:lerp(CFrame.new(Root.Position) * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.09)
407+
bigfedora.CFrame = bigfedora.CFrame:lerp(CFrame.new(Root.Position) * CFrame.new(0,-5,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.09)
408
swait()
409
end
410
wait(.25)
411
for i,v in pairs(Character:GetDescendants()) do
412
if v:IsA("Part") and v.Name ~= "mbigf" and v.Name ~= "HumanoidRootPart" then v.Transparency = 0
413
end
414
end
415
for i = 1, 50 do
416
bigfedora.CFrame = bigfedora.CFrame:lerp(CFrame.new(fedora.Position),.05)
417
swait()
418
end
419
zmc = 0
420
for i = 1, 29 do
421
zmc = zmc + 2
422
mbigfedora.Scale = mbigfedora.Scale - Vector3.new(.25,.25,.25)
423
bigfedora.CFrame = bigfedora.CFrame * CFrame.Angles(math.rad(0),math.rad(zmc),0)
424
swait()
425
end
426
bigfedora:Remove()
427
428
ws = 14
429
430
function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
431
so = Instance.new("Sound")
432
so.Parent = PARENT
433
so.SoundId = "rbxassetid://"..ID
434
so.Volume = VOL
435
so.Looped = LOOP
436
437
so:Play()
438
removeuseless:AddItem(so,REMOVE)
439
end
440
441
mouse.KeyDown:connect(function(Press)
442
Press=Press:lower()
443
if Press=='k' then
444
if dancing then
445
dancing = false
446
else
447
dancing = true
448
ws = 0
449
change = .5
450
attacking = true
451
jam = Instance.new("Sound",Torso)
452
jam.SoundId = "rbxassetid://665751753"
453
jam.Volume = 8
454
jam.Looped = true
455
jam.TimePosition = 22.3
456
jam:Play()
457
lol90 = 0
458
coroutine.wrap(function()
459
while dancing do
460
lol90 = lol90 + 11
461-
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(5 * math.sin(sine/10),.4 + 1.6 * math.sin(sine/3),0) * CFrame.Angles(math.rad(0),math.rad(0 * math.sin(sine/8)),math.rad(8 * math.sin(sine/7))),.25)
461+
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(1 * math.sin(sine/10),.1 + .8 * math.sin(sine/3),0) * CFrame.Angles(math.rad(0),math.rad(0 * math.sin(sine/8)),math.rad(8 * math.sin(sine/7))),.25)
462-
ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(5 * math.sin(sine/14),0,0) * CFrame.Angles(math.rad(0),math.rad(lol90),0),.25)
462+
ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0 * math.sin(sine/14),0,0) * CFrame.Angles(math.rad(0),math.rad(lol90),0),.25)
463
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(-5 * math.sin(sine/3)),math.rad(-6 * math.sin(sine/3))),0.25)
464
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(5 * math.sin(sine/3)),math.rad(6 * math.sin(sine/3))), 0.25)
465
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10 + 5 * math.sin(sine/3))), 0.25)
466
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10 - 5 * math.sin(sine/3))), 0.25)
467
swait()
468
end
469
ws = 14
470
jam:Remove()
471
ROOTLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
472
attacking = false
473
end)()
474
end
475
end
476
end)
477
478
mouse.KeyDown:connect(function(Press)
479
Press=Press:lower()
480
if Press=='j' then
481
if dancing then
482
dancing = false
483
else
484
dancing = true
485
ws = 3
486
change = .5
487
attacking = true
488
g1 = Instance.new("BodyGyro", Root)
489
g1.D = 175
490
g1.P = 20000
491
g1.MaxTorque = Vector3.new(0,9000,0)
492
herecomesthemoney = Instance.new("Sound",Torso)
493
herecomesthemoney.Pitch = 1
494-
herecomesthemoney.SoundId = "rbxassetid://195372981"
494+
herecomesthemoney.SoundId = "rbxassetid://2426693638"
495
herecomesthemoney.Volume = 8
496
herecomesthemoney.Looped = true
497
herecomesthemoney:Play()
498
robuxpile = Instance.new("Part",Torso)
499
robuxpile.Size = Vector3.new(1,1,1)
500
robuxpile.CFrame = LeftArm.CFrame
501
robuxpile.CanCollide = false
502
robuxpileweld = Instance.new("Weld",robuxpile)
503
robuxpileweld.Part0 = robuxpile
504
robuxpileweld.Part1 = Torso
505-
robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1.3,5,2) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(180))
505+
robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1.3,-.7,2)
506
mrobuxpile = Instance.new("SpecialMesh", robuxpile)
507
mrobuxpile.MeshType = "FileMesh"
508-
mrobuxpile.Scale = Vector3.new(.75, .75, .75)
508+
mrobuxpile.Scale = Vector3.new(1, 1, 1)
509-
mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=130099641','http://www.roblox.com/asset/?id=209727730'
509+
mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=665938979','http://www.roblox.com/asset/?id=2643129023'
510
coroutine.wrap(function()
511
coroutine.wrap(function()
512-
while wait(.1) do
512+
while wait(.01) do
513
if not dancing then break end
514
local robux = Instance.new("Part",Torso)
515-
robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
515+
robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
516
robux.Anchored = false
517
robux.CanCollide = true
518-
robux.Size = Vector3.new(1,2,1)
518+
robux.Size = Vector3.new(1,1,1)
519
removeuseless:AddItem(robux,4)
520
mrobux = Instance.new("SpecialMesh", robux)
521
mrobux.MeshType = "FileMesh"
522-
mrobux.Scale = Vector3.new(1, 1, 1)
522+
mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
523-
mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=10470609','http://www.roblox.com/asset/?id=881357191'
523+
mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=667285348','http://www.roblox.com/asset/?id=2643129023'
524
bov = Instance.new("BodyVelocity",robux)
525
bov.maxForce = Vector3.new(99999,99999,99999)
526
robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
527-
bov.velocity = robux.CFrame.lookVector*150
527+
bov.velocity = robux.CFrame.lookVector*45
528
removeuseless:AddItem(bov,.1)
529
end
530
end)()
531
while dancing do
532
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
533
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(20),math.rad(0 * math.sin(sine/8)),math.rad(0)),.25)
534-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-0,2 + .5 * math.sin(sine/2),1) * CFrame.Angles(math.rad(-0),math.rad(0 - 00 * math.sin(sine/2)),math.rad(0)), 0)
534+
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,.5 + .5 * math.sin(sine/2),.5) * CFrame.Angles(math.rad(-97),math.rad(40 - 20 * math.sin(sine/2)),math.rad(0)), 0.25)
535-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0,2,.5) * CFrame.Angles(math.rad(-0),math.rad(-00),math.rad(00)), 0.)
535+
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
536
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
537
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.25)
538
swait()
539
end
540
ws = 14
541
542
removeuseless:AddItem(g1,.001)
543
robuxpile:Remove()
544
attacking = false
545
end)()
546
end
547
end
548
end)
549
550
mouse.KeyDown:connect(function(Press)
551
Press=Press:lower()
552
if Press=='h' then
553
if dancing then
554
dancing = false
555
else
556
dancing = true
557
ws = 0
558
change = .5
559
attacking = true
560
jellyfishjam = Instance.new("Sound",Torso)
561
jellyfishjam.SoundId = "rbxassetid://840189092"
562
jellyfishjam.Volume = 8
563
jellyfishjam.Looped = true
564
jellyfishjam.TimePosition = 14.8
565
jellyfishjam:Play()
566
coroutine.wrap(function()
567
while dancing do
568
for i = 1, 15 do
569
if not dancing then break end
570-
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(20)),.01)
570+
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(20)),.25)
571-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-350 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
571+
572-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-350 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
572+
573-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(0.25, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-56)), 0.25)
573+
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(0.25, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-35)), 0.25)
574-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(96)), 0.25)
574+
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(14)), 0.25)
575
swait()
576
end
577
for i = 1, 15 do
578
if not dancing then break end
579-
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,.1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),0.5)
579+
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
580-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-150 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
580+
581-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-74 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
581+
582-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.25, .7,1.5) * CFrame.Angles(math.rad(262), math.rad(25), math.rad(-2)), 0.25)
582+
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(25), math.rad(-2)), 0.25)
583
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25)
584
swait()
585
end
586
for i = 1, 15 do
587
if not dancing then break end
588-
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(-.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(-20)),.75)
588+
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(-.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(-20)),.25)
589
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
590
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
591
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25)
592
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(-0.25, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(35)), 0.25)
593
swait()
594
end
595
for i = 1, 15 do
596
if not dancing then break end
597-
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(-.5,-.1,0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.250)
597+
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(-.5,-.1,0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
598-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-73 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
598+
599-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-200 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
599+
600-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-140)), 0.3)
600+
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-14)), 0.3)
601-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.25, .7,1.5) * CFrame.Angles(math.rad(22), math.rad(-258), math.rad(-200)), 0.25)
601+
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(-25), math.rad(-2)), 0.25)
602
swait()
603
end
604
swait()
605
end
606
ws = 14
607
attacking = false
608
end)()
609
end
610
end
611
end)
612
613
614
615
mouse.KeyDown:connect(function(Press)
616
Press=Press:lower()
617
if Press=='g' then
618
if dancing then
619
dancing = false
620
else
621
dancing = true
622
ws = 0
623
change = .5
624
attacking = true
625
deadmau7 = Instance.new("Sound",Torso)
626
deadmau7.SoundId = "rbxassetid://168166611"
627
deadmau7.Volume = 8
628
deadmau7.Looped = true
629
deadmau7:Play()
630
coroutine.wrap(function()
631
coroutine.wrap(function()
632
while dancing do
633
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(2 * math.sin(sine/9),-.4 + .1 * math.sin(sine/3),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/9)),0),.25)
634
swait()
635
end
636
end)()
637
while dancing do
638
for i = 1, 28 do
639
if not dancing then break end
640
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.2)
641
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/3)),math.rad(7 * math.sin(sine/3)),math.rad(7*math.sin(sine/3))), 0.2)
642
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, .7,1) * CFrame.Angles(math.rad(75 - 10 * math.sin(sine/2)), math.rad(0), math.rad(0)), 0.25)
643
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05,-.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-2)), 0.3)
644
swait()
645
end
646
for i = 1, 28 do
647
if not dancing then break end
648
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.2)
649
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/3)),math.rad(7 * math.sin(sine/3)),math.rad(7*math.sin(sine/3))), 0.2)
650
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05,.1) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-8)), 0.25)
651
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, .7,1.1) * CFrame.Angles(math.rad(75 - 10 * math.sin(sine/2)), math.rad(0), math.rad(-2)), 0.25)
652
swait()
653
end
654
swait()
655
end
656
ws = 14
657
deadmau7:Remove()
658
attacking = false
659
end)()
660
end
661
end
662
end)
663
664
mouse.KeyDown:connect(function(Press)
665
Press=Press:lower()
666
if Press=='f' then
667
if dancing then
668
dancing = false
669
else
670
dancing = true
671
ws = 6
672
change = .5
673
attacking = true
674
bennyhill = Instance.new("Sound",Torso)
675
bennyhill.SoundId = "rbxassetid://138211362"
676
bennyhill.Volume = 8
677
bennyhill.Looped = true
678
bennyhill:Play()
679
coroutine.wrap(function()
680
while dancing do
681
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(20 + 5 * math.sin(sine/2)),math.rad(10 * math.sin(sine/4)),0),.25)
682
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.89 - .4 * -math.sin(sine/2),.49) * CFrame.Angles(math.rad(-70 + 20 * -math.sin(sine/2)),0,math.rad(0)),.25)
683
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.89 - .4 * math.sin(sine/2),.49) * CFrame.Angles(math.rad(-70  + 20 * math.sin(sine/2)),0,math.rad(0)),.25)
684
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2, -.2 + .3 * math.sin(sine/2)) * CFrame.Angles(math.rad(-20 - 20 * -math.sin(sine/2)), math.rad(0), math.rad(-8)), 0.25)
685
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.33, 2.0,-.2 - .3 * math.sin(sine/2)) * CFrame.Angles(math.rad(-20 - 20 * math.sin(sine/2)), math.rad(0), math.rad(8)), 0.25)
686
swait()
687
end
688
ws = 14
689
bennyhill:Remove()
690
attacking = false
691
end)()
692
end
693
end
694
end)
695
696
mouse.KeyDown:connect(function(Press)
697
Press=Press:lower()
698
if Press=='p' then
699
if dancing then
700
dancing = false
701
else
702
dancing = true
703
ws = 0
704
change = .5
705
attacking = true
706
barrelspin = 0
707
barrelrollsound = Instance.new("Sound",Torso)
708
barrelrollsound.SoundId = "rbxassetid://505320170"
709
barrelrollsound.Volume = 8
710
barrelrollsound.Looped = true
711
barrelrollsound:Play()
712
barrol = Instance.new("Part",Torso)
713
barrol.Size = Vector3.new(1,1,1)
714
barrol.CFrame = Torso.CFrame
715
barrol.CanCollide = false
716
barrolweld = Instance.new("Weld",barrol)
717
barrolweld.Part0 = barrol
718
barrolweld.Part1 = Torso
719
barrolweld.C0 = barrol.CFrame:inverse() * Torso.CFrame * CFrame.new(0,0,0)
720-
mbarrol.Scale = Vector3.new(4, 4, 4)
720+
721-
mbarrol.MeshId,mbarrol.TextureId = 'http://www.roblox.com/asset/?id=10470609','rbxassetid://2013325492'
721+
722
mbarrol.Scale = Vector3.new(1.05, .95, 1.05)
723
mbarrol.MeshId,mbarrol.TextureId = 'http://www.roblox.com/asset/?id=29873142','http://www.roblox.com/asset/?id=31082268'
724-
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(20 * math.sin(sine/8),-1.8,0) * CFrame.Angles(math.rad(-90),math.rad(180 * math.sin(sine/8)),0),.75)
724+
725
while dancing do
726
ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(5 * math.sin(sine/8),-1.8,0) * CFrame.Angles(math.rad(-90),math.rad(180 * math.sin(sine/8)),0),.25)
727
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
728
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
729
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(0,0,0),.25)
730
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(0,0,0),.25)
731
swait()
732
end
733
ws = 14
734
barrol:Remove()
735
attacking = false
736
end)()
737
end
738
end
739
end)
740
741
mouse.KeyDown:connect(function(Press)
742
Press=Press:lower()
743
if Press=='q' then
744
if dancing then
745
dancing = false
746
else
747
dancing = true
748
ws = 0
749
change = .5
750
spinningmove = 0
751
dbwouldlovethis = Instance.new("Sound",Torso)
752
dbwouldlovethis.SoundId = "rbxassetid://1532157598"
753
dbwouldlovethis.Volume = 8
754
dbwouldlovethis.Looped = true
755
dbwouldlovethis:Play()
756
attacking = true
757
coroutine.wrap(function()
758
while dancing do
759
spinningmove = spinningmove + 10
760
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, -.35) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)),.2)
761
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9, .35) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
762
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.2 * math.sin(sine/3), -.52, .2 * math.sin(sine/4)) * CFrame.Angles(math.rad(180),math.rad(spinningmove),math.rad(15 * math.sin(sine/9))),.2)
763
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(-1),math.rad(-3 * math.sin(sine/2))),0.3)
764
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(3 * math.sin(sine/2))), 0.3)
765
swait()
766
end
767
ws = 14
768
dbwouldlovethis:Remove()
769
attacking = false
770
end)()
771
end
772
end
773
end)
774
775
776
mouse.KeyDown:connect(function(Press)
777
Press=Press:lower()
778
if Press=='u' then
779
if dancing then
780
dancing = false
781
else
782
dancing = true
783
ws = 6
784
change = .5
785
attacking = true
786
slavdance = Instance.new("Sound",Torso)
787
slavdance.SoundId = "rbxassetid://2341226836"
788
slavdance.Volume = 6
789
slavdance.Looped = true
790
slavdance:Play()
791
coroutine.wrap(function()
792
while dancing do
793
for i = 1, 17 do
794
if not dancing then break end
795
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
796
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
797
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8 + .1 * math.sin(sine/3), 0) * CFrame.Angles(math.rad(22 - 2 * math.sin(sine/3)),math.rad(0),math.rad(0)),.2)
798
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87 + .01 * math.sin(sine/9)),math.rad(80 - 3 * math.sin(sine/9)),math.rad(0)), 0.3)
799
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.4) * CFrame.Angles(math.rad(-87 - .01 * math.sin(sine/9)),math.rad(-88 + .7 * math.sin(sine/9)),math.rad(0)), 0.3)
800
swait()
801
end
802
for i = 1, 17 do
803
if not dancing then break end
804
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
805
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
806
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8 + .1 * math.sin(sine/3), 0) * CFrame.Angles(math.rad(22 - 2 * math.sin(sine/3)),math.rad(0),math.rad(0)),.2)
807
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87 + .01 * math.sin(sine/9)),math.rad(80 - 3 * math.sin(sine/9)),math.rad(0)), 0.3)
808
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.4) * CFrame.Angles(math.rad(-87 - .01 * math.sin(sine/9)),math.rad(-88 + .7 * math.sin(sine/9)),math.rad(0)), 0.3)
809
swait()
810
end
811
swait()
812
end
813
ws = 14
814
slavdance:Remove()
815
attacking = false
816
end)()
817
end
818
end
819
end)
820
821
mouse.KeyDown:connect(function(Press)
822
Press=Press:lower()
823
if Press=='y' then
824
if dancing then
825
dancing = false
826
else
827
dancing = true
828
ws = 0
829
change = .5
830
walkforward = 0
831
walkrotation = 0
832
attacking = true
833
truelegend = Instance.new("Sound",Torso)
834
truelegend.SoundId = "rbxassetid://487872908"
835
truelegend.TimePosition = 13.98
836
truelegend.Volume = 8
837
truelegend.Looped = true
838
truelegend:Play()
839
coroutine.wrap(function()
840
while dancing do
841
for i = 1, 100 do
842
if not dancing then break end
843
walkforward = walkforward + .1
844
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05 , .1 * math.sin(sine/4)) * CFrame.Angles(math.rad(10 * math.sin(sine/4)), math.rad(0), math.rad(-8)), 0.3)
845
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05, -.15 * math.sin(sine/4)) * CFrame.Angles(math.rad(-10 * math.sin(sine/4)), math.rad(0), math.rad(8)), 0.3)
846
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2)
847
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
848
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
849
swait()
850
end
851
for i = 1, 50 do
852
if not dancing then break end
853
walkrotation = walkrotation + 15
854
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
855
swait()
856
end
857
walkrotation = 0
858
for i = 1, 100 do
859
if not dancing then break end
860
walkforward = walkforward - .1
861
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2 , .1 * math.sin(sine/4)) * CFrame.Angles(math.rad(10 * math.sin(sine/4)), math.rad(0), math.rad(-8)), 0.3)
862
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2, -.15 * math.sin(sine/4)) * CFrame.Angles(math.rad(-10 * math.sin(sine/4)), math.rad(0), math.rad(8)), 0.3)
863
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(-180),math.rad(-0)),.2)
864
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,.7,.2) * CFrame.Angles(math.rad(220),math.rad(0),math.rad(-30)), 0.4)
865
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
866
swait()
867
end
868
for i = 1, 50 do
869
if not dancing then break end
870
walkrotation = walkrotation + 15
871
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.1)
872
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
873
swait()
874
end
875
walkrotation = 0
876
swait()
877
end
878
ws = 14
879
truelegend:Remove()
880
attacking = false
881
end)()
882
end
883
end
884
end)
885
886
mouse.KeyDown:connect(function(Press)
887
Press=Press:lower()
888
if Press=='t' then
889
if dancing then
890
dancing = false
891
else
892
dancing = true
893
ws = 0
894
change = .5
895
attacking = true
896
plummusic = Instance.new("Sound",Torso)
897
plummusic.Volume = 8
898
plummusic.Looped = true
899
plummusic.SoundId = "rbxassetid://2526093213"
900
plummusic:Play()
901
coroutine.wrap(function()
902
while dancing do
903
for i = 1, 20 do
904
if not dancing then break end
905-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -0, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(15)),0)
905+
906-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,.5,0) * CFrame.Angles(0,0,math.rad(-90)),.2)
906+
907-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,.5,.0) * CFrame.Angles(0,0,math.rad(90)),.2)
907+
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(15)),.2)
908
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,1.98,.05) * CFrame.Angles(0,0,math.rad(-90)),.2)
909
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,1.3,.05) * CFrame.Angles(0,0,math.rad(90)),.2)
910
swait()
911
end
912
for i = 1, 20 do
913
if not dancing then break end
914-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -0, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(-15)),0)
914+
915-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,.5,.00) * CFrame.Angles(0,0,math.rad(-90)),.2)
915+
916-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,.5,.5) * CFrame.Angles(0,0,math.rad(90)),.2)
916+
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -0, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(-15)),.2)
917
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,1.4,.05) * CFrame.Angles(0,0,math.rad(-90)),.2)
918
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.6,2,.05) * CFrame.Angles(0,0,math.rad(90)),.2)
919
swait()
920
end
921
swait()
922
end
923
ws = 14
924
plummusic:Remove()
925
attacking = false
926
end)()
927
end
928
end
929
end)
930
931
mouse.KeyDown:connect(function(Press)
932
Press=Press:lower()
933
if Press=='e' then
934
if dancing then
935
dancing = false
936
else
937
dancing = true
938
ws = 0
939
change = .5
940
attacking = true
941
mrozo = Instance.new("Sound",Torso)
942
mrozo.Volume = 8
943
mrozo.SoundId = "rbxassetid://335701357"
944
mrozo.Looped = true
945
mrozo.TimePosition = 10
946
mrozo:Play()
947
coroutine.wrap(function()
948
while dancing do
949
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.1)
950
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.1)
951
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(15*math.sin(sine/4))),.2)
952
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 + .3 * math.sin(sine/3.5),.5 * -math.sin(sine/3.5),.1) * CFrame.Angles(math.rad(0 * math.sin(sine/2)),0,math.rad(30 * math.sin(sine/3.5))),.2)
953
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3 + .3 * math.sin(sine/3.5),.5 * math.sin(sine/3.5),.1) * CFrame.Angles(math.rad(0 * math.sin(sine/2)),0,math.rad(30 * math.sin(sine/3.5))),.2)
954
swait()
955
end
956
mrozo:Remove()
957
ws = 14
958
attacking = false
959
end)()
960
end
961
end
962
end)
963
964
mouse.KeyDown:connect(function(Press)
965
Press=Press:lower()
966
if Press=='r' then
967
if dancing then
968
dancing = false
969
else
970
ws = 6
971
recordbaby = 0
972
dancing = true
973
change = .5
974
attacking = true
975
spinme = Instance.new("Sound",Torso)
976
spinme.Volume = 8
977
spinme.SoundId = "rbxassetid://145799973"
978
spinme.Looped = true
979
spinme:Play()
980
coroutine.wrap(function()
981
while dancing do
982
recordbaby = recordbaby + 10
983
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.27, 2 , .1 * math.sin(sine/4)) * CFrame.Angles(math.rad(10 * math.sin(sine/4)), math.rad(0), math.rad(-8)), 0.3)
984
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.27, 2.0, -.1 * math.sin(sine/4)) * CFrame.Angles(math.rad(-10 * math.sin(sine/4)), math.rad(0), math.rad(8)), 0.3)
985
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.5 * math.sin(sine/5), -.2, .5 * math.sin(sine/4)) * CFrame.Angles(math.rad(0),math.rad(recordbaby),math.rad(0)),.3)
986
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
987
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(90)),.3)
988
swait()
989
end
990
spinme:Remove()
991
ws = 14
992
attacking = false
993
end)()
994
end
995
end
996
end)
997
998
function ray(pos, dir, rang, ignoredesc)
999
	return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc)
1000
end
1001
1002
function ray2(startpos, endpos, distance, ignore)
1003
local dir = CFrame.new(startpos,endpos).lookVector
1004
return ray(startpos, dir, distance, ignore)
1005
end
1006
1007
checks1 = coroutine.wrap(function() -------Checks
1008
while true do
1009
hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character)
1010
if Root.Velocity.y > 1 then
1011
position = "Jump"
1012
elseif Root.Velocity.y < -1 then
1013
position = "Falling"
1014
elseif Root.Velocity.Magnitude < 2 then
1015
position = "Idle"
1016
elseif Root.Velocity.Magnitude > 2 then
1017
position = "Walking"
1018
elseif Root.Velocity.Magnitude > 20 then
1019
position = "Running"
1020
else
1021
end
1022
wait()
1023
end
1024
end)
1025
checks1()
1026
1027
function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
1028
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
1029
end
1030
1031
function ray2(StartPos, EndPos, Distance, Ignore)
1032
local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
1033
return ray(StartPos, DIRECTION, Distance, Ignore)
1034
end
1035
1036
OrgnC0 = Neck.C0
1037
local movelimbs = coroutine.wrap(function()
1038
while RunSrv.RenderStepped:wait() do
1039
TrsoLV = Torso.CFrame.lookVector
1040
Dist = nil
1041
Diff = nil
1042
if not MseGuide then
1043
print("Failed to recognize")
1044
else
1045
local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
1046
Dist = (Head.CFrame.p-Point).magnitude
1047
Diff = Head.CFrame.Y-Point.Y
1048
local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
1049
Dist2 = (LeftArm.CFrame.p-Point).magnitude
1050
Diff2 = LeftArm.CFrame.Y-Point.Y
1051
HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1052
Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
1053
end
1054
end
1055
end)
1056
movelimbs()
1057
immortal = {}
1058
for i,v in pairs(Character:GetDescendants()) do
1059
	if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
1060
		if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
1061
			v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1062
		end
1063
		table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
1064
	elseif v:IsA("JointInstance") then
1065
		table.insert(immortal,{v,v.Parent,nil,nil,nil})
1066
	end
1067
end
1068
for e = 1, #immortal do
1069
	if immortal[e] ~= nil then
1070
		local STUFF = immortal[e]
1071
		local PART = STUFF[1]
1072
		local PARENT = STUFF[2]
1073
		local MATERIAL = STUFF[3]
1074
		local COLOR = STUFF[4]
1075
		local TRANSPARENCY = STUFF[5]
1076
if levitate then
1077
		if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
1078
			PART.Material = MATERIAL
1079
			PART.Color = COLOR
1080
			PART.Transparency = TRANSPARENCY
1081
		end
1082
		PART.AncestryChanged:connect(function()
1083
			PART.Parent = PARENT
1084
		end)
1085
else
1086
		if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
1087
			PART.Material = MATERIAL
1088
			PART.Color = COLOR
1089
			PART.Transparency = TRANSPARENCY
1090
		end
1091
		PART.AncestryChanged:connect(function()
1092
			PART.Parent = PARENT
1093
		end)
1094
end
1095
	end
1096
end
1097
function immortality()
1098
	for e = 1, #immortal do
1099
		if immortal[e] ~= nil then
1100
			local STUFF = immortal[e]
1101
			local PART = STUFF[1]
1102
			local PARENT = STUFF[2]
1103
			local MATERIAL = STUFF[3]
1104
			local COLOR = STUFF[4]
1105
			local TRANSPARENCY = STUFF[5]
1106
			if PART.ClassName == "Part" and PART == Root then
1107
				PART.Material = MATERIAL
1108
				PART.Color = COLOR
1109
				PART.Transparency = TRANSPARENCY
1110
			end
1111
			if PART.Parent ~= PARENT then
1112
				hum:Remove()
1113
				PART.Parent = PARENT
1114
				hum = Instance.new("Humanoid",Character)
1115
                                hum.Name = "noneofurbusiness"
1116
			end
1117
		end
1118
	end
1119
end
1120
coroutine.wrap(function()
1121
while true do
1122
if hum.Health < .1 then
1123
deadsound = Instance.new("Sound", Torso)
1124
deadsound.Volume = 6
1125
deadsound.SoundId = "rbxassetid://1411352723"
1126
deadsound:Play()
1127
immortality()
1128
end
1129
wait()
1130
end
1131
end)()
1132
1133
local anims = coroutine.wrap(function()
1134
while true do
1135
settime = 0.05
1136
sine = sine + change
1137
if position == "Jump" and attacking == false then
1138
change = 1
1139
spin = false
1140
for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
1141
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
1142-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(180), math.rad(180), math.rad(0)), 0.2)
1142+
1143
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
1144
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
1145
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.2)
1146
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
1147
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
1148
elseif position == "Falling" and attacking == false then
1149
change = 1
1150-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(180), math.rad(180), math.rad(0)), 0.15)
1150+
1151
for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
1152
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
1153
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
1154
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
1155
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
1156
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
1157
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2)
1158
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
1159
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
1160
elseif position == "Walking" and attacking == false and running == false then
1161
change = 1.2
1162
walking = true
1163-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + Root.RotVelocity.Y / 85,2,-.1*math.sin(sine/11)) * CFrame.Angles(math.rad(17.5*math.sin(sine/11)),math.rad(0*math.sin(sine/11)),math.rad(-180 + Root.RotVelocity.Y / 10, math.sin(-20 * math.sin(sine/4)))),.3)
1163+
1164-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,2,.1*math.sin(sine/11)) * CFrame.Angles(math.rad(-17.5*math.sin(sine/11)),math.rad(-5*math.sin(sine/8)),math.rad(180 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
1164+
1165-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.15 * 0.6*-math.sin(sine/5.5), 0) * CFrame.Angles(math.rad(10), math.rad(1 * -math.sin(sine/11)), math.rad(180) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.3)
1165+
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + Root.RotVelocity.Y / 85,.35,-.5*math.sin(sine/11)) * CFrame.Angles(math.rad(35*math.sin(sine/11)),math.rad(0*math.sin(sine/11)),math.rad(-10 + Root.RotVelocity.Y / 10, math.sin(-20 * math.sin(sine/4)))),.3)
1166-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.75, 0.5 + .1 * math.sin(sine/12), 01) * CFrame.Angles(math.rad(135 + 05 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1)
1166+
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.45,.5*math.sin(sine/11)) * CFrame.Angles(math.rad(-55*math.sin(sine/11)),math.rad(-5*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
1167-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.75, 0.5 + .1 * math.sin(sine/12), 01) * CFrame.Angles(math.rad(135 + -05 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1)
1167+
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.15 * 0.6*-math.sin(sine/5.5), 0) * CFrame.Angles(math.rad(10), math.rad(12 * -math.sin(sine/11)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.3)
1168
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/11)/2.8, -.2  + 0.2 - math.sin(sine/11)/3.4) * CFrame.Angles(math.rad(25 - 25) + -math.sin(sine/11)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(-15 * 25 * math.cos(sine/11))), 0.3)
1169
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/11)/2.8, -.2 + 0.2 + math.sin(sine/11)/3.4) * CFrame.Angles(math.rad(25 - 25) - -math.sin(sine/11)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(-15 * 25 * math.cos(sine/11))), 0.3)
1170
elseif position == "Idle" and attacking == false and running == false then
1171
change = .5
1172-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(1 * -math.sin(sine/12)),math.rad(0),math.rad(0180)),.1)
1172+
1173-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,2 + .02 * math.sin(sine/12),.20 * -math.sin(sine/12)) * CFrame.Angles(math.rad(05 * math.sin(sine/12)),math.rad(0),math.rad(180)), 0.1)
1173+
1174-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,2 + .02 * math.sin(sine/12),.20 * -math.sin(sine/12)) * CFrame.Angles(math.rad(-05 * math.sin(sine/12)),math.rad(0),math.rad(-180)), 0.1)
1174+
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.1)
1175-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.75, 0.5 + .1 * math.sin(sine/12), 01) * CFrame.Angles(math.rad(135 + 05 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1)
1175+
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.27 + .02 * math.sin(sine/12),.20 * -math.sin(sine/12)) * CFrame.Angles(math.rad(20 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1)
1176-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.75, 0.5 + .1 * math.sin(sine/12), 01) * CFrame.Angles(math.rad(135 + -05 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1)
1176+
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.27 + .02 * math.sin(sine/12),.20 * -math.sin(sine/12)) * CFrame.Angles(math.rad(20 * math.sin(sine/12)),math.rad(0),math.rad(-10)), 0.1)
1177
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1)
1178
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1)
1179
elseif position == "Running" and attacking == false then
1180
change = 1
1181
for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
1182
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
1183
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
1184
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1185
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
1186
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
1187
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
1188
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
1189
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
1190
end
1191
swait()
1192
end
1193-
warn(";)")
1193+
1194
anims()
1195
warn("Back from the past to dance the dance. Made by Supr14(Credits to Krystalteam).")