View difference between Paste ID: BP4BX2Ht and fifPNgj0
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
	print("FE Compatibility code by pizzacruster")
6
	local rp = RealPlayer
7
	script.Parent = rp.Character
8
	
9
	--RemoteEvent for communicating
10
	local Event = Instance.new("RemoteEvent")
11
	Event.Name = "UserInput_Event"
12
13
	--Fake event to make stuff like Mouse.KeyDown work
14
	local function fakeEvent()
15
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16
		t.connect = t.Connect
17
		return t
18
	end
19
20
	--Creating fake input objects with fake variables
21
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
	end}
26
	--Merged 2 functions into one by checking amount of arguments
27
	CAS.UnbindAction = CAS.BindAction
28
29
	--This function will trigger the events that have been :Connect()'ed
30
	local function te(self,ev,...)
31
		local t = m[ev]
32
		if t and t._fakeEvent then
33
			for _,f in pairs(t.Functions) do
34
				f(...)
35
			end
36
		end
37
	end
38
	m.TrigEvent = te
39
	UIS.TrigEvent = te
40
41
	Event.OnServerEvent:Connect(function(plr,io)
42
	    if plr~=rp then return end
43
		m.Target = io.Target
44
		m.Hit = io.Hit
45
		if not io.isMouse then
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local Mouse = Player:GetMouse()
66
	local UIS = game:GetService("UserInputService")
67
	local input = function(io,a)
68
		if a then return end
69
		--Since InputObject is a client-side instance, we create and pass table instead
70
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
71
	end
72
	UIS.InputBegan:Connect(input)
73
	UIS.InputEnded:Connect(input)
74
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
85
	----Sandboxed game object that allows the usage of client-side methods and services
86
	--Real game object
87
	local _rg = game
88
89
	--Metatable for fake service
90
	local fsmt = {
91
		__index = function(self,k)
92
			local s = rawget(self,"_RealService")
93
			if s then return s[k] end
94
		end,
95
		__newindex = function(self,k,v)
96
			local s = rawget(self,"_RealService")
97
			if s then s[k]=v end
98
		end,
99
		__call = function(self,...)
100
			local s = rawget(self,"_RealService")
101
			if s then return s(...) end
102
		end
103
	}
104
	local function FakeService(t,RealService)
105
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
		return setmetatable(t,fsmt)
107
	end
108
109
	--Fake game object
110
	local g = {
111
		GetService = function(self,s)
112
			return self[s]
113
		end,
114
		Players = FakeService({
115
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
		},"Players"),
117
		UserInputService = FakeService(UIS,"UserInputService"),
118
		ContextActionService = FakeService(CAS,"ContextActionService"),
119
	}
120
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
121
	g.service = g.GetService
122
	
123
	g.RunService = FakeService({
124
		RenderStepped = _rg:GetService("RunService").Heartbeat,
125
		BindToRenderStep = function(self,name,_,fun)
126
127
		end,
128
		UnbindFromRenderStep = function(self,name)
129
			self._btrs[name]:Disconnect()
130
		end,
131
	},"RunService")
132
133
	setmetatable(g,{
134
		__index=function(self,s)
135
			return _rg:GetService(s) or typeof(_rg[s])=="function"
136
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
137
		end,
138
		__newindex = fsmt.__newindex,
139
		__call = fsmt.__call
140
	})
141
	--Changing owner to fake player object to support owner:GetMouse()
142
	game,owner = g,g.Players.LocalPlayer
143
end
144
-----------------------------
145
146
--V for antideath V--
147
Player = owner
148
PlayerGui = Player.PlayerGui
149
Cam = workspace.CurrentCamera
150
Backpack = Player.Backpack
151
Character = Player.Character
152
Humanoid = Character.Humanoid
153
Mouse = Player:GetMouse()
154
RootPart = Character["HumanoidRootPart"]
155
Torso = Character["Torso"]
156
Head = Character["Head"]
157
RightArm = Character["Right Arm"]
158
LeftArm = Character["Left Arm"]
159
RightLeg = Character["Right Leg"]
160
LeftLeg = Character["Left Leg"]
161
RootJoint = RootPart["RootJoint"]
162
Neck = Torso["Neck"]
163
RightShoulder = Torso["Right Shoulder"]
164
LeftShoulder = Torso["Left Shoulder"]
165
RightHip = Torso["Right Hip"]
166
LeftHip = Torso["Left Hip"]
167
--End for antideath--
168
169
local plr = owner
170
local char = plr.Character
171
local hum = char.Humanoid
172
local hed = char.Head
173
local Character = plr.Character
174
local Torso = Character.Torso
175
local root = char.HumanoidRootPart
176
local rootj = root.RootJoint
177
local tors = char.Torso
178
local ra = char["Right Arm"]
179
local la = char["Left Arm"]
180
local rl = char["Right Leg"]
181
local ll = char["Left Leg"]
182
local neck = tors["Neck"]
183
local mouse = plr:GetMouse()
184
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
185
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
186
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
187
local maincolor = BrickColor.new("Dark green")
188
exploitable = true
189
combo=1
190
sin=0
191
cha=1
192
choice=1
193
lal=1
194
lal2=1
195
haa=nil
196
aaa=false
197
unleashed=false
198
local Player = game:GetService("Players").LocalPlayer
199
local Character = Player.Character
200
local Humanoid = Character.Humanoid
201
local Mouse = Player:GetMouse()
202
local LeftArm = Character["Left Arm"]
203
local RightArm = Character["Right Arm"]
204
local LeftLeg = Character["Left Leg"]
205
local RightLeg = Character["Right Leg"]
206
local Head = Character.Head
207
local Torso = Character.Torso
208
-------------------------------------------------------
209
--Start Whitelist and Invincibility--
210
-------------------------------------------------------	
211
ff = Instance.new("ForceField",char)
212
ff.Visible = false
213
hum.Name = "Base"
214
hum.MaxHealth = 1.0E298
215
hum.Health = 1.0E298
216
game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
217
  if hum.Health > 0 and hum.Health < inf then
218
    hum.MaxHealth = inf
219
    hum.Health = inf
220
  end
221
end)
222
IT = Instance.new
223
-------------------------------------------------------
224
--End Whitelist and Invincibility--
225
-------------------------------------------------------	
226
227
-------------------------------------------------------
228
--Start Good Stuff--
229
-------------------------------------------------------
230
cam = game.Workspace.CurrentCamera
231
CF = CFrame.new
232
VT = Vector3.new
233
angles = CFrame.Angles
234
attack = false
235
Euler = CFrame.fromEulerAnglesXYZ
236
Rad = math.rad
237
IT = Instance.new
238
BrickC = BrickColor.new
239
Cos = math.cos
240
Acos = math.acos
241
Sin = math.sin
242
Asin = math.asin
243
Abs = math.abs
244
Mrandom = math.random
245
Floor = math.floor
246
cf = CFrame.new
247
-------------------------------------------------------
248
--End Good Stuff--
249
-------------------------------------------------------
250
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
251
RSH, LSH = nil, nil 
252
RW = Instance.new("Weld") 
253
LW = Instance.new("Weld")
254
RH = tors["Right Hip"]
255
LH = tors["Left Hip"]
256
RSH = tors["Right Shoulder"] 
257
LSH = tors["Left Shoulder"] 
258
RSH.Parent = nil 
259
LSH.Parent = nil 
260
RW.Name = "RW"
261
RW.Part0 = tors 
262
RW.C0 = CF(1.5, 0.5, 0)
263
RW.C1 = CF(0, 0.5, 0) 
264
RW.Part1 = ra
265
RW.Parent = tors 
266
LW.Name = "LW"
267
LW.Part0 = tors 
268
LW.C0 = CF(-1.5, 0.5, 0)
269
LW.C1 = CF(0, 0.5, 0) 
270
LW.Part1 = la
271
LW.Parent = tors
272
Effects = {}
273
-------------------------------------------------------
274
--Start HeartBeat--
275
-------------------------------------------------------
276
Player_Size = 1 --Size of the player.
277
ArtificialHB = Instance.new("BindableEvent", script)
278
ArtificialHB.Name = "Heartbeat"
279
script:WaitForChild("Heartbeat")
280
281
frame = 1 / 60
282
tf = 0
283
allowframeloss = false
284
tossremainder = false
285
286
287
lastframe = tick()
288
script.Heartbeat:Fire()
289
290
291
game:GetService("RunService").Heartbeat:connect(function(s, p)
292
	tf = tf + s
293
	if tf >= frame then
294
		if allowframeloss then
295
			script.Heartbeat:Fire()
296
			lastframe = tick()
297
		else
298
			for i = 1, math.floor(tf / frame) do
299
				script.Heartbeat:Fire()
300
			end
301
			lastframe = tick()
302
		end
303
		if tossremainder then
304
			tf = 0
305
		else
306
			tf = tf - frame * math.floor(tf / frame)
307
		end
308
	end
309
end)
310
311
function Eviscerate(dude)
312
	if dude.Name ~= char then
