View difference between Paste ID: FuRM4Ree and ApYjfbb9
SHOW: | | - or go back to the newest paste.
1-
Player=game:GetService("Players").LocalPlayer
1+
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
87
	local h,t
88
	--Give the server mouse data every second frame, but only if the values changed
89
	--If player is not moving their mouse, client won't fire events
90
	local HB = game:GetService("RunService").Heartbeat
91
	while true do
92
		if h~=Mouse.Hit or t~=Mouse.Target then
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
		--Wait 2 frames
97
		for i=1,2 do
98
			HB:Wait()
99
		end
100
	end]==],script)
101
102
	----Sandboxed game object that allows the usage of client-side methods and services
103
	--Real game object
104
	local RealGame = game
105
106
	--Metatable for fake service
107
	local FakeService_Metatable = {
108
		__index = function(self,k)
109
			local s = rawget(self,"_RealService")
110
			if s then
111
				return typeof(s[k])=="function"
112
				and function(_,...)return s[k](s,...)end or s[k]
113
			end
114
		end,
115
		__newindex = function(self,k,v)
116
			local s = rawget(self,"_RealService")
117
			if s then s[k]=v end
118
		end
119
	}
120
	local function FakeService(t,RealService)
121
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
122
		return setmetatable(t,FakeService_Metatable)
123
	end
124
125
	--Fake game object
126
	local FakeGame = {
127
		GetService = function(self,s)
128
			return rawget(self,s) or RealGame:GetService(s)
129
		end,
130
		Players = FakeService({
131
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
132
		},"Players"),
133
		UserInputService = FakeService(UIS,"UserInputService"),
134
		ContextActionService = FakeService(CAS,"ContextActionService"),
135
		RunService = FakeService({
136
			_btrs = {},
137
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
138
			BindToRenderStep = function(self,name,_,fun)
139
				self._btrs[name] = self.Heartbeat:Connect(fun)
140
			end,
141
			UnbindFromRenderStep = function(self,name)
142
				self._btrs[name]:Disconnect()
143
			end,
144
		},"RunService")
145
	}
146
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
147
	FakeGame.service = FakeGame.GetService
148
	FakeService(FakeGame,game)
149
	--Changing owner to fake player object to support owner:GetMouse()