313
		local bgf = IT("BodyGyro", dude.Head)
314
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
315
		local val = IT("BoolValue", dude)
316
		val.Name = "IsHit"
317
		local ds = coroutine.wrap(function()
318
			dude:WaitForChild("Head"):BreakJoints()
319
			wait(0.5)
320
			target = nil
321
			coroutine.resume(coroutine.create(function()
322
				for i, v in pairs(dude:GetChildren()) do
323
					if v:IsA("Accessory") then
324
						v:Destroy()
325
					end
326
					if v:IsA("Humanoid") then
327
						v:Destroy()
328
					end
329
					if v:IsA("CharacterMesh") then
330
						v:Destroy()
331
					end
332
					if v:IsA("Model") then
333
						v:Destroy()
334
					end
335
					if v:IsA("Part") or v:IsA("MeshPart") then
336
						for x, o in pairs(v:GetChildren()) do
337
							if o:IsA("Decal") then
338
								o:Destroy()
339
							end
340
						end
341
						coroutine.resume(coroutine.create(function()
342
							v.Material = "Neon"
343
							v.CanCollide = false
344
							local PartEmmit1 = IT("ParticleEmitter", v)
345
							PartEmmit1.LightEmission = 1
346
							PartEmmit1.Texture = "rbxassetid://284205403"
347
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
348
							PartEmmit1.Rate = 150
349
							PartEmmit1.Lifetime = NumberRange.new(1)
350
							PartEmmit1.Size = NumberSequence.new({
351
								NumberSequenceKeypoint.new(0, 0.75, 0),
352
								NumberSequenceKeypoint.new(1, 0, 0)
353
							})
354
							PartEmmit1.Transparency = NumberSequence.new({
355
								NumberSequenceKeypoint.new(0, 0, 0),
356
								NumberSequenceKeypoint.new(1, 1, 0)
357
							})
358
							PartEmmit1.Speed = NumberRange.new(0, 0)
359
							PartEmmit1.VelocitySpread = 30000
360
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
361
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
362
							local BodPoss = IT("BodyPosition", v)
363
							BodPoss.P = 3000
364
							BodPoss.D = 1000
365
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
366
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
367
							v.Color = maincolor.Color
368
							coroutine.resume(coroutine.create(function()
369
								for i = 0, 49 do
370
									swait(1)
371
									v.Transparency = v.Transparency + 0.08
372
								end
373
								wait(0.5)
374
								PartEmmit1.Enabled = false
375
								wait(3)
376
								v:Destroy()
377
								dude:Destroy()
378
							end))
379
						end))
380
					end
381
				end
382
			end))
383
		end)
384
		ds()
385
	end
386
end
387
388
function Magic(bonuspeed, type, pos, scale, value, color, MType)
389
	local type = type
390
	local rng = Instance.new("Part", char)
391
	rng.Anchored = true
392
	rng.BrickColor = color
393
	rng.CanCollide = false
394
	rng.FormFactor = 3
395
	rng.Name = "Ring"
396
	rng.Material = "Neon"
397
	rng.Size = Vector3.new(1, 1, 1)
398
	rng.Transparency = 0
399
	rng.TopSurface = 0
400
	rng.BottomSurface = 0
401
	rng.CFrame = pos
402
	local rngm = Instance.new("SpecialMesh", rng)
403
	rngm.MeshType = MType
404
	rngm.Scale = scale
405
	local scaler2 = 1
406
	if type == "Add" then
407
		scaler2 = 1 * value
408
	elseif type == "Divide" then
409
		scaler2 = 1 / value
410
	end
411
	coroutine.resume(coroutine.create(function()
412
		for i = 0, 10 / bonuspeed, 0.1 do
413
			swait()
414
			if type == "Add" then
415
				scaler2 = scaler2 - 0.01 * value / bonuspeed
416
			elseif type == "Divide" then
417
				scaler2 = scaler2 - 0.01 / value * bonuspeed
418
			end
419
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
420
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
421
		end
422
		rng:Destroy()
423
	end))
424
end
425
426
427
function FindNearestHead(Position, Distance, SinglePlayer)
428
	if SinglePlayer then
429
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
430
	end
431
	local List = {}
432
	for i, v in pairs(workspace:GetChildren()) do
433
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
434
			table.insert(List, v)
435
		end
436
	end
437
	return List
438
end
439
440
function CameraEnshaking(Length, Intensity)
441
    coroutine.resume(coroutine.create(function()
442
        local intensity = 1 * Intensity
443
        local rotM = 0.01 * Intensity
444
        for i = 0, Length, 0.1 do
445
            swait()
446
            intensity = intensity - 0.05 * Intensity / Length
447
            rotM = rotM - 5.0E-4 * Intensity / Length
448
            hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
449
            cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
450
        end
451
        hum.CameraOffset = Vector3.new(0, 0, 0)
452
    end))
453
end
454
455
function Cso(ID, PARENT, VOLUME, PITCH)
456
	local NSound = nil
457
	coroutine.resume(coroutine.create(function()
458
		NSound = IT("Sound", PARENT)
459
		NSound.Volume = VOLUME
460
		NSound.Pitch = PITCH
461
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
462
		swait()
463
		NSound:play()
464
		game:GetService("Debris"):AddItem(NSound, 10)
465
	end))
466
	return NSound
467
end
468
469
function sun_is_a_deadly_laser()
470
attack = true
471
    Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
472
    Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
473
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
474
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
475
    CameraEnshaking(4, 5)
476
    Cso("811841430", char, 10, 1)
477
    for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
478
        if v:FindFirstChild("Head") then
479
            Eviscerate(v)
480
        end
481
    end
482
attack = false
483
end
484
485
function ohshitimangry()
486
	attack = true
487
angery = true
488
MoreTaunts = true
489
attack = false
490
end
491
492
function swait(num)
493
    if num == 0 or num == nil then
494
        game:service("RunService").Stepped:wait(0)
495
    else
496
        for i = 0, num do
497
            game:service("RunService").Stepped:wait(0)
498
        end
499
    end
500
end
501
502
local sine=0
503
local change = 1
504
local Player_Size = 1
505
if Player_Size ~= 1 then
506
root.Size = root.Size * Player_Size
507
tors.Size = tors.Size * Player_Size
508
hed.Size = hed.Size * Player_Size
509
ra.Size = ra.Size * Player_Size
510
la.Size = la.Size * Player_Size
511
rl.Size = rl.Size * Player_Size
512
ll.Size = ll.Size * Player_Size
513
----------------------------------------------------------------------------------
514
rootj.Parent = root
515
neck.Parent = tors
516
RW.Parent = tors
517
LW.Parent = tors
518
RH.Parent = tors
519
LH.Parent = tors
520
----------------------------------------------------------------------------------
521
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
522
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
523
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
524
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
525
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
526
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
527
----------------------------------------------------------------------------------
528
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
529
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
530
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
531
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
532
--hat.Parent = Character
533
end
534
----------------------------------------------------------------------------------
535
local SONG = 131395300
536
local SONG2 = 131395300
537
local Music = Instance.new("Sound",tors)
538
Music.Volume = 2.5
539
Music.Looped = true
540
Music.Pitch = 1 --Pitcher
541
----------------------------------------------------------------------------------
542
local equipped = false
543
local idle = 0
544
local change = 1
545
local val = 0
546
local toim = 0
547
local idleanim = 0.4
548
local sine = 0
549
---------------------------------------------------------------
550
function clerp(a, b, t)
551
    local qa = {
552
        QuaternionFromCFrame(a)
553
    }
554
    local qb = {
555
        QuaternionFromCFrame(b)
556
    }
557
    local ax, ay, az = a.x, a.y, a.z
558
    local bx, by, bz = b.x, b.y, b.z
559
    local _t = 1 - t
560
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
561
end
562
563
function swait(num)
564
    if num == 0 or num == nil then
565
        game:service("RunService").Stepped:wait(0)
566
    else
567
        for i = 0, num do
568
            game:service("RunService").Stepped:wait(0)
569
        end
570
    end
571
end
572
573
function QuaternionFromCFrame(cf)
574
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
575
    local trace = m00 + m11 + m22
576
    if trace > 0 then
577
        local s = math.sqrt(1 + trace)
578
        local recip = 0.5 / s
579
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
580
    else
581
        local i = 0
582
        if m00 < m11 then
583
            i = 1
584
        end
585
        if m22 > (i == 0 and m00 or m11) then
586
            i = 2
587
        end
588
        if i == 0 then
589
            local s = math.sqrt(m00 - m11 - m22 + 1)
590
            local recip = 0.5 / s
591
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
592
        elseif i == 1 then
593
            local s = math.sqrt(m11 - m22 - m00 + 1)
594
            local recip = 0.5 / s
595
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
596
        elseif i == 2 then
597
            local s = math.sqrt(m22 - m00 - m11 + 1)
598
            local recip = 0.5 / s
599
            return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
600
        end
601
    end
602
end
603
function QuaternionToCFrame(px, py, pz, x, y, z, w)
604
    local xs, ys, zs = x + x, y + y, z + z
605
    local wx, wy, wz = w * xs, w * ys, w * zs
606
    local xx = x * xs
607
    local xy = x * ys
608
    local xz = x * zs
609
    local yy = y * ys
610
    local yz = y * zs
611
    local zz = z * zs
612
    return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
613
end
614
615
function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
616
	local NEWPART = IT("Part")
617
	NEWPART.formFactor = FORMFACTOR
618
	NEWPART.Reflectance = REFLECTANCE