150
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
151
end
152
153
Player=owner
154
Character=Player.Character
155
Character.Humanoid.Name = "noneofurbusiness"
156
hum = Character.noneofurbusiness
157
LeftArm=Character["Left Arm"]
158
LeftLeg=Character["Left Leg"]
159
RightArm=Character["Right Arm"]
160
RightLeg=Character["Right Leg"]
161
Root=Character["HumanoidRootPart"]
162
Head=Character["Head"]
163
Torso=Character["Torso"]
164
Neck=Torso["Neck"]
165
walking = false
166
attacking = false
167
running = false
168
appi = false
169
position = nil
170
MseGuide = true
171
settime = 0
172
sine = 0
173
change = 0
174
t = 0
175
dgs = 75
176
local themetable = {260366243}
177
local wubs = {1684160790,1684067753,1684363028,1678747502}
178
local wubs2 = {131538164,138069930,1689567518,1689614538,1694702424,1694737893,1719745910,1736341565,1736332220,1736368888,1736518563}
179
theme1 = #themetable
180
wub = #wubs
181
wub2 = #wubs2
182
mouse = Player:GetMouse()
183
removeuseless = game:GetService("Debris")
184
RunSrv = game:GetService("RunService")
185
RenderStepped = game:GetService("RunService").RenderStepped
186
damageall={}
187
Repeater={}
188
Repeater2={}
189
nonmeshRepeater={}
190
nonmeshRepeater2={}
191
dmgii={}
192
DamageAll2={}
193
SlowlyFade={}
194
th1={}
195
nstorm={}
196
highnoon={}
197
th2={}
198
th3={}
199
Extreme={}
200
ExtremeM={}
201
ExtremeM2={}
202
m3={}
203
th4={}
204
th5={}
205
UpMover={}
206
openshocktable={}
207
LessSize={}
208
ForwardMover={}
209
signtable={}
210
signtransparency={}
211
signmover={}
212
signrotator={}
213
hum.HipHeight = 3
214
215
theme1 = themetable[math.random(1,#themetable)]
216
theme = Instance.new("Sound", Torso)
217
theme.SoundId = "rbxassetid://"..theme1
218
theme.Volume = 1
219
theme.Looped = true
220
theme:Play()
221
222
levsound = Instance.new("Sound",Torso)
223
levsound.SoundId = "rbxassetid://1611762169"
224
levsound.Volume = .5
225
levsound.Looped = true
226
levsound:Play()
227
228
musicanote1 = Instance.new("Sound",Torso)
229
musicanote1.SoundId = "rbxassetid://1707907331"
230
musicanote1.Volume = 4
231
232
musicanote2 = Instance.new("Sound",Torso)
233
musicanote2.SoundId = "rbxassetid://1707907822"
234
musicanote2.Volume = 4
235
236
musicanote3 = Instance.new("Sound",Torso)
237
musicanote3.SoundId = "rbxassetid://1707907547"
238
musicanote3.Volume = 4
239
240
local HEADLERP = Instance.new("ManualWeld")
241
HEADLERP.Parent = Head
242
HEADLERP.Part0 = Head
243
HEADLERP.Part1 = Head
244
HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
245
246
local TORSOLERP = Instance.new("ManualWeld")
247
TORSOLERP.Parent = Root
248
TORSOLERP.Part0 = Torso
249
TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
250
251
local ROOTLERP = Instance.new("ManualWeld")
252
ROOTLERP.Parent = Root
253
ROOTLERP.Part0 = Root
254
ROOTLERP.Part1 = Torso
255
ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
256
257
local RIGHTARMLERP = Instance.new("ManualWeld")
258
RIGHTARMLERP.Parent = RightArm
259
RIGHTARMLERP.Part0 = RightArm
260
RIGHTARMLERP.Part1 = Torso
261
RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
262
263
local LEFTARMLERP = Instance.new("ManualWeld")
264
LEFTARMLERP.Parent = LeftArm
265
LEFTARMLERP.Part0 = LeftArm
266
LEFTARMLERP.Part1 = Torso
267
LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
268
269
local RIGHTLEGLERP = Instance.new("ManualWeld")
270
RIGHTLEGLERP.Parent = RightLeg
271
RIGHTLEGLERP.Part0 = RightLeg
272
RIGHTLEGLERP.Part1 = Torso
273
RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
274
275
local LEFTLEGLERP = Instance.new("ManualWeld")
276
LEFTLEGLERP.Parent = LeftLeg
277
LEFTLEGLERP.Part0 = LeftLeg
278
LEFTLEGLERP.Part1 = Torso
279
LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
280
281
local function weldBetween(a, b)
282
    local weld = Instance.new("ManualWeld", a)
283
    weld.Part0 = a
284
    weld.Part1 = b
285
    weld.C0 = a.CFrame:inverse() * b.CFrame
286
    return weld
287
end
288
289
godmode = coroutine.wrap(function()
290
while true do
291
hum.MaxHealth = math.huge
292
wait(0.0000001)
293
hum.Health = math.huge
294
wait()
295
end
296
end)
297
godmode()
298
ff = Instance.new("ForceField", Character)
299
ff.Visible = false
300
301
function damagealll(Radius,Position)		
302
	local Returning = {}		
303
	for _,v in pairs(workspace:GetChildren()) do		
304
		if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
305
if v:FindFirstChild("Torso") then		
306
			local Mag = (v.Torso.Position - Position).magnitude		
307
			if Mag < Radius then		
308
				table.insert(Returning,v)		
309
			end
310
elseif v:FindFirstChild("UpperTorso") then	
311
			local Mag = (v.UpperTorso.Position - Position).magnitude		
312
			if Mag < Radius then		
313
				table.insert(Returning,v)		
314
			end
315
end	
316
		end		
317
	end		
318
	return Returning		
319
end
320
321
checks1 = coroutine.wrap(function() -------Checks
322
while true do
323
if Root.Velocity.Magnitude > 6 and running == false then
324
position = "Walking"
325
elseif Root.Velocity.Magnitude < 1 and running == false then
326
position = "Idle"
327
elseif Root.Velocity.Magnitude > 15 then
328
position = "Running"
329
else
330
end
331
wait()
332
end
333
end)
334
checks1()
335
336
OrgnC0 = Neck.C0
337
local movelimbs = coroutine.wrap(function()
338
while RunSrv.RenderStepped:wait() do
339
TrsoLV = Torso.CFrame.lookVector
340
Dist = nil
341
Diff = nil
342
if not MseGuide then
343
print("l")
344
else
345
local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
346
Dist = (Head.CFrame.p-Point).magnitude
347
Diff = Head.CFrame.Y-Point.Y
348
local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
349
Dist2 = (LeftArm.CFrame.p-Point).magnitude
350
Diff2 = LeftArm.CFrame.Y-Point.Y
351
HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
352
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)
353
end
354
end
355
end)
356
movelimbs()
357
358
mouse.KeyDown:connect(function(Press)
359
Press=Press:lower()
360
if Press=='e' then
361
if debounce then return end
362
debounce = true
363
attacking = true
364
continue = true
365
appi = true
366
hum.WalkSpeed = 0
367
coroutine.wrap(function()
368
while appi do
369
wait()
370
if Root.Velocity.Magnitude > 2 and running == false and attacking == true then
371
position = "Idle3"
372
elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
373
position = "Idle4"
374
end
375
end
376
end)()
377
coroutine.wrap(function()
378
while appi do
379
wait()
380
settime = 0.05
381
sine = sine + change
382
if position == "Idle3" and attacking == true and running == false and appi == true then
383
change = .7
384
hum.WalkSpeed = 7
385
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
386
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
387
elseif position == "Idle4" and attacking == true and running == false and appi == true then
388
change = .7
389
hum.WalkSpeed = 7
390
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
391
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
392
end
393
end
394
end)()
395
g1 = Instance.new("BodyGyro", Root)
396
g1.D = 175
397
g1.P = 20000
398
g1.MaxTorque = Vector3.new(0,9000,0)
399
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
400
for i = 1, 15 do
401
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
402
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),.3)
403
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .3)
404
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
405
wait()
406
end
407
SwordPortal = Instance.new("Part", Torso)
408
SwordPortal.Size = Vector3.new(0.5, 0.5, 0.5)
409
SwordPortal.Material = "Neon"
410
SwordPortal.BrickColor = BrickColor.Random()
411
SwordPortal.Transparency = 0
412
SwordPortal.Anchored = true
413
SwordPortal.CanCollide = false
414
SwordPortalMESH = Instance.new("SpecialMesh", SwordPortal)
415
SwordPortalMESH.MeshType = "Cylinder"
416
SwordPortalMESH.Scale = Vector3.new(.2,0.01,0.01)
417
SwordPortal.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
418
swordportalsound = Instance.new("Sound", SwordPortal)
419
swordportalsound.SoundId = "rbxassetid://159296220"
420
swordportalsound.Volume = 5
421
swordportalsound:Play()
422
removeuseless:AddItem(swordportalsound,3)
423
sizeincreasor = coroutine.wrap(function()
424
while continue do
425
SwordPortal.BrickColor = BrickColor.Random()
426
SwordPortalMESH.Scale = SwordPortalMESH.Scale + Vector3.new(0,8,8)
427
wait()
428
end
429
end)
430
sizeincreasor()
431
for i = 1, 20 do
432
wait()
433
end
434
continue = false
435
g1:Remove()
436
bigmusicnote = Instance.new("Part", Torso)
437
bigmusicnote.Material = "Neon"
438
bigmusicnote.Transparency = 0
439
bigmusicnote.CanCollide = false
440
bigmusicnote.Anchored = true
441
bigmusicnote.BrickColor = BrickColor.Random()
442
bigmusicnoteMESH = Instance.new("SpecialMesh", bigmusicnote)
443
bigmusicnoteMESH.Scale = Vector3.new(.50,0.246,0.60)
444
bigmusicnoteMESH.MeshId = "rbxassetid://989516523"
445
bigmusicnote.CFrame = CFrame.new(SwordPortal.Position) * CFrame.new(0,35,0) * CFrame.Angles(math.rad(90),0,0)
446
ring = Instance.new("Part", Torso)
447
ring.Size = Vector3.new(5, 5, 5)
448
ring.Transparency = 0
449
ring.BrickColor = SwordPortal.BrickColor
450
ring.Anchored = true
451
ring.CanCollide = false
452
ring.CFrame = SwordPortal.CFrame*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
453
ringh = Instance.new("SpecialMesh", ring) 
454
ringh.MeshId = "http://www.roblox.com/asset/?id=3270017" 
455
ringh.Scale = Vector3.new(30, 30, 10)
456
wub = wubs[math.random(1,#wubs)]
457
wubwub = Instance.new("Sound", SwordPortal)
458
wubwub.SoundId = "rbxassetid://" ..wub
459
wubwub.Volume = 6
460
wubwub:Play()
461
removeuseless:AddItem(swordoutofportal,6)
462
removeuseless:AddItem(SwordPortal,6)
463
local Hit = damagealll(35,SwordPortal.Position)		
464
for _,v in pairs(Hit) do			
465
v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(70,90))
466
end
467
for i = 1, 25 do
468
ringh.Scale = ringh.Scale + Vector3.new(15, 15, 0)
469
ring.Transparency = ring.Transparency + 0.07
470
bigmusicnote.CFrame = bigmusicnote.CFrame * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15))
471
bigmusicnote.Transparency = bigmusicnote.Transparency + 0.05
472
SwordPortal.Transparency = SwordPortal.Transparency + 0.05
473
SwordPortalMESH.Scale = SwordPortalMESH.Scale + Vector3.new(100,0,0)
474
wait()
475
end
476
hum.WalkSpeed = 32
477
appi = false
478
attacking = false
479
debounce = false
480
end
481
end)
482
483
mouse.KeyDown:connect(function(Press)
484
Press=Press:lower()
485
if Press=='r' then ----dubgun
486
if debounce then return end
487
debounce = true
488
attacking = true
489
dubwub = true
490
appi = true
491
damagedebounce = false
492
hum.WalkSpeed = 7
493
g1 = Instance.new("BodyGyro", Root)
494
g1.D = 175
495
g1.P = 20000
496
g1.MaxTorque = Vector3.new(0,9000,0)
497
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
498
coroutine.wrap(function()
499
for i = 1, 10 do
500
theme.Volume = theme.Volume - 0.1
501
wait()
502
end
503
end)()
504
dubgun = Instance.new("Part", Torso)
505
dubgun.Size = Vector3.new(1,1,1)
506
dubgun.Transparency = 1
507
dubgun.CanCollide = false
508
dubgun.BrickColor = LeftArm.BrickColor
509
dubgunMESH = Instance.new("SpecialMesh",dubgun)
510
dubgunMESH.MeshId = "rbxassetid://519125417"
511
dubgunMESH.Scale = Vector3.new(.006,.006,.006)
512
dubgunweld = weldBetween(dubgun,LeftArm)
513
dubgunweld.C0 = dubgunweld.C0 * CFrame.new(1,.5,1) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100))
514
mgcso = Instance.new("Sound",dubgun)
515
mgcso.SoundId = "rbxassetid://1659770705"
516
mgcso.Volume = 4
517
mgcso:Play()
518
removeuseless:AddItem(mgcso,3)
519-
elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
519+
520
for i = 1, 20 do
521
dubgun.Transparency = dubgun.Transparency - 0.025
522
wait()
523
end
524
end)()
525
for i = 1, 15 do
526
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), 0.5)
527
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-1, 0.1, 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.5)
528
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.5)
529
wait()
530
end
531
coroutine.wrap(function()
532
while appi do
533
wait()
534
if Root.Velocity.Magnitude > 2 and running == false and attacking == true then
535
position = "Idle3"
536
elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
537
position = "Idle4"
538
end
539
end
540
end)()
541
coroutine.wrap(function()
542
while appi do
543
wait()
544
settime = 0.05
545
sine = sine + change
546
if position == "Idle3" and attacking == true and running == false and appi == true then
547
change = .7
548
hum.WalkSpeed = 7
549
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
550
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
551
elseif position == "Idle4" and attacking == true and running == false and appi == true then
552
change = .7
553
hum.WalkSpeed = 7
554
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
555
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
556
end
557
end
558
end)()
559
p = Instance.new("Part", dubgun)
560
p.Size = Vector3.new(1,1,1)
561
p.CanCollide = false
562
p.Transparency = 1
563
pw = weldBetween(p,dubgun)
564
pw.C0 = CFrame.new(3.3,0,-.6)
565
shockwave = Instance.new("Part", Torso)
566
shockwave.Size = Vector3.new(5, 5, 5)
567
shockwave.Transparency = .4
568
shockwave.BrickColor = dubgun.BrickColor
569
shockwave.Anchored = true
570
shockwave.CanCollide = false
571
shockwave.CFrame = p.CFrame*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
572
sh = Instance.new("SpecialMesh", shockwave) 
573
sh.MeshId = "http://www.roblox.com/asset/?id=20329976" 
574
sh.Scale = Vector3.new(0, 0, 0)
575
shockwave2 = Instance.new("Part", Torso)
576
shockwave2.Size = Vector3.new(5, 5, 5)
577
shockwave2.Transparency = .7
578
shockwave2.BrickColor = dubgun.BrickColor
579
shockwave2.Anchored = true
580
shockwave2.CanCollide = false
581
shockwave2.CFrame = p.CFrame*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
582
sh2 = Instance.new("SpecialMesh", shockwave2) 
583
sh2.MeshId = "http://www.roblox.com/asset/?id=20329976" 
584
sh2.Scale = Vector3.new(2, 2, 2)
585
shockwave3 = Instance.new("Part", Torso)
586
shockwave3.Size = Vector3.new(5, 5, 5)
587
shockwave3.Transparency = .2
588
shockwave3.BrickColor = dubgun.BrickColor
589
shockwave3.Anchored = true
590
shockwave3.CanCollide = false
591
shockwave3.CFrame = p.CFrame*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
592
sh3 = Instance.new("SpecialMesh", shockwave3) 
593
sh3.MeshId = "http://www.roblox.com/asset/?id=20329976" 
594
sh3.Scale = Vector3.new(0, 0, 0)
595
Blaster = Instance.new("Part", dubgun)
596
Blaster.Material = "Neon"
597
Blaster.Anchored = false
598
Blaster.CanCollide = false
599
Blaster.BrickColor = BrickColor.Random()
600
Blaster.Size = Vector3.new(5,5,5)
601
BlasterShape = Instance.new("SpecialMesh", Blaster)
602
BlasterShape.MeshType = "Sphere"
603
BlasterShape.Scale = Vector3.new(1.8,1.8,1.8)
604
Blaster.CFrame = dubgun.CFrame * CFrame.new(4, 0, 0)
605
Blasterweld = weldBetween(Blaster,dubgun)
606
Blasterweld.C0 = pw.C0 * CFrame.new(4,0,0)
607
TheBeam = Instance.new("Part", Blaster)
608
TheBeam.CanCollide = false
609
TheBeam.Shape = "Cylinder"
610
TheBeam.Transparency = 0
611
TheBeam.Size = Vector3.new(1000,3,3)
612
TheBeam.Material = "Neon"
613
TheBeam.Anchored = true
614
TheBeam.BrickColor = Blaster.BrickColor
615
TheBeam.CFrame = Blaster.CFrame * CFrame.new(-500,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
616
Blaster2 = Instance.new("Part", dubgun)
617
Blaster2.Material = "Neon"
618
Blaster2.Anchored = false
619
Blaster2.Transparency = 1
620
Blaster2.CanCollide = false
621
Blaster2.BrickColor = BrickColor.Random()
622
Blaster2.Size = Vector3.new(5,5,5)
623
BlasterShape2 = Instance.new("SpecialMesh", Blaster2)
624
BlasterShape2.MeshType = "Sphere"
625
BlasterShape2.Scale = Vector3.new(1.8,1.8,1.8)
626
Blaster2.CFrame = dubgun.CFrame * CFrame.new(4, 0, 0)
627
Blasterweld2 = weldBetween(Blaster2,dubgun)
628
Blasterweld2.C0 = pw.C0 * CFrame.new(4,0,0)
629
TheBeam2 = Instance.new("Part", Blaster2)
630
TheBeam2.CanCollide = false
631
TheBeam2.Shape = "Cylinder"
632
TheBeam2.Transparency = 1
633
TheBeam2.Size = Vector3.new(1000,3,3)
634
TheBeam2.Material = "Neon"
635
TheBeam2.Anchored = true
636
TheBeam2.BrickColor = Blaster2.BrickColor
637
TheBeam2.CFrame = Blaster2.CFrame * CFrame.new(-500,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
638
wub2 = wubs2[math.random(1,#wubs2)]
639
datsik = Instance.new("Sound", dubgun)
640
datsik.SoundId = "rbxassetid://"..wub2
641
datsik.Volume = 10
642
datsik.Looped = true
643
datsik:Play()
644
coroutine.wrap(function()
645
while dubwub do
646
Blaster2.BrickColor = BrickColor.Random()
647
TheBeam2.BrickColor = Blaster2.BrickColor
648
for i = 1, 10 do
649
Blaster2.Transparency = Blaster2.Transparency - .1
650
Blaster.Transparency = Blaster.Transparency + .1
651
TheBeam2.Transparency = TheBeam2.Transparency - .1
652
TheBeam.Transparency = TheBeam.Transparency + .1
653
wait()
654
end
655
Blaster.BrickColor = BrickColor.Random()
656
TheBeam.BrickColor = Blaster.BrickColor
657
for i = 1, 10 do
658
Blaster2.Transparency = Blaster2.Transparency + .1
659
Blaster.Transparency = Blaster.Transparency - .1
660
TheBeam2.Transparency = TheBeam2.Transparency + .1
661
TheBeam.Transparency = TheBeam.Transparency - .1
662
wait()
663
end
664
wait()
665
end
666
end)()
667
wubwound = Instance.new("Sound", nil)
668
TheBeam.Touched:connect(function(hit)
669
if hit.Parent:IsA("Part") then
670
elseif hit.Parent:IsA("SpecialMesh") then
671
elseif hit.Parent.Name == owner.Name then
672
elseif hit.Parent:findFirstChildOfClass("Humanoid") then
673
if damagedebounce == true then return end
674
damagedebounce = true
675
Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
676
woobz = Instance.new("Part", Slachtoffer.Parent)
677
woobz.Material = "Neon"
678
woobz.Anchored = true
679
woobz.Transparency = 0.1
680
woobz.CanCollide = false
681
woobz.BrickColor = BrickColor.Random()
682
woobz.Size = Vector3.new(5,5,5)
683
woobzShape = Instance.new("SpecialMesh", woobz)
684
woobzShape.MeshType = "Sphere"
685
woobzShape.Scale = Vector3.new(.1,.1,.1)
686
if Slachtoffer.Parent:FindFirstChild("Torso") or Slachtoffer.Parent:FindFirstChild("UpperTorso") ~= nil then
687
if Slachtoffer.RigType == Enum.HumanoidRigType.R15 then
688
woobz.CFrame = CFrame.new(Slachtoffer.Parent:FindFirstChild("UpperTorso").Position)
689
else
690
woobz.CFrame = CFrame.new(Slachtoffer.Parent:FindFirstChild("Torso").Position)
691
end
692
end
693
table.insert(Repeater,woobzShape)
694
table.insert(nonmeshRepeater2,woobz)
695
removeuseless:AddItem(woobz,3)
696
quickcour = coroutine.wrap(function()
697
Slachtoffer.WalkSpeed = 2
698
wait(1)
699
Slachtoffer.WalkSpeed = 16
700
end)
701
quickcour()
702
Slachtoffer:TakeDamage(math.random(12,25))
703
wub = wubs[math.random(1,#wubs)]
704
wubwound.Parent = Slachtoffer.Parent:FindFirstChild("Torso")
705
wubwound.SoundId = "rbxassetid://"..wub
706
wubwound.Volume = 2
707
wubwound:Play()
708
wait(.25)
709
damagedebounce = false
710
end
711
end)
712
t = 0
713
n = 0
714
b = 0
715
while dubwub do
716
t = t + 25
717
n = n + 12
718
b = b + 5
719
game.Workspace.CurrentCamera.FieldOfView = 70 - datsik.PlaybackLoudness/75
720
RIGHTARMLERP.C0 = CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0 + datsik.PlaybackLoudness/150), math.rad(0))
721
LEFTARMLERP.C0 = CFrame.new(-1, 0.1 * datsik.PlaybackLoudness/150, 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0))
722
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
723
shockwave.CFrame = p.CFrame * CFrame.Angles(math.rad(n),math.rad(0),math.rad(90))
724
shockwave2.CFrame = p.CFrame * CFrame.Angles(math.rad(t),math.rad(0),math.rad(90))
725
shockwave3.CFrame = p.CFrame * CFrame.Angles(math.rad(b),math.rad(0),math.rad(90))
726
sh3.Scale = Vector3.new(datsik.PlaybackLoudness/120, datsik.PlaybackLoudness/800, datsik.PlaybackLoudness/120)
727
sh2.Scale = Vector3.new(datsik.PlaybackLoudness/50, datsik.PlaybackLoudness/500, datsik.PlaybackLoudness/50)
728
sh.Scale = Vector3.new(datsik.PlaybackLoudness/80, datsik.PlaybackLoudness/600, datsik.PlaybackLoudness/80)
729
BlasterShape.Scale = Vector3.new(datsik.PlaybackLoudness/200, datsik.PlaybackLoudness/200, datsik.PlaybackLoudness/200)
730
BlasterShape2.Scale = Vector3.new(datsik.PlaybackLoudness/200, datsik.PlaybackLoudness/200, datsik.PlaybackLoudness/200)
731
TheBeam.Size = Vector3.new(1000, datsik.PlaybackLoudness/50, datsik.PlaybackLoudness/50)
732
BlasterShape2.Scale = Vector3.new(datsik.PlaybackLoudness/200, datsik.PlaybackLoudness/200, datsik.PlaybackLoudness/200)
733
TheBeam2.Size = Vector3.new(1000, datsik.PlaybackLoudness/50, datsik.PlaybackLoudness/50)
734
TheBeam.CFrame = Blaster.CFrame * CFrame.new(-500,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
735
TheBeam2.CFrame = Blaster2.CFrame * CFrame.new(-500,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
736
wait()
737
end
738
g1:Remove()
739
coroutine.wrap(function()
740
for i = 1, 10 do
741
theme.Volume = theme.Volume + 0.1
742
wait()
743
end
744
end)()
745
game.Workspace.CurrentCamera.FieldOfView = 70
746
appi = false
747
hum.WalkSpeed = 32
748
dubwub = false
749
attacking = false
750-
elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
750+
751
debounce = false
752
TheBeam:Remove()
753
shockwave:Remove()
754
shockwave2:Remove()
755
shockwave3:Remove()
756
Blaster:Remove()
757
dubgun:Remove()
758
debounce = false
759
attacking = false
760
datsik:Remove()
761
end
762
end)
763
764
765
mouse.KeyDown:connect(function(Press)
766
Press=Press:lower()
767
if Press=='y' then ----notes
768
if debounce then return end
769
debounce = true
770
attacking = true
771
stopnotes = true
772
appi = true
773
damagedebounce = false
774
locater = Instance.new("Part", Root)
775
locater.CFrame = Root.CFrame * CFrame.new(0,0,5)
776
locater.Size = Vector3.new(1,1,1)
777
locater.Transparency = 1
778
locaterWeld = weldBetween(locater,Root)
779
locaterWeld.C0 = CFrame.new(0,0,5)
780
musicnoteWeld:Remove()
781
musicnoteWeld2:Remove()
782
musicnoteWeld3:Remove()
783
musicnoteWeld = weldBetween(musicnote,locater)
784
musicnoteWeld2 = weldBetween(musicnote2,locater)
785
musicnoteWeld3 = weldBetween(musicnote3,locater)
786
coroutine.wrap(function()
787
while appi do
788
wait()
789
if Root.Velocity.Magnitude > 2 and running == false and attacking == true then
790
position = "Idle3"
791
elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
792
position = "Idle4"
793
end
794
end
795
end)()
796
coroutine.wrap(function()
797
while appi do
798
wait()
799
settime = 0.05
800
sine = sine + change
801
if position == "Idle3" and attacking == true and running == false and appi == true then
802
change = .7
803
hum.WalkSpeed = 7
804
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
805
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
806
elseif position == "Idle4" and attacking == true and running == false and appi == true then
807
change = .7
808
hum.WalkSpeed = 7
809
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
810
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
811-
elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
811+
812
end
813
end)()
814
t = 0
815
for i = 1, 10 do
816
t = t + 5
817
musicnoteWeld.C0 = ROOTLERP.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
818
musicnoteWeld.C1 = musicnoteWeld.C1 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
819
musicnoteWeld2.C0 = ROOTLERP.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
820
musicnoteWeld2.C1 = musicnoteWeld2.C1 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
821
musicnoteWeld3.C0 = ROOTLERP.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
822
musicnoteWeld3.C1 = musicnoteWeld3.C1 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
823
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4)
824
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4)
825
wait()
826
end
827
tr1.Enabled = false
828
tr2.Enabled = false
829
tr3.Enabled = false
830
for i = 1, 12 do
831
musicnoteWeld2.C0 = musicnoteWeld2.C0:lerp(CFrame.new(-3,0,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
832
musicnoteWeld3.C0 = musicnoteWeld3.C0:lerp(CFrame.new(3,0,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
833
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(-20), math.rad(90)), 0.3)
834
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
835
wait()
836
end
837
locater2 = Instance.new("Part", Torso)
838
locater2.CFrame = Root.CFrame * CFrame.new(0,0,5)
839
locater2.Size = Vector3.new(1,1,1)
840
locater2.Transparency = 1
841
locaterWeld2 = weldBetween(locater2,Root)
842
locaterWeld2.C0 = CFrame.new(-3,0,5)
843
locater3 = Instance.new("Part", Torso)
844
locater3.CFrame = Root.CFrame * CFrame.new(0,0,5)
845
locater3.Size = Vector3.new(1,1,1)
846
locater3.Transparency = 1
847
locaterWeld3 = weldBetween(locater3,Root)
848
locaterWeld3.C0 = CFrame.new(3,0,5)
849
musicnoteWeld2:Remove()
850
musicnoteWeld3:Remove()
851
musicnoteWeld2 = weldBetween(musicnote2,locater2)
852
musicnoteWeld3 = weldBetween(musicnote3,locater3)
853
musicnoteWeld2.C0 = musicnoteWeld2.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
854
musicnoteWeld3.C0 = musicnoteWeld3.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
855
coroutine.wrap(function()
856
while true do
857
if breakz then break end
858
z = z + 5
859
musicnoteWeld.C1 = musicnoteWeld.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0 + z),math.rad(0)),.3)
860
musicnoteWeld2.C1 = musicnoteWeld2.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0 + z),math.rad(0)),.3)
861
musicnoteWeld3.C1 = musicnoteWeld3.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0 + z),math.rad(0)),.3)
862
wait()
863
end
864
end)()
865
g1 = Instance.new("BodyGyro", Root)
866
g1.D = 175
867
g1.P = 20000
868
g1.MaxTorque = Vector3.new(0,9000,0)
869
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
870
coroutine.wrap(function()
871
for i = 1, 15 do
872
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
873-
elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
873+
874
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.58, 0.1, 0) * CFrame.Angles(math.rad(2), math.rad(2), math.rad(8)), .3)
875
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
876
wait()
877
end
878
breakz = true
879
boomzika = true
880
while boomzika do
881
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
882
wait()
883
end
884
end)()
885
wait(.5)
886
musicnoteWeld3:Destroy()
887
musicnote3.Anchored = false
888
tr3.Enabled = true
889
musicanote1:Play()
890
flie = Instance.new("Sound",musicnote3)
891
flie.SoundId = "rbxassetid://161034732"
892
flie.Volume = 10
893
flie:Play()
894
removeuseless:AddItem(flie,3)
895
local PB = Instance.new("BodyVelocity", musicnote3)
896
PB.MaxForce = Vector3.new(999999999, 999999999, 999999999)
897
musicnote3.CFrame = CFrame.new(musicnote3.Position,mouse.Hit.p)
898
PB.Velocity = musicnote3.CFrame.lookVector * 800
899
musicnote3.Touched:connect(function(hit)
900
if hit.Parent:IsA("Part") then
901
elseif hit.Parent:IsA("SpecialMesh") then
902
elseif hit.Parent.Name == owner.Name then
903
elseif hit.Parent:findFirstChildOfClass("Humanoid") then
904
if damagedebounce == true then return end
905
damagedebounce = true
906
Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
907
woobz = Instance.new("Part", Slachtoffer.Parent)
908
woobz.Material = "Neon"
909
woobz.Anchored = true
910
woobz.Transparency = 0.1
911
woobz.CanCollide = false
912
woobz.BrickColor = BrickColor.Random()
913
woobz.Size = Vector3.new(5,5,5)
914
woobzShape = Instance.new("SpecialMesh", woobz)
915
woobzShape.MeshType = "Sphere"
916
woobzShape.Scale = Vector3.new(.1,.1,.1)
917
if Slachtoffer.Parent:FindFirstChild("Torso") or Slachtoffer.Parent:FindFirstChild("UpperTorso") ~= nil then
918
if Slachtoffer.RigType == Enum.HumanoidRigType.R15 then
919
woobz.CFrame = CFrame.new(Slachtoffer.Parent:FindFirstChild("UpperTorso").Position)
920
else
921
woobz.CFrame = CFrame.new(Slachtoffer.Parent:FindFirstChild("Torso").Position)
922
end
923
end
924
table.insert(Repeater,woobzShape)
925
table.insert(nonmeshRepeater2,woobz)
926
removeuseless:AddItem(woobz,3)
927
quickcour = coroutine.wrap(function()
928
Slachtoffer.WalkSpeed = 6
929
wait(1)
930
Slachtoffer.WalkSpeed = 16
931
end)
932
quickcour()
933
Slachtoffer:TakeDamage(35)
934
wub = wubs[math.random(1,#wubs)]
935
wubwound = Instance.new("Sound", Slachtoffer.Torso)
936
wubwound.SoundId = "rbxassetid://"..wub
937
wubwound.Volume = 4
938
wubwound:Play()
939
removeuseless:AddItem(wubwound,2)
940
end
941
end)
942
wait(.5)
943
damagedebounce = false
944
tr1.Enabled = true
945
musicnoteWeld:Remove()
946
flie2 = Instance.new("Sound",musicnote)
947
flie2.SoundId = "rbxassetid://161034732"
948
flie2.Volume = 10
949
flie2:Play()
950
musicanote2:Play()
951
removeuseless:AddItem(flie2,3)
952
local PB2 = Instance.new("BodyVelocity", musicnote)
953
PB2.MaxForce = Vector3.new(999999999, 999999999, 999999999)
954
musicnote.CFrame = CFrame.new(musicnote.Position,mouse.Hit.p)
955
PB2.Velocity = musicnote.CFrame.lookVector * 800
956
local PB = Instance.new("BodyVelocity", musicnote3)
957
PB.MaxForce = Vector3.new(999999999, 999999999, 999999999)
958
musicnote3.CFrame = CFrame.new(musicnote3.Position,mouse.Hit.p)
959
PB.Velocity = musicnote3.CFrame.lookVector * 800
960
musicnote.Touched:connect(function(hit)
961
if hit.Parent:IsA("Part") then
962
elseif hit.Parent:IsA("SpecialMesh") then
963
elseif hit.Parent.Name == owner.Name then
964
elseif hit.Parent:findFirstChildOfClass("Humanoid") then
965
if damagedebounce == true then return end
966
damagedebounce = true
967
Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
968
woobz = Instance.new("Part", Slachtoffer.Parent)
969
woobz.Material = "Neon"
970
woobz.Anchored = true
971
woobz.Transparency = 0.1
972
woobz.CanCollide = false
973
woobz.BrickColor = BrickColor.Random()
974
woobz.Size = Vector3.new(5,5,5)
975
woobzShape = Instance.new("SpecialMesh", woobz)
976
woobzShape.MeshType = "Sphere"
977
woobzShape.Scale = Vector3.new(.1,.1,.1)
978
if Slachtoffer.Parent:FindFirstChild("Torso") or Slachtoffer.Parent:FindFirstChild("UpperTorso") ~= nil then
979
if Slachtoffer.RigType == Enum.HumanoidRigType.R15 then
980
woobz.CFrame = CFrame.new(Slachtoffer.Parent:FindFirstChild("UpperTorso").Position)
981
else
982
woobz.CFrame = CFrame.new(Slachtoffer.Parent:FindFirstChild("Torso").Position)
983
end
984
end
985
table.insert(Repeater,woobzShape)
986
table.insert(nonmeshRepeater2,woobz)
987
removeuseless:AddItem(woobz,3)
988
quickcour = coroutine.wrap(function()
989
Slachtoffer.WalkSpeed = 6
990
wait(1)
991
Slachtoffer.WalkSpeed = 16
992
end)
993
quickcour()
994
Slachtoffer:TakeDamage(35)
995
wub = wubs[math.random(1,#wubs)]
996
wubwound = Instance.new("Sound", Slachtoffer.Torso)
997
wubwound.SoundId = "rbxassetid://"..wub
998
wubwound.Volume = 4
999
wubwound:Play()
1000
removeuseless:AddItem(wubwound,2)
1001
end
1002
end)
1003
wait(.5)
1004
musicanote3:Play()
1005
damagedebounce = false
1006
tr2.Enabled = true
1007
musicnoteWeld2:Remove()
1008
flie3 = Instance.new("Sound",musicnote2)
1009
flie3.SoundId = "rbxassetid://161034732"
1010
flie3.Volume = 10
1011
flie3:Play()
1012
removeuseless:AddItem(flie3,3)
1013
local PB3 = Instance.new("BodyVelocity", musicnote2)
1014
PB3.MaxForce = Vector3.new(999999999, 999999999, 999999999)
1015
musicnote2.CFrame = CFrame.new(musicnote2.Position,mouse.Hit.p)
1016
PB3.Velocity = musicnote2.CFrame.lookVector * 800
1017
g1:Remove()
1018
local PB = Instance.new("BodyVelocity", musicnote3)
1019
PB.MaxForce = Vector3.new(999999999, 999999999, 999999999)
1020
musicnote3.CFrame = CFrame.new(musicnote3.Position,mouse.Hit.p)
1021
PB.Velocity = musicnote3.CFrame.lookVector * 800
1022
musicnote2.Touched:connect(function(hit)
1023
if hit.Parent:IsA("Part") then
1024
elseif hit.Parent:IsA("SpecialMesh") then
1025
elseif hit.Parent.Name == owner.Name then
1026
elseif hit.Parent:findFirstChildOfClass("Humanoid") then
1027
if damagedebounce == true then return end
1028
damagedebounce = true
1029
Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
1030
woobz = Instance.new("Part", Slachtoffer.Parent)
1031
woobz.Material = "Neon"
1032
woobz.Anchored = true
1033
woobz.Transparency = 0.1
1034
woobz.CanCollide = false
1035
woobz.BrickColor = BrickColor.Random()
1036
woobz.Size = Vector3.new(5,5,5)
1037
woobzShape = Instance.new("SpecialMesh", woobz)
1038
woobzShape.MeshType = "Sphere"
1039
woobzShape.Scale = Vector3.new(.1,.1,.1)
1040
if Slachtoffer.Parent:FindFirstChild("Torso") or Slachtoffer.Parent:FindFirstChild("UpperTorso") ~= nil then
1041
if Slachtoffer.RigType == Enum.HumanoidRigType.R15 then
1042
woobz.CFrame = CFrame.new(Slachtoffer.Parent:FindFirstChild("UpperTorso").Position)
1043
else
1044
woobz.CFrame = CFrame.new(Slachtoffer.Parent:FindFirstChild("Torso").Position)
1045
end
1046
end
1047
table.insert(Repeater,woobzShape)
1048
table.insert(nonmeshRepeater2,woobz)
1049
removeuseless:AddItem(woobz,3)
1050
quickcour = coroutine.wrap(function()
1051
Slachtoffer.WalkSpeed = 6
1052
wait(1)
1053
Slachtoffer.WalkSpeed = 16
1054
end)
1055
quickcour()
1056
Slachtoffer:TakeDamage(35)
1057
wub = wubs[math.random(1,#wubs)]
1058
wubwound = Instance.new("Sound", Slachtoffer.Torso)
1059
wubwound.SoundId = "rbxassetid://"..wub
1060
wubwound.Volume = 4
1061
wubwound:Play()
1062
removeuseless:AddItem(wubwound,2)
1063
end
1064
end)
1065
appi = false
1066
attacking = false
1067
wait(2)
1068
n = 0
1069
attacking = true
1070
PB:Remove()
1071
PB2:Remove()
1072
PB3:Remove()
1073
musicnote:Remove()
1074
musicnote2:Remove()
1075
musicnote3:Remove()
1076
musicnote = Instance.new("Part", Torso)
1077
musicnote.Material = "Neon"
1078
musicnote.Transparency = 1
1079
musicnote.CanCollide = false
1080
musicnote.BrickColor = BrickColor.new("Royal purple")
1081
musicnoteMESH = Instance.new("SpecialMesh", musicnote)
1082
musicnoteMESH.Scale = Vector3.new(.025,0.0123,0.030)
1083
musicnoteMESH.MeshId = "rbxassetid://989516523"
1084
musicnoteWeld = weldBetween(musicnote,Root)
1085
musicnote2 = Instance.new("Part", Torso)
1086
musicnote2.Material = "Neon"
1087
musicnote2.Transparency = 1
1088
musicnote2.CanCollide = false
1089
musicnote2.BrickColor = BrickColor.new("Lime green")
1090
musicnoteMESH2 = Instance.new("SpecialMesh", musicnote2)
1091
musicnoteMESH2.Scale = Vector3.new(.025,0.0123,0.030)
1092
musicnoteMESH2.MeshId = "rbxassetid://989516523"
1093
musicnoteWeld2 = weldBetween(musicnote2,Root)
1094
musicnote3 = Instance.new("Part", Torso)
1095
musicnote3.Material = "Neon"
1096
musicnote3.Transparency = 1
1097
musicnote3.CanCollide = false
1098
musicnote3.BrickColor = BrickColor.new("Really red")
1099
musicnoteMESH3 = Instance.new("SpecialMesh", musicnote3)
1100
musicnoteMESH3.Scale = Vector3.new(.025,0.0123,0.030)
1101
musicnoteMESH3.MeshId = "rbxassetid://989516523"
1102
musicnoteWeld3 = weldBetween(musicnote3,Root)
1103
A = Instance.new("Attachment", musicnote)
1104
A.Position = Vector3.new(0,-2,0)
1105
A.Name = "A"
1106
B = Instance.new("Attachment", musicnote)
1107
B.Position = Vector3.new(0,2,0)
1108
B.Name = "B"
1109
tr1 = Instance.new("Trail", musicnote)
1110
tr1.Attachment0 = A
1111
tr1.Attachment1 = B
1112
tr1.Enabled = true
1113
tr1.Lifetime = .8
1114
tr1.TextureMode = "Static"
1115
tr1.LightInfluence = 0
1116
tr1.Color = ColorSequence.new(BrickColor.new"Royal purple".Color,BrickColor.new"Really black".Color)
1117
tr1.Transparency = NumberSequence.new(0, 1)
1118
A = Instance.new("Attachment", musicnote2)
1119
A.Position = Vector3.new(0,-2,0)
1120
A.Name = "A"
1121
B = Instance.new("Attachment", musicnote2)
1122
B.Position = Vector3.new(0,2,0)
1123
B.Name = "B"
1124
tr2 = Instance.new("Trail", musicnote2)
1125
tr2.Attachment0 = A
1126
tr2.Attachment1 = B
1127
tr2.Enabled = true
1128
tr2.Lifetime = .8
1129
tr2.TextureMode = "Static"
1130
tr2.LightInfluence = 0
1131
tr2.Color = ColorSequence.new(BrickColor.new"Lime green".Color,BrickColor.new"Really black".Color)
1132
tr2.Transparency = NumberSequence.new(0, 1)
1133
A = Instance.new("Attachment", musicnote3)
1134
A.Position = Vector3.new(0,-2,0)
1135
A.Name = "A"
1136
B = Instance.new("Attachment", musicnote3)
1137
B.Position = Vector3.new(0,2,0)
1138
B.Name = "B"
1139
tr3 = Instance.new("Trail", musicnote3)
1140
tr3.Attachment0 = A
1141
tr3.Attachment1 = B
1142
tr3.Enabled = true
1143
tr3.Lifetime = .8
1144
tr3.TextureMode = "Static"
1145
tr3.LightInfluence = 0
1146
tr3.Color = ColorSequence.new(BrickColor.new"Really red".Color,BrickColor.new"Really black".Color)
1147
tr3.Transparency = NumberSequence.new(0, 1)
1148
1149
light = Instance.new("PointLight", musicnote)
1150
light.Color = BrickColor.new("Royal purple").Color
1151
light.Range = 8
1152
light.Brightness = 35
1153
1154
light2 = Instance.new("PointLight", musicnote2)
1155
light2.Color = BrickColor.new("Lime green").Color
1156
light2.Range = 8
1157
light2.Brightness = 35
1158
1159
light3 = Instance.new("PointLight", musicnote3)
1160
light3.Color = BrickColor.new("Really red").Color
1161
light3.Range = 8
1162
light3.Brightness = 35
1163
stopnotes = false
1164
sou = Instance.new("Sound", Torso)
1165
sou.SoundId = "rbxassetid://1659770705"
1166
sou.Volume = 4
1167
sou:Play()
1168
removeuseless:AddItem(sou,2)
1169
for i = 1, 25 do
1170
n = n + 100
1171
musicnote.Transparency = musicnote.Transparency - .05
1172
musicnote2.Transparency = musicnote2.Transparency - .05
1173
musicnote3.Transparency = musicnote3.Transparency - .05
1174
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.6)
1175
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.6)
1176
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(n), math.rad(0)), 0.6)
1177
wait()
1178
end
1179-
elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
1179+
1180
appi = false
1181
locater3:Remove()
1182
locater2:Remove()
1183
locater:Remove()
1184
attacking = false
1185
debounce = false
1186
end
1187
end)
1188
1189
mouse.KeyDown:connect(function(Press)
1190
Press=Press:lower()
1191
if Press=='u' then ----bignote
1192
if debounce then return end
1193
debounce = true
1194
attacking = true
1195
appi = true
1196
damagedebounce = false
1197
g1 = Instance.new("BodyGyro", Root)
1198
g1.D = 175
1199
g1.P = 20000
1200
g1.MaxTorque = Vector3.new(0,9000,0)
1201
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
1202
coroutine.wrap(function()
1203
while appi do
1204
wait()
1205
if Root.Velocity.Magnitude > 2 and running == false and attacking == true then
1206
position = "Idle3"
1207
elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
1208
position = "Idle4"
1209
end
1210
end
1211
end)()
1212
coroutine.wrap(function()
1213
while appi do
1214
wait()
1215
settime = 0.05
1216
sine = sine + change
1217
if position == "Idle3" and attacking == true and running == false and appi == true then
1218
change = .5
1219
hum.WalkSpeed = 7
1220
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
1221
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
1222
elseif position == "Idle4" and attacking == true and running == false and appi == true then
1223
change = .5
1224
hum.WalkSpeed = 7
1225
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
1226
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
1227
end
1228
end
1229
end)()
1230
coroutine.wrap(function()
1231
for i = 1, 10 do
1232
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
1233
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)
1234
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.5)
1235
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
1236
wait()
1237
end
1238
end)()
1239
locater = Instance.new("Part", Torso)
1240
locater.Size = Vector3.new(1,1,1)
1241
locater.Transparency = 1
1242
locater.CanCollide = false
1243
locaterweld = weldBetween(locater,Root)
1244
locaterweld.C0 = CFrame.new(0,0,3)
1245
locater2 = Instance.new("Part", Torso)
1246
locater2.Size = Vector3.new(1,1,1)
1247
locater2.Transparency = 1
1248
locater2.CanCollide = false
1249
locaterweld2 = weldBetween(locater2,locater)
1250
locaterweld2.C0 = CFrame.new(0,0,1)
1251
bigmusicnote = Instance.new("Part", Torso)
1252
bigmusicnote.Material = "Neon"
1253
bigmusicnote.Transparency = 0
1254
bigmusicnote.CanCollide = false
1255
bigmusicnote.Anchored = false
1256
bigmusicnote.BrickColor = BrickColor.new("Really black")
1257
bigmusicnoteMESH = Instance.new("SpecialMesh", bigmusicnote)
1258
bigmusicnoteMESH.Scale = Vector3.new(.0050,0.00246,0.0060)
1259
bigmusicnoteMESH.MeshId = "rbxassetid://989516523"
1260
bigmusicnoteweld = weldBetween(bigmusicnote,locater)
1261
bigmusicnoteweld.C0 = bigmusicnoteweld.C0 * CFrame.Angles(math.rad(-89),0,0)
1262
for i = 1, 10 do
1263
bigmusicnoteMESH.Scale = bigmusicnoteMESH.Scale + Vector3.new(.0050,0.00246,0.0060)
1264
wait()
1265
end
1266
shockw2 = Instance.new("Part", Torso)
1267
shockw2.Size = Vector3.new(1,1,1)
1268
shockw2.CanCollide = false
1269
shockw2.Transparency = .2
1270
shockw2.BrickColor = bigmusicnote.BrickColor
1271
shockweld2 = weldBetween(shockw2,locater2)
1272
shockwmesh2 = Instance.new("SpecialMesh", shockw2)
1273
shockwmesh2.Scale = Vector3.new(10,10,2)
1274
shockwmesh2.MeshId = "rbxassetid://3270017"
1275
1276
shockw3 = Instance.new("Part", Torso)
1277
shockw3.Size = Vector3.new(1,1,1)
1278
shockw3.CanCollide = false
1279
shockw3.Transparency = .2
1280
shockw3.BrickColor = bigmusicnote.BrickColor
1281
shockweld3 = weldBetween(shockw3,locater2)
1282
shockwmesh3 = Instance.new("SpecialMesh", shockw3)
1283
shockwmesh3.Scale = Vector3.new(10,10,2)
1284
shockwmesh3.MeshId = "rbxassetid://3270017"
1285
spin = true
1286
coroutine.wrap(function()
1287
x = 45
1288
while spin do
1289
shockweld2.C0 = shockweld2.C0 * CFrame.Angles(math.rad(0+22),math.rad(0+17),math.rad(0+25))
1290
shockweld3.C0 = shockweld3.C0 * CFrame.Angles(math.rad(0-22),math.rad(0-17),math.rad(0-25))
1291
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,.9 - .1 * math.sin(sine/.5),.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.8)
1292
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1 - .1 * math.sin(sine/.5),.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.8)
1293
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
1294
bigmusicnote.BrickColor = BrickColor.Random()
1295
bigmusicnoteweld.C0 = bigmusicnoteweld.C0 * CFrame.Angles(0,math.rad(0 + x),0)
1296
wait()
1297
end
1298
end)()
1299
coroutine.wrap(function()
1300
while spin do
1301
smallmusicnote = Instance.new("Part", Torso)
1302
smallmusicnote.Material = "Neon"
1303
smallmusicnote.Transparency = 0
1304
smallmusicnote.CanCollide = false
1305
smallmusicnote.Anchored = false
1306
smallmusicnote.BrickColor = bigmusicnote.BrickColor
1307
smallmusicnoteMESH = Instance.new("SpecialMesh", smallmusicnote)
1308
smallmusicnoteMESH.Scale = Vector3.new(.050,0.0246,0.060)
1309
smallmusicnoteMESH.MeshId = "rbxassetid://989516523"
1310
smallmusicnote.CFrame = locater2.CFrame * CFrame.Angles(math.rad(-89),0,0)
1311
PB = Instance.new("BodyVelocity", smallmusicnote) PB.MaxForce = Vector3.new(999999999, 999999999, 999999999) smallmusicnote.CFrame = CFrame.new(smallmusicnote.Position,mouse.Hit.p) PB.Velocity = smallmusicnote.CFrame.lookVector * 400
1312
A = Instance.new("Attachment", smallmusicnote)
1313
A.Position = Vector3.new(-2,0,0)
1314
A.Name = "A"
1315
B = Instance.new("Attachment", smallmusicnote)
1316
B.Position = Vector3.new(2,0,0)
1317
B.Name = "B"
1318
vv = Instance.new("Trail", smallmusicnote)
1319
vv.Attachment0 = A
1320
vv.Attachment1 = B
1321
vv.Enabled = true
1322
vv.Lifetime = .5
1323
vv.TextureMode = "Static"
1324
vv.LightInfluence = 1
1325
vv.Color = ColorSequence.new(bigmusicnote.BrickColor.Color,BrickColor.new"Really black".Color)
1326
vv.Transparency = NumberSequence.new(0, 1)
1327
removeuseless:AddItem(smallmusicnote,2)
1328
smallmusicnote.Touched:connect(function(hit)
1329
if hit.Parent:IsA("Part") then
1330
elseif hit.Parent:IsA("SpecialMesh") then
1331
elseif hit.Parent.Name == owner.Name then
1332
elseif hit.Parent:findFirstChildOfClass("Humanoid") then
1333
if damagedebounce == true then return end
1334
damagedebounce = true
1335
Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
1336
quickcour = coroutine.wrap(function()
1337
Slachtoffer.WalkSpeed = 10
1338
wait(1)
1339
Slachtoffer.WalkSpeed = 16
1340
end)
1341
quickcour()
1342
Slachtoffer:TakeDamage(math.random(3,6))
1343
end
1344
end)
1345
boomboom = Instance.new("Part", Torso)
1346
boomboom.Material = "Neon"
1347
boomboom.Anchored = false
1348
boomboom.CanCollide = false
1349
boomboom.BrickColor = bigmusicnote.BrickColor
1350
boomboom.Size = Vector3.new(.1,.1,.1)
1351
boomboomShape = Instance.new("SpecialMesh", boomboom)
1352
boomboomShape.MeshType = "Sphere"
1353
boomboomShape.Scale = Vector3.new(.1,.1,.1)
1354
boomboomWeld = weldBetween(boomboom,locater2)
1355
table.insert(th3,boomboomShape)
1356
table.insert(SlowlyFade,boomboom)
1357
removeuseless:AddItem(boomboom,2)
1358
shockw = Instance.new("Part", Torso)
1359
shockw.Size = Vector3.new(1,1,1)
1360
shockw.CanCollide = false
1361
shockw.Transparency = .25
1362
shockw.BrickColor = bigmusicnote.BrickColor
1363
shockweld = weldBetween(shockw,locater2)
1364
shockwmesh = Instance.new("SpecialMesh", shockw)
1365
shockwmesh.Scale = Vector3.new(0,0,0.2)
1366
shockwmesh.MeshId = "rbxassetid://3270017"
1367
table.insert(nstorm,shockwmesh)
1368
table.insert(SlowlyFade,shockw)
1369
removeuseless:AddItem(shockw,2)
1370
shockw4 = Instance.new("Part", Torso)
1371
shockw4.Size = Vector3.new(1,1,1)
1372
shockw4.CanCollide = false
1373
shockw4.Anchored = true
1374
shockw4.Transparency = .5
1375
shockw4.BrickColor = bigmusicnote.BrickColor
1376
shockw4.CFrame = locater2.CFrame * CFrame.new(0,-5,0)
1377
shockwmesh4 = Instance.new("SpecialMesh", shockw4)
1378
shockwmesh4.Scale = Vector3.new(0,2,0)
1379
shockwmesh4.MeshId = "rbxassetid://20329976"
1380
table.insert(th5,shockwmesh4)
1381
table.insert(SlowlyFade,shockw4)
1382
removeuseless:AddItem(shockw4,2)
1383
shockw5 = Instance.new("Part", Torso)
1384
shockw5.Size = Vector3.new(1,1,1)
1385
shockw5.CanCollide = false
1386
shockw5.Transparency = .6
1387
shockw5.BrickColor = bigmusicnote.BrickColor
1388
shockweld5 = weldBetween(shockw5,locater2)
1389
shockweld5.C0 = shockweld5.C0 * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(90),0,0)
1390
shockwmesh5 = Instance.new("SpecialMesh", shockw5)
1391
shockwmesh5.Scale = Vector3.new(0,3,0)
1392
shockwmesh5.MeshId = "rbxassetid://20329976"
1393
table.insert(th5,shockwmesh5)
1394
table.insert(SlowlyFade,shockw5)
1395
removeuseless:AddItem(shockw5,1)
1396
wait(.05)
1397
damagedebounce = false
1398
end
1399
end)()
1400
godly1 = Instance.new("Sound",Torso)
1401
godly1.SoundId = "rbxassetid://1730051355"
1402
godly1.Volume = 4
1403
godly1:Play()
1404
wait(.2)
1405
wait(godly1.TimeLength)
1406
attacking = false
1407
appi = false
1408
spin = false
1409
g1:Remove()
1410
for i = 1, 20 do
1411
shockw2.Transparency = shockw2.Transparency + .05
1412
shockw3.Transparency = shockw3.Transparency + .05
1413
bigmusicnoteMESH.Scale = bigmusicnoteMESH.Scale + Vector3.new(.01,.01,.01)
1414
bigmusicnote.Transparency = bigmusicnote.Transparency + 0.05
1415
shockwmesh2.Scale = shockwmesh2.Scale + Vector3.new(.2,.2,.2)
1416
shockwmesh3.Scale = shockwmesh3.Scale + Vector3.new(.2,.2,.2)
1417
wait()
1418
end
1419
shockw2:Remove()
1420
shockw3:Remove()
1421
bigmusicnote:Remove()
1422
locater:Remove()
1423
locater2:Remove()
1424
debounce = false
1425
damagedebounce = false
1426
end
1427
end)
1428
1429
mouse.KeyDown:connect(function(Press)
1430
Press=Press:lower()
1431
if Press=='f' then ----bignote
1432
if debounce then return end
1433
debounce = true
1434
attacking = true
1435
hum.WalkSpeed = 0
1436
HEADLERP.Part1 = Torso
1437
for i = 1, 10 do
1438
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
1439
HEADLERP.C1 = HEADLERP.C1:lerp(CFrame.new(0, 0, 0.2) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
1440
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.5)
1441
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
1442
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.5)
1443
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.5)
1444
wait()
1445
end
1446
so = Instance.new("Sound",Torso)
1447
so.SoundId = "rbxassetid://345716857"
1448
so.Volume = 10
1449
so:Play()
1450
coroutine.wrap(function()
1451
TheWind4 = Instance.new("Part", Torso)
1452
TheWind4.Size = Vector3.new(0.5, 0.5, 0.5)
1453
TheWind4.Material = "Neon"
1454
TheWind4.BrickColor = BrickColor.new("Really white")
1455
TheWind4.Transparency = 1
1456
TheWind4.CanCollide = false
1457
TheWindMESH4 = Instance.new("SpecialMesh", TheWind4)
1458
TheWindMESH4.Scale = Vector3.new(10,10,10)
1459
TheWindMESH4.MeshId = "rbxassetid://168892432"
1460
TheWindWeld4 = weldBetween(TheWind4,Root)
1461
TheWindWeld4.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
1462
TheWind5 = Instance.new("Part", Torso)
1463
TheWind5.Size = Vector3.new(0.5, 0.5, 0.5)
1464
TheWind5.Material = "Neon"
1465
TheWind5.BrickColor = BrickColor.new("Really white")
1466
TheWind5.Transparency = 1
1467
TheWind5.CanCollide = false
1468
TheWindMESH5 = Instance.new("SpecialMesh", TheWind5)
1469
TheWindMESH5.Scale = Vector3.new(15,15,15)
1470
TheWindMESH5.MeshId = "rbxassetid://168892432"
1471
TheWindWeld5 = weldBetween(TheWind5,Root)
1472
TheWindWeld5.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
1473
TheWind6 = Instance.new("Part", Torso)
1474
TheWind6.Size = Vector3.new(0.5, 0.5, 0.5)
1475
TheWind6.Material = "Neon"
1476
TheWind6.BrickColor = BrickColor.new("Really white")
1477
TheWind6.Transparency = 1
1478
TheWind6.CanCollide = false
1479
TheWindMESH6 = Instance.new("SpecialMesh", TheWind6)
1480
TheWindMESH6.Scale = Vector3.new(20,20,20)
1481
TheWindMESH6.MeshId = "rbxassetid://168892432"
1482
TheWindWeld6 = weldBetween(TheWind6,Root)
1483
TheWindWeld6.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
1484
quickcour = coroutine.wrap(function()
1485
for i = 1, 25 do
1486
TheWind4.Transparency = TheWind4.Transparency - 0.01
1487
TheWind5.Transparency = TheWind5.Transparency - 0.005
1488
TheWind6.Transparency = TheWind6.Transparency - 0.012
1489
wait()
1490
end
1491
end)
1492
quickcour()
1493
quickcour2 = coroutine.wrap(function()
1494
z = 0
1495
while wait() do
1496
TheWindWeld4.C0 = TheWindWeld4.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0-25),0)
1497
TheWindWeld5.C0 = TheWindWeld5.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0+25),0)
1498
TheWindWeld6.C0 = TheWindWeld6.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0+25),0)
1499
end
1500
end)
1501
quickcour2()
1502
end)()
1503
for i = 1, 10 do
1504
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),.5)
1505
HEADLERP.C1 = HEADLERP.C1:lerp(CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.5)
1506
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(-20), math.rad(90)), 0.5)
1507
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.5)
1508
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 1.7, 0.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-10)), 0.5)
1509
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.30, 1.7, 0.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(10)), 0.5)
1510
wait()
1511
end
1512
mz = true
1513
THELIGHT = Instance.new("Part", Torso)
1514
THELIGHT.Size = Vector3.new(0.5, 0.5, 0.5)
1515
THELIGHT.Material = "Neon"
1516
THELIGHT.BrickColor = BrickColor.new("Cyan")
1517
THELIGHT.Transparency = 1
1518
THELIGHT.Anchored = true
1519
THELIGHT.CanCollide = false
1520
THELIGHT.CFrame = Root.CFrame * CFrame.Angles(0,0,math.rad(90))
1521
THELIGHTMESH = Instance.new("SpecialMesh", THELIGHT)
1522
THELIGHTMESH.MeshType = "Cylinder"
1523
THELIGHTMESH.Scale = Vector3.new(99999,15,15)
1524
coroutine.wrap(function()
1525
for i = 1, 10 do
1526
THELIGHT.Transparency = THELIGHT.Transparency - 0.05
1527
wait()
1528
end
1529
end)()
1530
ringodeath = Instance.new("Part", Torso)
1531
ringodeath.Size = Vector3.new(1,1,1)
1532
ringodeath.CanCollide = false
1533
ringodeath.Anchored = true
1534
ringodeath.Transparency = 1
1535
ringodeath.BrickColor = Head.BrickColor
1536
ringodeath.CFrame = Root.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0)
1537
ringodeathmesh = Instance.new("SpecialMesh", ringodeath)
1538
ringodeathmesh.Scale = Vector3.new(20,20,1)
1539
ringodeathmesh.MeshId = "rbxassetid://3270017"
1540
ringodeath2 = Instance.new("Part", Torso)
1541
ringodeath2.Size = Vector3.new(1,1,1)
1542
ringodeath2.CanCollide = false
1543
ringodeath2.Anchored = true
1544
ringodeath2.Transparency = 1
1545
ringodeath2.BrickColor = Head.BrickColor
1546
ringodeath2.CFrame = Root.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0)
1547
ringodeathmesh2 = Instance.new("SpecialMesh", ringodeath2)
1548
ringodeathmesh2.Scale = Vector3.new(20,20,1)
1549
ringodeathmesh2.MeshId = "rbxassetid://3270017"
1550
ringodeath3 = Instance.new("Part", Torso)
1551
ringodeath3.Size = Vector3.new(1,1,1)
1552
ringodeath3.CanCollide = false
1553
ringodeath3.Anchored = true
1554
ringodeath3.Transparency = 1
1555
ringodeath3.BrickColor = Head.BrickColor
1556
ringodeath3.CFrame = Root.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0)
1557
ringodeathmesh3 = Instance.new("SpecialMesh", ringodeath3)
1558
ringodeathmesh3.Scale = Vector3.new(50,50,1)
1559
ringodeathmesh3.MeshId = "rbxassetid://3270017"
1560
ringodeath4 = Instance.new("Part", Torso)
1561
ringodeath4.Size = Vector3.new(1,1,1)
1562
ringodeath4.CanCollide = false
1563
ringodeath4.Anchored = true
1564
ringodeath4.Transparency = 1
1565
ringodeath4.BrickColor = Head.BrickColor
1566
ringodeath4.CFrame = Root.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0)
1567
ringodeathmesh4 = Instance.new("SpecialMesh", ringodeath4)
1568
ringodeathmesh4.Scale = Vector3.new(50,50,1)
1569
ringodeathmesh4.MeshId = "rbxassetid://3270017"
1570
ringodeath5 = Instance.new("Part", Torso)
1571
ringodeath5.Size = Vector3.new(1,1,1)
1572
ringodeath5.CanCollide = false
1573
ringodeath5.Anchored = true
1574
ringodeath5.Transparency = 1
1575
ringodeath5.BrickColor = Head.BrickColor
1576
ringodeath5.CFrame = Root.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0)
1577
ringodeathmesh5 = Instance.new("SpecialMesh", ringodeath5)
1578
ringodeathmesh5.Scale = Vector3.new(120,120,1)
1579
ringodeathmesh5.MeshId = "rbxassetid://3270017"
1580
ringodeath6 = Instance.new("Part", Torso)
1581
ringodeath6.Size = Vector3.new(1,1,1)
1582
ringodeath6.CanCollide = false
1583
ringodeath6.Anchored = true
1584
ringodeath6.Transparency = 1
1585
ringodeath6.BrickColor = Head.BrickColor
1586
ringodeath6.CFrame = Root.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0)
1587
ringodeathmesh6 = Instance.new("SpecialMesh", ringodeath6)
1588
ringodeathmesh6.Scale = Vector3.new(120,120,1)
1589
ringodeathmesh6.MeshId = "rbxassetid://3270017"
1590
ringodeath7 = Instance.new("Part", Torso)
1591
ringodeath7.Size = Vector3.new(1,1,1)
1592
ringodeath7.CanCollide = false
1593
ringodeath7.Anchored = true
1594
ringodeath7.Transparency = 1
1595
ringodeath7.BrickColor = Head.BrickColor
1596
ringodeath7.CFrame = Root.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0)
1597
ringodeathmesh7 = Instance.new("SpecialMesh", ringodeath7)
1598
ringodeathmesh7.Scale = Vector3.new(240,240,1)
1599
ringodeathmesh7.MeshId = "rbxassetid://3270017"
1600
ringodeath8 = Instance.new("Part", Torso)
1601
ringodeath8.Size = Vector3.new(1,1,1)
1602
ringodeath8.CanCollide = false
1603
ringodeath8.Anchored = true
1604
ringodeath8.Transparency = 1
1605
ringodeath8.BrickColor = Head.BrickColor
1606
ringodeath8.CFrame = Root.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0)
1607
ringodeathmesh8 = Instance.new("SpecialMesh", ringodeath8)
1608
ringodeathmesh8.Scale = Vector3.new(240,240,1)
1609
ringodeathmesh8.MeshId = "rbxassetid://3270017"
1610
coroutine.wrap(function()
1611
for i = 1, 50 do
1612
ringodeath.Transparency = ringodeath.Transparency - 0.02
1613
ringodeath2.Transparency = ringodeath2.Transparency - 0.016
1614
ringodeath3.Transparency = ringodeath3.Transparency - 0.015
1615
ringodeath4.Transparency = ringodeath4.Transparency - 0.014
1616
ringodeath5.Transparency = ringodeath5.Transparency - 0.020
1617
ringodeath6.Transparency = ringodeath6.Transparency - 0.020
1618
ringodeath7.Transparency = ringodeath7.Transparency - 0.020
1619
ringodeath8.Transparency = ringodeath8.Transparency - 0.020
1620
wait()
1621
end
1622
end)()
1623
lol = coroutine.wrap(function()
1624
while mz do
1625
ringodeath.CFrame = ringodeath.CFrame * CFrame.Angles(math.rad(0+15),math.rad(0-14),math.rad(0+12))
1626
ringodeath2.CFrame = ringodeath2.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0-15),math.rad(0+14),math.rad(0-12))
1627
ringodeath3.CFrame = ringodeath3.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0+12),math.rad(0-3),math.rad(0+3))
1628
ringodeath4.CFrame = ringodeath4.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0-5),math.rad(0+13),math.rad(0-2))
1629
ringodeath5.CFrame = ringodeath3.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0+5),math.rad(0-7),math.rad(0+16))
1630
ringodeath6.CFrame = ringodeath4.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0-13),math.rad(0+1),math.rad(0-5))
1631
ringodeath7.CFrame = ringodeath7.CFrame * CFrame.Angles(math.rad(0-3),math.rad(0+12),math.rad(0-3))
1632
ringodeath8.CFrame = ringodeath8.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0+16),math.rad(0-3))
1633
wait()
1634
end
1635
end)
1636
lol()
1637
coroutine.wrap(function()
1638
while mz do
1639
shockw4 = Instance.new("Part", Torso)
1640
shockw4.Size = Vector3.new(1,1,1)
1641
shockw4.CanCollide = false
1642
shockw4.Anchored = true
1643
shockw4.Transparency = 0
1644
shockw4.BrickColor = Head.BrickColor
1645
shockw4.CFrame = Root.CFrame * CFrame.new(0,-5,0)
1646
shockwmesh4 = Instance.new("SpecialMesh", shockw4)
1647
shockwmesh4.Scale = Vector3.new(0,1,0)
1648
shockwmesh4.MeshId = "rbxassetid://20329976"
1649
table.insert(ExtremeM2,shockwmesh4)
1650
table.insert(Repeater2,shockw4)
1651
removeuseless:AddItem(shockw4,5)
1652
coroutine.wrap(function()
1653
while mz do
1654
shockw4.CFrame = shockw4.CFrame * CFrame.Angles(0,math.rad(0 + 5),0)
1655
wait()
1656
end
1657
end)()
1658
wait(.05)
1659
end
1660
end)()
1661
wait(so.TimeLength)
1662
mz = false
1663
coroutine.wrap(function()
1664
for i = 1, 20 do
1665
THELIGHTMESH.Scale = THELIGHTMESH.Scale + Vector3.new(5,5,5)
1666
THELIGHT.Transparency = THELIGHT.Transparency + 0.05
1667
ringodeathmesh.Scale = ringodeathmesh.Scale + Vector3.new(5,5,5)
1668
ringodeath.Transparency = ringodeath.Transparency + 0.05
1669
ringodeathmesh2.Scale = ringodeathmesh2.Scale + Vector3.new(5,5,5)
1670
ringodeath2.Transparency = ringodeath2.Transparency + 0.05
1671
ringodeathmesh3.Scale = ringodeathmesh3.Scale + Vector3.new(15,15,15)
1672
ringodeath3.Transparency = ringodeath3.Transparency + 0.05
1673
ringodeathmesh4.Scale = ringodeathmesh4.Scale + Vector3.new(15,15,15)
1674
ringodeath4.Transparency = ringodeath4.Transparency + 0.05
1675
ringodeathmesh5.Scale = ringodeathmesh5.Scale + Vector3.new(5,5,5)
1676
ringodeath5.Transparency = ringodeath5.Transparency + 0.05
1677
ringodeathmesh6.Scale = ringodeathmesh6.Scale + Vector3.new(5,5,5)
1678
ringodeath6.Transparency = ringodeath6.Transparency + 0.05
1679
ringodeathmesh7.Scale = ringodeathmesh7.Scale + Vector3.new(5,5,5)
1680
ringodeath7.Transparency = ringodeath7.Transparency + 0.05
1681
ringodeathmesh8.Scale = ringodeathmesh8.Scale + Vector3.new(5,5,5)
1682
ringodeath8.Transparency = ringodeath8.Transparency + 0.05
1683
wait()
1684
end
1685
THELIGHT:Remove()
1686
ringodeath:Remove()
1687
ringodeath2:Remove()
1688
ringodeath3:Remove()
1689
ringodeath4:Remove()
1690
ringodeath5:Remove()
1691
ringodeath6:Remove()
1692
ringodeath7:Remove()
1693
ringodeath8:Remove()
1694
end)()
1695
HEADLERP.Part1 = Head
1696
HEADLERP.C1 = HEADLERP.C1 * CFrame.new(0, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1697
attacking = false
1698
debounce = false
1699
hum.WalkSpeed = 32
1700
end
1701
end)
1702
1703
mouse.KeyUp:connect(function(Press)
1704
	Press=Press:lower()
1705
	if Press=='r' then
1706
dubwub = false
1707
end
1708
end)
1709
1710
hum.Died:connect(function()
1711
coroutine.wrap(function()
1712
while wait() do
1713
end
1714
end)()
1715
deadsound = Instance.new("Sound", Torso)
1716
deadsound.Volume = 10
1717
deadsound.SoundId = "rbxassetid://223471024"
1718
deadsound:Play()
1719
end)
1720
1721
doit = coroutine.wrap(function()
1722
while wait() do
1723
for _,v in pairs(Repeater) do
1724
v.Scale =  v.Scale + Vector3.new(1, 1, 1)
1725
end
1726
1727
for _,v in pairs(openshocktable) do
1728
v.Scale =  v.Scale + Vector3.new(3, 3, 3)
1729
end
1730
1731
for _,v in pairs(nonmeshRepeater) do
1732
v.Size =  v.Size + Vector3.new(2, 2, 2)
1733
end
1734
1735
for _,v in pairs(Extreme) do
1736
v.Size =  v.Size + Vector3.new(6, 6, 6)
1737
end
1738
1739
for _,v in pairs(LessSize) do
1740
v.Size = v.Size - Vector3.new(1, 1, 1)
1741
end
1742
1743
for _,v in pairs(nonmeshRepeater2) do
1744
v.Transparency = v.Transparency + 0.05
1745
end
1746
1747
for _,v in pairs(Repeater2) do
1748
v.Transparency = v.Transparency + 0.01
1749
end
1750
1751
for _,v in pairs(th1) do
1752
v.Transparency = v.Transparency - 0.008
1753
end
1754
1755
for _,v in pairs(th2) do
1756
v.Scale = v.Scale - Vector3.new(1, 1, 1)
1757
end
1758
1759
for _,v in pairs(th3) do
1760
v.Scale = v.Scale + Vector3.new(2, 2, 2)
1761
end
1762
1763
for _,v in pairs(nstorm) do
1764
v.Scale = v.Scale + Vector3.new(2, 2, 0)
1765
end
1766
1767
for _,v in pairs(th5) do
1768
v.Scale = v.Scale + Vector3.new(3, .1, 3)
1769
end
1770
1771
for _,v in pairs(ExtremeM) do
1772
v.Scale = v.Scale + Vector3.new(8, 8, 8)
1773
end
1774
1775
for _,v in pairs(m3) do
1776
v.Scale = v.Scale + Vector3.new(8, 8, 0)
1777
end
1778
1779
for _,v in pairs(ExtremeM2) do
1780
v.Scale = v.Scale + Vector3.new(8, 1, 8)
1781
end
1782
1783
for _,v in pairs(th4) do
1784
v.Transparency = v.Transparency + 0.009
1785
v.Rotation = v.Rotation + Vector3.new(3,0,0)
1786
end
1787
1788
for _,v in pairs(SlowlyFade) do
1789
v.Transparency = v.Transparency + 0.05
1790
end
1791
1792
for _,v in pairs(UpMover) do
1793
v.Position = v.Position + Vector3.new(0, 3, 0)
1794
end
1795
1796
for _,v in pairs(ForwardMover) do
1797
v.CFrame = v.CFrame * CFrame.new(0, 0, 2.4 +(i/.1)) * CFrame.Angles(0, 0, math.rad(0))
1798
end
1799
1800
for _,v in pairs(signtable) do
1801
v.TextSize = v.TextSize + 1
1802
end
1803
1804
for _,v in pairs(signtransparency) do
1805
v.TextTransparency = v.TextTransparency + 0.025
1806
end
1807
1808
for _,v in pairs(signmover) do
1809
v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2))
1810
end
1811
1812
for _,v in pairs(highnoon) do
1813
PB = Instance.new("BodyVelocity", v) PB.MaxForce = Vector3.new(999999999, 999999999, 999999999) v.CFrame = CFrame.new(v.Position,mouse.Hit.p) PB.Velocity = v.CFrame.lookVector * 400
1814
end
1815
1816
1817
for _,v in pairs(signrotator) do
1818
v.Rotation = v.Rotation + 2
1819
end
1820
end
1821
end)
1822
doit()
1823
1824
coroutine.wrap(function()
1825
while true do
1826
hum.HipHeight = 3 - .5 * math.sin(sine/9)
1827
wait()
1828
end
1829
end)()
1830
musicnote = Instance.new("Part", Torso)
1831
musicnote.Material = "Neon"
1832
musicnote.Transparency = 1
1833
musicnote.CanCollide = false
1834
musicnote.BrickColor = BrickColor.new("Royal purple")
1835
musicnoteMESH = Instance.new("SpecialMesh", musicnote)
1836
musicnoteMESH.Scale = Vector3.new(.025,0.0123,0.030)
1837
musicnoteMESH.MeshId = "rbxassetid://989516523"
1838
musicnoteWeld = weldBetween(musicnote,Root)
1839
musicnote2 = Instance.new("Part", Torso)
1840
musicnote2.Material = "Neon"
1841
musicnote2.Transparency = 1
1842
musicnote2.CanCollide = false
1843
musicnote2.BrickColor = BrickColor.new("Lime green")
1844
musicnoteMESH2 = Instance.new("SpecialMesh", musicnote2)
1845
musicnoteMESH2.Scale = Vector3.new(.025,0.0123,0.030)
1846
musicnoteMESH2.MeshId = "rbxassetid://989516523"
1847
musicnoteWeld2 = weldBetween(musicnote2,Root)
1848
musicnote3 = Instance.new("Part", Torso)
1849
musicnote3.Material = "Neon"
1850
musicnote3.Transparency = 1
1851
musicnote3.CanCollide = false
1852
musicnote3.BrickColor = BrickColor.new("Really red")
1853
musicnoteMESH3 = Instance.new("SpecialMesh", musicnote3)
1854
musicnoteMESH3.Scale = Vector3.new(.025,0.0123,0.030)
1855
musicnoteMESH3.MeshId = "rbxassetid://989516523"
1856
musicnoteWeld3 = weldBetween(musicnote3,Root)
1857
A = Instance.new("Attachment", musicnote)
1858
A.Position = Vector3.new(0,-2,0)
1859
A.Name = "A"
1860
B = Instance.new("Attachment", musicnote)
1861
B.Position = Vector3.new(0,2,0)
1862
B.Name = "B"
1863
tr1 = Instance.new("Trail", musicnote)
1864
tr1.Attachment0 = A
1865
tr1.Attachment1 = B
1866
tr1.Enabled = true
1867
tr1.Lifetime = .8
1868
tr1.TextureMode = "Static"
1869
tr1.LightInfluence = 0
1870
tr1.Color = ColorSequence.new(BrickColor.new"Royal purple".Color,BrickColor.new"Really black".Color)
1871
tr1.Transparency = NumberSequence.new(0, 1)
1872
A = Instance.new("Attachment", musicnote2)
1873
A.Position = Vector3.new(0,-2,0)
1874
A.Name = "A"
1875
B = Instance.new("Attachment", musicnote2)
1876
B.Position = Vector3.new(0,2,0)
1877
B.Name = "B"
1878
tr2 = Instance.new("Trail", musicnote2)
1879
tr2.Attachment0 = A
1880
tr2.Attachment1 = B
1881
tr2.Enabled = true
1882
tr2.Lifetime = .8
1883
tr2.TextureMode = "Static"
1884
tr2.LightInfluence = 0
1885
tr2.Color = ColorSequence.new(BrickColor.new"Lime green".Color,BrickColor.new"Really black".Color)
1886
tr2.Transparency = NumberSequence.new(0, 1)
1887
A = Instance.new("Attachment", musicnote3)
1888
A.Position = Vector3.new(0,-2,0)
1889
A.Name = "A"
1890
B = Instance.new("Attachment", musicnote3)
1891
B.Position = Vector3.new(0,2,0)
1892
B.Name = "B"
1893
tr3 = Instance.new("Trail", musicnote3)
1894
tr3.Attachment0 = A
1895
tr3.Attachment1 = B
1896
tr3.Enabled = true
1897
tr3.Lifetime = .8
1898
tr3.TextureMode = "Static"
1899
tr3.LightInfluence = 0
1900
tr3.Color = ColorSequence.new(BrickColor.new"Really red".Color,BrickColor.new"Really black".Color)
1901
tr3.Transparency = NumberSequence.new(0, 1)
1902
1903
light = Instance.new("PointLight", musicnote)
1904
light.Color = BrickColor.new("Royal purple").Color
1905
light.Range = 8
1906
light.Brightness = 35
1907
1908
light2 = Instance.new("PointLight", musicnote2)
1909
light2.Color = BrickColor.new("Lime green").Color
1910
light2.Range = 8
1911
light2.Brightness = 35
1912
1913
light3 = Instance.new("PointLight", musicnote3)
1914
light3.Color = BrickColor.new("Really red").Color
1915
light3.Range = 8
1916
light3.Brightness = 35
1917
1918
TheWind = Instance.new("Part", Torso)
1919
TheWind.Size = Vector3.new(0.5, 0.5, 0.5)
1920
TheWind.Material = "Neon"
1921
TheWind.BrickColor = BrickColor.new("Really white")
1922
TheWind.Transparency = 1
1923
TheWind.CanCollide = false
1924
TheWindMESH = Instance.new("SpecialMesh", TheWind)
1925
TheWindMESH.Scale = Vector3.new(4,4,4)
1926
TheWindMESH.MeshId = "rbxassetid://168892432"
1927
TheWindWeld = weldBetween(TheWind,Root)
1928
TheWindWeld.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
1929
TheWind2 = Instance.new("Part", Torso)
1930
TheWind2.Size = Vector3.new(0.5, 0.5, 0.5)
1931
TheWind2.Material = "Neon"
1932
TheWind2.BrickColor = BrickColor.new("Really white")
1933
TheWind2.Transparency = 1
1934
TheWind2.CanCollide = false
1935
TheWindMESH2 = Instance.new("SpecialMesh", TheWind2)
1936
TheWindMESH2.Scale = Vector3.new(6,6,6)
1937
TheWindMESH2.MeshId = "rbxassetid://168892432"
1938
TheWindWeld2 = weldBetween(TheWind2,Root)
1939
TheWindWeld2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
1940
TheWind3 = Instance.new("Part", Torso)
1941
TheWind3.Size = Vector3.new(0.5, 0.5, 0.5)
1942
TheWind3.Material = "Neon"
1943
TheWind3.BrickColor = BrickColor.new("Really white")
1944
TheWind3.Transparency = 1
1945
TheWind3.CanCollide = false
1946
TheWindMESH3 = Instance.new("SpecialMesh", TheWind3)
1947
TheWindMESH3.Scale = Vector3.new(2,2,2)
1948
TheWindMESH3.MeshId = "rbxassetid://168892432"
1949
TheWindWeld3 = weldBetween(TheWind3,Root)
1950
TheWindWeld3.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
1951
quickcour = coroutine.wrap(function()
1952
for i = 1, 25 do
1953
musicnote.Transparency = musicnote.Transparency - 0.1
1954
musicnote2.Transparency = musicnote2.Transparency - 0.1
1955
musicnote3.Transparency = musicnote3.Transparency - 0.1
1956
TheWind.Transparency = TheWind.Transparency - 0.01
1957
TheWind2.Transparency = TheWind2.Transparency - 0.005
1958
TheWind3.Transparency = TheWind3.Transparency - 0.012
1959
wait()
1960
end
1961
end)
1962
quickcour()
1963
quickcour2 = coroutine.wrap(function()
1964
z = 0
1965
while wait() do
1966
TheWindWeld.C0 = TheWindWeld.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0-25),0)
1967
TheWindWeld2.C0 = TheWindWeld2.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0+25),0)
1968
TheWindWeld3.C0 = TheWindWeld3.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0+25),0)
1969
end
1970
end)
1971
quickcour2()
1972
coroutine.wrap(function()
1973
z = 0
1974
while wait() do
1975
if not stopnotes then
1976
z = z + 5
1977
musicnoteWeld.C0 = ROOTLERP.C0 * CFrame.new(0,0,5) * CFrame.Angles(math.rad(z),math.rad(0+3),math.rad(0))
1978
musicnoteWeld.C1 = musicnoteWeld.C1 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0+2),math.rad(0+12),math.rad(0+4))
1979
musicnoteWeld2.C0 = ROOTLERP.C0 * CFrame.new(0,0,4) * CFrame.Angles(math.rad(z),math.rad(0-3),math.rad(0))
1980
musicnoteWeld2.C1 = musicnoteWeld2.C1 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0+5),math.rad(0-7),math.rad(0+6))
1981
musicnoteWeld3.C0 = ROOTLERP.C0 * CFrame.new(0,0,5) * CFrame.Angles(math.rad(z),math.rad(0+12),math.rad(0))
1982
musicnoteWeld3.C1 = musicnoteWeld3.C1 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0-4),math.rad(0+5),math.rad(0+10))
1983
end
1984
end
1985
end)()
1986
1987
local anims = coroutine.wrap(function()
1988
while true do
1989
settime = 0.05
1990
sine = sine + change
1991
if position == "Walking" and attacking == false and running == false then
1992
change = 1
1993
walking = true
1994
hum.WalkSpeed = 32
1995
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(25 - 10 * math.sin(sine/9)), math.rad(0), math.rad(20 - 5 * math.sin(sine/9))), 0.5)
1996
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(25 - 10 * math.sin(sine/9)), math.rad(0), math.rad(-20 + 5 * math.sin(sine/9))), 0.5)
1997
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
1998
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
1999
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
2000
elseif position == "Idle" and attacking == false and running == false then
2001
change = 1
2002
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.5)
2003
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.5)
2004
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.5)
2005
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.5)
2006
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.5)
2007
elseif position == "Running" and attacking == false then
2008
change = 2
2009
hum.WalkSpeed = 26
2010
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.45+0.50*math.cos(sine/5),0.2-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*CFrame.Angles(math.rad(-20+120*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
2011
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.45+0.50*math.cos(sine/5),0.2-0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*CFrame.Angles(math.rad(-20-120*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
2012
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.05, 0) * CFrame.Angles(math.rad(-20 - 4 * math.cos(sine/4)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
2013
HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, .2) * CFrame.Angles(math.rad(-10), math.rad(0 + 20 * Head.RotVelocity.Y / 30, math.cos(15 * math.cos(sine/10))), math.rad(0 - 20 * Head.RotVelocity.Y / 30, math.cos(15 * math.cos(sine/10)))), 0.3)
2014
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.8 - 0.45 * math.cos(sine/4)/2.8, -0.05) * CFrame.Angles(math.rad(-35)*math.sin(sine/4), math.rad(1)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 90, math.cos(25 * math.cos(sine/6))), 0.3)
2015
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.8 + 0.45 * math.cos(sine/4)/2.8, -0.05) * CFrame.Angles(math.rad(35)*math.sin(sine/4), math.rad(-1)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 90, math.cos(25 * math.cos(sine/6))), 0.3)
2016
end
2017
wait()
2018
end
2019
end)
2020
anims()
2021
print("Music brought to life. Made by Supr14")