619
	NEWPART.Transparency = TRANSPARENCY
620
	NEWPART.CanCollide = false
621
	NEWPART.Locked = true
622
	NEWPART.Anchored = true
623
	if ANCHOR == false then
624
		NEWPART.Anchored = false
625
	end
626
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
627
	NEWPART.Name = NAME
628
	NEWPART.Size = SIZE
629
	NEWPART.Position = Torso.Position
630
	NEWPART.Material = MATERIAL
631
	NEWPART:BreakJoints()
632
	NEWPART.Parent = PARENT
633
	return NEWPART
634
end
635
636
function MakeForm(PART,TYPE)
637
	if TYPE == "Cyl" then
638
		local MSH = IT("CylinderMesh",PART)
639
	elseif TYPE == "Ball" then
640
		local MSH = IT("SpecialMesh",PART)
641
		MSH.MeshType = "Sphere"
642
	elseif TYPE == "Wedge" then
643
		local MSH = IT("SpecialMesh",PART)
644
		MSH.MeshType = "Wedge"
645
	end
646
end
647
648
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
649
	local NEWWELD = IT(TYPE)
650
	NEWWELD.Part0 = PART0
651
	NEWWELD.Part1 = PART1
652
	NEWWELD.C0 = C0
653
	NEWWELD.C1 = C1
654
	NEWWELD.Parent = PARENT
655
	return NEWWELD
656
end
657
658
local Drink = "onebearnakedwoman"
659
660
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
661
662
ArtificialHB = Instance.new("BindableEvent", script)
663
ArtificialHB.Name = "ArtificialHB"
664
665
script:WaitForChild("ArtificialHB")
666
667
frame = Frame_Speed
668
tf = 0
669
allowframeloss = false
670
tossremainder = false
671
lastframe = tick()
672
script.ArtificialHB:Fire()
673
674
game:GetService("RunService").Heartbeat:connect(function(s, p)
675
	tf = tf + s
676
	if tf >= frame then
677
		if allowframeloss then
678
			script.ArtificialHB:Fire()
679
			lastframe = tick()
680
		else
681
			for i = 1, math.floor(tf / frame) do
682
				script.ArtificialHB:Fire()
683
			end
684
		lastframe = tick()
685
		end
686
		if tossremainder then
687
			tf = 0
688
		else
689
			tf = tf - frame * math.floor(tf / frame)
690
		end
691
	end
692
end)
693
694
695
function Swait(NUMBER)
696
	if NUMBER == 0 or NUMBER == nil then
697
		ArtificialHB.Event:wait()
698
	else
699
		for i = 1, NUMBER do
700
			ArtificialHB.Event:wait()
701
		end
702
	end
703
end
704
--------------------
705
local RbxUtility = LoadLibrary("RbxUtility")
706
local Create = RbxUtility.Create
707
----------------------------
708
function QuaternionSlerp(a, b, t)
709
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
710
    local startInterp, finishInterp
711
    if cosTheta >= 1.0E-4 then
712
        if 1 - cosTheta > 1.0E-4 then
713
            local theta = math.acos(cosTheta)
714
            local invSinTheta = 1 / Sin(theta)
715
            startInterp = Sin((1 - t) * theta) * invSinTheta
716
            finishInterp = Sin(t * theta) * invSinTheta
717
        else
718
            startInterp = 1 - t
719
            finishInterp = t
720
        end
721
    elseif 1 + cosTheta > 1.0E-4 then
722
        local theta = math.acos(-cosTheta)
723
        local invSinTheta = 1 / Sin(theta)
724
        startInterp = Sin((t - 1) * theta) * invSinTheta
725
        finishInterp = Sin(t * theta) * invSinTheta
726
    else
727
        startInterp = t - 1
728
        finishInterp = t
729
    end
730
    return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
731
end
732
---------------------------------------------------------------
733
local naeeym2 = Instance.new("BillboardGui",char)
734
naeeym2.AlwaysOnTop = true
735
naeeym2.Size = UDim2.new(5,35,2,35)
736
naeeym2.StudsOffset = Vector3.new(0,2,0)
737
naeeym2.Adornee = hed
738
naeeym2.Name = "Name"
739
740
local tecks2 = Instance.new("TextLabel",naeeym2)
741
tecks2.BackgroundTransparency = 1
742
tecks2.TextScaled = true
743
tecks2.BorderSizePixel = 0
744
tecks2.Text = ""
745
tecks2.Font = "Antique"
746
tecks2.TextSize = 30
747
tecks2.TextStrokeTransparency = 0
748
tecks2.TextColor3 = BrickColor.new('Crimson').Color
749
tecks2.TextStrokeColor3 = BrickColor.new('Crimson').Color
750
tecks2.Size = UDim2.new(1,0,0.5,0)
751
tecks2.Parent = naeeym2
752
textfag = tecks2
753
tecks2.Text = "By: MasterPiece9876"
754
wait(2)
755
tecks2.Text = "Slight edit by: pizzacruster my friend"
756
wait(1)
757
tecks2.Text = "Do NOT leak or you are in serious trouble."
758
wait(5)
759
tecks2.Text = "AWAKE! MY TRUE POWER!"
760
wait(2)
761-
tecks2.Text = "Illuminati, the evil god"
761+
tecks2.Text = "Neon, The Brother Of God Slayer"
762
coroutine.resume(coroutine.create(function()
763
    while textfag ~= nil do
764
        swait()
765
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
766
        textfag.Rotation = math.random(-3,3)
767
    end
768
end))
769
--------------------------------------------------
770
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
771
	local NEWWELD = IT(TYPE)
772
	NEWWELD.Part0 = PART0
773
	NEWWELD.Part1 = PART1
774
	NEWWELD.C0 = C0
775
	NEWWELD.C1 = C1
776
	NEWWELD.Parent = PARENT
777
	return NEWWELD
778
end
779
780
function MakeForm(PART,TYPE)
781
	if TYPE == "Cyl" then
782
		local MSH = IT("CylinderMesh",PART)
783
	elseif TYPE == "Ball" then
784
		local MSH = IT("SpecialMesh",PART)
785
		MSH.MeshType = "Sphere"
786
	elseif TYPE == "Wedge" then
787
		local MSH = IT("SpecialMesh",PART)
788
		MSH.MeshType = "Wedge"
789
	end
790
end
791
--------------------------
792
IT = Instance.new
793
CF = CFrame.new
794
VT = Vector3.new
795
RAD = math.rad
796
C3 = Color3.new
797
UD2 = UDim2.new
798
BRICKC = BrickColor.new
799
ANGLES = CFrame.Angles
800
EULER = CFrame.fromEulerAnglesXYZ
801
COS = math.cos
802
ACOS = math.acos
803
SIN = math.sin
804
ASIN = math.asin
805
ABS = math.abs
806
MRANDOM = math.random
807
FLOOR = math.floor
808
--------------------------------------------------------
809
    if hed:FindFirstChild("face") then
810
        hed.face:remove()
811
    end
812
        shirt = Instance.new("Shirt", char)
813
        shirt.Name = "Shirt"
814
        pants = Instance.new("Pants", char)
815
        pants.Name = "Pants"
816
        char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537"
817
        char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689"
818
local BC = char["Body Colors"]
819
    BC.HeadColor = BrickColor.new("Crimson")
820
    BC.LeftArmColor = BrickColor.new("Crimson")
821
    BC.LeftLegColor = BrickColor.new("Crimson")
822
    BC.RightArmColor = BrickColor.new("Crimson")
823
    BC.RightLegColor = BrickColor.new("Crimson")
824
    BC.TorsoColor = BrickColor.new("Crimson")
825
---------------------------------------------------------------
826
local Weapon = IT("Model")
827
------------------------------------
828
    local function weldBetween(a, b)
829
        local weldd = Instance.new("ManualWeld")
830
        weldd.Part0 = a
831
        weldd.Part1 = b
832
        weldd.C0 = CFrame.new()
833
        weldd.C1 = b.CFrame:inverse() * a.CFrame
834
        weldd.Parent = a
835
        return weldd
836
    end
837
---------------------
838
function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
839
    local particle = nil
840
    coroutine.resume(coroutine.create(function(PART)
841
        particle = PE:Clone()
842
        Swait()
843
        particle.Rate = 999
844
        particle.Parent = art
845
        particle.Acceleration = accel
846
        if type == "Fire" then
847
            local EyeSizes={
848
                NumberSequenceKeypoint.new(0,size,size/2),
849
                NumberSequenceKeypoint.new(1,size/4,size/8)
850
            }
851
            particle.Size = NumberSequence.new(EyeSizes)
852
        elseif type == "Smoke" then
853
            local EyeSizes={
854
                NumberSequenceKeypoint.new(0,0.5,0),
855
                NumberSequenceKeypoint.new(1,5,0.5)
856
            }
857
            particle.Size = NumberSequence.new(EyeSizes)
858
        elseif type == "Solid" then
859
            local EyeSizes={
860
                NumberSequenceKeypoint.new(0,0.5,0),
861
                NumberSequenceKeypoint.new(1,0.5,0)
862
            }
863
            particle.Size = NumberSequence.new(EyeSizes)
864
        end
865
        particle.Lifetime=NumberRange.new(lifetime)
866
        particle.Drag = drag
867
        if locked == true then
868
            particle.LockedToPart = true
869
        end
870
        particle.Speed = NumberRange.new(speed,speed,speed)
871
        particle.Texture = "http://www.roblox.com/asset/?id=296874871"
872
        particle.Enabled = isenabledbydefault
873
        particle.Color = Color3.new(1,0,0)
874
    end))
875
return particle
876
end
877
-------------------------
878
for i = 1, 15 do
879
	local FACE = CreatePart2(3, Character, "Neon", 0, 0+(i-1)/15.2, "Earth Green", "FaceGradient", VT(1.01,0.58,1.01),false)
880
	FACE.Color = C3(0,0,0)
881
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
882
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
883
end
884
---------------------------------
885
local Eye = CreatePart2(3, Character, "Neon", 0, 0, "Crimson", "Eye", VT(0.6,0.1,1)/2,false)
886
MakeForm(Eye,"Ball")
887
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
888
local Eye = CreatePart2(3, Character, "Neon", 0, 0, "Earth Green", "Eye", VT(0.6,0.1,1)/2,false)
889
MakeForm(Eye,"Ball")
890
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
891
local Eye = CreatePart2(3, Character, "Neon", 0, 0, "Crimson", "Eye", VT(0.1,1,1)/2,false)
892
MakeForm(Eye,"Ball")
893
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
894
local Eye = CreatePart2(3, Character, "Neon", 0, 0, "Earth Green", "Eye", VT(0.1,1,1)/2,false)
895
MakeForm(Eye,"Ball")
896
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
897
--------------------------------------------
898
BTAUNT = Instance.new("Sound", tors)
899
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=160212768"
900
BTAUNT.Volume = 10
901
BTAUNT.Pitch = 1
902
BTAUNT.Looped = false
903
BTAUNT.TimePosition = 0.2
904
-------------------------------------------
905
Instance["ParticleEmitter"] = {
906
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
907
			local fp = Create("ParticleEmitter"){
908
				Parent = Parent,
909
				Color = ColorSequence.new(Color1, Color2),
910
				LightEmission = LightEmission,
911
				Size = Size,
912
				Texture = Texture,
913
				Transparency = Transparency,
914
				ZOffset = ZOffset,
915
				Acceleration = Accel,
916
				Drag = Drag,
917
				LockedToPart = LockedToPart,
918
				VelocityInheritance = VelocityInheritance,
919
				EmissionDirection = EmissionDirection,
920
				Enabled = Enabled,
921
				Lifetime = LifeTime,
922
				Rate = Rate,
923
				Rotation = Rotation,
924
				RotSpeed = RotSpeed,
925
				Speed = Speed,
926
				VelocitySpread = VelocitySpread,
927
			}
928
			return fp
929
		end;
930
	};
931
932
	CreateTemplate = {
933
	
934
	};
935
936
937
wait(1)
938
------------------------------------------------------------------------------------
939
local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142
940
 
941
 
942
-------------------------------------------------------------------------------------
943
-------------------------------------------------------------------------------------
944
 
945
local Color = 39, 70, 45
946
 
947
local Num = 0.5
948
 
949
local Num2 = 4 -------------Mods:1,4,8,10,15,20-------------------------------------
950
local Size = 0.8
951
local Rate = 300
952
-------------------------------------------------------------------------------------
953
local Player = game:GetService("Players").LocalPlayer
954
local Character = Player.Character
955
Torso = Character:WaitForChild'Torso'
956
 
957
local Wing1 = Instance.new("Part",Character)
958
Wing1.FormFactor = Enum.FormFactor.Custom
959
Wing1.Size = Vector3.new(.2, .2, .2)
960
Wing1.Name = "WIng_1"
961
 
962
local fire = Instance.new("ParticleEmitter", Wing1)
963
fire.VelocitySpread = 0
964
fire.Lifetime = NumberRange.new(2)
965
fire.Acceleration = Vector3.new(0, 2, 2)
966
fire.RotSpeed = NumberRange.new(10)
967
fire.Rate = Rate
968
fire.Rotation = NumberRange.new(151515)
969
fire.Name = "Fire"
970
fire.LightEmission = 0.78
971
fire.LockedToPart = true
972
fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
973
fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
974
fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
975
 
976
local Wing2 = Wing1:Clone()
977
Wing2.Parent = Torso
978
local x,y,z = 0,-1,-6
979
 
980
Wld = function(a,b,cf)
981
local Weld = Instance.new('Weld',a)
982
Weld.Part0 = a
983
Weld.Part1 = b
984
Weld.C1 = cf
985
return Weld
986
end
987
 
988
local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
989
local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
990
 
991
 
992
game:GetService("RunService").Stepped:connect(function()
993
--z = 6+math.sin(tick()*2)
994
y = -1+math.sin(tick()*Num)*Num2
995
Wing1.Fire.Acceleration = Vector3.new(x,y,z)
996
Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
997
end)
998
------------------------------------------------------------------------------------------------
999
local Player = game:GetService("Players").LocalPlayer
1000
local Character = Player.Character
1001
Torso = Character:WaitForChild'Torso'
1002
 
1003
local Wing1 = Instance.new("Part",Character)
1004
Wing1.FormFactor = Enum.FormFactor.Custom
1005
Wing1.Size = Vector3.new(.2, .2, .2)
1006
Wing1.Name = "WIng_1"
1007
 
1008
local fire = Instance.new("ParticleEmitter", Wing1)
1009
fire.VelocitySpread = 0
1010
fire.Lifetime = NumberRange.new(2.5)
1011
fire.Acceleration = Vector3.new(0, 4, 4)
1012
fire.RotSpeed = NumberRange.new(10)
1013
fire.Rate = Rate
1014
fire.Rotation = NumberRange.new(151515)
1015
fire.Name = "Fire"
1016
fire.LightEmission = 0.78
1017
fire.LockedToPart = true
1018
fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
1019
fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
1020
fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
1021
 
1022
local Wing2 = Wing1:Clone()
1023
Wing2.Parent = Torso
1024
local x,y,z = 0,-1,-6
1025
 
1026
Wld = function(a,b,cf)
1027
local Weld = Instance.new('Weld',a)
1028
Weld.Part0 = a
1029
Weld.Part1 = b
1030
Weld.C1 = cf
1031
return Weld
1032
end
1033
 
1034
local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
1035
local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
1036
 
1037
print("Loaded")
1038
 
1039
game:GetService("RunService").Stepped:connect(function()
1040
--z = 6+math.sin(tick()*2)
1041
y = -1+math.sin(tick()*Num)*Num2
1042
Wing1.Fire.Acceleration = Vector3.new(x,y,z)
1043
Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
1044
end)
1045
 
1046
------------------------------------------------------------------------------------------------
1047
local Player = game:GetService("Players").LocalPlayer
1048
local Character = Player.Character
1049
Torso = Character:WaitForChild'Torso'
1050
 
1051
local Wing1 = Instance.new("Part",Character)
1052
Wing1.FormFactor = Enum.FormFactor.Custom
1053
Wing1.Size = Vector3.new(.2, .2, .2)
1054
Wing1.Name = "WIng_1"
1055
 
1056
local fire = Instance.new("ParticleEmitter", Wing1)
1057
fire.VelocitySpread = 0
1058
fire.Lifetime = NumberRange.new(2.8)
1059
fire.Acceleration = Vector3.new(0, 4, 4)
1060
fire.RotSpeed = NumberRange.new(10)
1061
fire.Rate = Rate
1062
fire.Rotation = NumberRange.new(151515)
1063
fire.Name = "Fire"
1064
fire.LightEmission = 0.78
1065
fire.LockedToPart = true
1066
fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
1067
fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
1068
fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
1069
 
1070
local Wing2 = Wing1:Clone()
1071
Wing2.Parent = Torso
1072
local x,y,z = 0,-1,-6
1073
 
1074
Wld = function(a,b,cf)
1075
local Weld = Instance.new('Weld',a)
1076
Weld.Part0 = a
1077
Weld.Part1 = b
1078
Weld.C1 = cf
1079
return Weld
1080
end
1081
 
1082
local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
1083
local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
1084
 
1085
print("Loaded")
1086
 
1087
game:GetService("RunService").Stepped:connect(function()
1088
--z = 6+math.sin(tick()*2)
1089
y = -1+math.sin(tick()*Num)*Num2
1090
Wing1.Fire.Acceleration = Vector3.new(x,y,z)
1091
Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
1092
end)
1093
 
1094
------------------------------------------------------------------------------------------------
1095
local Player = game:GetService("Players").LocalPlayer
1096
local Character = Player.Character
1097
Torso = Character:WaitForChild'Torso'
1098
 
1099
local Wing1 = Instance.new("Part",Character)
1100
Wing1.FormFactor = Enum.FormFactor.Custom
1101
Wing1.Size = Vector3.new(.2, .2, .2)
1102
Wing1.Name = "WIng_1"
1103
 
1104
local fire = Instance.new("ParticleEmitter", Wing1)
1105
fire.VelocitySpread = 0
1106
fire.Lifetime = NumberRange.new(3)
1107
fire.Acceleration = Vector3.new(0, 4, 4)
1108
fire.RotSpeed = NumberRange.new(10)
1109
fire.Rate = Rate
1110
fire.Rotation = NumberRange.new(151515)
1111
fire.Name = "Fire"
1112
fire.LightEmission = 0.78
1113
fire.LockedToPart = true
1114
fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
1115
fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
1116
fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
1117
 
1118
local Wing2 = Wing1:Clone()
1119
Wing2.Parent = Torso
1120
local x,y,z = 0,-1,-6
1121
 
1122
Wld = function(a,b,cf)
1123
local Weld = Instance.new('Weld',a)
1124
Weld.Part0 = a
1125
Weld.Part1 = b
1126
Weld.C1 = cf
1127
return Weld
1128
end
1129
 
1130
local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
1131
local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90)))
1132
 
1133
print("Loaded")
1134
 
1135
game:GetService("RunService").Stepped:connect(function()
1136
--z = 6+math.sin(tick()*2)
1137
y = -1+math.sin(tick()*Num)*Num2
1138
Wing1.Fire.Acceleration = Vector3.new(x,y,z)
1139
Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
1140
end)
1141
 
1142
------------------------------------------------------------------------------------------------
1143
local Player = game:GetService("Players").LocalPlayer
1144
local Character = Player.Character
1145
Torso = Character:WaitForChild'Torso'
1146
 
1147
local Wing1 = Instance.new("Part",Character)
1148
Wing1.FormFactor = Enum.FormFactor.Custom
1149
Wing1.Size = Vector3.new(.2, .2, .2)
1150
Wing1.Name = "WIng_1"
1151
 
1152
local fire = Instance.new("ParticleEmitter", Wing1)
1153
fire.VelocitySpread = 0
1154
fire.Lifetime = NumberRange.new(3.1)
1155
fire.Acceleration = Vector3.new(0, 4, 4)
1156
fire.RotSpeed = NumberRange.new(10)
1157
fire.Rate = Rate
1158
fire.Rotation = NumberRange.new(151515)
1159
fire.Name = "Fire"
1160
fire.LightEmission = 0.78
1161
fire.LockedToPart = true
1162
fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
1163
fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
1164
fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
1165
 
1166
local Wing2 = Wing1:Clone()
1167
Wing2.Parent = Torso
1168
local x,y,z = 0,-1,-6
1169
 
1170
Wld = function(a,b,cf)
1171
local Weld = Instance.new('Weld',a)
1172
Weld.Part0 = a
1173
Weld.Part1 = b
1174
Weld.C1 = cf
1175
return Weld
1176
end
1177
 
1178
local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
1179
local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90)))
1180
 
1181
print("Loaded")
1182
 
1183
game:GetService("RunService").Stepped:connect(function()
1184
--z = 6+math.sin(tick()*2)
1185
y = -1+math.sin(tick()*Num)*Num2
1186
Wing1.Fire.Acceleration = Vector3.new(x,y,z)
1187
Wing2.Fire.Acceleration = Vector3.new(x,y,z)
1188
end)
1189
-----------------------------------
1190
Animation_Speed = 3
1191
-----------------------------------
1192
function Taunt()
1193
        attack = true
1194
	hum.WalkSpeed = 0
1195
        BTAUNT:Play()
1196
        repeat
1197
        swait()
1198
        BTAUNT.Parent = tors
1199
        rootj.C0 = clerp(rootj.C0,RootCF * CF(0, 0, -0.03 + 0.05 * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(-35)), 0.1)
1200
        neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 12)), Rad(0), Rad(35)), 0.1)
1201
        RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
1202
        LW.C0 = clerp(LW.C0, CF(-1.3, 0.5 + 0.05 * Sin(sine / 12), -0.3) * angles(Rad(90), Rad(0), Rad(-35)), 0.1)
1203
        RH.C0 = clerp(RH.C0, CF(1, -1 - 0.05 * Cos(sine / 12), 0) * angles(Rad(0), Rad(95), Rad(0)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
1204
        LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.05 * Cos(sine / 12), 0) * angles(Rad(0), Rad(-55), Rad(0)) * angles(Rad(-12), Rad(0), Rad(0)), 0.1)
1205
	until BTAUNT.Playing == false
1206
        attack = false
1207
	hum.WalkSpeed = 16
1208
end
1209
function welp()
1210
        attack = true
1211
    SONG = 131395300
1212
        attack = false
1213
end
1214
function welp2()
1215
        attack = true
1216
    SONG = 334652386
1217
        attack = false
1218
end
1219
function welp3()
1220
        attack = true
1221
    SONG = 2567685582
1222
        attack = false
1223
end
1224
-------------------------------------------
1225
MoreTaunts = false
1226
1227
mouse.Button1Down:connect(function(key)
1228
    if attack == false then
1229
        sun_is_a_deadly_laser()
1230
    end
1231
end)
1232
mouse.KeyDown:connect(function(key)
1233
    if attack == false then
1234
        if key == "t" then
1235
           Taunt()
1236
        elseif key == "z" then
1237
           welp()
1238
        elseif key == "x" then
1239
           welp2()
1240
        elseif key == "c" then
1241
           welp3()
1242
        end
1243
    end
1244
end)
1245
1246
1247
function rayCast(Position, Direction, Range, Ignore)
1248
    return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
1249
end
1250
1251
local GodMode = {}
1252
1253
for _, c in pairs(Character:GetDescendants()) do
1254
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1255
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1256
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1257
		end
1258
		table.insert(GodMode,{c,c.Parent,c.Material,c.Transparency})
1259
	elseif c:IsA("JointInstance") then
1260
		table.insert(GodMode,{c,c.Parent,nil,nil,nil})
1261
	end
1262
end
1263
1264
for e = 1, #GodMode do
1265
	if GodMode[e] ~= nil then
1266
		local STUFF = GodMode[e]
1267
		local PART = STUFF[1]
1268
		local PARENT = STUFF[2]
1269
		local MATERIAL = STUFF[3]
1270
		local COLOR = STUFF[4]
1271
		local TRANSPARENCY = STUFF[5]
1272
		if PART.ClassName == "Part" and PART ~= RootPart then
1273
			PART.Material = MATERIAL
1274
			
1275
			PART.Transparency = TRANSPARENCY
1276
		end
1277
		PART.AncestryChanged:Connect(function()
1278
			PART.Parent = PARENT
1279
		end)
1280
	end
1281
end
1282
1283
function RestoreAllBodyParts()
1284
	Character.Parent = workspace
1285
	for e = 1, #GodMode do
1286
		if GodMode[e] ~= nil then
1287
			local STUFF = GodMode[e]
1288
			local PART = STUFF[1]
1289
			local PARENT = STUFF[2]
1290
			local MATERIAL = STUFF[3]
1291
			local TRANSPARENCY = STUFF[5]
1292
			if PART.ClassName == "Part" and PART ~= RootPart then
1293
				PART.Material = MATERIAL
1294
	      --- Restore()
1295
	    --- Also Regen All Effects
1296
	  --- Get full script Regen
1297
	--- Procceed with Restore function
1298
				PART.Transparency = TRANSPARENCY
1299
			end
1300
			if PART.Parent ~= PARENT then
1301
				Humanoid:remove()
1302
				Humanoid:restore()
1303
				PART.Parent = PARENT
1304
				PART.Parent:restore()
1305
				Humanoid = IT("Humanoid",Character)
1306
			end
1307
		end
1308
	end
1309
end
1310
1311
1312
function AntiDeath()
1313
	Character.Parent = workspace
1314
	for e = 1, #GodMode do
1315
		if GodMode[e] ~= nil then
1316
			local STUFF = GodMode[e]
1317
			local PART = STUFF[1]
1318
			local PARENT = STUFF[2]
1319
			local MATERIAL = STUFF[3]
1320
			local COLOR = STUFF[4]
1321
			local TRANSPARENCY = STUFF[5]
1322
			if PART.ClassName == "Part" and PART ~= RootPart then
1323
				PART.Material = MATERIAL
1324
				
1325
				PART.Transparency = TRANSPARENCY
1326
			end
1327
			if PART.Parent ~= PARENT then
1328
				Humanoid:remove()
1329
				PART.Parent = PARENT
1330
				Humanoid = IT("Humanoid",Character)
1331
			end
1332
		end
1333
	end
1334
end
1335
1336
1337
Humanoid.Died:connect(function()
1338
	AntiDeath()
1339
	RestoreAllBodyParts()
1340
	Humanoid.MaxHealth = inf
1341
	Humanoid.Health = inf
1342
end)
1343
1344
-------------------------------------------------------
1345
--Start Animations--
1346
-------------------------------------------------------
1347
local equipped = false
1348
local idle = 0
1349
local change = 1
1350
local val = 0
1351
local toim = 0
1352
local idleanim = 0.4
1353
hum.Animator.Parent = nil
1354
while true do
1355
    swait()
1356
    AntiDeath()
1357
    RestoreAllBodyParts()
1358
    sine = sine + change
1359
    Music.Parent = char
1360
    local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
1361
    local velderp = root.Velocity.y
1362
    hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
1363
    if equipped == true or equipped == false then
1364
        if attack == false then
1365
            idle = idle + 1
1366
        else
1367
            idle = 0
1368
        end
1369
        if 1 < root.Velocity.y and hitfloor == nil then
1370
            Anim = "Jump"
1371
            if attack == false then
1372
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
1373
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1374
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1375
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1376
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
1377
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
1378
            end
1379
        elseif -1 > root.Velocity.y and hitfloor == nil then
1380
            Anim = "Fall"
1381
            if attack == false then
1382
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
1383
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1384
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
1385
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
1386
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
1387
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
1388
            end
1389
        elseif torvel < 1 and hitfloor ~= nil then
1390
            Anim = "Idle"
1391
            change = 1
1392
            if attack == false then
1393
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
1394
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
1395
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
1396
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
1397
                RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
1398
                LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1399
            end
1400
        elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
1401
            Anim = "Walk"
1402
            change = 1
1403
            if attack == false then
1404
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
1405
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
1406
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1407
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1408
                RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
1409
                LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1410
            end
1411
        end
1412
    end
1413
    Music.SoundId = "rbxassetid://"..SONG
1414
    Music.Looped = true
1415
    Music.Pitch = 1
1416
    Music.Volume = 3
1417
    Music.Parent = tors
1418
    Music:Resume()
1419
    if 0 < #Effects then
1420
        for e = 1, #Effects do
1421
            if Effects[e] ~= nil then
1422
                local Thing = Effects[e]
1423
                if Thing ~= nil then
1424
                    local Part = Thing[1]
1425
                    local Mode = Thing[2]
1426
                    local Delay = Thing[3]
1427
                    local IncX = Thing[4]
1428
                    local IncY = Thing[5]
1429
                    local IncZ = Thing[6]
1430
                    if 1 >= Thing[1].Transparency then
1431
                        if Thing[2] == "Block1" then
1432
                            Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1433
                            local Mesh = Thing[1].Mesh
1434
                            Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1435
                            Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1436
                        elseif Thing[2] == "Block2" then
1437
                            Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1438
                            local Mesh = Thing[7]
1439
                            Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1440
                            Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1441
                        elseif Thing[2] == "Block3" then
1442
                            Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
1443
                            local Mesh = Thing[7]
1444
                            Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1445
                            Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1446
                        elseif Thing[2] == "Cylinder" then
1447
                            local Mesh = Thing[1].Mesh
1448
                            Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1449
                            Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1450
                        elseif Thing[2] == "Blood" then
1451
                            local Mesh = Thing[7]
1452
                            Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1453
                            Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1454
                            Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1455
                        elseif Thing[2] == "Elec" then
1456
                            local Mesh = Thing[1].Mesh
1457
                            Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1458
                            Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1459
                        elseif Thing[2] == "Disappear" then
1460
                            Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1461
                        elseif Thing[2] == "Shatter" then
1462
                            Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1463
                            Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1464
                            Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1465
                            Thing[6] = Thing[6] + Thing[5]
1466
                        end
1467
                    else
1468
                        Part.Parent = nil
1469
                        table.remove(Effects, e)
1470
                    end
1471
                end
1472
            end
1473
        end
1474
    end
1475
    AntiDeath()
1476
    RestoreAllBodyParts()
1477
   end
1478
-------------------------------------------------------
1479
--End Animations And Script--
1480
-------------------------------------------------------