View difference between Paste ID: rbQmuTuY and M3g5mmDJ
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
1+
2-
local Player,game,owner = owner,game
2+
if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
3-
local RealPlayer = Player
3+
print("FE Compatibility code by Mokiros")
4
InternalData = {}
5-
	print("FE made by SoulCah | Dennis <3")
5+
6-
	local rp = RealPlayer
6+
	script.Parent = owner.Character
7-
	script.Parent = rp.Character
7+
8
	Event.Name = "UserInput"
9-
	--RemoteEvent for communicating
9+
	local function NewFakeEvent()
10
		local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
11-
	Event.Name = "UserInput_Event"
11+
		return Fake
12
	end
13-
	--Fake event to make stuff like Mouse.KeyDown work
13+
	local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
14-
	local function fakeEvent()
14+
	local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
15-
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
15+
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
16-
		t.connect = t.Connect
16+
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
17-
		return t
17+
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
18
	local function TriggerEvent(self,Event,...)
19
		local Trigger = Mouse[Event]
20-
	--Creating fake input objects with fake variables
20+
		if Trigger and Trigger.fakeEvent and Trigger.Function then
21-
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
21+
			Trigger.Function(...)
22-
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
22+
23-
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
23+
24-
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
24+
	Mouse.TrigEvent = TriggerEvent
25-
	end}
25+
	UserInputService.TrigEvent = TriggerEvent
26-
	--Merged 2 functions into one by checking amount of arguments
26+
	Event.OnServerEvent:Connect(function(FiredBy,Input)
27-
	CAS.UnbindAction = CAS.BindAction
27+
		if FiredBy.Name ~= owner.Name then end
28
		if Input.MouseEvent then
29-
	--This function will trigger the events that have been :Connect()'ed
29+
			Mouse.Target = Input.Target
30-
	local function te(self,ev,...)
30+
			Mouse.Hit = Input.Hit
31-
		local t = m[ev]
31+
32-
		if t and t._fakeEvent then
32+
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
33-
			for _,f in pairs(t.Functions) do
33+
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then
34-
				f(...)
34+
				return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
35
			end
36
			for _,Action in pairs(ContextActionService.Actions) do
37
				for _,Key in pairs(Action.Keys) do
38-
	m.TrigEvent = te
38+
					if Key==Input.KeyCode then
39-
	UIS.TrigEvent = te
39+
						Action.Function(Action.Name,Input.UserInputState,Input)
40
					end
41-
	Event.OnServerEvent:Connect(function(plr,io)
41+
42-
	    if plr~=rp then return end
42+
43-
		m.Target = io.Target
43+
			Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
44-
		m.Hit = io.Hit
44+
			UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
45-
		if not io.isMouse then
45+
46-
			local b = io.UserInputState == Enum.UserInputState.Begin
46+
47-
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
47+
	InternalData["Mouse"] = Mouse
48-
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
48+
	InternalData["ContextActionService"] = ContextActionService
49
	InternalData["UserInputService"] = UserInputService
50-
			for _,t in pairs(CAS.Actions) do
50+
	Event.Parent = NLS([[
51-
				for _,k in pairs(t.Keys) do
51+
		local Player = owner
52-
					if k==io.KeyCode then
52+
		local Event = script:WaitForChild("UserInput")
53-
						t.Function(t.Name,io.UserInputState,io)
53+
		local UserInputService = game:GetService("UserInputService")
54
		local Mouse = Player:GetMouse()
55
		local Input = function(Input,gameProcessedEvent)
56
			if gameProcessedEvent then return end
57-
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
57+
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
58-
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
58+
59-
	    end
59+
		UserInputService.InputBegan:Connect(Input)
60
		UserInputService.InputEnded:Connect(Input)
61-
	Event.Parent = NLS([==[
61+
		local Hit,Target
62-
	local Player = game:GetService("Players").LocalPlayer
62+
		while wait(1/30) do
63-
	local Event = script:WaitForChild("UserInput_Event")
63+
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
64
				Hit,Target = Mouse.Hit,Mouse.Target
65-
	local Mouse = Player:GetMouse()
65+
				Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
66-
	local UIS = game:GetService("UserInputService")
66+
67-
	local input = function(io,a)
67+
68-
		if a then return end
68+
	]],owner.Character)
69-
		--Since InputObject is a client-side instance, we create and pass table instead
69+
70-
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
70+
RealGame = game;game = setmetatable({},{
71
	__index = function (self,Index)
72-
	UIS.InputBegan:Connect(input)
72+
		local Sandbox = function (Thing)
73-
	UIS.InputEnded:Connect(input)
73+
			if Thing:IsA("Player") then
74
				local RealPlayer = Thing
75-
	local h,t
75+
				return setmetatable({},{
76-
	--Give the server mouse data 30 times every second, but only if the values changed
76+
					__index = function (self,Index)
77-
	--If player is not moving their mouse, client won't fire events
77+
						local Type = type(RealPlayer[Index])
78-
	while wait(1/30) do
78+
						if Type == "function" then
79-
		if h~=Mouse.Hit or t~=Mouse.Target then
79+
							if Index:lower() == "getmouse" or Index:lower() == "mouse" then
80-
			h,t=Mouse.Hit,Mouse.Target
80+
								return function (self)
81-
			Event:FireServer({isMouse=true,Target=t,Hit=h})
81+
									return InternalData["Mouse"]
82
								end
83-
	end]==],Player.Character)
83+
84
							return function (self,...)
85-
	----Sandboxed game object that allows the usage of client-side methods and services
85+
								return RealPlayer[Index](RealPlayer,...)
86-
	--Real game object
86+
87-
	local _rg = game
87+
88
							if Index == "PlrObj" then
89-
	--Metatable for fake service
89+
								return RealPlayer
90-
	local fsmt = {
90+
91-
		__index = function(self,k)
91+
							return RealPlayer[Index]
92-
			local s = rawget(self,"_RealService")
92+
93-
			if s then return s[k] end
93+
					end;
94-
		end,
94+
					__tostring = function(self)
95-
		__newindex = function(self,k,v)
95+
						return RealPlayer.Name
96-
			local s = rawget(self,"_RealService")
96+
97-
			if s then s[k]=v end
97+
98-
		end,
98+
99-
		__call = function(self,...)
99+
100-
			local s = rawget(self,"_RealService")
100+
		if RealGame[Index] then
101-
			if s then return s(...) end
101+
			local Type = type(RealGame[Index])
102
			if Type == "function" then
103-
	}
103+
				if Index:lower() == "getservice" or Index:lower() == "service" then
104-
	local function FakeService(t,RealService)
104+
					return function (self,Service)
105-
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
105+
						if Service:lower() == "players" then
106-
		return setmetatable(t,fsmt)
106+
							return setmetatable({},{
107
								__index = function (self2,Index2)
108
									local RealService = RealGame:GetService(Service)
109-
	--Fake game object
109+
									local Type2 = type(Index2)
110-
	local g = {
110+
									if Type2 == "function" then
111-
		GetService = function(self,s)
111+
										return function (self,...)
112-
			return self[s]
112+
											return RealService[Index2](RealService,...)
113-
		end,
113+
										end
114-
		Players = FakeService({
114+
									else
115-
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
115+
										if Index2:lower() == "localplayer" then
116-
		},"Players"),
116+
											return Sandbox(owner)
117-
		UserInputService = FakeService(UIS,"UserInputService"),
117+
										end
118-
		ContextActionService = FakeService(CAS,"ContextActionService"),
118+
										return RealService[Index2]
119-
	}
119+
									end
120-
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
120+
								end;
121-
	g.service = g.GetService
121+
								__tostring = function(self)
122
									return RealGame:GetService(Service).Name
123-
	g.RunService = FakeService({
123+
								end
124-
		RenderStepped = _rg:GetService("RunService").Heartbeat,
124+
125-
		BindToRenderStep = function(self,name,_,fun)
125+
						elseif Service:lower() == "contextactionservice" then
126-
			self._btrs[name] = self.Heartbeat:Connect(fun)
126+
							return InternalData["ContextActionService"]
127-
		end,
127+
						elseif Service:lower() == "contextactionservice" then
128-
		UnbindFromRenderStep = function(self,name)
128+
							return InternalData["UserInputService"]
129-
			self._btrs[name]:Disconnect()
129+
						elseif Service:lower() == "runservice" then
130-
		end,
130+
							return setmetatable({},{
131-
	},"RunService")
131+
								__index = function(self2,Index2)
132
									local RealService = RealGame:GetService(Service)
133-
	setmetatable(g,{
133+
									local Type2 = type(Index2)
134-
		__index=function(self,s)
134+
									if Type2 == "function" then
135-
			return _rg:GetService(s) or typeof(_rg[s])=="function"
135+
										return function (self,...)
136-
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
136+
											return RealService[Index2](RealService,...)
137-
		end,
137+
										end
138-
		__newindex = fsmt.__newindex,
138+
									else
139-
		__call = fsmt.__call
139+
										if Index2:lower() == "bindtorenderstep" then
140-
	})
140+
											return function (self,Name,Priority,Function)
141-
	--Changing owner to fake player object to support owner:GetMouse()
141+
												return RealGame:GetService("RunService").Stepped:Connect(Function)
142-
	game,owner = g,g.Players.LocalPlayer
142+
											end
143
										end
144-
local plr = game:GetService("Players").LocalPlayer
144+
										if Index2:lower() == "renderstepped" then
145-
local char = plr.Character
145+
											return RealService["Stepped"]
146
										end
147-
function FindInTable(t, n)
147+
										return RealService[Index2]
148-
    for i,v in pairs(t) do
148+
									end
149-
        if v == n then
149+
								end
150-
            return true
150+
151
						else
152
							return RealGame:GetService(Service)
153-
    return false
153+
154
					end
155-
--Transformaaaaation--
155+
156-
char["Left Arm"].BrickColor = BrickColor.new("Medium stone")
156+
				return function (self,...)
157-
char["Right Arm"].BrickColor = BrickColor.new("Medium stone")
157+
					return RealGame[Index](RealGame,...)
158-
char.Head.BrickColor = BrickColor.new("Medium stone")
158+
159-
char["Left Leg"].BrickColor = BrickColor.new("Medium stone")
159+
160-
char["Right Leg"].BrickColor = BrickColor.new("Medium stone")
160+
				if game:GetService(Index) then
161
					return game:GetService(Index)
162-
for i,v in pairs(char:children'') do
162+
163-
    local toremove = {"CharacterMesh", "Shirt", "Pants", "ShirtGraphic", "Accessory"}
163+
				return RealGame[Index]
164-
    if FindInTable(toremove, v.ClassName) then v:Destroy() end
164+
165-
    if v.ClassName == "BodyColors" then
165+
166-
        v.HeadColor = BrickColor.new("Medium stone")
166+
			return nil
167-
        v.LeftArmColor = BrickColor.new("Medium stone")
167+
168-
        v.LeftLegColor = BrickColor.new("Medium stone")
168+
169-
        v.RightArmColor = BrickColor.new("Medium stone")
169+
});Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
170-
        v.RightLegColor = BrickColor.new("Medium stone")
170+
print("Complete! Running...")
171-
        v.TorsoColor = BrickColor.new("Medium stone")
171+
172
173
--//Paste script below this line.
174
175-
local face = char.Head:FindFirstChild'face' if face then face.Texture = "http://www.roblox.com/asset/?id=13038247" end
175+
warn([[Galaxy Glitcher Loaded.
176-
Instance.new("Shirt", char).ShirtTemplate = "http://www.roblox.com/asset/?id=120599107"
176+
The third glitcher, once as the core is now new.
177-
Instance.new("Pants", char).PantsTemplate = "http://www.roblox.com/asset/?id=281982286"
177+
178-
local function CreateHat(name, meshid, textureid)
178+
Created by Tc
179-
    local h = Instance.new("Accessory")
179+
]])
180-
    h.Name = name
180+
181-
    local han = Instance.new("Part", h)
181+
---------Wielder list as of OCs:---------
182-
    han.Name = "Handle"
182+
-- ??? (Nothing such as this yet, but wields all the Glitchers. What you're asking it's the creator.)
183-
    local mesh = Instance.new("SpecialMesh", han)
183+
-- Void Emily (OC of mine, can lead to any modes and mainly leading to LOVE and HARMONY, she's obviously shy sometimes.)
184-
    mesh.Name = "Mesh"
184+
-- Lunaria Floodio (Second OC, can lead to any modes.)
185-
    mesh.MeshId = meshid
185+
-- Gacharix (Third OC, can lead to any modes and mainly leading to AZURE X, very corrupted person.)
186-
    mesh.TextureId = textureid
186+
-----------------------------------------
187-
    return h,han,mesh
187+
188
print([[Icons:
189-
hum = char:FindFirstChildOfClass'Humanoid'
189+
! = New
190-
local h,han,mesh = CreateHat("2LEGITOwl", "http://www.roblox.com/asset/?id=329798434", "http://www.roblox.com/asset/?id=329790966")
190+
? = Spoilers
191-
han.Size = Vector3.new(1, 1, 1)
191+
* = Exclusivity
192-
mesh.Scale = Vector3.new(0.3, 0.3, 0.3)
192+
C = Changes
193-
h.AttachmentPos = Vector3.new(1.1, 0.38, 0)
193+
194-
hum:AddAccessory(h)
194+
]])
195-
h,han,mesh = CreateHat("RobloxScarf", "http://www.roblox.com/asset/?id=138054351", "http://www.roblox.com/asset/?id=138052904")
195+
warn([[V 3.2 Update Log:
196-
mesh.Scale = Vector3.new(3, 3, 3)
196+
C - Huge revamp of wings.
197-
han.Size = Vector3.new(1.9, 2, 2)
197+
C - Walk and running are now tiltable on where you go on a side.
198-
h.AttachmentPos = Vector3.new(0, 1.54, 0.1)
198+
C - Huge slight changes on all of the mode's idles.
199-
hum:AddAccessory(h)
199+
C - Even more effect changes.
200-
h,han,mesh = CreateHat("Ultra-Fabulous Hair", "http://www.roblox.com/asset/?id=16627529", "http://www.roblox.com/asset/?id=16627494")
200+
!C* - Love mode has been added.
201-
mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
201+
!C* - Love mode's transformation added..
202-
han.Size = Vector3.new(2, 2, 2)
202+
!* - Love mode's taunt added... (why.. ;~;)
203-
hum:AddAccessory(h)
203+
C - Death effect has been improved.
204-
wait(1/60)
204+
C - Binary's Z is imporvably changed
205-
-- Created by Nebula_Zorua --
205+
? - Nothing seems to be new yet..
206-
-- Killbot --
206+
? - Some modes will have moves sooner.
207-
-- A cyborg that got taken over by a virus --
207+
208-
-- Discord: Nebula the Zorua#6969
208+
Commands for visualiser mode: play/, vol/, pitch/, skipto/, telltime/]])
209-
-- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
209+
---- IMPORTANT READING:
210
---- Sources and functions might be taken from others
211
plr = game.Players.LocalPlayer
212-
--// Initializing \\--
212+
213-
local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
213+
script.Parent = workspace.CurrentCamera
214-
local Plrs = S.Players
214+
plr.CharacterAdded:connect(function()
215-
local Plr = Plrs.LocalPlayer
215+
	script.Disabled = true
216-
local Char = Plr.Character
216+
	script:destroy()	
217-
local Hum = Char:FindFirstChildOfClass'Humanoid'
217+
218-
local RArm = Char["Right Arm"]
218+
219-
local LArm = Char["Left Arm"]
219+
char = plr.Character
220-
local RLeg = Char["Right Leg"]
220+
hum = char.Humanoid
221-
local LLeg = Char["Left Leg"]	
221+
local cam = game.Workspace.CurrentCamera
222-
local Root = Char:FindFirstChild'HumanoidRootPart'
222+
Camera = cam
223-
local Torso = Char.Torso
223+
local CamInterrupt = false
224-
local Head = Char.Head
224+
local TwoD = false
225-
local NeutralAnims = true
225+
local TargetInfo = {nil, nil}
226-
local Attack = false
226+
cam.CameraType = "Custom"
227-
local BloodPuddles = {}
227+
t = char.Torso
228-
local Effects = {}
228+
h = char.Head
229-
local Debounces = {Debounces={}}
229+
ra = char["Right Arm"]
230-
local Mouse = Plr:GetMouse()
230+
la = char["Left Arm"]
231-
local Hit = {}
231+
rl = char["Right Leg"]
232-
local Sine = 0
232+
ll = char["Left Leg"]
233-
local Idle = 0
233+
tors = char.Torso
234-
local Change = 1
234+
lleg = char["Left Leg"]
235-
local FLArm,FRArm,FRArmW,FLArmW
235+
root = char.HumanoidRootPart
236-
local Stunned = {}
236+
hed = char.Head
237-
local VoidSB = (game.PlaceId == 843468296) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB
237+
rleg = char["Right Leg"]
238-
--// Debounce System \\--
238+
rarm = char["Right Arm"]
239
larm = char["Left Arm"]
240
radian = math.rad
241-
function Debounces:New(name,cooldown)
241+
random = math.random
242-
	local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
242+
Vec3 = Vector3.new
243-
	setmetatable(aaaaa,{__index = Debounces})
243+
Inst = Instance.new
244-
	Debounces.Debounces[name] = aaaaa
244+
cFrame = CFrame.new
245-
	return aaaaa
245+
Euler = CFrame.fromEulerAnglesXYZ
246
vt = Vector3.new
247
bc = BrickColor.new
248-
function Debounces:Use(overrideUsable)
248+
br = BrickColor.random
249-
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
249+
it = Instance.new
250-
	if(self.Usable or overrideUsable)then
250+
cf = CFrame.new
251-
		self.Usable = false
251+
252-
		self.CoolingDown = true
252+
253-
		local LastUse = time()
253+
local Booleans = {
254-
		self.LastUse = LastUse
254+
  CamFollow = true,
255-
		delay(self.Cooldown or 2,function()
255+
  GyroUse = true
256-
			if(self.LastUse == LastUse)then
256+
}
257-
				self.CoolingDown = false
257+
258-
				self.Usable = true
258+
function lerp(object, newCFrame, alpha)
259
  return object:lerp(newCFrame, alpha)
260-
		end)
260+
261
262
local Directer = Inst("BodyGyro", root)
263
Directer.MaxTorque = Vec3(0, 0, 0)
264-
function Debounces:Get(name)
264+
Directer.P = 600000
265-
	assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
265+
local CPart = Inst("Part")
266-
	for i,v in next, Debounces.Debounces do
266+
CPart.Anchored = true
267-
		if(i == name)then
267+
CPart.CanCollide = false
268-
			return v;
268+
CPart.Locked = true
269
CPart.Transparency = 1
270
271
local rainbowmode = false
272
local chaosmode = false
273-
function Debounces:GetProgressPercentage()
273+
local duringend = false
274-
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
274+
local ModeOfGlitch = 1
275-
	if(self.CoolingDown and not self.Usable)then
275+
276-
		return math.max(
276+
local kan = Instance.new("Sound",char)
277-
			math.floor(
277+
kan.Volume = 1.25
278-
				(
278+
kan.TimePosition = 0
279-
					(time()-self.LastUse)/self.Cooldown or 2
279+
kan.PlaybackSpeed = 1
280-
				)*100
280+
kan.Pitch = 1.01
281-
			)
281+
kan.SoundId = "rbxassetid://435773595"
282-
		)
282+
kan.Name = "wreckeda"
283-
	else
283+
kan.Looped = true
284-
		return 100
284+
kan:Play()
285
286
local currentThemePlaying = kan.SoundId
287
local currentPitch = kan.Pitch
288-
--// Shortcut Variables \\--
288+
local currentVol = kan.Volume
289-
local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
289+
function newTheme(ID,timepos,pitch,vol)
290-
local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
290+
local kanz = kan
291-
local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
291+
--kanz:Stop()
292-
local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
292+
kanz.Volume = vol
293-
local R3 = {N=Region3.new}
293+
--kanz.TimePosition = timepos
294-
local De = S.Debris
294+
kanz.PlaybackSpeed = pitch
295-
local WS = workspace
295+
kanz.Pitch = pitch
296-
local Lght = S.Lighting
296+
kanz.SoundId = ID
297-
local RepS = S.ReplicatedStorage
297+
kanz.Name = "wrecked"
298-
local IN = Instance.new
298+
kanz.Looped = true
299
currentThemePlaying = kanz.SoundId
300-
--// Extended ROBLOX tables \\--
300+
currentVol = kanz.Volume
301-
local Instance = setmetatable({AllChildren = function(where,callback,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do callback(v) end end,  ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
301+
currentPitch = kanz.Pitch
302-
--// Customization \\--
302+
--kanz:Play()
303
--coroutine.resume(coroutine.create(function()
304-
local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
304+
--wait(0.05)
305-
local Remove_Hats = false
305+
--end))
306-
local Remove_Clothing = false
306+
307-
local PlayerSize = 1
307+
308-
local DamageColor = BrickColor.new'Really red'
308+
309-
local MusicID = 1030796589
309+
function newThemeCust(ID,timepos,pitch,vol)
310-
local MusicPitch = 1
310+
local kanz = kan
311-
local BloodID = "rbxassetid://284205403"
311+
kanz:Stop()
312-
local BloodColor = BrickColor.new'Crimson'
312+
kanz.Volume = vol
313-
local BloodMaterial = Enum.Material.SmoothPlastic
313+
kanz.TimePosition = timepos
314
kanz.PlaybackSpeed = pitch
315-
--// Weapon and GUI creation, and Character Customization \\--
315+
kanz.Pitch = pitch
316
kanz.SoundId = ID
317-
if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
317+
kanz.Name = "wrecked"
318-
if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
318+
kanz.Looped = true
319-
local Effects = IN("Folder",Char)
319+
currentThemePlaying = kanz.SoundId
320-
Effects.Name = "Effects"
320+
currentVol = kanz.Volume
321
currentPitch = kanz.Pitch
322
kanz:Play()
323
coroutine.resume(coroutine.create(function()
324
wait(0.05)
325
end))
326
end
327
328
local mutedtog = false
329
330
function CameraEnshaking(Length,Intensity)
331
coroutine.resume(coroutine.create(function()
332
      local intensity = 1*Intensity
333
      local rotM = 0.01*Intensity
334-
CyborgArm = New("Model",Char,"CyborgArm",{})
334+
for i = 0, Length, 0.1 do
335-
Handle = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.0500015, 2.02999949, 1.07999992),CFrame = CFrame.new(-138.347275, 2.99473095, 41.7816849, 0.999635339, 8.27677286e-06, 0.0270056836, -0.000191000072, 0.999977112, 0.00676353322, -0.0270050094, -0.00676622428, 0.999612451),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),})
335+
swait()
336-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
336+
intensity = intensity - 0.05*Intensity/Length
337-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
337+
rotM = rotM - 0.0005*Intensity/Length
338-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
338+
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
339-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
339+
      cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
340-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
340+
341-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
341+
Humanoid.CameraOffset = Vec3(0, 0, 0)
342-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
342+
end))
343-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
343+
344-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
344+
CamShake=function(Part,Distan,Power,Times) 
345-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
345+
local de=Part.Position
346-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Shape = Enum.PartType.Ball,Size = Vector3.new(1.16000044, 1.16000044, 1.16000044),CFrame = CFrame.new(-138.563065, 3.74006891, 41.8137894, 1, -1.23944917e-22, 1.77533366e-09, -1.48608469e-11, 1, 9.3131769e-10, -1.80443749e-09, 9.31322575e-10, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),})
346+
for i,v in pairs(workspace:children()) do
347-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
347+
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
348-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
348+
for _,c in pairs(v:children()) do
349-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
349+
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
350-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
350+
local Noob=v.Humanoid
351-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
351+
if Noob~=nil then
352-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
352+
coroutine.resume(coroutine.create(function()
353-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
353+
FV = Instance.new("BoolValue", Noob)
354-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
354+
FV.Name = "CameraShake"
355-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
355+
for ShakeNum=1,Times do
356-
Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
356+
swait()
357-
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),})
357+
local ef=Power
358
  if ef>=1 then
359-
for _,v in next, CyborgArm:children() do
359+
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
360-
	v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
360+
  else
361
   ef=Power*10
362
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
363-
pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye1.Material = 'Glass' end)
363+
  end	
364-
pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye2.Material = 'Glass' end)
364+
365-
pcall(function() Char.LeftWing.BrickColor = BrickColor.new'Really red' Char.LeftWing.Transparency = 0.5 end)
365+
Humanoid.CameraOffset = Vector3.new(0,0,0)
366
FV:Destroy()
367
end))
368-
if(PlayerSize ~= 1)then
368+
CameraShake(Times, Power, Noob)
369-
	for _,v in next, Char:GetDescendats() do
369+
370-
		if(v:IsA'BasePart')then
370+
371-
			v.Size = v.Size * PlayerSize
371+
372
end
373
end
374
end
375
376-
--// Instance Creation Functions \\--
376+
local toggleTag = true
377
local bilguit = Instance.new("BillboardGui", hed)
378-
function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
378+
bilguit.Adornee = nil
379-
	local Sound = IN("Sound")
379+
bilguit.Name = "ModeName"
380-
	Sound.SoundId = "rbxassetid://".. tostring(id or 0)
380+
bilguit.Size = UDim2.new(4, 0, 1.2, 0)
381-
	Sound.Pitch = pitch or 1
381+
bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
382-
	Sound.Volume = volume or 1
382+
local modet = Instance.new("TextLabel", bilguit)
383-
	Sound.Looped = looped or false
383+
modet.Size = UDim2.new(10/2, 0, 7/2, 0)
384-
	if(autoPlay)then
384+
modet.FontSize = "Size8"
385-
		coroutine.wrap(function()
385+
modet.TextScaled = true
386-
			repeat wait() until Sound.IsLoaded
386+
modet.TextTransparency = 0
387-
			Sound.Playing = autoPlay or false
387+
modet.BackgroundTransparency = 1 
388-
		end)()
388+
modet.TextTransparency = 0
389
modet.TextStrokeTransparency = 0
390-
	if(not looped and effect)then
390+
modet.Font = "Code"
391-
		Sound.Ended:connect(function()
391+
modet.TextStrokeColor3 = Color3.new(0,0,0)
392-
			Sound.Volume = 0
392+
modet.TextColor3 = Color3.new(1,1,1)
393-
			Sound:destroy()
393+
modet.Text = "Enlightened"
394-
		end)
394+
395-
	elseif(effect)then
395+
396-
		warn("Sound can't be looped and a sound effect!")
396+
function chatfunc(text,color,typet,font,timeex)
397
local chat = coroutine.wrap(function()
398-
	Sound.Parent =parent or Torso
398+
if Character:FindFirstChild("TalkingBillBoard")~= nil then
399-
	return Sound
399+
Character:FindFirstChild("TalkingBillBoard"):destroy()
400
end
401-
function Part(parent,color,material,size,cframe,anchored,cancollide)
401+
local naeeym2 = Instance.new("BillboardGui",Character)
402-
	local part = IN("Part")
402+
naeeym2.Size = UDim2.new(0,100,0,40)
403-
	part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
403+
naeeym2.StudsOffset = Vector3.new(0,3,0)
404-
	part.Material = material or Enum.Material.SmoothPlastic
404+
naeeym2.Adornee = Character.Head
405-
	part.TopSurface,part.BottomSurface=10,10
405+
naeeym2.Name = "TalkingBillBoard"
406-
	part.Size = size or V3.N(1,1,1)
406+
local tecks2 = Instance.new("TextLabel",naeeym2)
407-
	part.CFrame = cframe or CF.N(0,0,0)
407+
tecks2.BackgroundTransparency = 1
408-
	part.CanCollide = cancollide or false
408+
tecks2.BorderSizePixel = 0
409-
	part.Anchored = anchored or false
409+
tecks2.Text = ""
410-
	part.Parent = parent or Char
410+
tecks2.Font = font
411-
	return part
411+
tecks2.TextSize = 30
412
tecks2.TextStrokeTransparency = 0
413
tecks2.TextColor3 = color
414-
function Mesh(parent,meshtype,meshid,textid,scale,offset)
414+
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
415-
	local part = IN("SpecialMesh")
415+
tecks2.Size = UDim2.new(1,0,0.5,0)
416-
	part.MeshId = meshid or ""
416+
local tecks3 = Instance.new("TextLabel",naeeym2)
417-
	part.TextureId = textid or ""
417+
tecks3.BackgroundTransparency = 1
418-
	part.Scale = scale or V3.N(1,1,1)
418+
tecks3.BorderSizePixel = 0
419-
	part.Offset = offset or V3.N(0,0,0)
419+
tecks3.Text = ""
420-
	part.MeshType = meshtype or Enum.MeshType.Sphere
420+
tecks3.Font = font
421-
	part.Parent = parent
421+
tecks3.TextSize = 30
422-
	return part
422+
tecks3.TextStrokeTransparency = 0
423
if typet == "Inverted" then
424
tecks3.TextColor3 = Color3.new(0,0,0)
425-
NewInstance = function(instance,parent,properties)
425+
tecks3.TextStrokeColor3 = color
426-
	local inst = Instance.new(instance,parent)
426+
elseif typet == "Normal" then
427-
	if(properties)then
427+
tecks3.TextColor3 = color
428-
		for i,v in next, properties do
428+
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
429-
			pcall(function() inst[i] = v end)
429+
430
tecks3.Size = UDim2.new(1,0,0.5,0)
431
coroutine.resume(coroutine.create(function()
432-
	return inst;
432+
433
swait(1)
434
if chaosmode == true then
435-
--// Music Creation \\--
435+
tecks2.TextColor3 = BrickColor.random().Color
436-
local Music = Sound(Char,MusicID,MusicPitch,3,true,false,true)
436+
tecks3.TextStrokeColor3 = BrickColor.random().Color
437-
Music.Name = 'Music'
437+
438
end
439-
--// Stop animations \\--
439+
end))
440-
for _,v in next, Hum:GetPlayingAnimationTracks() do
440+
modet.TextTransparency = modet.TextTransparency  + 1
441-
	v:Stop();
441+
modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
442
for i = 0, 74*timeex do
443
swait()
444-
pcall(game.Destroy,Char:FindFirstChild'Animate')
444+
modet.TextTransparency = 1
445-
pcall(game.Destroy,Hum:FindFirstChild'Animator')
445+
modet.TextStrokeTransparency = 1
446
tecks2.Text = text
447-
--// Joints \\--
447+
tecks3.Text = text
448
end
449-
local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
449+
local randomrot = math.random(1,2)
450-
local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
450+
if randomrot == 1 then
451-
local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
451+
for i = 1, 50 do
452-
local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
452+
swait()
453-
local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
453+
tecks2.Text = text
454-
local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
454+
tecks3.Text = text
455-
local HW = NewInstance('Motor',Char,{Part0=Handle,Part1=RArm})
455+
modet.TextTransparency = modet.TextTransparency - .02
456
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
457-
local LSC0 = LS.C0
457+
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
458-
local RSC0 = RS.C0
458+
tecks2.TextTransparency = tecks2.TextTransparency + .04
459-
local NKC0 = NK.C0
459+
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
460-
local LHC0 = LH.C0
460+
tecks3.TextTransparency = tecks2.TextTransparency + .04
461-
local RHC0 = RH.C0
461+
462-
local RJC0 = RJ.C0
462+
elseif randomrot == 2 then
463
	for i = 1, 50 do
464-
--// Artificial HB \\--
464+
swait()
465
tecks2.Text = text
466-
local ArtificialHB = IN("BindableEvent", script)
466+
tecks3.Text = text
467-
ArtificialHB.Name = "Heartbeat"
467+
modet.TextTransparency = modet.TextTransparency - .02
468
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
469-
script:WaitForChild("Heartbeat")
469+
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
470
tecks2.TextTransparency = tecks2.TextTransparency + .04
471-
local tf = 0
471+
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
472-
local allowframeloss = false
472+
tecks3.TextTransparency = tecks2.TextTransparency + .04
473-
local tossremainder = false
473+
474-
local lastframe = tick()
474+
475-
local frame = 1/Frame_Speed
475+
modet.TextTransparency = 0
476-
ArtificialHB:Fire()
476+
modet.TextStrokeTransparency = 0
477
if toggleTag == false then
478-
game:GetService("RunService").Heartbeat:connect(function(s, p)
478+
modet.TextTransparency = 1
479-
	tf = tf + s
479+
modet.TextStrokeTransparency = 1
480-
	if tf >= frame then
480+
481-
		if allowframeloss then
481+
naeeym2:Destroy()
482-
			script.Heartbeat:Fire()
482+
483-
			lastframe = tick()
483+
chat()
484
end
485-
			for i = 1, math.floor(tf / frame) do
485+
486-
				ArtificialHB:Fire()
486+
487
local Create = LoadLibrary("RbxUtility").Create
488-
			lastframe = tick()
488+
489
CFuncs = {	
490-
		if tossremainder then
490+
	["Part"] = {
491-
			tf = 0
491+
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
492
			local Part = Create("Part"){
493-
			tf = tf - frame * math.floor(tf / frame)
493+
				Parent = Parent,
494
				Reflectance = Reflectance,
495
				Transparency = Transparency,
496
				CanCollide = false,
497
				Locked = true,
498
				BrickColor = BrickColor.new(tostring(BColor)),
499-
	if num == 0 or num == nil then
499+
				Name = Name,
500-
		ArtificialHB.Event:wait()
500+
				Size = Size,
501-
	else
501+
				Material = Material,
502-
		for i = 0, num do
502+
503-
			ArtificialHB.Event:wait()
503+
			RemoveOutlines(Part)
504
			return Part
505
		end;
506
	};
507
	
508
	["Mesh"] = {
509-
--// Effect Function(s) \\--
509+
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
510
			local Msh = Create(Mesh){
511-
function FakeWeld(p0,p1)
511+
				Parent = Part,
512-
	local attachment0 = Instance.new('Attachment',p0)
512+
				Offset = OffSet,
513-
	local attachment1 = Instance.new('Attachment',p1)
513+
				Scale = Scale,
514-
	return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0})
514+
515
			if Mesh == "SpecialMesh" then
516
				Msh.MeshType = MeshType
517-
function Fragment(v)
517+
				Msh.MeshId = MeshId
518-
	v:ClearAllChildren()
518+
519-
	local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'})
519+
			return Msh
520-
	v.Archivable = true
520+
		end;
521-
	-- X
521+
	};
522-
	v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z)
522+
523-
	v.Name = v.Name.."Fragment"
523+
	["Mesh"] = {
524
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
525-
	local a = v:Clone()
525+
			local Msh = Create(Mesh){
526-
	a.Parent = Fragments
526+
				Parent = Part,
527-
	a.CFrame = CF.N(-.5,1,1) * a.CFrame
527+
				Offset = OffSet,
528-
	v.CFrame = CF.N(.5,1,1) * v.CFrame
528+
				Scale = Scale,
529-
	-- Y
529+
530-
	v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z)
530+
			if Mesh == "SpecialMesh" then
531
				Msh.MeshType = MeshType
532-
	local a = v:Clone()
532+
				Msh.MeshId = MeshId
533-
	a.Parent = Fragments
533+
534-
	a.CFrame = CF.N(1,-.5,1) * a.CFrame
534+
			return Msh
535-
	v.CFrame = CF.N(1,.5,1) * v.CFrame
535+
		end;
536-
	-- Z
536+
	};
537-
	v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2)
537+
538
	["Weld"] = {
539-
	local a = v:Clone()
539+
		Create = function(Parent, Part0, Part1, C0, C1)
540-
	a.Parent = Fragments
540+
			local Weld = Create("Weld"){
541-
	a.CFrame = CF.N(1,1,-.5) * a.CFrame
541+
				Parent = Parent,
542-
	v.CFrame = CF.N(1,1,.5) * v.CFrame
542+
				Part0 = Part0,
543
				Part1 = Part1,
544-
	v.Parent = Fragments
544+
				C0 = C0,
545-
	return Fragments
545+
				C1 = C1,
546
			}
547
			return Weld
548-
local blood = NewInstance("ParticleEmitter",nil,{
548+
		end;
549-
	Color = ColorSequence.new(BloodColor.Color),
549+
	};
550-
	LightEmission=.1,
550+
551-
	LightInfluence=1,
551+
	["Sound"] = {
552-
	ZOffset=.9,
552+
		Create = function(id, par, vol, pit) 
553-
	Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
553+
			coroutine.resume(coroutine.create(function()
554-
	Texture="rbxassetid://284205403",
554+
				local S = Create("Sound"){
555-
	Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
555+
					Volume = vol,
556-
	Acceleration = V3.N(0,-15,0),
556+
                                        Name = "EffectSoundo",
557-
	Lifetime = NumberRange.new(1,2),
557+
					Pitch = pit or 1,
558-
	Rate=50,
558+
					SoundId = id,
559-
	Speed = NumberRange.new(5,15),
559+
					Parent = par or workspace,
560-
	SpreadAngle = Vector2.new(15,15),
560+
561-
	Enabled = false,
561+
				wait() 
562-
	EmissionDirection = 'Back',
562+
				S:play() 
563-
})
563+
				game:GetService("Debris"):AddItem(S, 10)
564
			end))
565-
local blood2 = NewInstance("ParticleEmitter",nil,{
565+
		end;
566-
	Color = ColorSequence.new(BloodColor.Color),
566+
	};
567-
	LightEmission=.1,
567+
568-
	LightInfluence=1,
568+
["LongSound"] = {
569-
	ZOffset=.9,
569+
		Create = function(id, par, vol, pit) 
570-
	Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
570+
			coroutine.resume(coroutine.create(function()
571-
	Texture=BloodID,
571+
				local S = Create("Sound"){
572-
	Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
572+
					Volume = vol,
573-
	Acceleration = V3.N(0,-125,0),
573+
					Pitch = pit or 1,
574-
	Lifetime = NumberRange.new(1,2),
574+
					SoundId = id,
575-
	Rate=50,
575+
					Parent = par or workspace,
576-
	Speed = NumberRange.new(5,15),
576+
577-
	SpreadAngle = Vector2.new(15,15),
577+
				wait() 
578-
	Enabled = false,
578+
				S:play() 
579-
	EmissionDirection = 'Back',
579+
				game:GetService("Debris"):AddItem(S, 60)
580-
})
580+
			end))
581
		end;
582-
local blood3 = NewInstance("ParticleEmitter",nil,{
582+
	};
583-
	Color = ColorSequence.new(BloodColor.Color),
583+
584-
	Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)},
584+
	["ParticleEmitter"] = {
585-
	Texture=BloodID,
585+
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
586-
	Lifetime = NumberRange.new(.4),
586+
			local fp = Create("ParticleEmitter"){
587-
	Rate=50,
587+
				Parent = Parent,
588-
	LockedToPart=true,
588+
				Color = ColorSequence.new(Color1, Color2),
589-
	Speed = NumberRange.new(0,2),
589+
				LightEmission = LightEmission,
590-
	Enabled = false,
590+
				Size = Size,
591-
}) 
591+
				Texture = Texture,
592
				Transparency = Transparency,
593-
function Blood(size,cframe,amount)
593+
				ZOffset = ZOffset,
594-
	local part = Instance.new("Part",Effects)
594+
				Acceleration = Accel,
595-
	part.Transparency = 1
595+
				Drag = Drag,
596-
	part.Size = size
596+
				LockedToPart = LockedToPart,
597-
	part.Anchored = true
597+
				VelocityInheritance = VelocityInheritance,
598-
	part.CanCollide = false
598+
				EmissionDirection = EmissionDirection,
599-
	part.CFrame = cframe
599+
				Enabled = Enabled,
600-
	S.Debris:AddItem(part,6)
600+
				Lifetime = LifeTime,
601-
	local prtcl = blood:Clone()
601+
				Rate = Rate,
602-
	prtcl.Parent = part
602+
				Rotation = Rotation,
603-
	prtcl:Emit(amount)
603+
				RotSpeed = RotSpeed,
604-
	return part, prtcl
604+
				Speed = Speed,
605
				VelocitySpread = VelocitySpread,
606
			}
607-
function Blood2(size,cframe)
607+
			return fp
608-
	local part = Instance.new("Part",Effects)
608+
		end;
609-
	part.Transparency = 1
609+
	};
610-
	part.Size = size
610+
611-
	part.Anchored = false
611+
	CreateTemplate = {
612-
	part.CanCollide = false
612+
613-
	part.CFrame = cframe
613+
	};
614-
	local prtcl = blood:Clone()
614+
}
615-
	prtcl.Enabled = true
615+
616-
	prtcl.Parent = part
616+
617-
	return part, prtcl
617+
618
New = function(Object, Parent, Name, Data)
619
	local Object = Instance.new(Object)
620-
function Blood3(size,cframe,amount)
620+
621-
	local part = Instance.new("Part",Effects)
621+
622-
	part.Transparency = 1
622+
623-
	part.Size = size
623+
624-
	part.Anchored = true
624+
625-
	part.CanCollide = false
625+
626-
	part.CFrame = cframe
626+
627-
	S.Debris:AddItem(part,6)
627+
local halocolor = BrickColor.new("Pastel light blue")
628-
	local prtcl = blood2:Clone()
628+
local halocolor2 = BrickColor.new("Cool yellow")
629-
	prtcl.Parent = part
629+
local starcolor = BrickColor.new("Bright yellow")
630-
	prtcl:Emit(amount)
630+
local lunacolor = BrickColor.new("Navy blue")
631-
	return part, prtcl
631+
local lunacolor2 = BrickColor.new("Bright blue")
632
local wepcolor = BrickColor.new("Really black")
633
local maincolor = BrickColor.new("Really black")
634-
function Blood4(size,cframe)
634+
local m = Instance.new("Model",char)
635-
	local part = Instance.new("Part",Effects)
635+
local m2 = Instance.new("Model",char)
636-
	part.Transparency = 1
636+
local m3 = Instance.new("Model",char)
637-
	part.Size = size
637+
local mw1 = Instance.new("Model",char)
638-
	part.Anchored = false
638+
local mw2 = Instance.new("Model",char)
639-
	part.CanCollide = false
639+
640-
	part.CFrame = cframe
640+
641-
	local prtcl = blood2:Clone()
641+
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
642-
	prtcl.Enabled = true
642+
  local gui = it(GuiType)
643-
	prtcl.Parent = part
643+
  gui.Parent = parent
644-
	return part, prtcl
644+
  gui.Text = text
645
  gui.BackgroundTransparency = backtrans
646
  gui.BackgroundColor3 = backcol
647
  gui.SizeConstraint = "RelativeXY"
648-
function BloodDrop(pos,dir,maxsize)
648+
  gui.TextXAlignment = "Center"
649-
	if(game.PlaceId ~= 843468296)then
649+
  gui.TextYAlignment = "Center"
650-
		local owo = NewInstance("Part",Effects,{Transparency=0,Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.2,.2,.2), CanCollide = false})
650+
  gui.Position = pos
651-
		owo.CFrame=CF.N(pos,dir)
651+
  gui.Size = size
652-
		local bv = Instance.new("BodyVelocity",owo) 
652+
  gui.Font = "SourceSans"
653-
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
653+
  gui.FontSize = "Size14"
654-
		bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15
654+
  gui.TextWrapped = false
655-
		bv.Name = "MOVE"
655+
  gui.TextStrokeTransparency = 0
656-
		--[[local prt = blood3:Clone()
656+
  gui.TextColor = BrickColor.new("White")
657-
		prt.Parent = owo
657+
  return gui
658-
		prt.Enabled = true]]
658+
659-
		delay(.01, function() bv:destroy() end)
659+
---- GUI set
660-
		local touch;
660+
local basgui = it("GuiMain")
661-
		touch = owo.Touched:connect(function(hit)
661+
basgui.Parent = plr.PlayerGui
662-
			if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
662+
basgui.Name = "Killcounter GUI"
663-
				touch:disconnect()
663+
local basframe = it("Frame")
664-
				BloodPuddle(owo.Position+V3.N(0,1,0),100,maxsize,owo)
664+
basframe.Parent = basgui
665-
				owo:destroy()
665+
basframe.BackgroundColor3 = Color3.new(255, 255, 255)
666
basframe.BackgroundTransparency = 1
667-
		end)
667+
basframe.BorderColor3 = Color3.new(17, 17, 17)
668
basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
669
basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
670
local uhh = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0.5, 0, 0.45, 0), UDim2.new(1.5, 0, 0.55, 0))
671-
function BloodPuddle(position,range,maxSize,where)
671+
uhh.ZIndex = 2
672-
	local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
672+
uhh.Font = "Bodoni"
673-
		position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range			
673+
uhh.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
674-
	),{where,Char},false,true)
674+
uhh.TextColor3 = Color3.new(1,1,1)
675-
	if(hit and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then
675+
uhh.BackgroundTransparency = 0.25
676-
		if(hit.Name == 'BloodPuddle')then
676+
uhh.BorderSizePixel = 2
677-
			local dist = (position - hit.Position).magnitude
677+
uhh.BorderColor3 = Color3.new(0,0,0)
678-
			if (hit.Size.Z <= 5 and hit.Size.Z < maxSize) or (hit.Size.Z > 5 and hit.Size.Z < maxSize and dist < hit.Size.Z/3) then
678+
uhh.TextScaled = true
679-
				--hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
679+
uhh.TextXAlignment = "Left"
680-
				hit.Size = hit.Size + V3.N(.1,0,.1)
680+
uhh.Text = "SWITCH MODE: 1-9"
681
uhh.TextSize = 64
682-
			if(hit.Size.Z < 2)then
682+
local modeteller = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0, 0, -0.01, 0), UDim2.new(1, 0, 0.45, 0))
683-
				pcall(function() hit.Sound:Play() end)
683+
modeteller.ZIndex = 2
684
modeteller.Font = "Bodoni"
685
modeteller.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
686-
			local Puddle = NewInstance('Part',workspace,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
686+
modeteller.TextColor3 = Color3.new(1,1,1)
687-
			local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
687+
modeteller.BackgroundTransparency = 0.25
688-
			Sound(Puddle,685857471,1,2,false,false,true)
688+
modeteller.BorderSizePixel = 2
689-
			coroutine.wrap(function()
689+
modeteller.BorderColor3 = Color3.new(0,0,0)
690-
				swait(75)
690+
modeteller.TextScaled = true
691-
				repeat
691+
modeteller.TextXAlignment = "Right"
692-
					swait()
692+
modeteller.Text = "MAYHEM"
693-
					Puddle.Size = Puddle.Size - V3.N(.02,0,.02)
693+
modeteller.TextSize = 64
694-
				until Puddle.Size.Z < 0.51
694+
695-
				Puddle:destroy()
695+
local extrawingmod1 = Instance.new("Model",char)
696-
			end)()
696+
local extrawingmod2 = Instance.new("Model",char)
697
698
function CreateParta(parent,transparency,reflectance,material,brickcolor)
699
local p = Instance.new("Part")
700
p.TopSurface = 0
701-
function recurse(root,callback,i)
701+
p.BottomSurface = 0
702-
	i= i or 0
702+
p.Parent = parent
703-
	for _,v in pairs(root:GetChildren()) do
703+
p.Size = Vector3.new(0.1,0.1,0.1)
704-
		i = i + 1
704+
p.Transparency = transparency
705-
		callback(i,v)
705+
p.Reflectance = reflectance
706-
		
706+
p.CanCollide = false
707-
		if #v:GetChildren() > 0 then
707+
p.Locked = true
708-
			i = recurse(v,callback,i)
708+
p.BrickColor = brickcolor
709
p.Material = material
710
return p
711
end
712-
	return i
712+
713
function CreateMesh(parent,meshtype,x1,y1,z1)
714
local mesh = Instance.new("SpecialMesh",parent)
715-
function ragdollJoint(character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy
715+
mesh.MeshType = meshtype
716-
	if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then
716+
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
717-
	for i,v in pairs(character:GetChildren()) do
717+
return mesh
718-
		if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then
718+
719-
			v.Size = Vector3.new(1,1,1)
719+
720
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
721
local mesh = Instance.new("SpecialMesh",parent)
722-
	if part1:FindFirstChildOfClass('Motor6D') then
722+
mesh.MeshType = "FileMesh"
723-
		part1:FindFirstChildOfClass('Motor6D'):Remove()
723+
mesh.MeshId = meshid
724
mesh.Scale = Vector3.new(x1,y1,z1)
725-
	if attachmentName ~= "NeckAttachment" then
725+
return mesh
726-
		attachmentName = attachmentName.."RigAttachment"
726+
727
728-
	local constraint = Instance.new(className.."Constraint")
728+
729-
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
729+
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
730-
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
730+
local mesh = Instance.new("SpecialMesh",parent)
731-
	constraint.Name = "RagdollConstraint"..part1.Name
731+
mesh.MeshType = "FileMesh"
732-
	if character:FindFirstChildOfClass('Humanoid').Health > 0 then
732+
mesh.MeshId = meshid
733-
	local collidepart = Instance.new('Part',part1)
733+
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
734-
	collidepart.Size = part1.Size/2
734+
mesh.Scale = Vector3.new(x1,y1,z1)
735-
	if string.find(string.lower(part1.Name),"upper") then
735+
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
736-
		if string.find(string.lower(part1.Name),"leg") then
736+
return mesh
737-
			collidepart.Size = part1.Size/3
737+
738
739-
			collidepart.Size = part1.Size/2.5
739+
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
740
local weld = Instance.new("Weld")
741
weld.Parent = parent
742-
	collidepart.CanCollide = true
742+
weld.Part0 = part0
743-
	collidepart.Name = "RagdollJoint"
743+
weld.Part1 = part1
744-
	collidepart.Anchored = false
744+
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
745-
	collidepart.Transparency = 1
745+
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
746-
	collidepart.CFrame = part1.CFrame
746+
return weld
747-
	collidepart:BreakJoints()
747+
748-
	local attachment0 = Instance.new('Attachment',part1)
748+
749-
	local attachment1 = Instance.new('Attachment',collidepart)
749+
750-
	if attachment0 and attachment1 then
750+
--------------
751-
		local constraint = Instance.new("HingeConstraint")
751+
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
752-
		constraint.Attachment0 = attachment0
752+
CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
753-
		constraint.Attachment1 = attachment1
753+
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
754-
		constraint.LimitsEnabled = true
754+
CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
755-
		constraint.UpperAngle = 0
755+
756-
		constraint.LowerAngle = 0
756+
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
757-
		constraint.Parent = character
757+
CreateMesh(handle,"Brick",0,0,0)
758
local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
759-
	if string.find(string.lower(part1.Name),"upper") then
759+
local valuaring = 10
760-
		if string.find(string.lower(part1.Name),"leg") then
760+
761-
			attachment0.Position = Vector3.new(0,0.01,0)
761+
local refec = Instance.new("ParticleEmitter",handlex)
762
refec.Texture = "rbxassetid://284205403"
763-
			attachment0.Position = Vector3.new(0,0.25,0)
763+
refec.LightEmission = 0.95
764
refec.Color = ColorSequence.new(BrickColor.new("White").Color)
765-
	else
765+
refec.Rate = 50
766-
		attachment0.Position = Vector3.new(0,-0.1,0)
766+
refec.Lifetime = NumberRange.new(0.5)
767
refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
768
refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
769-
	for _,propertyData in next,properties or {} do
769+
refec.Speed = NumberRange.new(0,2)
770-
		constraint[propertyData[1]] = propertyData[2]
770+
refec.Drag = 5
771
refec.LockedToPart = true
772-
	constraint.Parent = character
772+
refec.Rotation = NumberRange.new(-500,500)
773-
	return constraint
773+
refec.VelocitySpread = 9000
774
refec.RotSpeed = NumberRange.new(-500,500)
775
local refec2 = refec:Clone()
776
refec2.LightEmission = 0.75
777
refec2.Texture = "rbxassetid://254287058"
778-
function getAttachment0(character,attachmentName)
778+
refec2.Parent = handlex
779-
	for _,child in next,character:children() do
779+
refec2.Rate = 25
780-
		local attachment = child:FindFirstChild(attachmentName)
780+
refec2.Lifetime = NumberRange.new(0.75)
781-
		if attachment then
781+
refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.15,1,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
782-
			return attachment
782+
refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
783
refec2.Speed = NumberRange.new(0)
784
local refec3 = refec:Clone()
785
refec3.LightEmission = 0.75
786
refec3.Texture = "rbxassetid://363275192"
787
refec3.Parent = handlex
788-
function Ragdoll(who,half,snapped)
788+
refec3.Rate = 25
789-
	pcall(function()
789+
refec3.Lifetime = NumberRange.new(1)
790-
		who:breakJoints()
790+
refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
791-
		local who = who
791+
refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
792-
		local hhh = who:FindFirstChildOfClass'Humanoid'
792+
refec3.Speed = NumberRange.new(0)
793-
		local t = GetTorso(who)
793+
refec3.RotSpeed = NumberRange.new(-50,50)
794-
		pcall(function()
794+
795-
			who.HumanoidRootPart:destroy()
795+
for i = 0, 35 do
796-
		end)
796+
	valuaring = valuaring + 10
797-
		hhh.Health = 0
797+
rn = CreateParta(mw2,0,0,"Neon",halocolor)
798-
		Stunned[who] = true
798+
CreateMesh(rn,"Wedge",0.1,0.5,0.1)
799-
		if(hhh.RigType == Enum.HumanoidRigType.R6)then
799+
CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
800-
			local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head'			
800+
rn = CreateParta(mw2,0,0,"Neon",halocolor)
801-
			pcall(function()
801+
CreateMesh(rn,"Wedge",0.1,0.5,0.1)
802-
				if(hhh.Health > 0)then  local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
802+
CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
803-
				FakeWeld(RA,CollideRA) end
803+
rn = CreateParta(mw2,0,0,"Neon",halocolor)
804-
				local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
804+
CreateMesh(rn,"Wedge",0.1,0.2,0.05)
805-
				local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
805+
CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
806-
				local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
806+
rn = CreateParta(mw2,0,0,"Neon",halocolor)
807-
			end)
807+
CreateMesh(rn,"Wedge",0.1,0.2,0.05)
808-
			pcall(function()
808+
CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
809-
				local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
809+
810-
				local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
810+
811
812-
				local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
812+
local handle = CreateParta(m,1,1,"Neon",maincolor)
813
CreateMesh(handle,"Brick",0.5,0.5,0.5)
814-
				if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
814+
local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
815-
				FakeWeld(LA,CollideLA) end
815+
816-
			end)
816+
--- Left wing.
817-
			pcall(function()
817+
818-
				if(HD)then 
818+
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
819-
					local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
819+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
820-
					local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
820+
local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
821-
					local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
821+
822-
					local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
822+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
823
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
824-
					if(snapped)then
824+
CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
825-
						NJ.Orientation = V3.N(0,90,0)
825+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
826
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
827-
					if(hhh.Health > 0)then 
827+
CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
828-
						local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
828+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
829-
						FakeWeld(HD,CollideHD)
829+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
830
CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
831
wed = CreateParta(mw1,0,0,"Neon",halocolor)
832-
			end)
832+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
833-
			if(not half)then
833+
CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
834-
				local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
834+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
835-
				local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
835+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
836-
				local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
836+
CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
837-
				local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
837+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
838-
				local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
838+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
839-
				local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
839+
CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
840-
				if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
840+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
841-
				local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
841+
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
842
CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
843-
				FakeWeld(RL,CollideRL)
843+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
844-
				FakeWeld(LL,CollideLL) end
844+
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
845
CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
846-
			for _,v in next, who:children() do
846+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
847-
				if(v:IsA'BasePart')then
847+
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
848-
					v.CanCollide = true
848+
CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
849
wed = CreateParta(mw1,0,0,"Neon",halocolor)
850
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
851
CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
852-
			local character = who
852+
853-
			
853+
854-
			if(half)then
854+
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
855-
				pcall(function()
855+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
856-
					character.UpperTorso.WaistRigAttachment:Destroy()
856+
local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
857-
				end)
857+
858
wed = CreateParta(mw1,0,0,"Neon",halocolor)
859
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
860-
			local handProperties = {
860+
CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
861-
				{"LimitsEnabled", true};
861+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
862-
				{"UpperAngle",0};
862+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
863-
				{"LowerAngle",0};
863+
CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
864
wed = CreateParta(mw1,0,0,"Neon",halocolor)
865-
			local footProperties = {
865+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
866-
				{"LimitsEnabled", true};
866+
CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
867-
				{"UpperAngle", 15};
867+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
868-
				{"LowerAngle", -45};
868+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
869
CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
870-
			local shinProperties = {
870+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
871-
				{"LimitsEnabled", true};
871+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
872-
				{"UpperAngle", 0};
872+
CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
873-
				{"LowerAngle", -75};
873+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
874
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
875-
			if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
875+
CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
876-
				ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
876+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
877
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
878-
			if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
878+
CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
879-
				ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
879+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
880
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
881-
			if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
881+
CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
882-
				ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
882+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
883
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
884-
			if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
884+
CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
885-
				ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
885+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
886
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
887-
			if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
887+
CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
888-
				ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
888+
889
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
890-
			if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
890+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
891-
				ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
891+
local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
892
893-
			if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
893+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
894-
				ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
894+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
895
CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
896-
			if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
896+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
897-
				ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
897+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
898
CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
899-
			if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
899+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
900-
				ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
900+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
901
CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
902-
			if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
902+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
903-
				ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
903+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
904
CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
905-
			if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
905+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
906-
				ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
906+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
907
CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
908-
			if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
908+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
909-
				ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
909+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
910
CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
911-
			if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
911+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
912-
				ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
912+
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
913-
					{"LimitsEnabled",true};
913+
CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
914-
					{"UpperAngle",5};
914+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
915-
					{"Radius",5};
915+
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
916
CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
917
wed = CreateParta(mw1,0,0,"Neon",halocolor)
918-
			if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
918+
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
919-
				ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
919+
CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
920-
					{"LimitsEnabled",true};
920+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
921-
					{"UpperAngle",50};
921+
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
922-
					{"LowerAngle",-50};
922+
CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
923
924
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
925-
			local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
925+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
926-
				{"LimitsEnabled",true};
926+
local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
927-
				{"UpperAngle",50};
927+
928-
				{"LowerAngle",-50};
928+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
929-
			})
929+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
930
CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
931-
			recurse(character, function(_,v)
931+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
932-
				if v:IsA("Attachment") then
932+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
933-
					v.Axis = Vector3.new(0, 1, 0)
933+
CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
934-
					v.SecondaryAxis = Vector3.new(0, 0, 1)
934+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
935-
					v.Rotation = Vector3.new(0, 0, 0)
935+
CreateMesh(wed,"Wedge",0.05,0.5,3)
936-
					if(v.Parent == character.Head and snapped)then
936+
CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
937-
						v.Orientation = V3.N(0,-90,0)
937+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
938
CreateMesh(wed,"Wedge",0.05,3,0.5)
939
CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
940-
			end)
940+
941
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
942
CreateMesh(handle,"Brick",0.5,0.5,0.5)
943
local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
944
945
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
946-
function Bezier(startpos, pos2, pos3, endpos, t)
946+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
947-
	local A = startpos:lerp(pos2, t)
947+
CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
948-
	local B  = pos2:lerp(pos3, t)
948+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
949-
	local C = pos3:lerp(endpos, t)
949+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
950-
	local lerp1 = A:lerp(B, t)
950+
CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
951-
	local lerp2 = B:lerp(C, t)
951+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
952-
	local cubic = lerp1:lerp(lerp2, t)
952+
CreateMesh(wed,"Wedge",0.05,0.5,3)
953-
	return cubic
953+
CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
954
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
955
CreateMesh(wed,"Wedge",0.05,3,0.5)
956-
function Effect(data)
956+
CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
957-
	local FX = data.Effect or 'Resize-AndFade'
957+
958-
	local Parent = data.Parent or Effects
958+
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
959-
	local Color = data.Color or C3.N(0,0,0)
959+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
960-
	local Size = data.Size or V3.N(1,1,1)
960+
local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
961-
	local MoveDir = data.MoveDirection or nil
961+
962-
	local MeshData = data.Mesh or nil
962+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
963-
	local SndData = data.Sound or nil
963+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
964-
	local Frames = data.Frames or 45
964+
CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
965-
	local Manual = data.Manual or nil
965+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
966-
	local Material = data.Material or nil
966+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
967-
	local CFra = data.CFrame or Torso.CFrame
967+
CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
968-
	local Settings = data.FXSettings or {}
968+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
969-
	local Snd,Prt,Msh;
969+
CreateMesh(wed,"Wedge",0.05,0.5,3)
970-
	if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
970+
CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
971-
		Prt = Manual
971+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
972-
	else
972+
CreateMesh(wed,"Wedge",0.05,3,0.5)
973-
		Prt = Part(Parent,Color,Material,Size,CFra,true,false)
973+
CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
974
975-
	if(typeof(MeshData) == 'table')then
975+
-- Right wing.
976-
		Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
976+
977-
	elseif(typeof(MeshData) == 'Instance')then
977+
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
978-
		Msh = MeshData:Clone()
978+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
979-
		Msh.Parent = Prt
979+
local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
980
981-
	if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
981+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
982-
		Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
982+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
983
CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
984-
	if(Snd)then
984+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
985-
		repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
985+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
986-
		Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
986+
CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
987
wed = CreateParta(mw2,0,0,"Neon",halocolor)
988-
	local MoveSpeed = nil;
988+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
989-
	if(MoveDir)then
989+
CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
990-
		MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
990+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
991
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
992-
	local Inc = M.RNG()-M.RNG()
992+
CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
993-
	local Thingie = 0
993+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
994-
	local Thingie2 = M.RNG(50,100)/100
994+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
995
CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
996-
	coroutine.wrap(function()
996+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
997-
		if(FX ~= 'Arc')then
997+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
998-
			for i = 1, Frames do
998+
CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
999-
				if(FX == 'Resize-AndFade')then
999+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1000-
					if(not Settings.EndSize)then
1000+
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1001-
						Settings.EndSize = V3.N(0,0,0)
1001+
CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1002
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1003-
					local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
1003+
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1004-
					if(Settings.EndIsIncrement)then
1004+
CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1005-
						Prt.Size = Prt.Size - Settings.EndSize					
1005+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1006-
					else
1006+
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1007-
						Prt.Size = Prt.Size - grow/Frames
1007+
CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1008
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1009-
					Prt.Transparency = (i/Frames)
1009+
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1010-
				elseif(FX == 'Resize+AndFade')then
1010+
CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1011-
					if(not Settings.EndSize)then
1011+
1012-
						Settings.EndSize = Size*2
1012+
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
1013
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1014-
					local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
1014+
local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1015-
					if(Settings.EndIsIncrement)then
1015+
1016-
						Prt.Size = Prt.Size + Settings.EndSize					
1016+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1017-
					else
1017+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1018-
						Prt.Size = Prt.Size + grow/Frames
1018+
CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1019
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1020-
					Prt.Transparency = (i/Frames)
1020+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1021-
				elseif(FX == 'Fade')then
1021+
CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1022-
					Prt.Transparency = (i/Frames)
1022+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1023
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1024-
				if(Settings.RandomizeCFrame)then
1024+
CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1025-
					Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
1025+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1026
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1027-
				if(MoveDir and MoveSpeed)then
1027+
CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1028-
					local Orientation = Prt.Orientation
1028+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1029-
					Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
1029+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1030-
					Prt.Orientation = Orientation
1030+
CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1031
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1032-
				if(swait and typeof(swait) == 'function')then
1032+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1033-
					swait()
1033+
CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1034-
				else
1034+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1035-
					wait()
1035+
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1036
CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1037
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1038-
			Prt:destroy() 
1038+
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1039
CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1040-
			local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
1040+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1041-
			if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
1041+
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1042-
			local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
1042+
CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1043-
			local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
1043+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1044-
			assert(start ~= nil,"You need to specify a start point!")
1044+
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1045-
			assert(endP ~= nil,"You need to specify an end point!")
1045+
CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1046-
			for i = 0, 1, Settings.Speed or 0.01 do
1046+
1047-
				if(Settings.Home)then
1047+
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
1048-
					endP = Settings.Home.CFrame
1048+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1049
local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1050-
				Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
1050+
1051-
				if(swait and typeof(swait) == 'function')then
1051+
1052-
					swait()
1052+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1053-
				else
1053+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1054-
					wait()
1054+
CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1055
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1056
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1057-
			if(Settings.RemoveOnGoal)then
1057+
CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1058-
				Prt:destroy()
1058+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1059
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1060
CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1061-
	end)()
1061+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1062-
	return Prt,Msh,Snd
1062+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1063-
end	
1063+
CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1064
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1065
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1066-
function SoulSteal(character)
1066+
CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1067-
	local torso = (character:FindFirstChild'Head' or character:FindFirstChild'Torso' or character:FindFirstChild'UpperTorso' or character:FindFirstChild'LowerTorso' or character:FindFirstChild'HumanoidRootPart')
1067+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1068-
	print(torso)
1068+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1069-
	if(torso and torso:IsA'BasePart')then
1069+
CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1070-
		local Model = Instance.new("Model",Effects)
1070+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1071-
		Model.Name = character.Name.."'s Soul"
1071+
CreateMesh(wed,"Wedge",0.05,0.5,1.5)
1072-
		character:BreakJoints()
1072+
CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1073-
		local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
1073+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1074-
		Soul.Name = 'Head'
1074+
CreateMesh(wed,"Wedge",0.05,1.5,0.5)
1075-
		NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
1075+
CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1076-
		Effect{
1076+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1077-
			Effect="Arc",
1077+
CreateMesh(wed,"Wedge",0.05,0.25,1.75)
1078-
			Manual = Soul,
1078+
CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1079-
			FXSettings={
1079+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1080-
				Start=torso.CFrame,
1080+
CreateMesh(wed,"Wedge",0.05,1.75,0.25)
1081-
				Home = Torso,
1081+
CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1082-
				RemoveOnGoal = true,
1082+
1083
1084-
		}
1084+
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
1085-
		local lastPoint = Soul.CFrame.p
1085+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1086
local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1087-
		for i = 0, 1, 0.01 do 
1087+
1088-
				local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
1088+
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1089-
				local mag = (lastPoint - Soul.Position).magnitude
1089+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1090-
				Effect{
1090+
CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1091-
					Effect = "Fade",
1091+
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1092-
					CFrame = point * CF.N(0, mag/2, 0),
1092+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1093-
					Size = V3.N(.5,mag+.5,.5),
1093+
CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1094-
					Color = Soul.BrickColor
1094+
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1095
CreateMesh(wed,"Wedge",0.05,0.5,3)
1096-
				lastPoint = Soul.CFrame.p
1096+
CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1097-
			swait()
1097+
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1098
CreateMesh(wed,"Wedge",0.05,3,0.5)
1099-
		for i = 1, 5 do
1099+
CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1100-
			Effect{
1100+
1101-
				Effect="Fade",
1101+
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
1102-
				Color = BrickColor.new'Really red',
1102+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1103-
				MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
1103+
local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1104-
			}	
1104+
1105
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1106
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1107
CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1108
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1109-
--// Other Functions \\ --
1109+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1110
CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1111-
function getRegion(point,range,ignore)
1111+
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1112-
    return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
1112+
CreateMesh(wed,"Wedge",0.05,0.5,3)
1113
CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1114
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1115-
function clerp(startCF,endCF,alpha)
1115+
CreateMesh(wed,"Wedge",0.05,3,0.5)
1116-
	return startCF:lerp(endCF, alpha)
1116+
CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1117
1118
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
1119-
function GetTorso(char)
1119+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1120-
	return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso'
1120+
local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1121
1122
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1123
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1124
CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1125
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1126-
	coroutine.wrap(function()
1126+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1127-
	local Rate = (1 / 30)
1127+
CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1128-
	local Pos = (Pos or Vector3.new(0, 0, 0))
1128+
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1129-
	local Text = (Text or "")
1129+
CreateMesh(wed,"Wedge",0.05,0.5,3)
1130-
	local Time = (Time or 2)
1130+
CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1131-
	local Color = (Color or Color3.new(1, 0, 1))
1131+
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1132-
	local EffectPart = NewInstance("Part",Effects,{
1132+
CreateMesh(wed,"Wedge",0.05,3,0.5)
1133-
		Material=Enum.Material.SmoothPlastic,
1133+
CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1134-
		RArmlectance = 0,
1134+
1135-
		Transparency = 1,
1135+
1136-
		BrickColor = BrickColor.new(Color),
1136+
---- HERES THE RING
1137-
		Name = "Effect",
1137+
1138-
		Size = Vector3.new(0,0,0),
1138+
1139-
		Anchored = true
1139+
--[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1140-
	})
1140+
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1141-
	local BillboardGui = NewInstance("BillboardGui",EffectPart,{
1141+
CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1142-
		Size = UDim2.new(1.25, 0, 1.25, 0),
1142+
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1143-
		Adornee = EffectPart,
1143+
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1144-
	})
1144+
CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1145-
	local TextLabel = NewInstance("TextLabel",BillboardGui,{
1145+
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1146-
		BackgroundTransparency = 1,
1146+
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1147-
		Size = UDim2.new(1, 0, 1, 0),
1147+
CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1148-
		Text = Text,
1148+
1149-
		Font = "Arial",
1149+
1150-
		TextColor3 = Color,
1150+
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1151-
		TextStrokeColor3 = Color3.new(0,0,0),
1151+
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1152-
		TextStrokeTransparency=0,
1152+
CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1153-
		TextScaled = true,
1153+
1154-
	})
1154+
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1155-
	game.Debris:AddItem(EffectPart, (Time))
1155+
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1156-
	EffectPart.Parent = game:GetService("Workspace")
1156+
CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1157-
	delay(0, function()
1157+
1158-
		local Frames = (Time / Rate)
1158+
1159-
		for Frame = 1, Frames do
1159+
1160-
			wait(Rate)
1160+
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1161-
			local Percent = (Frame / Frames)
1161+
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1162-
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1162+
CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1163-
			TextLabel.TextTransparency = Percent
1163+
1164-
			TextLabel.TextStrokeTransparency = Percent
1164+
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1165
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1166-
		if EffectPart and EffectPart.Parent then
1166+
CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1167-
			EffectPart:Destroy()
1167+
1168
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1169-
	end) end)()
1169+
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1170
CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1171
1172
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1173-
function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
1173+
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1174-
	if(who)then
1174+
CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1175-
		local hum = who:FindFirstChildOfClass'Humanoid'
1175+
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1176-
		local Damage = M.RNG(minDam,maxDam)
1176+
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1177-
		local canHit = true
1177+
CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1178-
		if(hum)then
1178+
1179-
			for _, p in pairs(Hit) do
1179+
--- second ring
1180-
				if p[1] == hum then
1180+
1181-
					if(time() - p[2] < 0.1) then
1181+
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1182-
						canHit = false
1182+
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1183-
					else
1183+
CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1184-
						Hit[_] = nil
1184+
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1185
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1186
CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1187
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1188-
			if(canHit)then
1188+
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1189-
				if(hum.Health >= math.huge)then
1189+
CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1190-
					who:BreakJoints()
1190+
1191-
					if(who:FindFirstChild'Head' and hum.Health > 0)then
1191+
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1192-
						ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
1192+
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1193
CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1194-
				else
1194+
1195-
					local player = S.Players:GetPlayerFromCharacter(who)
1195+
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1196-
					if(Type == "Fire")then
1196+
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1197-
						--idk..
1197+
CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1198-
					else
1198+
1199-
						local  c = Instance.new("ObjectValue",hum)
1199+
1200-
						c.Name = "creator"
1200+
1201-
						c.Value = Plr
1201+
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1202-
						game:service'Debris':AddItem(c,0.35)
1202+
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1203-
						if(M.RNG(1,100) <= (critChance or 0))then
1203+
CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1204-
							if(who:FindFirstChild'Head' and hum.Health > 0)then
1204+
1205-
								ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
1205+
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1206
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1207-
							hum.Health = hum.Health - Damage*(critMult or 2)
1207+
CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1208
1209-
							if(who:FindFirstChild'Head' and hum.Health > 0)then
1209+
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1210-
								ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color)
1210+
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1211
CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1212-
							hum.Health = hum.Health - Damage
1212+
1213
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1214-
						if(Type == 'Knockback' and GetTorso(who))then
1214+
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1215-
							local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
1215+
CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1216-
							local body = NewInstance('BodyVelocity',GetTorso(who),{
1216+
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1217-
								P = 500,
1217+
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1218-
								maxForce = V3.N(math.huge,0,math.huge),
1218+
CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
1219-
								velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
1219+
1220
------------- Trails
1221-
							game:service'Debris':AddItem(body,.5)	
1221+
local A0 = Instance.new("Attachment",lwing1)
1222-
						elseif(Type == 'Knockdown' and GetTorso(who))then
1222+
A0.Position = Vector3.new(0,-0.7,0)
1223-
							local rek = GetTorso(who)
1223+
local A1 = Instance.new("Attachment",lwing1)
1224-
							print(rek)
1224+
A1.Position = Vector3.new(0,-3.5,0)
1225-
							hum.PlatformStand = true
1225+
tl1 = Instance.new('Trail',lwing1)
1226-
							delay(1,function()
1226+
tl1.Attachment0 = A0
1227-
								hum.PlatformStand = false
1227+
tl1.Attachment1 = A1
1228-
							end)
1228+
tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
1229-
							local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
1229+
tl1.LightEmission = 1
1230-
							local bodvol = NewInstance("BodyVelocity",rek,{
1230+
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1231-
								velocity = angle * Knock,
1231+
tl1.Color = ColorSequence.new(BrickColor.new('White').Color)
1232-
								P = 5000,
1232+
tl1.Lifetime = 0.6
1233-
								maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
1233+
1234
local A0 = Instance.new("Attachment",lwing2)
1235-
							local rl = NewInstance("BodyAngularVelocity",rek,{
1235+
A0.Position = Vector3.new(0,-0.7,0)
1236-
								P = 3000,
1236+
local A1 = Instance.new("Attachment",lwing2)
1237-
								maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1237+
A1.Position = Vector3.new(0,-3.5,0)
1238-
								angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1238+
tl2 = Instance.new('Trail',lwing2)
1239
tl2.Attachment0 = A0
1240-
							game:GetService("Debris"):AddItem(bodvol, .5)
1240+
tl2.Attachment1 = A1
1241-
							game:GetService("Debris"):AddItem(rl, .5)
1241+
tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
1242
tl2.LightEmission = 1
1243
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1244
tl2.Color = ColorSequence.new(BrickColor.new('White').Color)
1245
tl2.Lifetime = 0.6
1246-
			table.insert(Hit,{hum,time()})
1246+
1247
local A0 = Instance.new("Attachment",lwing3)
1248
A0.Position = Vector3.new(0,-0.7,0)
1249
local A1 = Instance.new("Attachment",lwing3)
1250
A1.Position = Vector3.new(0,-3.5,0)
1251-
function AOEDamage(where,range,minDam,maxDam,Knock,Type)
1251+
tl3 = Instance.new('Trail',lwing3)
1252-
	for _,v in next, getRegion(where,range,{Char}) do
1252+
tl3.Attachment0 = A0
1253-
		if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
1253+
tl3.Attachment1 = A1
1254-
			DealDamage(v.Parent,minDam,maxDam,Knock,Type)
1254+
tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
1255
tl3.LightEmission = 1
1256
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1257
tl3.Color = ColorSequence.new(BrickColor.new('White').Color)
1258
tl3.Lifetime = 0.6
1259-
function AOEFunction(where,range,callback)
1259+
1260-
	for _,v in next, getRegion(where,range,{Char}) do
1260+
local A0 = Instance.new("Attachment",rwing1)
1261-
		if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
1261+
A0.Position = Vector3.new(0,-0.7,0)
1262-
			callback(v.Parent)
1262+
local A1 = Instance.new("Attachment",rwing1)
1263
A1.Position = Vector3.new(0,-3.5,0)
1264
tr1 = Instance.new('Trail',rwing1)
1265
tr1.Attachment0 = A0
1266
tr1.Attachment1 = A1
1267-
function ClosestHumanoid(pos,range)
1267+
tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
1268-
	local mag,closest = math.huge;
1268+
tr1.LightEmission = 1
1269-
	for _,v in next, getRegion(pos,range or 10,{Char}) do
1269+
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1270-
		local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
1270+
tr1.Color = ColorSequence.new(BrickColor.new('White').Color)
1271-
		if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then
1271+
tr1.Lifetime = 0.6
1272-
			mag = (v.CFrame.p-pos).magnitude
1272+
1273-
			closest = hum
1273+
local A0 = Instance.new("Attachment",rwing2)
1274
A0.Position = Vector3.new(0,-0.7,0)
1275
local A1 = Instance.new("Attachment",rwing2)
1276-
	return closest,(closest and GetTorso(closest.Parent) or nil)
1276+
A1.Position = Vector3.new(0,-3.5,0)
1277
tr2 = Instance.new('Trail',rwing2)
1278
tr2.Attachment0 = A0
1279-
function AOEHeal(where,range,amount)
1279+
tr2.Attachment1 = A1
1280-
	local healed = {}
1280+
tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
1281-
	for _,v in next, getRegion(where,range,{Char}) do
1281+
tr2.LightEmission = 1
1282-
		local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
1282+
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1283-
		if(hum and not healed[hum])then
1283+
tr2.Color = ColorSequence.new(BrickColor.new('White').Color)
1284-
			hum.Health = hum.Health + amount
1284+
tr2.Lifetime = 0.6
1285-
			if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
1285+
1286-
				ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Really red'.Color)
1286+
local A0 = Instance.new("Attachment",rwing3)
1287
A0.Position = Vector3.new(0,-0.7,0)
1288
local A1 = Instance.new("Attachment",rwing3)
1289
A1.Position = Vector3.new(0,-3.5,0)
1290
tr3 = Instance.new('Trail',rwing3)
1291-
--// Attack Function \\--
1291+
tr3.Attachment0 = A0
1292
tr3.Attachment1 = A1
1293-
function Equip_Sawblade()
1293+
tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
1294-
	for i = 1, 5 do
1294+
tr3.LightEmission = 1
1295-
		Effect{
1295+
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1296-
			Effect='Resize+AndFade',
1296+
tr3.Color = ColorSequence.new(BrickColor.new('White').Color)
1297-
			Color = BrickColor.new'Really red',
1297+
tr3.Lifetime = 0.6
1298-
			Material = Enum.Material.Neon,
1298+
--------------
1299-
			Size=V3.N(3.5,3.5,3.5),
1299+
1300-
			CFrame=RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
1300+
for i, v in pairs(mw2:GetChildren()) do
1301-
			FXSettings={
1301+
if v:IsA("Part") then
1302-
				EndSize=V3.N(.05,.05,.05),
1302+
v.BrickColor = BrickColor.new("White")
1303-
				EndIsIncrement=true,
1303+
v.Material = "Neon"
1304-
				
1304+
1305
end
1306-
		}
1306+
for i, v in pairs(mw1:GetChildren()) do
1307
if v:IsA("Part") then
1308-
	local prt = Part(Char,BrickColor.new'Really red',Enum.Material.SmoothPlastic,V3.N(3.42, 3.42, 0.05),CF.N(),false,false)
1308+
v.Transparency = 0
1309-
	prt.Transparency = .5
1309+
v.BrickColor = BrickColor.new("White")
1310-
	local mesh = Mesh(prt,Enum.MeshType.FileMesh,"rbxassetid://74322089","",V3.N(3,3,3),V3.N())
1310+
v.Material = "Neon"
1311-
	local weld = NewInstance("Weld",Char,{Part0=RArm,Part1=prt,C0=CF.N(0,-1.25,0)}) 
1311+
1312-
	return prt,weld
1312+
1313
for i, v in pairs(extrawingmod1:GetChildren()) do
1314
if v:IsA("Part") then
1315-
function The_Necc()
1315+
v.Transparency = 1
1316-
	local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
1316+
v.BrickColor = BrickColor.new("White")
1317-
	if(torso)then
1317+
v.Material = "Neon"
1318-
		local who = torso.Parent
1318+
1319-
		Attack = true
1319+
1320-
		NeutralAnims = false
1320+
for i, v in pairs(extrawingmod2:GetChildren()) do
1321-
		who.Parent = Char
1321+
if v:IsA("Part") then
1322-
		local oRoot
1322+
v.Transparency = 1
1323-
		pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
1323+
v.BrickColor = BrickColor.new("White")
1324-
		local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
1324+
v.Material = "Neon"
1325-
		for i = 0, 4, 0.1 do
1325+
1326-
			swait()
1326+
1327-
			humanoid.PlatformStand = true
1327+
local MAINRUINCOLOR = BrickColor.new("White")
1328-
			local Alpha = .15
1328+
------
1329-
			RJ.C0 = clerp(RJ.C0,CFrame.new(7.78455425e-13, 0.00629367586, -2.39849396e-06, 0.99999243, 1.23691279e-10, 0, 1.90985006e-11, 0.99998045, -0.00628617778, 9.31322575e-10, 0.00628614007, 0.999973059),Alpha)
1329+
1330-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496486545, -0.990821958, 0.021611277, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
1330+
1331-
			RH.C0 = clerp(RH.C0,CFrame.new(0.498530418, -0.990985394, 0.0154574998, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
1331+
function RemoveOutlines(part)
1332-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.0486517, 0.929213107, -0.824554026, 0.712753832, -0.694763601, -0.0963225588, 0.0692147464, 0.206324935, -0.976032555, 0.697985768, 0.689004064, 0.195146814),Alpha)
1332+
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1333-
			RS.C0 = clerp(RS.C0,CFrame.new(0.386394978, 1.64370263, -1.084023, -0.617445648, -0.751786709, -0.231452331, -0.0510570146, 0.331923157, -0.941923738, 0.784950197, -0.569769561, -0.243328467),Alpha)
1333+
1334-
			NK.C0 = clerp(NK.C0,CFrame.new(8.16636839e-06, 1.49895489, -0.0144007429, 0.99999243, 3.67523171e-07, -1.61118805e-07, -3.56405508e-07, 0.997965038, 0.0637686625, 1.8440187e-07, -0.0637682825, 0.997957468),Alpha)
1334+
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1335-
		end		
1335+
  local Part = Create("Part")({
1336-
		gWeld:destroy()
1336+
    Parent = Parent,
1337-
		if(who:FindFirstChild'Head')then
1337+
    Reflectance = Reflectance,
1338-
			local s = Sound(who:FindFirstChild'Head',1093102664,1,2,false,false,false)
1338+
    Transparency = Transparency,
1339-
			s:Play()
1339+
    CanCollide = false,
1340-
			s.Ended:connect(function() s:Destroy() end)
1340+
    Locked = true,
1341
    BrickColor = BrickColor.new(tostring(BColor)),
1342-
		who.Parent = workspace
1342+
    Name = Name,
1343-
		humanoid.Health = 0
1343+
    Size = Size,
1344-
		Ragdoll(who,false,true)
1344+
    Material = Material
1345-
		for i = 0, 1.5, 0.1 do
1345+
  })
1346-
			swait()
1346+
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1347-
			humanoid.PlatformStand = true
1347+
  RemoveOutlines(Part)
1348-
			local Alpha = .3
1348+
  return Part
1349-
			RJ.C0 = clerp(RJ.C0,CFrame.new(7.78455425e-13, 0.00629367586, -2.39849396e-06, 0.99999243, 1.23691279e-10, 0, 1.90985006e-11, 0.99998045, -0.00628617778, 9.31322575e-10, 0.00628614007, 0.999973059),Alpha)
1349+
1350-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496486545, -0.990821958, 0.021611277, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
1350+
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1351-
			RH.C0 = clerp(RH.C0,CFrame.new(0.498530418, -0.990985394, 0.0154574998, 0.999870956, 1.90985006e-11, 0.0156118907, -9.81391422e-05, 0.99998045, 0.00628537685, -0.0156115862, -0.00628617778, 0.999851584),Alpha)
1351+
  local Msh = Create(Mesh)({
1352-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.47842193, 0.485131323, -0.0262347199, 0.0664671659, 0.993123412, -0.0963359103, -0.201927185, -0.0811635256, -0.976031899, -0.977139056, 0.0843269154, 0.195143938),Alpha)
1352+
    Parent = Part,
1353-
			RS.C0 = clerp(RS.C0,CFrame.new(2.33067179, 0.249403879, 0.270489573, 0.171869993, 0.978404701, -0.114792682, 0.105083257, -0.134070903, -0.985384524, -0.979495406, 0.157295257, -0.125856698),Alpha)
1353+
    Offset = OffSet,
1354-
			NK.C0 = clerp(NK.C0,CFrame.new(8.16636839e-06, 1.49895489, -0.0144007429, 0.99999243, 3.67523171e-07, -1.61118805e-07, -3.56405508e-07, 0.997965038, 0.0637686625, 1.8440187e-07, -0.0637682825, 0.997957468),Alpha)
1354+
    Scale = Scale
1355
  })
1356-
		Attack = false
1356+
  if Mesh == "SpecialMesh" then
1357-
		NeutralAnims = true
1357+
    Msh.MeshType = MeshType
1358
    Msh.MeshId = MeshId
1359
  end
1360
  return Msh
1361-
function Hands_Off()
1361+
1362-
	local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
1362+
function CreateWeld(Parent, Part0, Part1, C0, C1)
1363
  local Weld = Create("Weld")({
1364-
	if(torso)then
1364+
    Parent = Parent,
1365-
		local who = torso.Parent
1365+
    Part0 = Part0,
1366-
		local doAttack = false
1366+
    Part1 = Part1,
1367-
		Instance.AllChildren(who,function(v)
1367+
    C0 = C0,
1368-
			if(v.Name:lower():find"arm")then
1368+
    C1 = C1
1369-
				doAttack = true
1369+
  })
1370
  return Weld
1371-
		end, true)
1371+
1372-
		if(not doAttack)then return end
1372+
1373-
		Hum.WalkSpeed = 0
1373+
Player=game:GetService("Players").LocalPlayer
1374-
		Hum.JumpPower = 0
1374+
Character=Player.Character 
1375-
		Attack = true
1375+
PlayerGui=Player.PlayerGui 
1376-
		NeutralAnims = false
1376+
Backpack=Player.Backpack 
1377-
		who.Parent = Char
1377+
Torso=Character.Torso 
1378-
		local oRoot
1378+
Head=Character.Head 
1379-
		pcall(function() oRoot = who.HumanoidRootPart; oRoot.Parent = nil end)
1379+
Humanoid=Character.Humanoid
1380-
		local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.25)})
1380+
m=Instance.new('Model',Character)
1381-
		for i = 0, 4, 0.1 do
1381+
LeftArm=Character["Left Arm"] 
1382-
			swait()
1382+
LeftLeg=Character["Left Leg"] 
1383-
			humanoid.PlatformStand = true
1383+
RightArm=Character["Right Arm"] 
1384-
			local Alpha = .15
1384+
RightLeg=Character["Right Leg"] 
1385-
			RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629412755, 1.41908095e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1385+
LS=Torso["Left Shoulder"] 
1386-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819633, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1386+
LH=Torso["Left Hip"] 
1387-
			RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1387+
RS=Torso["Right Shoulder"] 
1388-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.42285931, 0.338565946, -0.110074639, 0.983876407, 0.1786367, 0.00868223887, -0.0932332501, 0.553717494, -0.827468753, -0.152623802, 0.813317537, 0.561444461),Alpha)
1388+
RH=Torso["Right Hip"] 
1389-
			RS.C0 = clerp(RS.C0,CFrame.new(1.374735, 0.282860518, -0.133752465, 0.973415911, -0.228878334, 0.00868532527, 0.135509402, 0.544919252, -0.827466309, 0.184656292, 0.806645751, 0.561448157),Alpha)
1389+
Face = Head.face
1390-
			NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.49895275, -0.014400661, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1390+
Neck=Torso.Neck
1391
it=Instance.new
1392-
		local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).BrickColor
1392+
attacktype=1
1393-
		local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).BrickColor
1393+
vt=Vector3.new
1394-
		Sound(torso,1093102664,.85,5,false,true,true)
1394+
cf=CFrame.new
1395-
		Sound(torso,429400881,1,1,false,true,true)
1395+
euler=CFrame.fromEulerAnglesXYZ
1396-
		FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
1396+
angles=CFrame.Angles
1397-
		Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N())
1397+
cloaked=false
1398-
		FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),BrickColor=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
1398+
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1399-
		Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N())		
1399+
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1400-
		FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
1400+
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
1401-
		FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0)})
1401+
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
1402-
		Instance.AllChildren(who,function(v)
1402+
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
1403-
			if(v.Name:lower():find"arm" or v.Name:lower():find"hand")then
1403+
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
1404-
				v:destroy()
1404+
RootPart=Character.HumanoidRootPart
1405
RootJoint=RootPart.RootJoint
1406-
		end, true)
1406+
RootCF=euler(-1.57,0,3.14)
1407-
		if(not VoidSB)then
1407+
attack = false 
1408-
			coroutine.wrap(function()
1408+
attackdebounce = false 
1409-
				repeat swait() 
1409+
deb=false
1410-
				BloodDrop(torso.CFrame * CF.N(-.5,.5,0).p,torso.CFrame * CF.N(-1,.5,0).p,15)
1410+
equipped=true
1411-
				BloodDrop(torso.CFrame * CF.N(.5,.5,0).p,torso.CFrame * CF.N(1,.5,0).p,15)
1411+
hand=false
1412-
				humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
1412+
MMouse=nil
1413-
				humanoid.Health = 0
1413+
combo=0
1414-
			end)()
1414+
mana=0
1415
trispeed=.2
1416-
			coroutine.wrap(function()
1416+
attackmode='none'
1417-
				repeat swait()  humanoid.Health = humanoid.Health - 0.5 until not who or not who.Parent or not humanoid.Parent
1417+
local idle=0
1418-
				humanoid.Health = 0
1418+
local Anim="Idle"
1419-
			end)()
1419+
local Effects={}
1420
local gun=false
1421-
			local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
1421+
local shoot=false
1422-
			local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
1422+
local sine = 0
1423-
			prt1.Parent = torso;
1423+
local change = 1
1424-
			prt2.Parent = torso;
1424+
player=nil 
1425-
			local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(90),0)})
1425+
1426-
			local prt2W = NewInstance('Weld',torso,{Part0=prt2,Part1=torso,C0=CF.N(0,-.5,-1.25)*CF.A(0,M.R(-90),0)})
1426+
function RecolorTextAndRename(name,col1,col2,font)
1427
modet.TextStrokeColor3 = col2
1428-
		
1428+
modet.TextColor3 = col1
1429-
		humanoid.Died:connect(function()
1429+
modet.Font = font
1430-
			Ragdoll(who)
1430+
modet.Text = name
1431-
		end)
1431+
1432-
		who.Parent = workspace
1432+
mouse=Player:GetMouse()
1433
--save shoulders 
1434-
		local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
1434+
RSH, LSH=nil, nil 
1435-
		local prt2,prtcl2 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
1435+
--welds 
1436-
		prt1.Parent = FRArm;
1436+
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
1437-
		prt2.Parent = FLArm;
1437+
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
1438-
		local prt1W = NewInstance('Weld',FRArm,{Part0=prt1,Part1=FRArm,C0=CF.N(0,0,0)*CF.A(0,M.R(90),0)})
1438+
LH=Torso["Left Hip"]
1439-
		local prt2W = NewInstance('Weld',FLArm,{Part0=prt2,Part1=FLArm,C0=CF.N(0,0,0)*CF.A(0,M.R(-90),0)})
1439+
RH=Torso["Right Hip"]
1440-
		gWeld:destroy()
1440+
TorsoColor=Torso.BrickColor
1441-
		humanoid.PlatformStand = false
1441+
function NoOutline(Part)
1442-
		if(oRoot)then
1442+
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1443-
			oRoot.Parent = who
1443+
1444-
			if(who:FindFirstChild('RootJoint',true))then
1444+
player=Player 
1445-
				oRoot.RootJoint.Part0 = oRoot
1445+
ch=Character
1446-
				oRoot.RootJoint.Part1 = torso
1446+
RSH=ch.Torso["Right Shoulder"] 
1447
LSH=ch.Torso["Left Shoulder"] 
1448-
				humanoid:BuildRigFromAttachments()
1448+
-- 
1449
RSH.Parent=nil 
1450
LSH.Parent=nil 
1451-
		
1451+
-- 
1452-
		
1452+
RW.Name="Right Shoulder"
1453-
		for i = 0, 3, 0.1 do
1453+
RW.Part0=ch.Torso 
1454-
			swait()
1454+
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
1455-
			local Alpha = .15
1455+
RW.C1=cf(0, 0.5, 0) 
1456-
			RJ.C0 = clerp(RJ.C0,CFrame.new(3.20564755e-13, 0.00629412755, 1.41908095e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1456+
RW.Part1=ch["Right Arm"] 
1457-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819633, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1457+
RW.Parent=ch.Torso 
1458-
			RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1458+
-- 
1459-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.25778806, 0.320386261, -0.139421374, 0.690939784, 0.722859621, 0.00868486147, -0.400907725, 0.393146276, -0.827471495, -0.601560116, 0.568251252, 0.561440408),Alpha)
1459+
LW.Name="Left Shoulder"
1460-
			RS.C0 = clerp(RS.C0,CFrame.new(1.39739037, 0.354236364, -0.0289047062, 0.709462166, -0.704689503, 0.00868486147, 0.400770277, 0.393286407, -0.827471495, 0.579694867, 0.59054029, 0.561440408),Alpha)
1460+
LW.Part0=ch.Torso 
1461-
			NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.49895275, -0.014400661, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1461+
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
1462
LW.C1=cf(0, 0.5, 0) 
1463-
		Hum.WalkSpeed = 16
1463+
LW.Part1=ch["Left Arm"] 
1464-
		Hum.JumpPower = 50
1464+
LW.Parent=ch.Torso 
1465-
		Attack = false
1465+
1466-
		NeutralAnims = true
1466+
local Stats=Instance.new("BoolValue")
1467
Stats.Name="Stats"
1468
Stats.Parent=Character
1469-
function ScrewMe()
1469+
local Atk=Instance.new("NumberValue")
1470-
	Attack = true
1470+
Atk.Name="Damage"
1471-
	NeutralAnims = false
1471+
Atk.Parent=Stats
1472-
	for i = 0, 2, 0.1 do
1472+
Atk.Value=1
1473
local Def=Instance.new("NumberValue")
1474-
		local Alpha = .15
1474+
Def.Name="Defense"
1475-
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000601041073, 0.0062919003, -0.000300966523, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
1475+
Def.Parent=Stats
1476-
		LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
1476+
Def.Value=1
1477-
		RH.C0 = clerp(RH.C0,CFrame.new(0.501642942, -0.991074204, 0.000842738897, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
1477+
local Speed=Instance.new("NumberValue")
1478-
		LS.C0 = clerp(LS.C0,CFrame.new(-1.12979531, 0.241689205, 0.149894863, 0.813591897, -0.571708977, 0.105910838, 0.505802035, 0.785755217, 0.356024235, -0.286762208, -0.236088455, 0.928455591),Alpha)
1478+
Speed.Name="Speed"
1479-
		RS.C0 = clerp(RS.C0,CFrame.new(1.41494429, 0.493437499, 0.00856034085, 0.986078084, -0.165549055, 0.0156079903, 0.165468931, 0.986195028, 0.00630042888, -0.0164355561, -0.0036300756, 0.99985832),Alpha)
1479+
Speed.Parent=Stats
1480-
		NK.C0 = clerp(NK.C0,CFrame.new(-0.272200465, 1.60343766, -0.0909831151, -0.271778286, -0.29597038, 0.915717363, -0.178016067, 0.950573504, 0.254402429, -0.945752025, -0.0938713551, -0.311032623),Alpha)
1480+
Speed.Value=1
1481
local Mvmt=Instance.new("NumberValue")
1482-
	local screwdriver = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(2.158,0.29,0.312),RArm.CFrame,false,false)
1482+
Mvmt.Name="Movement"
1483-
	local driverMesh = Mesh(screwdriver,Enum.MeshType.FileMesh,"rbxassetid://70265804","rbxassetid://70265794",V3.N(1,.5,.5),V3.N())
1483+
Mvmt.Parent=Stats
1484-
	local driverWeld = NewInstance("Weld",Char,{Part0=LArm,Part1=screwdriver,C0=CF.N(0,-1.15,0)})
1484+
Mvmt.Value=1
1485-
	for i = 1, 3 do
1485+
1486-
		for i = 0, 2, 0.1 do
1486+
local donum=0
1487-
			swait()
1487+
1488-
			local Alpha = .15
1488+
1489-
			RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000597249367, 0.00629166188, -0.000301384629, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
1489+
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1490-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
1490+
local fp=it("Part")
1491-
			RH.C0 = clerp(RH.C0,CFrame.new(0.501639128, -0.991074204, 0.000842381269, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
1491+
fp.formFactor=formfactor 
1492-
			LS.C0 = clerp(LS.C0,CFrame.new(-0.971063137, 0.544531465, -0.856619298, 0.824469268, -0.565411985, 0.0236563906, 0.239681676, 0.311018854, -0.919684827, 0.512643158, 0.763921857, 0.391944379),Alpha)
1492+
fp.Parent=parent
1493-
			RS.C0 = clerp(RS.C0,CFrame.new(1.36865759, 0.434063494, -0.243990004, 0.943695724, 0.286517411, 0.165366411, 0.0948955566, 0.244413704, -0.965016603, -0.316911817, 0.926374555, 0.203462943),Alpha)
1493+
fp.Reflectance=reflectance
1494-
			NK.C0 = clerp(NK.C0,CFrame.new(0.309692234, 1.56599295, -0.184076563, 0.752268493, 0.275064707, -0.598691583, 0.0132474303, 0.902184188, 0.431147963, 0.658723474, -0.332270145, 0.675040722),Alpha)
1494+
fp.Transparency=transparency
1495-
			driverWeld.C0 = clerp(driverWeld.C0,CFrame.new(0.754458785, -0.945940197, 0.0140114268, -0.867547691, -0.497354031, 8.15391541e-05, -7.91847706e-05, 0.00030207634, 1, -0.49735406, 0.867547691, -0.000301415101),Alpha)
1495+
fp.CanCollide=false 
1496
fp.Locked=true
1497-
		for i = 0, 2, 0.1 do
1497+
fp.BrickColor=brickcolor
1498-
			swait()
1498+
fp.Name=name
1499-
			local Alpha = .15
1499+
fp.Size=size
1500-
			RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000597249367, 0.00629166188, -0.000301384629, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
1500+
fp.Position=Torso.Position 
1501-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
1501+
NoOutline(fp)
1502-
			RH.C0 = clerp(RH.C0,CFrame.new(0.501639128, -0.991074204, 0.000842381269, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
1502+
fp.Material="SmoothPlastic"
1503-
			LS.C0 = clerp(LS.C0,CFrame.new(-0.952282608, 0.388567954, -0.813911676, 0.824469686, -0.527844906, 0.204033226, 0.23967658, -0.000909555703, -0.970852435, 0.512645066, 0.849340379, 0.12576215),Alpha)
1503+
fp:BreakJoints()
1504-
			RS.C0 = clerp(RS.C0,CFrame.new(1.36865759, 0.434063494, -0.243990004, 0.943695724, 0.286517411, 0.165366411, 0.0948955566, 0.244413704, -0.965016603, -0.316911817, 0.926374555, 0.203462943),Alpha)
1504+
return fp 
1505-
			NK.C0 = clerp(NK.C0,CFrame.new(0.309692234, 1.56599295, -0.184076563, 0.752268493, 0.275064707, -0.598691583, 0.0132474303, 0.902184188, 0.431147963, 0.658723474, -0.332270145, 0.675040722),Alpha)
1505+
end 
1506-
			driverWeld.C0 = clerp(driverWeld.C0,CFrame.new(0.75445646, -0.891306043, 0.317142308, -0.867489815, -0.183382571, -0.462420344, -0.159916192, -0.777427077, 0.608304381, -0.471050501, 0.601646185, 0.645084083),Alpha)
1506+
1507
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1508
local mesh=it(Mesh) 
1509-
	for i = 0, 2, 0.1 do
1509+
mesh.Parent=part
1510
if Mesh=="SpecialMesh" then
1511-
		local Alpha = .15
1511+
mesh.MeshType=meshtype
1512-
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.000601041073, 0.0062919003, -0.000300966523, 0.994017541, 0.000686608837, 0.109214716, 0, 0.99998033, -0.00628665462, -0.109216876, 0.00624904549, 0.993997931),Alpha)
1512+
if meshid~="nil" then
1513-
		LH.C0 = clerp(LH.C0,CFrame.new(-0.502559602, -0.990627766, 0.0518152229, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
1513+
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1514-
		RH.C0 = clerp(RH.C0,CFrame.new(0.501642942, -0.991074204, 0.000842738897, 0.995601892, 0, -0.0936849937, 0.000588965253, 0.99998033, 0.00625900552, 0.0936831385, -0.00628665462, 0.995582223),Alpha)
1514+
1515-
		LS.C0 = clerp(LS.C0,CFrame.new(-1.12979531, 0.241689205, 0.149894863, 0.813591897, -0.571708977, 0.105910838, 0.505802035, 0.785755217, 0.356024235, -0.286762208, -0.236088455, 0.928455591),Alpha)
1515+
1516-
		RS.C0 = clerp(RS.C0,CFrame.new(1.41494429, 0.493437499, 0.00856034085, 0.986078084, -0.165549055, 0.0156079903, 0.165468931, 0.986195028, 0.00630042888, -0.0164355561, -0.0036300756, 0.99985832),Alpha)
1516+
mesh.Offset=offset
1517-
		NK.C0 = clerp(NK.C0,CFrame.new(-0.272200465, 1.60343766, -0.0909831151, -0.271778286, -0.29597038, 0.915717363, -0.178016067, 0.950573504, 0.254402429, -0.945752025, -0.0938713551, -0.311032623),Alpha)
1517+
mesh.Scale=scale
1518
return mesh
1519-
	screwdriver:destroy()
1519+
1520-
	Attack = false
1520+
1521-
	NeutralAnims = true
1521+
function weld(parent,part0,part1,c0)
1522
local weld=it("Weld") 
1523-
function SliceYou()
1523+
weld.Parent=parent
1524-
	Attack = true
1524+
weld.Part0=part0 
1525-
	NeutralAnims = false
1525+
weld.Part1=part1 
1526-
	local saw,weld = Equip_Sawblade()
1526+
weld.C0=c0
1527-
	for i = 0, 2, 0.1 do
1527+
return weld
1528
end
1529-
		local Alpha = .15
1529+
1530-
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.0029785831, 0.00629174896, 0.00529580005, 0.517270923, -0.00537902303, -0.855804324, 0, 0.99998033, -0.00628521619, 0.855821192, 0.00325116003, 0.517260671),Alpha)
1530+
local Color1=Torso.BrickColor
1531-
		LH.C0 = clerp(LH.C0,CFrame.new(-0.524694026, -0.992068648, -0.177415758, 0.503846943, 0, 0.863792896, -0.00542912632, 0.99998033, 0.00316678779, -0.863775849, -0.00628521619, 0.503836989),Alpha)
1531+
1532-
		RH.C0 = clerp(RH.C0,CFrame.new(0.863649905, -0.990154982, 0.147100359, 0.503846943, 0, 0.863792896, -0.00542912632, 0.99998033, 0.00316678779, -0.863775849, -0.00628521619, 0.503836989),Alpha)
1532+
local bodvel=Instance.new("BodyVelocity")
1533-
		LS.C0 = clerp(LS.C0,CFrame.new(-1.15776694, 0.555799365, -0.115642846, -0.0494773015, 0.838752568, -0.54226011, -0.986161113, -0.127040714, -0.106522933, -0.15823549, 0.529485285, 0.833430767),Alpha)
1533+
local bg=Instance.new("BodyGyro")
1534-
		RS.C0 = clerp(RS.C0,CFrame.new(1.41811252, 0.715449214, 0.00713690743, 0.924166977, -0.38166979, 0.0156050026, 0.381617904, 0.924298882, 0.00629791059, -0.0168274939, 0.00013487041, 0.999858379),Alpha)
1534+
1535-
		NK.C0 = clerp(NK.C0,CFrame.new(-0.0103359073, 1.49896884, -0.0121970959, 0.517271042, -0.0492044352, 0.854405463, -0.00537938019, 0.998139322, 0.0607386976, -0.855804205, -0.0360145383, 0.516043782),Alpha)
1535+
1536
if num==0 or num==nil then
1537-
	for i = 0, 3, 0.1 do
1537+
game:service'RunService'.Stepped:wait(0)
1538
else
1539-
		local Alpha = .3
1539+
for i=0,num do
1540-
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.0750166476, 0.00629172707, 0.115993313, -0.407934308, 0.00573777966, 0.912992895, 0, 0.99998033, -0.00628445856, -0.913010895, -0.00256364676, -0.407926261),Alpha)
1540+
game:service'RunService'.Stepped:wait(0)
1541-
		LH.C0 = clerp(LH.C0,CFrame.new(-0.702545583, -0.991440296, -0.0774632096, -0.393630832, 0, -0.919268608, 0.00577710615, 0.99998033, -0.00247375714, 0.919250488, -0.00628445856, -0.393623054),Alpha)
1541+
1542-
		RH.C0 = clerp(RH.C0,CFrame.new(0.572302818, -0.991491556, -0.0655612499, -0.393630832, 0, -0.919268608, 0.00577710615, 0.99998033, -0.00247375714, 0.919250488, -0.00628445856, -0.393623054),Alpha)
1542+
1543-
		LS.C0 = clerp(LS.C0,CFrame.new(-1.42436278, 0.674626052, -0.273927838, 0.816972971, 0.196224883, -0.54226476, -0.298526257, 0.948434591, -0.106555678, 0.493393689, 0.248933315, 0.833423615),Alpha)
1543+
1544-
		RS.C0 = clerp(RS.C0,CFrame.new(1.39865923, 0.565930247, 0.00839936361, -0.125458091, -0.991975904, 0.0156244934, 0.992089748, -0.125373363, 0.00629395852, -0.00428455323, 0.0162905455, 0.99985826),Alpha)
1544+
1545-
		NK.C0 = clerp(NK.C0,CFrame.new(0.141048998, 1.4988662, -0.0285577606, -0.407934487, 0.0524925366, -0.911500514, 0.0057374211, 0.998473644, 0.054933507, 0.912992835, 0.0171796028, -0.40761295),Alpha)
1545+
-------- RAINBOW LEAVE IT TO ME
1546
local r = 255
1547-
	local sound = Sound(Torso,367720620,false,false,false)
1547+
local g = 0
1548-
	sound:Play()
1548+
local b = 0
1549-
	for i = 0, 6, .1 do
1549+
coroutine.resume(coroutine.create(function()
1550-
		weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
1550+
while wait() do
1551
	for i = 0, 254/5 do
1552
		swait()
1553-
	for i = 0, 2, .1 do
1553+
		g = g + 5
1554-
		weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
1554+
1555
	for i = 0, 254/5 do
1556
		swait()
1557-
	sound:Play()
1557+
		r = r - 5
1558-
	for i = 0, 1, .1 do
1558+
1559-
		weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(25)),.3)
1559+
	for i = 0, 254/5 do
1560
		swait()
1561
		b = b + 5
1562-
	sound:Play()
1562+
1563-
	for i = 0, 5, .1 do
1563+
	for i = 0, 254/5 do
1564-
		weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(55)),.3)
1564+
1565
		g = g - 5
1566
	end
1567-
	for i = 1, 5 do
1567+
	for i = 0, 254/5 do
1568-
		Effect{
1568+
1569-
			Effect='Resize+AndFade',
1569+
		r = r + 5
1570-
			Color = BrickColor.new'Really red',
1570+
1571-
			Material = Enum.Material.Neon,
1571+
	for i = 0, 254/5 do
1572-
			Size=V3.N(3.5,3.5,3.5),
1572+
1573-
			CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
1573+
		b = b - 5
1574-
			FXSettings={
1574+
1575-
				EndSize=V3.N(.05,.05,.05),
1575+
1576-
				EndIsIncrement=true,
1576+
end))
1577-
				
1577+
1578
 
1579-
		}
1579+
so = function(id,par,vol,pit) 
1580
coroutine.resume(coroutine.create(function()
1581-
	saw:destroy()
1581+
local sou = Instance.new("Sound",par or workspace)
1582-
	Attack = false
1582+
sou.Volume=vol
1583-
	NeutralAnims = true
1583+
sou.Pitch=pit or 1
1584
sou.SoundId=id
1585-
function Taunt()
1585+
swait() 
1586-
	local tauntFuncs = {SliceYou,ScrewMe}
1586+
sou:play() 
1587-
	local taunt = tauntFuncs[M.RNG(1,#tauntFuncs)]
1587+
game:GetService("Debris"):AddItem(sou,6)
1588-
	taunt()
1588+
end))
1589
end
1590-
function Aids()
1590+
1591-
	Music.Playing = false
1591+
function clerp(a,b,t) 
1592-
	local DabSounds = {420701444,420701460,420701487}
1592+
local qa = {QuaternionFromCFrame(a)}
1593-
	local DabSnd = Sound(Torso,DabSounds[M.RNG(1,#DabSounds)],1,5,false,false,false)
1593+
local qb = {QuaternionFromCFrame(b)} 
1594-
	repeat swait() until DabSnd.IsLoaded
1594+
local ax, ay, az = a.x, a.y, a.z 
1595-
	DabSnd:Play()
1595+
local bx, by, bz = b.x, b.y, b.z
1596-
	DabSnd.Ended:connect(function()DabSnd:destroy()end)
1596+
local _t = 1-t
1597-
	Attack = true
1597+
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1598-
	NeutralAnims = false
1598+
end 
1599-
	local a = 0
1599+
1600-
	for i = 0, DabSnd.TimeLength * Frame_Speed/DabSnd.Pitch do
1600+
function QuaternionFromCFrame(cf) 
1601-
		a = a + 1
1601+
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1602
local trace = m00 + m11 + m22 
1603-
		local Alpha = .3
1603+
if trace > 0 then 
1604-
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.0561925545, 0.006292901+.2*M.C(a/16), -0.00967639871, 0.961586297, 0.00172359415, 0.274496257, 0, 0.99998033, -0.00627899449, -0.274501652, 0.00603779452, 0.961567342),Alpha)
1604+
local s = math.sqrt(1 + trace) 
1605-
		LH.C0 = clerp(LH.C0,CFrame.new(-0.593769729, -0.99042201-.2*M.C(a/16), 0.0849506408, 0.965754986, 0, -0.259456009, 0.00162912265, 0.99998033, 0.00606396981, 0.259450912, -0.00627899449, 0.965735972),Alpha)
1605+
local recip = 0.5/s 
1606-
		RH.C0 = clerp(RH.C0,CFrame.new(0.468464553, -0.991293669-.2*M.C(a/16), -0.0339690484, 0.965754986, 0, -0.259456009, 0.00162912265, 0.99998033, 0.00606396981, 0.259450912, -0.00627899449, 0.965735972),Alpha)
1606+
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1607-
		LS.C0 = clerp(LS.C0,CFrame.new(-1.15301001, 0.367895871, -0.145940349+.2*M.C(a/16), 0.375669211, 0.913452208, -0.156454355, -0.926753879, 0.37026915, -0.0634673014, -4.41223383e-05, 0.168837398, 0.985643983),Alpha)
1607+
else 
1608-
		RS.C0 = clerp(RS.C0,CFrame.new(0.998128295, 0.633566499, -0.753388047+.2*M.C(a/16), 0.594308019, 0.804203451, 0.00742085278, -0.383671522, 0.29161948, -0.876215935, -0.706819832, 0.517895043, 0.481861711),Alpha)
1608+
local i = 0 
1609-
		NK.C0 = clerp(NK.C0,CFrame.new(0.207638323, 1.47957158, -0.302699238, 0.745848298, 0.476892024, -0.465063959, 0.0606503561, 0.646653771, 0.760368645, 0.663349032, -0.595326006, 0.453382045),Alpha)
1609+
if m11 > m00 then
1610
i = 1
1611-
	Music.Playing = true
1611+
1612-
	Attack = false
1612+
if m22 > (i == 0 and m00 or m11) then 
1613-
	NeutralAnims = true
1613+
i = 2 
1614
end 
1615
if i == 0 then 
1616-
function OnceWas(who)
1616+
local s = math.sqrt(m00-m11-m22+1) 
1617-
	for _,v in next, who:children() do
1617+
local recip = 0.5/s 
1618-
		if(v:IsA'BasePart')then
1618+
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1619-
			Effect{
1619+
elseif i == 1 then 
1620-
				Parent=Effects, 
1620+
local s = math.sqrt(m11-m22-m00+1) 
1621-
				Effect='Fade',
1621+
local recip = 0.5/s 
1622-
				Color = BrickColor.new'Crimson',
1622+
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1623-
				Material = Enum.Material.Glass,
1623+
elseif i == 2 then 
1624-
				Size = v.Size,
1624+
local s = math.sqrt(m22-m00-m11+1) 
1625-
				CFrame=v.CFrame,
1625+
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1626-
				Frames = 90,
1626+
end 
1627
end 
1628
end
1629
 
1630
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1631
local xs, ys, zs = x + x, y + y, z + z 
1632-
function Teleport(where)
1632+
local wx, wy, wz = w*xs, w*ys, w*zs 
1633-
	OnceWas(Char)
1633+
local xx = x*xs 
1634-
	Sound(Root,235097614,3,1,false,true,true)
1634+
local xy = x*ys 
1635-
	Sound(Root,75356820,2,1,false,true,true)
1635+
local xz = x*zs 
1636-
	Root.CFrame = CF.N(where.p)
1636+
local yy = y*ys 
1637-
	OnceWas(Char)
1637+
local yz = y*zs 
1638
local zz = z*zs 
1639
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)) 
1640-
function Dash()
1640+
1641-
	Attack = true
1641+
1642-
	Sound(Root,235097614,3,1,false,true,true)
1642+
function QuaternionSlerp(a, b, t) 
1643-
	Sound(Root,75356820,2,1,false,true,true)
1643+
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1644-
	for i = 1, 5 do
1644+
local startInterp, finishInterp; 
1645-
		OnceWas(Char)
1645+
if cosTheta >= 0.0001 then 
1646-
		Root.CFrame = Root.CFrame*CF.N(0,0,-5)
1646+
if (1 - cosTheta) > 0.0001 then 
1647
local theta = math.acos(cosTheta) 
1648
local invSinTheta = 1/math.sin(theta) 
1649-
	Attack = false
1649+
startInterp = math.sin((1-t)*theta)*invSinTheta 
1650
finishInterp = math.sin(t*theta)*invSinTheta  
1651
else 
1652-
function Shriek()
1652+
startInterp = 1-t 
1653-
	Attack = true
1653+
finishInterp = t 
1654-
	NeutralAnims = false
1654+
end 
1655-
	local scream = Sound(Head,198165368,.5,10,false,false,false)
1655+
else 
1656-
	local i = 0
1656+
if (1+cosTheta) > 0.0001 then 
1657-
	scream:Play()
1657+
local theta = math.acos(-cosTheta) 
1658-
	while scream.Playing do
1658+
local invSinTheta = 1/math.sin(theta) 
1659-
		i = i + 1
1659+
startInterp = math.sin((t-1)*theta)*invSinTheta 
1660
finishInterp = math.sin(t*theta)*invSinTheta 
1661-
		coroutine.wrap(function()
1661+
else 
1662-
			AOEFunction(Head.Position,30,function(who)
1662+
startInterp = t-1 
1663-
				local h,hd = who:FindFirstChildOfClass'Humanoid',who:FindFirstChild'Head'
1663+
finishInterp = t 
1664-
				if(h and hd and h.Health > 0)then
1664+
end 
1665-
					h.Health = 0
1665+
end 
1666-
					Sound(hd,429400881,1,1,false,true,true)
1666+
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 
1667-
					Ragdoll(who)
1667+
1668-
					swait()
1668+
1669-
					local frags = Fragment(hd)
1669+
local function CFrameFromTopBack(at, top, back)
1670-
					for _,v in next, frags:children() do
1670+
local right = top:Cross(back)
1671-
						v.BrickColor = BloodColor
1671+
return CFrame.new(at.x, at.y, at.z,
1672-
						v.Material = BloodMaterial
1672+
right.x, top.x, back.x,
1673-
						v.CanCollide = true
1673+
right.y, top.y, back.y,
1674-
						v.Anchored = false
1674+
right.z, top.z, back.z)
1675
end
1676-
					hd:destroy()
1676+
1677
function Triangle(a, b, c)
1678-
			end)
1678+
local edg1 = (c-a):Dot((b-a).unit)
1679-
		end)()
1679+
local edg2 = (a-b):Dot((c-b).unit)
1680-
		local Alpha = .15
1680+
local edg3 = (b-c):Dot((a-c).unit)
1681-
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.00956845004, -0.141102523, 0.612865508, 0.999947488, 0.00962571148, -0.00340035092, -0.00964800082, 0.782201111, -0.622951329, -0.00333659165, 0.622951448, 0.782252967),Alpha)
1681+
if edg1 <= (b-a).magnitude and edg1 >= 0 then
1682-
		LH.C0 = clerp(LH.C0,CFrame.new(-0.495904773, -1.0368886, 0.0598222613, 0.999878109, -0.00964800082, 0.012275002, -0.000100981888, 0.782201111, 0.623026073, -0.0156124765, -0.622951329, 0.78210485),Alpha)
1682+
a, b, c = a, b, c
1683-
		RH.C0 = clerp(RH.C0,CFrame.new(0.499093086, -1.03124118, 0.0517056584, 0.999878109, -0.00964800082, 0.012275002, -0.000100981888, 0.782201111, 0.623026073, -0.0156124765, -0.622951329, 0.78210485),Alpha)
1683+
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
1684-
		LS.C0 = clerp(LS.C0,CFrame.new(-1.23829794, 0.600065649, 0.16030249, -0.8319574, 0.546545088, -0.0955789387, 0.0976095572, -0.0254041255, -0.994900525, -0.54618609, -0.837044299, -0.0322128981),Alpha)
1684+
a, b, c = b, c, a
1685-
		RS.C0 = clerp(RS.C0,CFrame.new(1.40538526, 0.413302839, 0.119919479, 0.97065413, -0.226111293, -0.0818808898, 0.0516543165, -0.13650623, 0.989291787, -0.23486729, -0.96448946, -0.120820649),Alpha)
1685+
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
1686-
		NK.C0 = clerp(NK.C0,CFrame.new(3.62367791e-06, 1.56057274, 0.233575165, 1, 3.8058497e-06, -3.58493999e-05, -1.91188519e-05, 0.899042785, -0.437860936, 3.05641443e-05, 0.437861085, 0.899042606),Alpha)
1686+
a, b, c = c, a, b
1687
else
1688-
	Attack = false
1688+
assert(false, "unreachable")
1689-
	NeutralAnims = true
1689+
1690
 
1691
local len1 = (c-a):Dot((b-a).unit)
1692-
function SawMeDaddy()
1692+
local len2 = (b-a).magnitude - len1
1693-
	local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
1693+
local width = (a + (b-a).unit*len1 - c).magnitude
1694-
	if(torso)then
1694+
1695-
		Attack = true
1695+
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
1696-
		NeutralAnims = false
1696+
1697-
		local who = torso.Parent
1697+
local list = {}
1698-
		who.Parent = Char
1698+
1699-
		Hum.WalkSpeed = 0
1699+
if len1 > 0.01 then
1700-
		Hum.JumpPower = 0
1700+
local w1 = Instance.new('WedgePart', m)
1701-
		humanoid.WalkSpeed = 0
1701+
game:GetService("Debris"):AddItem(w1,5)
1702-
		humanoid.JumpPower = 0
1702+
w1.Material = "SmoothPlastic"
1703-
		local saw,weld = Equip_Sawblade()
1703+
w1.FormFactor = 'Custom'
1704-
		pcall(function() who.HumanoidRootPart:destroy() end)
1704+
w1.BrickColor = BrickColor.new("Really red")
1705-
		local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-3)*CF.A(0,M.R(180),0)})
1705+
w1.Transparency = 0
1706-
		for i = 0, 6, 0.1 do
1706+
w1.Reflectance = 0
1707-
			swait()
1707+
w1.Material = "SmoothPlastic"
1708-
			weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(5)),.3)
1708+
w1.CanCollide = false
1709-
			local Alpha = .15
1709+
local l1 = Instance.new("PointLight",w1)
1710-
			RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00836368278, 0.00629167072, 0.00190571044, 0.0349976346, 0.00628316449, 0.99936235, 0, 0.99998033, -0.00628704997, -0.999382019, 0.000220031856, 0.0349969491),Alpha)
1710+
l1.Color = Color3.new(170,0,0)
1711-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.503456116, -0.990501761, 0.0718512386, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
1711+
NoOutline(w1)
1712-
			RH.C0 = clerp(RH.C0,CFrame.new(0.539414704, -0.991044283, 0.00562152406, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
1712+
local sz = Vector3.new(0.2, width, len1)
1713-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.40707266, 0.497466505, -0.00446076319, 0.980866492, 0.19405432, 0.0156163573, -0.19417055, 0.980947733, 0.00629086327, -0.0140980631, -0.00920273364, 0.999858439),Alpha)
1713+
w1.Size = sz
1714-
			RS.C0 = clerp(RS.C0,CFrame.new(1.31421685, 0.81056267, 0.00814598706, -0.489612877, -0.871799946, 0.0156333037, 0.871937394, -0.489577413, 0.00628277427, 0.00217639096, 0.0167073887, 0.999858201),Alpha)
1714+
local sp = Instance.new("SpecialMesh",w1)
1715-
			NK.C0 = clerp(NK.C0,CFrame.new(0.00717293471, 1.49903798, -0.00130830682, 0.0349974521, 0.0574585311, -0.997728944, 0.00628280686, 0.998313606, 0.057712581, 0.99936235, -0.00828839932, 0.0345774256),Alpha)
1715+
sp.MeshType = "Wedge"
1716
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
1717-
		Sound(Torso,367720620,1,1,false,true,true)
1717+
w1:BreakJoints()
1718-
		coroutine.wrap(function()
1718+
w1.Anchored = true
1719-
			repeat swait()
1719+
w1.Parent = workspace
1720-
				weld.C0 = weld.C0:lerp(weld.C0 * CF.A(0,0,M.R(45)),.3)
1720+
w1.Transparency = 0.7
1721-
			until not saw.Parent
1721+
table.insert(Effects,{w1,"Disappear",.01})
1722-
		end)()
1722+
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
1723-
		swait(60)
1723+
table.insert(list,w1)
1724-
		local slicing = Sound(saw,1013673726,1,1,true,false,true)
1724+
1725-
		Sound(torso,429400881,1,1,false,true,true)
1725+
1726-
		local prt1,prtcl1 = Blood4(V3.N(.5,.5,.5),torso.CFrame)
1726+
if len2 > 0.01 then
1727-
		prt1.Parent = torso;
1727+
local w2 = Instance.new('WedgePart', m)
1728-
		local prt1W = NewInstance('Weld',torso,{Part0=prt1,Part1=torso,C0=CF.A(0,M.R(180),0)})
1728+
game:GetService("Debris"):AddItem(w2,5)
1729-
		for i = 0, .3, 0.001 do
1729+
w2.Material = "SmoothPlastic"
1730-
			swait()
1730+
w2.FormFactor = 'Custom'
1731-
			
1731+
w2.BrickColor = BrickColor.new("Really red")
1732-
			humanoid.Health = humanoid.Health - .5
1732+
w2.Transparency = 0
1733-
			if(humanoid.Health <= 0)then
1733+
w2.Reflectance = 0
1734-
				gWeld:destroy()
1734+
w2.Material = "SmoothPlastic"
1735-
				Sound(torso,429400881,1,1,false,true,true)
1735+
w2.CanCollide = false
1736-
				break
1736+
local l2 = Instance.new("PointLight",w2)
1737
l2.Color = Color3.new(170,0,0)
1738-
			local Alpha = i
1738+
NoOutline(w2)
1739-
			RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00836368278, 0.00629167072, 0.00190571044, 0.0349976346, 0.00628316449, 0.99936235, 0, 0.99998033, -0.00628704997, -0.999382019, 0.000220031856, 0.0349969491),Alpha)
1739+
local sz = Vector3.new(0.2, width, len2)
1740-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.503456116, -0.990501761, 0.0718512386, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
1740+
w2.Size = sz
1741-
			RH.C0 = clerp(RH.C0,CFrame.new(0.539414704, -0.991044283, 0.00562152406, 0.0505957417, 0, -0.998714209, 0.00627896562, 0.99998033, 0.00031809794, 0.998694539, -0.00628704997, 0.0505947471),Alpha)
1741+
local sp = Instance.new("SpecialMesh",w2)
1742-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.40707266, 0.497466505, -0.00446076319, 0.980866492, 0.19405432, 0.0156163573, -0.19417055, 0.980947733, 0.00629086327, -0.0140980631, -0.00920273364, 0.999858439),Alpha)
1742+
sp.MeshType = "Wedge"
1743-
			RS.C0 = clerp(RS.C0,CFrame.new(1.18219912, 0.268655062, 0.0136158429, 0.6882689, -0.725287437, 0.0156234093, 0.725293934, 0.688410699, 0.00629597344, -0.0153217092, 0.00699824095, 0.99985826),Alpha)
1743+
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
1744-
			NK.C0 = clerp(NK.C0,CFrame.new(0.00717293471, 1.49903798, -0.00130830682, 0.0349974521, 0.0574585311, -0.997728944, 0.00628280686, 0.998313606, 0.057712581, 0.99936235, -0.00828839932, 0.0345774256),Alpha)
1744+
w2:BreakJoints()
1745
w2.Anchored = true
1746-
		humanoid.Health = 0
1746+
w2.Parent = workspace
1747-
		who.Parent = workspace
1747+
w2.Transparency = 0.7
1748-
		Ragdoll(who)
1748+
table.insert(Effects,{w2,"Disappear",.01})
1749-
		slicing:destroy()
1749+
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
1750-
		for i = 1, 5 do
1750+
table.insert(list,w2)
1751-
			Effect{
1751+
1752-
				Effect='Resize+AndFade',
1752+
return unpack(list)
1753-
				Color = BrickColor.new'Really red',
1753+
1754-
				Material = Enum.Material.Neon,
1754+
1755-
				Size=V3.N(3.5,3.5,3.5),
1755+
1756-
				CFrame=saw.CFrame*CF.A(M.RRNG(0,180),M.RRNG(0,180),M.RRNG(0,180)),
1756+
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1757-
				FXSettings={
1757+
  if hit.Parent == nil then
1758-
					EndSize=V3.N(.05,.05,.05),
1758+
    return
1759-
					EndIsIncrement=true,
1759+
  end
1760-
					
1760+
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
1761
  for _, v in pairs(hit.Parent:children()) do
1762
    if v:IsA("Humanoid") then
1763
      h = v
1764-
		Hum.WalkSpeed = 16
1764+
1765-
		Hum.JumpPower = 50
1765+
  end
1766-
		saw:destroy()
1766+
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
1767-
		Attack = false
1767+
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
1768-
		NeutralAnims = true
1768+
      return
1769
    end
1770
    local c = Create("ObjectValue")({
1771-
function The_End()
1771+
      Name = "creator",
1772-
	local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
1772+
      Value = game:service("Players").LocalPlayer,
1773
      Parent = h
1774-
	if(torso)then
1774+
    })
1775-
		Attack = true
1775+
    game:GetService("Debris"):AddItem(c, 0.5)
1776-
		NeutralAnims = false
1776+
    if HitSound ~= nil and HitPitch ~= nil then
1777-
		local who = torso.Parent
1777+
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
1778-
		Hum.WalkSpeed = 0
1778+
1779-
		Hum.JumpPower = 0
1779+
    local Damage = math.random(minim, maxim)
1780-
		humanoid.WalkSpeed = 0
1780+
    local blocked = false
1781-
		humanoid.JumpPower = 0
1781+
    local block = hit.Parent:findFirstChild("Block")
1782-
		who.Parent = Char
1782+
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
1783-
		pcall(function() who.HumanoidRootPart:destroy() end)
1783+
      blocked = true
1784-
		local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.35)})
1784+
      block.Value = block.Value - 1
1785-
		for i = 0, 2, 0.1 do
1785+
      print(block.Value)
1786-
			swait()
1786+
1787-
			local Alpha = .3
1787+
    if blocked == false then
1788-
			RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha)
1788+
      HitHealth = h.Health
1789-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
1789+
      h.Health = h.Health - Damage
1790-
			RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
1790+
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
1791-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha)
1791+
        print("gained kill")
1792-
			RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha)
1792+
      end
1793-
			NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha)
1793+
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1794
    else
1795-
		Sound(Torso,200065377,1.3,4,false,true,true)
1795+
      h.Health = h.Health - Damage / 2
1796-
		for i = 0, 1, 0.1 do
1796+
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1797-
			swait()
1797+
1798-
			local Alpha = .2
1798+
    if Type == "Knockdown" then
1799-
			RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha)
1799+
      local hum = hit.Parent.Humanoid
1800-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
1800+
      hum.PlatformStand = true
1801-
			RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
1801+
      coroutine.resume(coroutine.create(function(HHumanoid)
1802-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha)
1802+
        swait(1)
1803-
			RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha)
1803+
        HHumanoid.PlatformStand = false
1804-
			NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha)
1804+
      end), hum)
1805
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
1806-
		gWeld:destroy()
1806+
      local bodvol = Create("BodyVelocity")({
1807-
		local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=torso,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
1807+
        velocity = angle * knockback,
1808-
		for i = 0, 1, 0.1 do
1808+
        P = 5000,
1809-
			swait()
1809+
        maxForce = Vector3.new(8000, 8000, 8000),
1810-
			local Alpha = .3
1810+
        Parent = hit
1811-
			humanoid.PlatformStand = true
1811+
      })
1812-
			RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1812+
      local rl = Create("BodyAngularVelocity")({
1813-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1813+
        P = 3000,
1814-
			RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1814+
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1815-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
1815+
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1816-
			RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
1816+
        Parent = hit
1817-
			NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
1817+
      })
1818
      game:GetService("Debris"):AddItem(bodvol, 0.5)
1819-
		gWeld:destroy()
1819+
      game:GetService("Debris"):AddItem(rl, 0.5)
1820-
		local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,2.35,0)*CF.A(M.R(90),0,M.R(90))})
1820+
    elseif Type == "Normal" then
1821-
		for i = 0, 6, 0.1 do
1821+
      local vp = Create("BodyVelocity")({
1822-
			swait()
1822+
        P = 500,
1823-
			local Alpha = .3
1823+
        maxForce = Vector3.new(math.huge, 0, math.huge),
1824-
			humanoid.PlatformStand = true
1824+
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
1825-
			RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1825+
      })
1826-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1826+
      if knockback > 0 then
1827-
			RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1827+
        vp.Parent = hit.Parent.Head
1828-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
1828+
      end
1829-
			RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
1829+
      game:GetService("Debris"):AddItem(vp, 0.5)
1830-
			NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
1830+
    elseif Type == "Up" then
1831
      local bodyVelocity = Create("BodyVelocity")({
1832-
		Sound(torso,1093102664,.85,5,false,true,true)
1832+
        velocity = Vector3.new(0, 20, 0),
1833-
		Sound(torso,429400881,1,1,false,true,true)
1833+
        P = 5000,
1834-
		gWeld:destroy()
1834+
        maxForce = Vector3.new(8000, 8000, 8000),
1835-
		Blood(torso.Size,torso.CFrame*CF.A(0,M.R(180),0),250)
1835+
        Parent = hit
1836-
		humanoid.Health = 0
1836+
      })
1837-
		for _,v in next, who:children() do
1837+
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1838-
			if(v:IsA'LocalScript' or v:IsA'Script')then
1838+
      local bodyVelocity = Create("BodyVelocity")({
1839-
				v.Disabled = true
1839+
        velocity = Vector3.new(0, 20, 0),
1840-
				v:destroy()
1840+
        P = 5000,
1841
        maxForce = Vector3.new(8000, 8000, 8000),
1842
        Parent = hit
1843-
		Ragdoll(who,true)
1843+
      })
1844-
		
1844+
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1845
    elseif Type == "Leech" then
1846-
		if(not VoidSB)then
1846+
      local hum = hit.Parent.Humanoid
1847-
			coroutine.wrap(function()
1847+
      if hum ~= nil then
1848-
				repeat swait()
1848+
        for i = 0, 2 do
1849-
					BloodDrop(torso.CFrame * CF.N(0,-torso.Size.Y/2,0).p,(torso.CFrame * CF.N(0,-torso.Size.Y,0)).p,15)
1849+
          Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
1850-
				until not who or not who.Parent
1850+
1851-
			end)()
1851+
        Humanoid.Health = Humanoid.Health + 10
1852-
			coroutine.wrap(function()
1852+
      end
1853-
				local LT = who:FindFirstChild'LowerTorso'
1853+
    elseif Type == "UpKnock" then
1854-
				if(LT)then
1854+
      local hum = hit.Parent.Humanoid
1855-
					repeat swait()
1855+
      hum.PlatformStand = true
1856-
						BloodDrop(LT.CFrame * CF.N(0,LT.Size.Y/2,0).p,(LT.CFrame * CF.N(0,LT.Size.Y,0)).p,15)
1856+
      if hum ~= nil then
1857-
					until not who or not who.Parent
1857+
        hitr = true
1858
      end
1859-
			end)()
1859+
      coroutine.resume(coroutine.create(function(HHumanoid)
1860
        swait(5)
1861-
		
1861+
        HHumanoid.PlatformStand = false
1862-
		for i = 0, 1, 0.1 do
1862+
        hitr = false
1863-
			swait()
1863+
      end), hum)
1864-
			local Alpha = .3
1864+
      local bodyVelocity = Create("BodyVelocity")({
1865-
			humanoid.PlatformStand = true
1865+
        velocity = Vector3.new(0, 20, 0),
1866-
			RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1866+
        P = 5000,
1867-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1867+
        maxForce = Vector3.new(8000, 8000, 8000),
1868-
			RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1868+
        Parent = hit
1869-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022),Alpha)
1869+
      })
1870-
			RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022),Alpha)
1870+
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1871-
			NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
1871+
      local bodyVelocity = Create("BodyVelocity")({
1872
        velocity = Vector3.new(0, 20, 0),
1873-
		for i = 0, 4, 0.1 do
1873+
        P = 5000,
1874-
			swait()
1874+
        maxForce = Vector3.new(8000, 8000, 8000),
1875-
			local Alpha = .3
1875+
        Parent = hit
1876-
			RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1876+
      })
1877-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1877+
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1878-
			RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1878+
    elseif Type == "Snare" then
1879-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1879+
      local bp = Create("BodyPosition")({
1880-
			RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1880+
        P = 2000,
1881-
			NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
1881+
        D = 100,
1882
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1883-
		who.Parent = workspace
1883+
        position = hit.Parent.Torso.Position,
1884-
		Attack = false
1884+
        Parent = hit.Parent.Torso
1885-
		NeutralAnims = true
1885+
      })
1886-
		Hum.WalkSpeed = 16
1886+
      game:GetService("Debris"):AddItem(bp, 1)
1887-
		Hum.JumpPower = 50
1887+
    elseif Type == "Slashnare" then
1888
      Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
1889
      for i = 1, math.random(4, 5) do
1890
        Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
1891-
function ThrowArms()
1891+
      end
1892-
	Attack = true
1892+
      local bp = Create("BodyPosition")({
1893-
	NeutralAnims = false
1893+
        P = 2000,
1894-
	for i = 0, 3, 0.1 do
1894+
        D = 100,
1895
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1896-
		local Alpha = .15
1896+
        position = hit.Parent.Torso.Position,
1897-
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20552612e-13, 0.00629388914, 1.4175821e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1897+
        Parent = hit.Parent.Torso
1898-
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1898+
      })
1899-
		RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1899+
      game:GetService("Debris"):AddItem(bp, 1)
1900-
		LS.C0 = clerp(LS.C0,CFrame.new(-1.49870801, 0.639989734, 0.342571348, 0.999877751, -0.0114739574, -0.0105869146, -9.81397825e-05, -0.682732999, 0.730668128, -0.0156116877, -0.730577767, -0.682650685),Alpha)
1900+
    elseif Type == "Spike" then
1901-
		RS.C0 = clerp(RS.C0,CFrame.new(1.50170219, 0.685996532, 0.261634499, 0.999877751, -0.0114739574, -0.0105869146, -9.81397825e-05, -0.682732999, 0.730668128, -0.0156116877, -0.730577767, -0.682650685),Alpha)
1901+
      CreateBigIceSword(hit.Parent.Torso.CFrame)
1902-
		NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.4989531, -0.0144006833, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1902+
      local bp = Create("BodyPosition")({
1903
        P = 2000,
1904-
	Sound()
1904+
        D = 100,
1905-
	FLArmW:destroy()
1905+
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1906-
	FRArmW:destroy()
1906+
        position = hit.Parent.Torso.Position,
1907-
	local BV1 = NewInstance("BodyVelocity", FRArm, {
1907+
        Parent = hit.Parent.Torso
1908-
		velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
1908+
      })
1909-
		P = 5000,
1909+
      game:GetService("Debris"):AddItem(bp, 1)
1910-
		maxForce = Vector3.new(8000, 8000, 8000),
1910+
    elseif Type == "Freeze" then
1911-
	})
1911+
      local BodPos = Create("BodyPosition")({
1912-
	local BV2 = NewInstance("BodyVelocity", FLArm, {
1912+
        P = 50000,
1913-
		velocity = Vector3.new(0, 10, 0) + Mouse.Hit.lookVector * 50,
1913+
        D = 1000,
1914-
		P = 5000,
1914+
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1915-
		maxForce = Vector3.new(8000, 8000, 8000),
1915+
        position = hit.Parent.Torso.Position,
1916-
	})
1916+
        Parent = hit.Parent.Torso
1917-
	Sound(Torso,541909763,.8,5,false,true,true)
1917+
      })
1918-
	S.Debris:AddItem(BV1, 0.05)
1918+
      local BodGy = Create("BodyGyro")({
1919-
	S.Debris:AddItem(BV2, 0.05)
1919+
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
1920-
	FRArm.CanCollide = true
1920+
        P = 20000,
1921-
	FLArm.CanCollide = true
1921+
        Parent = hit.Parent.Torso,
1922-
	S.Debris:AddItem(FRArm, 5)
1922+
        cframe = hit.Parent.Torso.CFrame
1923-
	S.Debris:AddItem(FLArm, 5)
1923+
      })
1924-
	FRArm = nil
1924+
      hit.Parent.Torso.Anchored = true
1925-
	FLArm = nil
1925+
      coroutine.resume(coroutine.create(function(Part)
1926-
	for i = 0, 1, 0.1 do
1926+
        swait(1.5)
1927
        Part.Anchored = false
1928-
		local Alpha = .3
1928+
      end), hit.Parent.Torso)
1929-
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20552612e-13, 0.00629388914, 1.4175821e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1929+
      game:GetService("Debris"):AddItem(BodPos, 3)
1930-
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1930+
      game:GetService("Debris"):AddItem(BodGy, 3)
1931-
		RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990984261, 0.0154613676, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
1931+
1932-
		LS.C0 = clerp(LS.C0,CFrame.new(-1.50884342, 0.499208659, -0.305685878, 0.999877751, 0.0152528696, -0.00332931988, -9.81397825e-05, -0.20710893, -0.978317916, -0.0156116877, 0.978198647, -0.207082108),Alpha)
1932+
    local debounce = Create("BoolValue")({
1933-
		RS.C0 = clerp(RS.C0,CFrame.new(1.4918015, 0.444425255, -0.370944679, 0.999877751, 0.0152528696, -0.00332931988, -9.81397825e-05, -0.20710893, -0.978317916, -0.0156116877, 0.978198647, -0.207082108),Alpha)
1933+
      Name = "DebounceHit",
1934-
		NK.C0 = clerp(NK.C0,CFrame.new(8.16625652e-06, 1.4989531, -0.0144006833, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1934+
      Parent = hit.Parent,
1935
      Value = true
1936-
	Attack = false
1936+
    })
1937-
	NeutralAnims = true
1937+
    game:GetService("Debris"):AddItem(debounce, Delay)
1938
    c = Instance.new("ObjectValue")
1939-
Mouse.KeyDown:connect(function(k)
1939+
    c.Name = "creator"
1940-
	if(Attack)then return end
1940+
    c.Value = Player
1941-
	if(k == 'q')then Teleport(Mouse.Hit*CF.N(0,3.25,0)) end
1941+
    c.Parent = h
1942-
	if(k == 'e')then Dash() end
1942+
    game:GetService("Debris"):AddItem(c, 0.5)
1943-
	if(not FLArm and not FRArm)then
1943+
  end
1944-
		if(k == 'z')then The_Necc() end
1944+
1945-
		if(k == 'x')then The_End() end
1945+
1946-
		if(k == 'c')then Hands_Off() end
1946+
  local Rate = 0.03333333333333333
1947-
		if(k == 'v')then SawMeDaddy() end
1947+
  local Pos = Pos or Vector3.new(0, 0, 0)
1948-
		if(k == 'b')then Shriek() end
1948+
  local Text = Text or ""
1949-
		if(k == 't')then Taunt() end
1949+
  local Time = Time or 2
1950
  local Color = Color or Color3.new(1, 0, 1)
1951
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1952
  EffectPart.Anchored = true
1953-
Mouse.Button1Down:connect(function()
1953+
  local BillboardGui = Create("BillboardGui")({
1954-
	if(Attack)then return end
1954+
    Size = UDim2.new(3, 0, 3, 0),
1955-
	if(FLArm and FRArm)then
1955+
    Adornee = EffectPart,
1956-
		ThrowArms()
1956+
    Parent = EffectPart
1957
  })
1958
  local TextLabel = Create("TextLabel")({
1959-
Plr.Chatted:connect(function(m)
1959+
    BackgroundTransparency = 1,
1960-
	if(m == '/e aeiou')then Sound(Torso,221792881,1,5,false,true,true) end 
1960+
    Size = UDim2.new(1, 0, 1, 0),
1961-
	if(m == '/e earthquake')then Sound(Torso,1205111204,1,5,false,true,true) end 
1961+
    Text = Text,
1962-
	if(Attack)then return end
1962+
    TextColor3 = Color,
1963-
	if(m == '/e dab')then Aids() end
1963+
    TextScaled = true,
1964
    Font = Enum.Font.ArialBold,
1965
    Parent = BillboardGui
1966-
--// Wrap it all up \\--
1966+
  })
1967
  game.Debris:AddItem(EffectPart, Time + 0.1)
1968
  EffectPart.Parent = game:GetService("Workspace")
1969
  delay(0, function()
1970-
	if(not Music or not Music.Parent)then
1970+
    local Frames = Time / Rate
1971-
		local a = Music.TimePosition
1971+
    for Frame = 1, Frames do
1972-
		Music = Sound(Char,MusicID,MusicPitch,2,true,false,true)
1972+
      wait(Rate)
1973-
		Music.Name = 'Music'
1973+
      local Percent = Frame / Frames
1974-
		Music.TimePosition = a
1974+
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1975
      TextLabel.TextTransparency = Percent
1976-
	if(Music.Volume ~= 2)then Music.Volume = 2 end
1976+
1977-
	RArm.Transparency = 1
1977+
    if EffectPart and EffectPart.Parent then
1978-
	Sine = Sine + Change
1978+
      EffectPart:Destroy()
1979-
	local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char)
1979+
1980-
	local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
1980+
  end)
1981-
	local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
1981+
1982-
	if(State == 'Walk')then
1982+
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1983-
		local wsVal = 7 / (Hum.WalkSpeed/16)
1983+
  for _, c in pairs(workspace:children()) do
1984-
		local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
1984+
    local hum = c:findFirstChildOfClass("Humanoid")
1985-
		--RH.C1 = RH.C1:lerp(CF.N(0,.925+.5*M.C(Sine/wsVal)/2,0+.5*M.C(Sine/wsVal)/2)*CF.A(-M.R(-15-35*M.C(Sine/wsVal) + -M.S(Sine/wsVal)/2.5),0,0),Alpha)
1985+
    if hum ~= nil then
1986-
		--RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)--
1986+
      local head = c:findFirstChild("Head")
1987-
		RH.C1 = RH.C1:lerp(CF.N(0,.95+.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2) * CF.A(M.R(15-45*M.C(Sine/wsVal)) + M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+.1*M.C(Sine/wsVal)),0,0),Alpha)
1987+
      if head ~= nil then
1988-
		LH.C1 = LH.C1:lerp(CF.N(0,.95-.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2) * CF.A(M.R(15+45*M.C(Sine/wsVal)) + -M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+.1*M.C(Sine/wsVal)),0,0),Alpha)	
1988+
        local targ = head.Position - Part.Position
1989-
	else
1989+
        local mag = targ.magnitude
1990-
		RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3)
1990+
        if magni >= mag and c.Name ~= Player.Name then
1991-
		LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3)
1991+
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1992-
	end	
1992+
1993-
	if(Idle > Frame_Speed*10)then
1993+
      end
1994-
		--idk i'll do something
1994+
1995
  end
1996-
	if(NeutralAnims and not Attack and State == 'Idle')then
1996+
1997-
		Idle = Idle + 1
1997+
1998-
	else
1998+
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
1999-
		Idle = 0
1999+
  for _, c in pairs(workspace:children()) do
2000
    local hum = c:findFirstChild("Humanoid")
2001-
	for v,_ in next, Stunned do
2001+
    if hum ~= nil then
2002-
		if(v.Parent)then
2002+
      local head = c:findFirstChild("Torso")
2003-
			local h = v:FindFirstChildOfClass'Humanoid'
2003+
      if head ~= nil then
2004-
			for _,c in next, v:children() do
2004+
        local targ = head.Position - Part.Position
2005-
				if(c:IsA'Script' or c:IsA'LocalScript')then
2005+
        local mag = targ.magnitude
2006-
					c.Disabled = false
2006+
        if magni >= mag and c.Name ~= Player.Name then
2007
	MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
2008
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2009-
			if(h)then
2009+
2010-
				h.Name = 'no escape lol'
2010+
      end
2011-
				h.PlatformStand = true
2011+
2012
  end
2013-
				Stunned[v] = nil
2013+
2014
2015
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2016-
			Stunned[v] = nil
2016+
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2017
end 
2018
2019-
	if(NeutralAnims)then	
2019+
local origcolor = BrickColor.new("Pastel light blue")
2020-
		if(State == 'Idle')then
2020+
---- This section of explosions.
2021-
			Change = 1
2021+
2022-
			local Alpha = .3
2022+
----
2023-
			RJ.C0 = clerp(RJ.C0,CFrame.new(0.00232864846, 0.00629545515+.2*M.C(Sine/16), 0.00257661846, 0.838281333, -0.00342716719, -0.545226395, 0, 0.99998033, -0.00628564507, 0.545237184, 0.00526913954, 0.838264763),Alpha)
2023+
2024-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.725328565, -0.990803361-.2*M.C(Sine/16), 0.0247094855, 0.82966727, 0, 0.558258176, -0.00350901252, 0.99998033, 0.00521499431, -0.558247149, -0.00628564507, 0.829650879),Alpha)
2024+
2025-
			RH.C0 = clerp(RH.C0,CFrame.new(0.576427579, -0.99124372-.2*M.C(Sine/16), -0.02560886, 0.82966727, 0, 0.558258176, -0.00350901252, 0.99998033, 0.00521499431, -0.558247149, -0.00628564507, 0.829650879),Alpha)
2025+
function ring(type,pos,scale,value)
2026-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.46491873, 0.505438805+.2*M.C(Sine/16), -0.00360340625, 0.996807694, 0.0782995075, 0.0156106055, -0.0784052685, 0.996901929, 0.00628136564, -0.0150704384, -0.0074852705, 0.999858379)*CF.A(-M.R(0+5*M.S(Sine/16)),0,M.R(0+5*M.C(Sine/16))),Alpha)
2026+
local type = type
2027-
			RS.C0 = clerp(RS.C0,CFrame.new(1.44824493, 0.497874349+.2*M.C(Sine/16), 0.00803661905, 0.994963646, -0.0990139842, 0.0156099498, 0.0989264548, 0.995075107, 0.00628477754, -0.0161553323, -0.00470888987, 0.999858439)*CF.A(-M.R(0+5*M.S(Sine/16)),0,-M.R(0+5*M.C(Sine/16))),Alpha)
2027+
local rng = Instance.new("Part", char)
2028-
			NK.C0 = clerp(NK.C0,CFrame.new(-0.00607250631, 1.49895012, -0.0144915879, 0.838281453, -0.0313475803, 0.544335127, -0.00342752389, 0.998023272, 0.0627533421, -0.545226216, -0.0544706844, 0.836516857)*CF.A(M.R(0+5*M.C(Sine/16)),0,0),Alpha)
2028+
        rng.Anchored = true
2029-
		elseif(State == 'Walk')then
2029+
        rng.BrickColor = origcolor
2030-
			local wsVal = 7 / (Hum.WalkSpeed/16)
2030+
        rng.CanCollide = false
2031-
			local Alpha = math.min(.2*(Hum.WalkSpeed/16),1)
2031+
        rng.FormFactor = 3
2032-
			RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-0.175 + 0.025 * M.C(Sine/(wsVal/2)) + -M.S(Sine/(wsVal/2)) / 7,0)*CF.A(0,M.R(0+8*M.C(Sine/wsVal)),M.R(0+2*M.C(Sine/wsVal))),Alpha)
2032+
        rng.Name = "Ring"
2033-
			RH.C0 = RH.C0:lerp(RHC0,Alpha)
2033+
        rng.Size = Vector3.new(1, 1, 1)
2034-
			LH.C0 = LH.C0:lerp(LHC0,Alpha)
2034+
        rng.Transparency = 0
2035-
			RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(0-45*M.C(Sine/wsVal)),0,M.R(5+10*M.C(Sine/wsVal))),Alpha)
2035+
        rng.TopSurface = 0
2036-
			LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(0+45*M.C(Sine/wsVal)),0,M.R(-5+10*M.C(Sine/wsVal))),Alpha)
2036+
        rng.BottomSurface = 0
2037-
			NK.C0 = NK.C0:lerp(NKC0,Alpha)
2037+
        rng.CFrame = pos
2038-
		elseif(State == 'Jump' or State == 'Fall')then
2038+
        local rngm = Instance.new("SpecialMesh", rng)
2039-
			if(Walking)then
2039+
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2040-
				local Alpha = .2
2040+
rngm.Scale = scale
2041-
				RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
2041+
local scaler2 = 1
2042-
				LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha)
2042+
if type == "Add" then
2043-
				RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha)
2043+
scaler2 = 1*value
2044-
				LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
2044+
elseif type == "Divide" then
2045-
				RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
2045+
scaler2 = 1/value
2046-
				NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
2046+
2047
coroutine.resume(coroutine.create(function()
2048-
				local Alpha = .2
2048+
for i = 0,10,0.1 do
2049-
				RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
2049+
swait()
2050-
				LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha)
2050+
if type == "Add" then
2051-
				RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha)
2051+
scaler2 = scaler2 - 0.01*value
2052-
				LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
2052+
elseif type == "Divide" then
2053-
				RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
2053+
scaler2 = scaler2 - 0.01/value
2054-
				NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)			
2054+
2055
rng.Transparency = rng.Transparency + 0.01
2056-
		elseif(State == 'Paralyzed')then
2056+
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
2057-
			local Alpha = .3
2057+
2058-
			RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
2058+
rng:Destroy()
2059-
			RH.C0 = RH.C0:lerp(RHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
2059+
end))
2060-
			LH.C0 = LH.C0:lerp(LHC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-10,10)),Alpha)
2060+
2061-
			RS.C0 = RS.C0:lerp(RSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-5,15)),Alpha)
2061+
2062-
			LS.C0 = LS.C0:lerp(LSC0*CF.A(M.RRNG(-10,10),M.RRNG(-10,10),M.RRNG(-15,5)),Alpha)
2062+
2063-
			NK.C0 = NK.C0:lerp(NKC0,Alpha)
2063+
function wave(type,pos,scale,value)
2064-
		elseif(State == 'Sit')then
2064+
local type = type
2065-
			local Alpha = .3
2065+
local rng = Instance.new("Part", char)
2066-
			RJ.C0 = clerp(RJ.C0,CFrame.new(3.2050404e-13, 0.00629293546, 1.41158671e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
2066+
        rng.Anchored = true
2067-
			LH.C0 = clerp(LH.C0,CFrame.new(-0.686911047, -1.01880026, -0.25455457, 0.980693579, 0.195502773, 0.00425194856, -0.0504306704, 0.273862094, -0.960446, -0.188934311, 0.941688716, 0.278434128),Alpha)
2067+
        rng.BrickColor = origcolor
2068-
			RH.C0 = clerp(RH.C0,CFrame.new(0.557953715, -1.03419244, -0.293038249, 0.986133933, -0.165894628, 0.00425344985, 0.0502241589, 0.273924351, -0.960439026, 0.158166528, 0.947335124, 0.278457999),Alpha)
2068+
        rng.CanCollide = false
2069-
			LS.C0 = clerp(LS.C0,CFrame.new(-1.50518143, 0.551521897, -0.0714710951, 0.999877751, 0.0137732355, 0.00735067623, -9.81397825e-05, 0.47637102, -0.879244447, -0.0156116877, 0.879136324, 0.476314098),Alpha)
2069+
        rng.FormFactor = 3
2070-
			RS.C0 = clerp(RS.C0,CFrame.new(1.4960835, 0.497820318, -0.0970379114, 0.999877751, 0.0137732355, 0.00735067623, -9.81397825e-05, 0.47637102, -0.879244447, -0.0156116877, 0.879136324, 0.476314098),Alpha)
2070+
        rng.Name = "Ring"
2071-
			NK.C0 = clerp(NK.C0,CFrame.new(4.35156289e-06, 1.49895275, -0.0144044831, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
2071+
        rng.Size = Vector3.new(1, 1, 1)
2072
        rng.Transparency = 0
2073
        rng.TopSurface = 0
2074
        rng.BottomSurface = 0
2075
        rng.CFrame = pos
2076
        local rngm = Instance.new("SpecialMesh", rng)
2077
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
2078
rngm.Scale = scale
2079
local scaler2 = 1
2080
if type == "Add" then
2081
scaler2 = 1*value
2082
elseif type == "Divide" then
2083
scaler2 = 1/value
2084
end
2085
coroutine.resume(coroutine.create(function()
2086
for i = 0,10,0.1 do
2087
swait()
2088
if type == "Add" then
2089
scaler2 = scaler2 - 0.01*value
2090
elseif type == "Divide" then
2091
scaler2 = scaler2 - 0.01/value
2092
end
2093
rng.Transparency = rng.Transparency + 0.01
2094
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2095
end
2096
rng:Destroy()
2097
end))
2098
end
2099
2100
function sphere(bonuspeed,type,pos,scale,value,color)
2101
local type = type
2102
local rng = Instance.new("Part", char)
2103
        rng.Anchored = true
2104
if ModeOfGlitch ~= 9 then
2105
        rng.BrickColor = color
2106
elseif ModeOfGlitch == 9 then
2107
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2108
end
2109
        rng.CanCollide = false
2110
        rng.FormFactor = 3
2111
        rng.Name = "Ring"
2112
        rng.Material = "Neon"
2113
        rng.Size = Vector3.new(1, 1, 1)
2114
        rng.Transparency = 0
2115
        rng.TopSurface = 0
2116
        rng.BottomSurface = 0
2117
        rng.CFrame = pos
2118
        local rngm = Instance.new("SpecialMesh", rng)
2119
        rngm.MeshType = "Sphere"
2120
rngm.Scale = scale
2121
if rainbowmode == true then
2122
rng.Color = Color3.new(r/255,g/255,b/255)
2123
end
2124
if ModeOfGlitch == 9 then
2125
coroutine.resume(coroutine.create(function()
2126
while true do
2127
swait()
2128
if rng.Parent ~= nil then
2129
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2130
else
2131
break
2132
end
2133
end
2134
end))
2135
end
2136
local scaler2 = 1
2137
if type == "Add" then
2138
scaler2 = 1*value
2139
elseif type == "Divide" then
2140
scaler2 = 1/value
2141
end
2142
coroutine.resume(coroutine.create(function()
2143
for i = 0,10/bonuspeed,0.1 do
2144
swait()
2145
if rainbowmode == true then
2146
rng.Color = Color3.new(r/255,g/255,b/255)
2147
end
2148
if type == "Add" then
2149
scaler2 = scaler2 - 0.01*value/bonuspeed
2150
elseif type == "Divide" then
2151
scaler2 = scaler2 - 0.01/value*bonuspeed
2152
end
2153
if chaosmode == true then
2154
rng.BrickColor = BrickColor.random()
2155
end
2156
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2157
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2158
end
2159
rng:Destroy()
2160
end))
2161
end
2162
2163
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
2164
local type = type
2165
local rng = Instance.new("Part", char)
2166
        rng.Anchored = true
2167
if ModeOfGlitch ~= 9 then
2168
        rng.BrickColor = color
2169
elseif ModeOfGlitch == 9 then
2170
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2171
end
2172
        rng.CanCollide = false
2173
        rng.FormFactor = 3
2174
        rng.Name = "Ring"
2175
        rng.Material = "Neon"
2176
        rng.Size = Vector3.new(1, 1, 1)
2177
        rng.Transparency = 0
2178
        rng.TopSurface = 0
2179
        rng.BottomSurface = 0
2180
        rng.CFrame = pos
2181
        local rngm = Instance.new("SpecialMesh", rng)
2182
        rngm.MeshType = "Sphere"
2183
rngm.Scale = scale
2184
local scaler2 = 1
2185
local scaler2b = 1
2186
local scaler2c = 1
2187
if type == "Add" then
2188
scaler2 = 1*value
2189
scaler2b = 1*value2
2190
scaler2c = 1*value3
2191
elseif type == "Divide" then
2192
scaler2 = 1/value
2193
scaler2b = 1/value2
2194
scaler2c = 1/value3
2195
end
2196
if ModeOfGlitch == 9 then
2197
coroutine.resume(coroutine.create(function()
2198
while true do
2199
swait()
2200
if rng.Parent ~= nil then
2201
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2202
else
2203
break
2204
end
2205
end
2206
end))
2207
end
2208
coroutine.resume(coroutine.create(function()
2209
for i = 0,10/bonuspeed,0.1 do
2210
swait()
2211
if type == "Add" then
2212
scaler2 = scaler2 - 0.01*value/bonuspeed
2213
scaler2b = scaler2b - 0.01*value/bonuspeed
2214
scaler2c = scaler2c - 0.01*value/bonuspeed
2215
elseif type == "Divide" then
2216
scaler2 = scaler2 - 0.01/value*bonuspeed
2217
scaler2b = scaler2b - 0.01/value*bonuspeed
2218
scaler2c = scaler2c - 0.01/value*bonuspeed
2219
end
2220
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2221
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
2222
end
2223
rng:Destroy()
2224
end))
2225
end
2226
2227
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2228
local type = type
2229
local rng = Instance.new("Part", char)
2230
        rng.Anchored = true
2231
        rng.BrickColor = color
2232
        rng.CanCollide = false
2233
        rng.FormFactor = 3
2234
        rng.Name = "Ring"
2235
        rng.Material = "Neon"
2236
        rng.Size = Vector3.new(1, 1, 1)
2237
        rng.Transparency = 0
2238
        rng.TopSurface = 0
2239
        rng.BottomSurface = 0
2240
        rng.CFrame = pos
2241
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2242
        local rngm = Instance.new("SpecialMesh", rng)
2243
        rngm.MeshType = "Brick"
2244
rngm.Scale = vt(x1,y1,z1)
2245
if rainbowmode == true then
2246
rng.Color = Color3.new(r/255,g/255,b/255)
2247
end
2248
local scaler2 = 1
2249
local speeder = FastSpeed/10
2250
if type == "Add" then
2251
scaler2 = 1*value
2252
elseif type == "Divide" then
2253
scaler2 = 1/value
2254
end
2255
coroutine.resume(coroutine.create(function()
2256
for i = 0,10/bonuspeed,0.1 do
2257
swait()
2258
if rainbowmode == true then
2259
rng.Color = Color3.new(r/255,g/255,b/255)
2260
end
2261
if type == "Add" then
2262
scaler2 = scaler2 - 0.01*value/bonuspeed
2263
elseif type == "Divide" then
2264
scaler2 = scaler2 - 0.01/value*bonuspeed
2265
end
2266
if chaosmode == true then
2267
rng.BrickColor = BrickColor.random()
2268
end
2269
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
2270
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2271
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
2272
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2273
end
2274
rng:Destroy()
2275
end))
2276
end
2277
2278
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2279
local type = type
2280
local rng = Instance.new("Part", char)
2281
        rng.Anchored = true
2282
        rng.BrickColor = color
2283
        rng.CanCollide = false
2284
        rng.FormFactor = 3
2285
        rng.Name = "Ring"
2286
        rng.Material = "Neon"
2287
        rng.Size = Vector3.new(1, 1, 1)
2288
        rng.Transparency = 0
2289
        rng.TopSurface = 0
2290
        rng.BottomSurface = 0
2291
        rng.CFrame = pos
2292
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2293
        local rngm = Instance.new("SpecialMesh", rng)
2294
        rngm.MeshType = "Brick"
2295
rngm.Scale = vt(x1,y1,z1)
2296
if rainbowmode == true then
2297
rng.Color = Color3.new(r/255,g/255,b/255)
2298
end
2299
local scaler2 = 1
2300
local speeder = FastSpeed/10
2301
if type == "Add" then
2302
scaler2 = 1*value
2303
elseif type == "Divide" then
2304
scaler2 = 1/value
2305
end
2306
coroutine.resume(coroutine.create(function()
2307
for i = 0,10/bonuspeed,0.1 do
2308
swait()
2309
if rainbowmode == true then
2310
rng.Color = Color3.new(r/255,g/255,b/255)
2311
end
2312
if type == "Add" then
2313
scaler2 = scaler2 - 0.01*value/bonuspeed
2314
elseif type == "Divide" then
2315
scaler2 = scaler2 - 0.01/value*bonuspeed
2316
end
2317
if chaosmode == true then
2318
rng.BrickColor = BrickColor.random()
2319
end
2320
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
2321
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2322
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2323
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2324
end
2325
rng:Destroy()
2326
end))
2327
end
2328
2329
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2330
local type = type
2331
local rng = Instance.new("Part", char)
2332
        rng.Anchored = true
2333
        rng.BrickColor = color
2334
        rng.CanCollide = false
2335
        rng.FormFactor = 3
2336
        rng.Name = "Ring"
2337
        rng.Material = "Neon"
2338
        rng.Size = Vector3.new(1, 1, 1)
2339
        rng.Transparency = 0
2340
        rng.TopSurface = 0
2341
        rng.BottomSurface = 0
2342
        rng.CFrame = pos
2343
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2344
        local rngm = Instance.new("SpecialMesh", rng)
2345
        rngm.MeshType = "Brick"
2346
rngm.Scale = vt(x1,y1,z1)
2347
if rainbowmode == true then
2348
rng.Color = Color3.new(r/255,g/255,b/255)
2349
end
2350
local scaler2 = 0
2351
local speeder = FastSpeed/10
2352
if type == "Add" then
2353
scaler2 = 1*value
2354
elseif type == "Divide" then
2355
scaler2 = 1/value
2356
end
2357
coroutine.resume(coroutine.create(function()
2358
for i = 0,10/bonuspeed,0.1 do
2359
swait()
2360
if rainbowmode == true then
2361
rng.Color = Color3.new(r/255,g/255,b/255)
2362
end
2363
if type == "Add" then
2364
scaler2 = scaler2 - 0.01*value/bonuspeed
2365
elseif type == "Divide" then
2366
scaler2 = scaler2 - 0.01/value*bonuspeed
2367
end
2368
if chaosmode == true then
2369
rng.BrickColor = BrickColor.random()
2370
end
2371
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
2372
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2373
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
2374
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2375
end
2376
rng:Destroy()
2377
end))
2378
end
2379
2380
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2381
local type = type
2382
local rng = Instance.new("Part", char)
2383
        rng.Anchored = true
2384
if ModeOfGlitch ~= 9 then
2385
        rng.BrickColor = color
2386
elseif ModeOfGlitch == 9 then
2387
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2388
end
2389
        rng.CanCollide = false
2390
        rng.FormFactor = 3
2391
        rng.Name = "Ring"
2392
        rng.Material = "Neon"
2393
        rng.Size = Vector3.new(1, 1, 1)
2394
        rng.Transparency = 0
2395
        rng.TopSurface = 0
2396
        rng.BottomSurface = 0
2397
        rng.CFrame = pos
2398
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2399
        local rngm = Instance.new("SpecialMesh", rng)
2400
        rngm.MeshType = "Sphere"
2401
rngm.Scale = vt(x1,y1,z1)
2402
if rainbowmode == true then
2403
rng.Color = Color3.new(r/255,g/255,b/255)
2404
end
2405
if ModeOfGlitch == 9 then
2406
coroutine.resume(coroutine.create(function()
2407
while true do
2408
swait()
2409
if rng.Parent ~= nil then
2410
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2411
else
2412
break
2413
end
2414
end
2415
end))
2416
end
2417
local scaler2 = 1
2418
local speeder = FastSpeed
2419
if type == "Add" then
2420
scaler2 = 1*value
2421
elseif type == "Divide" then
2422
scaler2 = 1/value
2423
end
2424
coroutine.resume(coroutine.create(function()
2425
for i = 0,10/bonuspeed,0.1 do
2426
swait()
2427
if rainbowmode == true then
2428
rng.Color = Color3.new(r/255,g/255,b/255)
2429
end
2430
if type == "Add" then
2431
scaler2 = scaler2 - 0.01*value/bonuspeed
2432
elseif type == "Divide" then
2433
scaler2 = scaler2 - 0.01/value*bonuspeed
2434
end
2435
if chaosmode == true then
2436
rng.BrickColor = BrickColor.random()
2437
end
2438
speeder = speeder - 0.01*FastSpeed*bonuspeed
2439
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2440
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2441
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
2442
end
2443
rng:Destroy()
2444
end))
2445
end
2446
2447
2448
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2449
local type = type
2450
local rng = Instance.new("Part", char)
2451
        rng.Anchored = true
2452
if ModeOfGlitch ~= 9 then
2453
        rng.BrickColor = color
2454
elseif ModeOfGlitch == 9 then
2455
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2456
end
2457
        rng.CanCollide = false
2458
        rng.FormFactor = 3
2459
        rng.Name = "Ring"
2460
        rng.Material = "Neon"
2461
        rng.Size = Vector3.new(1, 1, 1)
2462
        rng.Transparency = 1
2463
        rng.TopSurface = 0
2464
        rng.BottomSurface = 0
2465
        rng.CFrame = pos
2466
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2467
        local rngm = Instance.new("SpecialMesh", rng)
2468
        rngm.MeshType = "Sphere"
2469
rngm.Scale = vt(x1,y1,z1)
2470
if rainbowmode == true then
2471
rng.Color = Color3.new(r/255,g/255,b/255)
2472
end
2473
if ModeOfGlitch == 9 then
2474
coroutine.resume(coroutine.create(function()
2475
while true do
2476
swait()
2477
if rng.Parent ~= nil then
2478
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2479
else
2480
break
2481
end
2482
end
2483
end))
2484
end
2485
local scaler2 = 1
2486
local speeder = FastSpeed
2487
if type == "Add" then
2488
scaler2 = 1*value
2489
elseif type == "Divide" then
2490
scaler2 = 1/value
2491
end
2492
coroutine.resume(coroutine.create(function()
2493
for i = 0,10/bonuspeed,0.1 do
2494
swait()
2495
if rainbowmode == true then
2496
rng.Color = Color3.new(r/255,g/255,b/255)
2497
end
2498
if type == "Add" then
2499
scaler2 = scaler2 - 0.01*value/bonuspeed
2500
elseif type == "Divide" then
2501
scaler2 = scaler2 - 0.01/value*bonuspeed
2502
end
2503
if chaosmode == true then
2504
rng.BrickColor = BrickColor.random()
2505
end
2506
speeder = speeder - 0.01*FastSpeed*bonuspeed
2507
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2508
rng.Transparency = rng.Transparency - 0.01*bonuspeed
2509
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
2510
end
2511
rng:Destroy()
2512
end))
2513
end
2514
2515
function dmg(dude)
2516
if dude.Name ~= Character then
2517
local keptcolor = MAINRUINCOLOR
2518
local bgf = Instance.new("BodyGyro",dude.Head)
2519
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
2520
--[[local val = Instance.new("BoolValue",dude)
2521
val.Name = "IsHit"]]--
2522
local ds = coroutine.wrap(function()
2523
dude:WaitForChild("Head"):BreakJoints()
2524
for i, v in pairs(dude:GetChildren()) do
2525
if v:IsA("Part") or v:IsA("MeshPart") then
2526
v.Name = "DEMINISHED"
2527
end
2528
end
2529
wait(0.5)
2530
targetted = nil
2531
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
2532
coroutine.resume(coroutine.create(function()
2533
for i, v in pairs(dude:GetChildren()) do
2534
if v:IsA("Accessory") then
2535
v:Destroy()
2536
end
2537
if v:IsA("Humanoid") then
2538
v:Destroy()
2539
end
2540
if v:IsA("CharacterMesh") then
2541
v:Destroy()
2542
end
2543
if v:IsA("Model") then
2544
v:Destroy()
2545
end
2546
if v:IsA("Part") or v:IsA("MeshPart") then
2547
for x, o in pairs(v:GetChildren()) do
2548
if o:IsA("Decal") then
2549
o:Destroy()
2550
end
2551
end
2552
coroutine.resume(coroutine.create(function()
2553
v.Material = "Neon"
2554
v.CanCollide = false
2555
v.Anchored = false
2556
local bld = Instance.new("ParticleEmitter",v)
2557
bld.LightEmission = 0.75
2558
bld.Texture = "rbxassetid://363275192" ---284205403
2559
bld.Color = ColorSequence.new(keptcolor.Color)
2560
bld.Rate = 500
2561
bld.Lifetime = NumberRange.new(1)
2562
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
2563
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
2564
bld.Speed = NumberRange.new(2,5)
2565
bld.VelocitySpread = 50000
2566
bld.Rotation = NumberRange.new(-500,500)
2567
bld.RotSpeed = NumberRange.new(-500,500)
2568
        local sbs = Instance.new("BodyPosition", v)
2569
        sbs.P = 3000
2570
        sbs.D = 1000
2571
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2572
        sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
2573
v.Color = keptcolor.Color
2574
coroutine.resume(coroutine.create(function()
2575
for i = 0, 49 do
2576
swait(1)
2577
v:BreakJoints()
2578
v.Transparency = v.Transparency + 0.02
2579
end
2580
v:BreakJoints()
2581
sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
2582
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
2583
bld.Speed = NumberRange.new(10,25)
2584
bld.Drag = 5
2585
bld.Acceleration = vt(0,2,0)
2586
wait(0.5)
2587
bld.Enabled = false
2588
wait(8)
2589
v:Destroy()
2590
dude:Destroy()
2591
end))
2592
end))
2593
end
2594
end
2595
end))
2596
end)
2597
ds()
2598
end
2599
end
2600
2601
2602
function FindNearestHead(Position, Distance, SinglePlayer)
2603
	if SinglePlayer then
2604
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
2605
	end
2606
	local List = {}
2607
	for i, v in pairs(workspace:GetChildren()) do
2608
		if v:IsA("Model") then
2609
			if v:findFirstChild("Head") then
2610
				if v ~= Character then
2611
					if (v.Head.Position - Position).magnitude <= Distance then
2612
						table.insert(List, v)
2613
					end 
2614
				end 
2615
			end 
2616
		end 
2617
	end
2618
	return List
2619
end
2620
2621
function FaceMouse()
2622
  Cam = workspace.CurrentCamera
2623
  return {
2624
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
2625
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2626
  }
2627
end
2628
2629
function FaceMouse2()
2630
  Cam = workspace.CurrentCamera
2631
  return {
2632
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
2633
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2634
  }
2635
end
2636
2637
-- Functions are ready.
2638
local storehumanoidWS = 16
2639
2640
function resetmode()
2641
           ModeOfGlitch = 1
2642
storehumanoidWS = 16
2643
hum.WalkSpeed = 16
2644
rainbowmode = false
2645
chaosmode = false
2646
RecolorTextAndRename("Enlightened",Color3.new(1,1,1),Color3.new(0,0,0),"Code")
2647
newTheme("rbxassetid://435773595",0,1.01,1.25)
2648
MAINRUINCOLOR = BrickColor.new("White")
2649
for i, v in pairs(mw2:GetChildren()) do
2650
if v:IsA("Part") then
2651
v.BrickColor = MAINRUINCOLOR
2652
v.Material = "Neon"
2653
end
2654
end
2655
refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2656
refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2657
refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2658
tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2659
tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2660
tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2661
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2662
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2663
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2664
for i, v in pairs(mw1:GetChildren()) do
2665
if v:IsA("Part") then
2666
v.Transparency = 0
2667
v.BrickColor = MAINRUINCOLOR
2668
v.Material = "Neon"
2669
end
2670
end
2671
for i, v in pairs(m:GetChildren()) do
2672
if v:IsA("Part") then
2673
v.BrickColor = BrickColor.new("White")
2674
v.Material = "Ice"
2675
end
2676
end
2677
for i, v in pairs(m2:GetChildren()) do
2678
if v:IsA("Part") then
2679
v.BrickColor = BrickColor.new("White")
2680
v.Material = "Ice"
2681
end
2682
end
2683
for i, v in pairs(m3:GetChildren()) do
2684
if v:IsA("Part") then
2685
v.BrickColor = BrickColor.new("White")
2686
v.Material = "Neon"
2687
end
2688
end
2689
for i, v in pairs(extrawingmod1:GetChildren()) do
2690
if v:IsA("Part") then
2691
v.Transparency = 1
2692
v.BrickColor = BrickColor.new("White")
2693
v.Material = "Neon"
2694
end
2695
end
2696
for i, v in pairs(extrawingmod2:GetChildren()) do
2697
if v:IsA("Part") then
2698
v.Transparency = 1
2699
v.BrickColor = BrickColor.new("White")
2700
v.Material = "Neon"
2701
end
2702
end
2703
end
2704
2705
function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
2706
for i, v in pairs(mw2:GetChildren()) do
2707
if v:IsA("Part") then
2708
v.BrickColor = one
2709
v.Material = "Neon"
2710
end
2711
end
2712
refec.Color = ColorSequence.new(one.Color)
2713
refec2.Color = ColorSequence.new(one.Color)
2714
refec3.Color = ColorSequence.new(one.Color)
2715
tr1.Color = ColorSequence.new(one.Color)
2716
tr2.Color = ColorSequence.new(one.Color)
2717
tr3.Color = ColorSequence.new(one.Color)
2718
for i, v in pairs(mw1:GetChildren()) do
2719
if v:IsA("Part") then
2720
v.Transparency = 0
2721
v.BrickColor = two
2722
v.Material = "Neon"
2723
end
2724
end
2725
tl1.Color = ColorSequence.new(two.Color)
2726
tl2.Color = ColorSequence.new(two.Color)
2727
tl3.Color = ColorSequence.new(two.Color)
2728
for i, v in pairs(m:GetChildren()) do
2729
if v:IsA("Part") then
2730
v.BrickColor = three
2731
v.Material = "Ice"
2732
end
2733
end
2734
for i, v in pairs(m2:GetChildren()) do
2735
if v:IsA("Part") then
2736
v.BrickColor = four
2737
v.Material = "Ice"
2738
end
2739
end
2740
for i, v in pairs(m3:GetChildren()) do
2741
if v:IsA("Part") then
2742
v.BrickColor = five
2743
v.Material = "Neon"
2744
end
2745
end
2746
for i, v in pairs(extrawingmod1:GetChildren()) do
2747
if v:IsA("Part") then
2748
v.Transparency = exonetran
2749
v.BrickColor = exone
2750
v.Material = "Neon"
2751
end
2752
end
2753
for i, v in pairs(extrawingmod2:GetChildren()) do
2754
if v:IsA("Part") then
2755
v.Transparency = extwotran
2756
v.BrickColor = extwo
2757
v.Material = "Neon"
2758
end
2759
end
2760
end
2761
2762
function attackone()
2763
	attack = true
2764
local keptcolor = MAINRUINCOLOR
2765
	for i = 0,1,0.1 do
2766
		swait()
2767
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
2768
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
2769
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
2770
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
2771
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
2772
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
2773
	end
2774
local distlook = 5
2775
coroutine.resume(coroutine.create(function()
2776
for i = 0, 4 do
2777
swait(2)
2778
CameraEnshaking(2,3)
2779
local hite = Instance.new("Part", char)
2780
        hite.Anchored = true
2781
        hite.CanCollide = false
2782
        hite.FormFactor = 3
2783
        hite.Name = "Ring"
2784
        hite.Material = "Neon"
2785
        hite.Size = Vector3.new(1, 1, 1)
2786
        hite.Transparency = 1
2787
        hite.TopSurface = 0
2788
        hite.BottomSurface = 0
2789
hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
2790
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
2791
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
2792
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
2793
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
2794
MagniDamage(hite, 9, 10,25, 0, "Normal")
2795
for i = 0, 14 do
2796
local rsiz = math.random(5,20)
2797
sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
2798
end
2799
CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
2800
CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
2801
game:GetService("Debris"):AddItem(hite, 5)
2802
distlook = distlook + 10
2803
end
2804
end))
2805
	for i = 0,1,0.1 do
2806
		swait()
2807
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
2808
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
2809
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
2810
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
2811
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
2812
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
2813
	end
2814
	attack = false
2815
end
2816
2817
function attacktwo()
2818
	attack = true
2819
	for i = 0,1,0.1 do
2820
		swait()
2821
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
2822
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
2823
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
2824
LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
2825
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3)
2826
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3)
2827
	end
2828
CameraEnshaking(3,4)
2829
MagniDamage(root, 12, 15,30, 0, "Normal")
2830
sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
2831
sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
2832
sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
2833
coroutine.resume(coroutine.create(function()
2834
local eff = Instance.new("ParticleEmitter",root)
2835
eff.Texture = "rbxassetid://363275192"
2836
eff.LightEmission = 0.95
2837
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
2838
eff.Rate = 10000
2839
eff.Lifetime = NumberRange.new(1)
2840
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
2841
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
2842
eff.Speed = NumberRange.new(10,125)
2843
eff.Drag = 5
2844
eff.Rotation = NumberRange.new(-500,500)
2845
eff.VelocitySpread = 9000
2846
eff.RotSpeed = NumberRange.new(-50,50)
2847
local eff2 = eff:Clone()
2848
eff2.Parent = root
2849
eff2.Texture = "rbxassetid://284205403"
2850
eff2.Rate = 10000
2851
eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
2852
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
2853
eff2.Drag = 5
2854
eff2.Speed = NumberRange.new(10,50)
2855
eff2.Rotation = NumberRange.new(-500,500)
2856
eff2.VelocitySpread = 9000
2857
wait(0.25)
2858
eff2.Enabled = false
2859
eff.Enabled = false
2860
wait(3)
2861
eff2:Destroy()
2862
eff:Destroy()
2863
end))
2864
for i = 0, 9 do
2865
sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
2866
end
2867
for i = 0, 24 do
2868
local rsiz = math.random(5,20)
2869
sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
2870
end
2871
CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
2872
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
2873
CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
2874
	for i = 0,2,0.1 do
2875
		swait()
2876
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
2877
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
2878
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
2879
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
2880
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3)
2881
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
2882
	end
2883
attack = false
2884
end
2885
2886
function attackthree()
2887
attack = true
2888
local keptcolor = MAINRUINCOLOR
2889
CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
2890
	for i = 0,1,0.1 do
2891
		swait()
2892
sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
2893
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
2894
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
2895
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
2896
LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
2897
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
2898
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
2899
	end
2900
CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
2901
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
2902
local angle = -25
2903
coroutine.resume(coroutine.create(function()
2904
for i = 0, 2 do
2905
local orb = Instance.new("Part", char)
2906
        orb.BrickColor = MAINRUINCOLOR
2907
        orb.CanCollide = false
2908
        orb.FormFactor = 3
2909
        orb.Name = "Ring"
2910
        orb.Material = "Neon"
2911
        orb.Size = Vector3.new(1, 1, 1)
2912
        orb.Transparency = 0.5
2913
        orb.TopSurface = 0
2914
        orb.BottomSurface = 0
2915
        local orbm = Instance.new("SpecialMesh", orb)
2916
        orbm.MeshType = "Sphere"
2917
orbm.Name = "SizeMesh"
2918
orbm.Scale = vt(3,3,3)
2919
orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
2920
local bv = Instance.new("BodyVelocity")
2921
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2922
bv.velocity = orb.CFrame.lookVector*100
2923
bv.Parent = orb
2924
game:GetService("Debris"):AddItem(orb, 10)
2925
sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
2926
sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
2927
coroutine.resume(coroutine.create(function()
2928
MagniDamage(orb, 6, 8,15, 0, "Normal")
2929
for i = 0, 7 do
2930
swait(2.5)
2931
CameraEnshaking(1,2)
2932
MagniDamage(orb, 6, 8,15, 0, "Normal")
2933
CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
2934
for i = 0, 4 do
2935
local rsiz = math.random(5,10)
2936
sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
2937
sphereMK(math.random(2,6),0.15,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
2938
end
2939
sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
2940
sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
2941
end
2942
orb.Transparency = 1
2943
orb.Anchored = false
2944
wait(10)
2945
orb:Destroy()
2946
end))
2947
angle = angle + 25
2948
end
2949
end))
2950
	for i = 0,1,0.1 do
2951
		swait()
2952
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
2953
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
2954
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
2955
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
2956
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3)
2957
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
2958
	end
2959
attack = false
2960
end
2961
2962
------------------------------------- Abilities ---------------------------------------------------------
2963
function Fireball()
2964
attack = true
2965
hum.WalkSpeed = 0 
2966
local keptcolor = MAINRUINCOLOR
2967
	for i = 0,2,0.1 do
2968
		swait()
2969
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
2970
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
2971
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
2972
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
2973
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.3)
2974
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
2975
	end
2976
local orb = Instance.new("Part", char)
2977
        orb.BrickColor = keptcolor
2978
        orb.CanCollide = false
2979
        orb.FormFactor = 3
2980
        orb.Name = "Ring"
2981
        orb.Material = "Neon"
2982
        orb.Size = Vector3.new(1, 1, 1)
2983
        orb.Transparency = 0
2984
        orb.TopSurface = 0
2985
        orb.BottomSurface = 0
2986
        local orbm = Instance.new("SpecialMesh", orb)
2987
        orbm.MeshType = "Sphere"
2988
orbm.Name = "SizeMesh"
2989
orbm.Scale = vt(4,4,4)
2990
orb.CFrame = root.CFrame + root.CFrame.lookVector*3
2991
local eff = Instance.new("ParticleEmitter",orb)
2992
eff.Texture = "rbxassetid://296874871"
2993
eff.LightEmission = 0.95
2994
eff.Color = ColorSequence.new(orb.BrickColor.Color)
2995
eff.Rate = 10000
2996
eff.Lifetime = NumberRange.new(1.5)
2997
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
2998
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
2999
eff.Speed = NumberRange.new(25)
3000
eff.Drag = 5
3001
eff.Rotation = NumberRange.new(-500,500)
3002
eff.VelocitySpread = 9000
3003
eff.RotSpeed = NumberRange.new(-500,500)
3004
	local a = Instance.new("Part",workspace)
3005
	a.Name = "Direction"	
3006
	a.Anchored = true
3007
	a.BrickColor = bc("Bright red")
3008
a.Material = "Neon"
3009
a.Transparency = 1
3010
	a.CanCollide = false
3011
	local ray = Ray.new(
3012
	    orb.CFrame.p,                           -- origin
3013
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
3014
	) 
3015
	local ignore = orb
3016
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3017
	a.BottomSurface = 10
3018
	a.TopSurface = 10
3019
	local distance = (orb.CFrame.p - position).magnitude
3020
	a.Size = Vector3.new(0.1, 0.1, 0.1)
3021
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3022
orb.CFrame = a.CFrame
3023
a:Destroy()
3024
CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
3025
local bv = Instance.new("BodyVelocity")
3026
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3027
bv.velocity = orb.CFrame.lookVector*75
3028
bv.Parent = orb
3029
game:GetService("Debris"):AddItem(orb, 10)
3030
local hitted = false
3031
coroutine.resume(coroutine.create(function()
3032
while true do
3033
swait()
3034
if orb.Parent ~= nil and hitted == false then
3035
sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
3036
elseif orb.Parent == nil and hitted == true then
3037
break
3038
end
3039
end
3040
end))
3041
local hit =orb.Touched:connect(function(hit) 
3042
	if hitted == false and hit.Parent ~= char then
3043
	hitted = true
3044
	eff.Enabled = false
3045
CameraEnshaking(4,4)
3046
CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
3047
CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
3048
	MagniDamage(orb, 25, 20,30, 0, "Normal")
3049
sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
3050
sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
3051
sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
3052
for i = 0, 9 do
3053
sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
3054
end
3055
for i = 0, 49 do
3056
local rsiz = math.random(10,30)
3057
sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
3058
end
3059
local eff = Instance.new("ParticleEmitter",orb)
3060
eff.Texture = "rbxassetid://296874871"
3061
eff.LightEmission = 0.95
3062
eff.Color = ColorSequence.new(orb.BrickColor.Color)
3063
eff.Rate = 10000
3064
eff.Lifetime = NumberRange.new(1.5)
3065
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
3066
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3067
eff.Speed = NumberRange.new(150)
3068
eff.Drag = 5
3069
eff.Rotation = NumberRange.new(-500,500)
3070
eff.VelocitySpread = 9000
3071
eff.RotSpeed = NumberRange.new(-500,500)
3072
coroutine.resume(coroutine.create(function()
3073
	wait(0.25)
3074
	eff.Enabled = false
3075
end))
3076
local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
3077
orb.Anchored = true
3078
orb.Transparency = 1
3079
coroutine.resume(coroutine.create(function()
3080
if hfr ~= nil then
3081
orb.Size = vt(50,1,50)
3082
orb.Orientation = vt(0,0,0)
3083
orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
3084
orbm:Destroy()
3085
local firef = eff:Clone()
3086
firef.Parent = orb
3087
firef.VelocitySpread = 50
3088
firef.Rate = 500
3089
firef.Drag = 3
3090
firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3091
firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
3092
firef.Speed = NumberRange.new(10,30)
3093
for i = 0, 24 do
3094
wait(0.25)
3095
MagniDamage(orb, 25, 3,6, 0, "Normal")
3096
end
3097
firef.Enabled = false
3098
end
3099
end))
3100
wait(10)
3101
orb:Destroy()
3102
end
3103
end)
3104
	for i = 0,1,0.1 do
3105
		swait()
3106
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
3107
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
3108
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
3109
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
3110
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
3111
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
3112
	end
3113
hum.WalkSpeed = storehumanoidWS
3114
attack = false
3115
end
3116
3117
function BeamOfDeath()
3118
attack = true
3119
hum.WalkSpeed = 0 
3120
local keptcolor = MAINRUINCOLOR
3121
local orb = Instance.new("Part", char)
3122
        orb.BrickColor = keptcolor
3123
        orb.CanCollide = false
3124
        orb.FormFactor = 3
3125
        orb.Name = "Ring"
3126
        orb.Material = "Neon"
3127
        orb.Size = Vector3.new(1, 1, 1)
3128
        orb.Transparency = 1
3129
        orb.TopSurface = 0
3130
        orb.BottomSurface = 0
3131
        local orbm = Instance.new("SpecialMesh", orb)
3132
        orbm.MeshType = "Sphere"
3133
orbm.Name = "SizeMesh"
3134
orbm.Scale = vt(22.5,10000,22.5)
3135
orb.CFrame = mouse.Hit
3136
orb.Anchored = true
3137
orb.Orientation = vt(0,0,0)
3138
orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
3139
CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
3140
coroutine.resume(coroutine.create(function()
3141
coroutine.resume(coroutine.create(function()
3142
for i = 0, 399 do
3143
swait()
3144
orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
3145
orb.Transparency = orb.Transparency - 0.0025
3146
end
3147
end))
3148
wait(9)
3149
coroutine.resume(coroutine.create(function()
3150
local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
3151
if hfr ~= nil then
3152
	for i = 0, 49 do
3153
local deb = Instance.new("Part", char)
3154
deb.Anchored = true
3155
deb.CanCollide = false
3156
deb.FormFactor = 3
3157
deb.Name = "Ring"
3158
deb.Material = hitfloor.Material
3159
deb.Color = hitfloor.Color
3160
deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
3161
deb.Transparency = 0
3162
deb.TopSurface = 0
3163
deb.BottomSurface = 0
3164
deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3165
local deb2 = Instance.new("Part", char)
3166
deb2.CanCollide = false
3167
deb2.FormFactor = 3
3168
deb2.Name = "Ring"
3169
deb2.Material = hitfloor.Material
3170
deb2.Color = hitfloor.Color
3171
deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
3172
deb2.Transparency = 0
3173
deb2.TopSurface = 0
3174
deb2.BottomSurface = 0
3175
deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
3176
deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3177
local eff = Instance.new("ParticleEmitter",deb)
3178
eff.Texture = "rbxassetid://363275192"
3179
eff.LightEmission = 0.95
3180
eff.Color = ColorSequence.new(keptcolor.Color)
3181
eff.Rate = 100
3182
eff.Lifetime = NumberRange.new(1)
3183
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
3184
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3185
eff.Speed = NumberRange.new(0,5)
3186
eff.Rotation = NumberRange.new(-500,500)
3187
eff.VelocitySpread = 9000
3188
eff.RotSpeed = NumberRange.new(-10,10)
3189
local at1 = Instance.new('Attachment',deb2)
3190
at1.Position = vt(0,15,0)
3191
local at2 = Instance.new('Attachment',deb2)
3192
at2.Position = vt(0,-15,0)
3193
local tl = Instance.new('Trail',deb2)
3194
tl.Attachment0 = at1
3195
tl.Attachment1 = at2
3196
tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
3197
tl.Color = ColorSequence.new(BrickColor.new('White').Color)
3198
tl.Lifetime = 1
3199
game:GetService("Debris"):AddItem(deb,30)
3200
game:GetService("Debris"):AddItem(deb2,30)
3201
coroutine.resume(coroutine.create(function()
3202
	wait(15)
3203
eff.Enabled = false
3204
	for i = 0, 49 do
3205
		swait()
3206
		deb.Transparency = deb.Transparency + 0.02
3207
	end
3208
wait(1)
3209
	deb:Destroy()
3210
end))
3211
end
3212
end
3213
end))
3214
for i = 0, 199 do
3215
swait(1.5)
3216
for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
3217
if v:FindFirstChild('Head') then
3218
dmg(v)
3219
end
3220
end
3221
sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
3222
sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
3223
sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
3224
sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
3225
end
3226
orb:Destroy()
3227
end))
3228
hum.WalkSpeed = storehumanoidWS
3229
attack = false
3230
end
3231
3232
3233
function Beams()
3234
attack = true
3235
hum.WalkSpeed = 0 
3236
local keptcolor = MAINRUINCOLOR
3237
coroutine.resume(coroutine.create(function()
3238
for i = 0, 24 do
3239
swait(5)
3240
local orb = Instance.new("Part", char)
3241
CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
3242
        orb.BrickColor = keptcolor
3243
        orb.CanCollide = false
3244
        orb.FormFactor = 3
3245
        orb.Name = "Ring"
3246
        orb.Material = "Neon"
3247
        orb.Size = Vector3.new(1, 1, 1)
3248
        orb.Transparency = 0
3249
        orb.TopSurface = 0
3250
        orb.BottomSurface = 0
3251
orb.Anchored = true
3252
        local orbm = Instance.new("SpecialMesh", orb)
3253
        orbm.MeshType = "Sphere"
3254
orbm.Name = "SizeMesh"
3255
orbm.Scale = vt(1.25,1.25,1.25)
3256
orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
3257
sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
3258
coroutine.resume(coroutine.create(function()
3259
wait(0.5)
3260
CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
3261
sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
3262
sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
3263
orb.Transparency = 1
3264
	local a = Instance.new("Part",char)
3265
	a.Name = "Direction"	
3266
	a.Anchored = true
3267
	a.BrickColor = keptcolor
3268
a.Material = "Neon"
3269
a.Transparency = 0.25
3270
a.Shape = "Cylinder"
3271
	local ht = Instance.new("Part",char)
3272
	ht.Name = "DirectionHit"	
3273
	ht.Anchored = true
3274
	ht.BrickColor = keptcolor
3275
ht.CanCollide = false
3276
ht.Transparency = 1
3277
ht.Size = vt(0.1,0.1,0.1)
3278
CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
3279
	a.CanCollide = false
3280
	local ray = Ray.new(
3281
	    orb.CFrame.p,                           -- origin
3282
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
3283
	) 
3284
	local ignore = char
3285
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3286
	a.BottomSurface = 10
3287
	a.TopSurface = 10
3288
	local distance = (orb.CFrame.p - position).magnitude
3289
	a.Size = Vector3.new(distance,1,1)
3290
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
3291
	ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3292
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
3293
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
3294
MagniDamage(ht, 9, 10,15, 0, "Normal")
3295
coroutine.resume(coroutine.create(function()
3296
local eff = Instance.new("ParticleEmitter",ht)
3297
eff.Texture = "rbxassetid://284205403"
3298
eff.LightEmission = 0.95
3299
eff.Color = ColorSequence.new(keptcolor.Color)
3300
eff.Rate = 500
3301
eff.Lifetime = NumberRange.new(0.5)
3302
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
3303
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3304
eff.Speed = NumberRange.new(10,50)
3305
eff.Drag = 5
3306
eff.Rotation = NumberRange.new(-500,500)
3307
eff.VelocitySpread = 9000
3308
eff.RotSpeed = NumberRange.new(-500,500)
3309
wait(0.25)
3310
eff.Enabled = false
3311
end))
3312
for i = 0, 4 do
3313
sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
3314
sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
3315
local rsiz = math.random(10,30)
3316
sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
3317
end
3318
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
3319
local msh = Instance.new("SpecialMesh",a)
3320
msh.MeshType = "Cylinder"
3321
msh.Scale = vt(1,1,1)
3322
for i = 0, 49 do
3323
swait()
3324
msh.Scale = msh.Scale + vt(0,0.01,0.01)
3325
a.Transparency = a.Transparency + 0.02
3326
end
3327
orb:Destroy()
3328
a:Destroy()
3329
ht:Destroy()
3330
end))
3331
game:GetService("Debris"):AddItem(orb, 10)
3332
end
3333
end))
3334
	for i = 0,12,0.1 do
3335
		swait()
3336
sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
3337
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
3338
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
3339
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
3340
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
3341
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
3342
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
3343
	end
3344
hum.WalkSpeed = storehumanoidWS
3345
attack = false
3346
end
3347
3348
function smiter()
3349
local targetted = nil
3350
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3351
targetted = mouse.Target.Parent
3352
end
3353
if targetted ~= nil then
3354
RootPart.CFrame = FaceMouse()[1]
3355
attack = true
3356
hum.WalkSpeed = 0
3357
coroutine.resume(coroutine.create(function()
3358
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
3359
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
3360
local vel = Instance.new("BodyPosition", targetted.Head)
3361
vel.P = 12500
3362
vel.D = 1000
3363
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
3364
vel.position = targetted.Head.CFrame.p
3365
end))
3366
CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
3367
	for i = 0,4,0.1 do
3368
		swait()
3369
sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
3370
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3371
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3372
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3373
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3374
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
3375
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
3376
	end
3377
coroutine.resume(coroutine.create(function()
3378
CameraEnshaking(6,5)
3379
MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
3380
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
3381
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
3382
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
3383
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
3384
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
3385
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
3386
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
3387
coroutine.resume(coroutine.create(function()
3388
local eff = Instance.new("ParticleEmitter",targetted.Head)
3389
eff.Texture = "rbxassetid://363275192"
3390
eff.LightEmission = 0.95
3391
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3392
eff.Rate = 10000
3393
eff.Lifetime = NumberRange.new(1.5)
3394
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
3395
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3396
eff.Speed = NumberRange.new(25,150)
3397
eff.Drag = 5
3398
eff.Rotation = NumberRange.new(-500,500)
3399
eff.VelocitySpread = 9000
3400
eff.RotSpeed = NumberRange.new(-50,50)
3401
local eff2 = eff:Clone()
3402
eff2.Parent = targetted.Head
3403
eff2.Texture = "rbxassetid://284205403"
3404
eff2.Rate = 10000
3405
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3406
eff2.Drag = 5
3407
eff2.Rotation = NumberRange.new(-500,500)
3408
eff2.VelocitySpread = 9000
3409
wait(0.5)
3410
eff2.Enabled = false
3411
eff.Enabled = false
3412
end))
3413
for i = 0, 9 do
3414
sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
3415
end
3416
for i = 0, 49 do
3417
local rsiz = math.random(10,50)
3418
sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
3419
end
3420
game:GetService("Debris"):AddItem(vel,1)
3421
dmg(targetted)
3422
end))
3423
	for i = 0,1,0.1 do
3424
		swait()
3425
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
3426
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
3427
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
3428
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
3429
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
3430
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
3431
	end
3432
attack = false
3433
hum.WalkSpeed = storehumanoidWS
3434
end
3435
end
3436
3437
function supsmiter()
3438
local targetted = nil
3439
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3440
targetted = mouse.Target.Parent
3441
end
3442
if targetted ~= nil then
3443
RootPart.CFrame = FaceMouse()[1]
3444
attack = true
3445
hum.WalkSpeed = 0
3446
coroutine.resume(coroutine.create(function()
3447
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
3448
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
3449
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR)
3450
local vel = Instance.new("BodyPosition", targetted.Head)
3451
vel.P = 12500
3452
vel.D = 1000
3453
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
3454
vel.position = targetted.Head.CFrame.p
3455
end))
3456
CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
3457
	for i = 0,14,0.1 do
3458
		swait()
3459
rsiz = math.random(5,15)
3460
sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)	
3461
sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
3462
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3463
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3464
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3465
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3466
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3467
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3468
	end
3469
coroutine.resume(coroutine.create(function()
3470
CameraEnshaking(6,5)
3471
MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
3472
MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal")
3473
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
3474
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
3475
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
3476
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
3477
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
3478
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
3479
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
3480
coroutine.resume(coroutine.create(function()
3481
local eff = Instance.new("ParticleEmitter",targetted.Head)
3482
eff.Texture = "rbxassetid://363275192"
3483
eff.LightEmission = 0.95
3484
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3485
eff.Rate = 10000
3486
eff.Lifetime = NumberRange.new(1.5)
3487
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
3488
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3489
eff.Speed = NumberRange.new(25,150)
3490
eff.Drag = 5
3491
eff.Rotation = NumberRange.new(-500,500)
3492
eff.VelocitySpread = 9000
3493
eff.RotSpeed = NumberRange.new(-50,50)
3494
local eff2 = eff:Clone()
3495
eff2.Parent = targetted.Head
3496
eff2.Texture = "rbxassetid://284205403"
3497
eff2.Rate = 10000
3498
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3499
eff2.Drag = 5
3500
eff2.Rotation = NumberRange.new(-500,500)
3501
eff2.VelocitySpread = 9000
3502
wait(0.5)
3503
eff2.Enabled = false
3504
eff.Enabled = false
3505
end))
3506
for i = 0, 9 do
3507
sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
3508
end
3509
for i = 0, 49 do
3510
local rsiz = math.random(10,50)
3511
sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
3512
end
3513
wait(0.75)
3514
CameraEnshaking(6,6)
3515
MagniDamage(targetted.Head, 20, 25,40, 0, "Normal")
3516
MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal")
3517
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
3518
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
3519
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
3520
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
3521
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
3522
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
3523
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
3524
coroutine.resume(coroutine.create(function()
3525
local eff = Instance.new("ParticleEmitter",targetted.Head)
3526
eff.Texture = "rbxassetid://363275192"
3527
eff.LightEmission = 0.95
3528
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3529
eff.Rate = 10000
3530
eff.Lifetime = NumberRange.new(1.5)
3531
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
3532
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3533
eff.Speed = NumberRange.new(25,250)
3534
eff.Drag = 5
3535
eff.Rotation = NumberRange.new(-500,500)
3536
eff.VelocitySpread = 9000
3537
eff.RotSpeed = NumberRange.new(-50,50)
3538
local eff2 = eff:Clone()
3539
eff2.Parent = targetted.Head
3540
eff2.Texture = "rbxassetid://284205403"
3541
eff2.Rate = 10000
3542
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3543
eff2.Drag = 5
3544
eff2.Rotation = NumberRange.new(-500,500)
3545
eff2.VelocitySpread = 9000
3546
wait(0.5)
3547
eff2.Enabled = false
3548
eff.Enabled = false
3549
end))
3550
for i = 0, 9 do
3551
sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,4.5,-0.02,MAINRUINCOLOR)
3552
end
3553
for i = 0, 49 do
3554
local rsiz = math.random(15,55)
3555
sphereMK(math.random(1,4),1.5,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
3556
end
3557
wait(0.75)
3558
CameraEnshaking(6,7)
3559
MagniDamage(targetted.Head, 23, 40,80, 0, "Normal")
3560
MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal")
3561
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
3562
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
3563
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
3564
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
3565
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
3566
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
3567
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
3568
coroutine.resume(coroutine.create(function()
3569
local eff = Instance.new("ParticleEmitter",targetted.Head)
3570
eff.Texture = "rbxassetid://363275192"
3571
eff.LightEmission = 0.95
3572
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3573
eff.Rate = 10000
3574
eff.Lifetime = NumberRange.new(1.5)
3575
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
3576
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3577
eff.Speed = NumberRange.new(50,450)
3578
eff.Drag = 5
3579
eff.Rotation = NumberRange.new(-500,500)
3580
eff.VelocitySpread = 9000
3581
eff.RotSpeed = NumberRange.new(-50,50)
3582
local eff2 = eff:Clone()
3583
eff2.Parent = targetted.Head
3584
eff2.Texture = "rbxassetid://284205403"
3585
eff2.Rate = 10000
3586
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3587
eff2.Drag = 5
3588
eff2.Rotation = NumberRange.new(-500,500)
3589
eff2.VelocitySpread = 9000
3590
wait(0.5)
3591
eff2.Enabled = false
3592
eff.Enabled = false
3593
end))
3594
for i = 0, 9 do
3595
sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,6,-0.02,MAINRUINCOLOR)
3596
end
3597
for i = 0, 49 do
3598
local rsiz = math.random(20,60)
3599
sphereMK(math.random(1,4),2,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
3600
end
3601
dmg(targetted)
3602
game:GetService("Debris"):AddItem(vel,1)
3603
end))
3604
	for i = 0,7,0.1 do
3605
		swait()
3606
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
3607
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
3608
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
3609
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5)
3610
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5)
3611
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.5)
3612
	end
3613
attack = false
3614
hum.WalkSpeed = storehumanoidWS
3615
end
3616
end
3617
3618
function BinaryBLINK()
3619
for i = 0, 9 do
3620
sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)		sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)	    sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
3621
end
3622
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
3623
coroutine.resume(coroutine.create(function()
3624
local eff = Instance.new("ParticleEmitter",root)
3625
eff.Texture = "rbxassetid://1175838406"
3626
eff.LightEmission = 0.95
3627
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3628
eff.Rate = 10000
3629
eff.Lifetime = NumberRange.new(1)
3630
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
3631
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3632
eff.Speed = NumberRange.new(30,160)
3633
eff.Drag = 5
3634
eff.Rotation = NumberRange.new(-500,500)
3635
eff.VelocitySpread = 100000
3636
wait(0.25)
3637
eff.Enabled = false
3638
wait(4)
3639
eff:Destroy()
3640
end))
3641
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
3642
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
3643
CameraEnshaking(2,10)
3644
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
3645
if v:FindFirstChild('Head') then
3646
dmg(v)
3647
end
3648
end
3649
for i = 0, 9 do
3650
sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)		sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)	    sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
3651
end
3652
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
3653
end
3654
3655
function BinaryE()
3656
local posit = -2
3657
attack = true
3658
hum.WalkSpeed = 5
3659
CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
3660
	for i = 0,2,0.1 do
3661
		swait()
3662
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
3663
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
3664
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
3665
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
3666
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
3667
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
3668
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
3669
	end
3670
for i = 0, 2 do
3671
CameraEnshaking(1,2)
3672
local hite = Instance.new("Part", char)
3673
        hite.Anchored = true
3674
        hite.CanCollide = false
3675
        hite.FormFactor = 3
3676
        hite.Name = "Ring"
3677
        hite.Material = "Neon"
3678
        hite.Size = Vector3.new(1, 1, 1)
3679
        hite.Transparency = 1
3680
        hite.TopSurface = 0
3681
        hite.BottomSurface = 0
3682
hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
3683
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
3684
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
3685
coroutine.resume(coroutine.create(function()
3686
local eff = Instance.new("ParticleEmitter",hite)
3687
eff.Texture = "rbxassetid://1175838406"
3688
eff.LightEmission = 0.95
3689
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3690
eff.Rate = 1000
3691
eff.Lifetime = NumberRange.new(1)
3692
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
3693
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3694
eff.Speed = NumberRange.new(10,50)
3695
eff.Drag = 5
3696
eff.Rotation = NumberRange.new(-500,500)
3697
eff.VelocitySpread = 100000
3698
wait(0.25)
3699
eff.Enabled = false
3700
end))
3701
coroutine.resume(coroutine.create(function()
3702
for i = 0, 1 do
3703
	swait()
3704
		sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3705
		sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3706
	    sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3707
end
3708
end))
3709
sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
3710
MagniDamage(hite, 3, 30,40, 0, "Normal")
3711
game:GetService("Debris"):AddItem(hite, 5)
3712
posit = posit + 2
3713
end
3714
	for i = 0,1,0.1 do
3715
		swait()
3716
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
3717
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
3718
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
3719
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
3720
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
3721
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
3722
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
3723
	end
3724
	for i = 0,1,0.1 do
3725
		swait()
3726
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
3727
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
3728
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
3729
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
3730
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
3731
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
3732
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
3733
	end
3734
	posit = -6
3735
	for i = 0, 6 do
3736
CameraEnshaking(1,3)
3737
local hite = Instance.new("Part", char)
3738
        hite.Anchored = true
3739
        hite.CanCollide = false
3740
        hite.FormFactor = 3
3741
        hite.Name = "Ring"
3742
        hite.Material = "Neon"
3743
        hite.Size = Vector3.new(1, 1, 1)
3744
        hite.Transparency = 1
3745
        hite.TopSurface = 0
3746
        hite.BottomSurface = 0
3747
hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
3748
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
3749
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
3750
sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
3751
coroutine.resume(coroutine.create(function()
3752
local eff = Instance.new("ParticleEmitter",hite)
3753
eff.Texture = "rbxassetid://1175838406"
3754
eff.LightEmission = 0.95
3755
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3756
eff.Rate = 1000
3757
eff.Lifetime = NumberRange.new(1)
3758
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
3759
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3760
eff.Speed = NumberRange.new(20,70)
3761
eff.Drag = 5
3762
eff.Rotation = NumberRange.new(-500,500)
3763
eff.VelocitySpread = 100000
3764
wait(0.25)
3765
eff.Enabled = false
3766
end))
3767
coroutine.resume(coroutine.create(function()
3768
for i = 0, 2 do
3769
	swait()
3770
		sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3771
		sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3772
	    sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
3773
end
3774
end))
3775
MagniDamage(hite, 5, 40,70, 0, "Normal")
3776
game:GetService("Debris"):AddItem(hite, 5)
3777
posit = posit + 2
3778
	end
3779
	for i = 0,1,0.1 do
3780
		swait()
3781
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
3782
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
3783
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
3784
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
3785
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
3786
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
3787
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
3788
	end
3789
	hum.WalkSpeed = storehumanoidWS
3790
attack = false
3791
end
3792
3793
function AZUREFINALE()
3794
attack = true
3795
duringend = true
3796
hum.WalkSpeed = 0
3797
CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
3798
CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
3799
local hite = Instance.new("Part", char)
3800
        hite.Anchored = true
3801
        hite.CanCollide = false
3802
        hite.FormFactor = 3
3803
        hite.Name = "Ring"
3804
        hite.Material = "Neon"
3805
        hite.Size = Vector3.new(1, 1, 1)
3806
        hite.Transparency = 0
3807
        hite.TopSurface = 0
3808
        hite.BottomSurface = 0
3809
        hite.BrickColor = MAINRUINCOLOR
3810
        local orbm = Instance.new("SpecialMesh", hite)
3811
        orbm.MeshType = "Sphere"
3812
orbm.Name = "SizeMesh"
3813
orbm.Scale = vt(0,0,0)
3814
hite.CFrame = root.CFrame*CFrame.new(0,200,0)
3815
	for i = 0,70,0.1 do
3816
		swait()
3817
orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
3818
rsiz = math.random(10,45)
3819
kan.Volume = kan.Volume + 0.01
3820
kan.Pitch = kan.Pitch - 0.00135
3821
sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,-300)	
3822
sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MAINRUINCOLOR)
3823
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3824
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3825
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3826
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3827
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3828
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3829
	end
3830
	kan.Pitch = 0.1
3831
hite.Transparency = 1
3832
for i = 0,2 do
3833
CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
3834
end
3835
CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
3836
sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MAINRUINCOLOR)
3837
sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MAINRUINCOLOR)
3838
sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MAINRUINCOLOR)
3839
coroutine.resume(coroutine.create(function()
3840
local eff = Instance.new("ParticleEmitter",hite)
3841
eff.Texture = "rbxassetid://284205403"
3842
eff.LightEmission = 0.95
3843
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
3844
eff.Rate = 10000
3845
eff.Lifetime = NumberRange.new(5)
3846
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
3847
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
3848
eff.Speed = NumberRange.new(600,1250)
3849
eff.Drag = 5
3850
eff.Rotation = NumberRange.new(-500,500)
3851
eff.VelocitySpread = 9000
3852
eff.RotSpeed = NumberRange.new(-500,500)
3853
wait(1)
3854
eff.Enabled = false
3855
end))
3856
	for i = 0,5,0.1 do
3857
		swait()
3858
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3859
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3860
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3861
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3862
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3863
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3864
	end
3865
local adsc = 0
3866
local radiatezone = 0
3867
	for i = 0,20,0.1 do
3868
		swait()
3869
adsc = adsc + 0.025
3870
radiatezone = radiatezone + 1.25
3871
sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
3872
for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
3873
if v:FindFirstChild('Head') then
3874
dmg(v)
3875
end
3876
end
3877
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3878
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3879
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3880
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3881
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3882
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3883
	end
3884
for i = 0,2 do
3885
CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
3886
end
3887
	for i = 0,40,0.1 do
3888
		swait()
3889
adsc = adsc + 0.05
3890
radiatezone = radiatezone + 2.5
3891
sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
3892
for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
3893
if v:FindFirstChild('Head') then
3894
dmg(v)
3895
end
3896
end
3897
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3898
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3899
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3900
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3901
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3902
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3903
	end
3904
for i = 0,4 do
3905
CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
3906
CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
3907
end
3908
	for i = 0,80,0.1 do
3909
		swait()
3910
adsc = adsc + 0.075
3911
radiatezone = radiatezone + 3.75
3912
sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
3913
for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
3914
if v:FindFirstChild('Head') then
3915
dmg(v)
3916
end
3917
end
3918
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
3919
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
3920
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
3921
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
3922
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
3923
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
3924
	end
3925
hite:Destroy()
3926
duringend = false
3927
hum.WalkSpeed = storehumanoidWS
3928
attack = false
3929
end
3930
3931
function GalacticalBeams()
3932
attack = true
3933
local keptcolor = MAINRUINCOLOR
3934
coroutine.resume(coroutine.create(function()
3935
for i = 0, 0 do
3936
swait(10)
3937
local orb = Instance.new("Part", char)
3938
CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
3939
        orb.BrickColor = keptcolor
3940
        orb.CanCollide = false
3941
        orb.FormFactor = 3
3942
        orb.Name = "Ring"
3943
        orb.Material = "Neon"
3944
        orb.Size = Vector3.new(1, 1, 1)
3945
        orb.Transparency = 1
3946
        orb.TopSurface = 0
3947
        orb.BottomSurface = 0
3948
orb.Anchored = true
3949
        local orbm = Instance.new("SpecialMesh", orb)
3950
        orbm.MeshType = "Sphere"
3951
orbm.Name = "SizeMesh"
3952
orbm.Scale = vt(1.25,1.25,1.25)
3953
orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
3954
coroutine.resume(coroutine.create(function()
3955
orb.Transparency = 1
3956
	local a = Instance.new("Part",char)
3957
	a.Name = "Direction"	
3958
	a.Anchored = true
3959
	a.BrickColor = keptcolor
3960
a.Material = "Neon"
3961
a.Transparency = 1
3962
a.Shape = "Cylinder"
3963
	local x = Instance.new("Part",char)
3964
	x.Name = "Direction"	
3965
	x.Anchored = true
3966
	x.BrickColor = keptcolor
3967
x.Material = "Neon"
3968
x.Transparency = 1
3969
x.Shape = "Cylinder"
3970
	local ht = Instance.new("Part",char)
3971
	ht.Name = "DirectionHit"	
3972
	ht.Anchored = true
3973
	ht.BrickColor = keptcolor
3974
ht.CanCollide = false
3975
ht.Transparency = 1
3976
ht.Size = vt(0.1,0.1,0.1)
3977
	a.CanCollide = false
3978
	local ray = Ray.new(
3979
	    orb.CFrame.p,                           -- origin
3980
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
3981
	) 
3982
	local ignore = char
3983
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3984
	a.BottomSurface = 10
3985
	a.TopSurface = 10
3986
	local distance = (orb.CFrame.p - position).magnitude
3987
	a.Size = Vector3.new(distance,1,1)
3988
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
3989
	ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3990
	x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3991
local poste = 0
3992
local rotation = 0
3993
CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
3994
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
3995
CameraEnshaking(2,2)
3996
for i = 0, 49 do
3997
swait()
3998
rotation = rotation + 5
3999
poste = poste + 1
4000
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4001
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4002
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4003
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4004
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4005
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4006
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4007
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4008
end
4009
local A1 = Instance.new("Attachment",x)
4010
local A2 = Instance.new("Attachment",ht)
4011
local Beem = Instance.new("Beam",ht)
4012
Beem.Attachment0 = A1
4013
Beem.Attachment1 = A2
4014
Beem.LightEmission = 1
4015
Beem.FaceCamera = true
4016
Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
4017
Beem.Width0 = 125
4018
Beem.Width1 = 125
4019
Beem.Texture = "rbxassetid://1134824633"
4020
Beem.TextureMode = "Wrap"
4021
Beem.TextureLength = 200
4022
Beem.TextureSpeed = 1.5
4023
Beem.Color = ColorSequence.new(keptcolor.Color)
4024
CameraEnshaking(3,6)
4025
CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
4026
a.Transparency = 0.25
4027
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
4028
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
4029
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
4030
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
4031
sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
4032
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
4033
MagniDamage(ht, 70, 1000,1500, 0, "Normal")
4034
local eff = Instance.new("ParticleEmitter",ht)
4035
eff.Texture = "rbxassetid://284205403"
4036
eff.LightEmission = 0.95
4037
eff.Color = ColorSequence.new(keptcolor.Color)
4038
eff.Rate = 500
4039
eff.Lifetime = NumberRange.new(1)
4040
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
4041
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4042
eff.Speed = NumberRange.new(80,500)
4043
eff.Drag = 5
4044
eff.Rotation = NumberRange.new(-500,500)
4045
eff.VelocitySpread = 9000
4046
eff.RotSpeed = NumberRange.new(-500,500)
4047
for i = 0, 24 do
4048
sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
4049
local rsiz = math.random(10,50)
4050
sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
4051
end
4052
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4053
local msh = Instance.new("SpecialMesh",a)
4054
msh.MeshType = "Cylinder"
4055
msh.Scale = vt(1,15,15)
4056
for i = 0, 49 do
4057
swait()
4058
CameraEnshaking(1,4)
4059
MagniDamage(ht, 70, 1000,1500, 0, "Normal")
4060
rotation = rotation + 5
4061
sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
4062
sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
4063
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
4064
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4065
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4066
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4067
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4068
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4069
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4070
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4071
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
4072
for i = 0, 2 do
4073
local rsiz = math.random(50,250)
4074
sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
4075
end
4076
msh.Scale = msh.Scale + vt(0,0.25,0.25)
4077
end
4078
eff.Enabled = false
4079
local visibility = 0
4080
for i = 0, 49 do
4081
swait()
4082
visibility = visibility + 0.02
4083
Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
4084
rotation = rotation + 5
4085
poste = poste - 1
4086
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4087
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4088
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4089
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4090
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4091
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4092
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4093
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4094
msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
4095
a.Transparency = a.Transparency + 0.02
4096
end
4097
wait(1)
4098
orb:Destroy()
4099
a:Destroy()
4100
ht:Destroy()
4101
end))
4102
game:GetService("Debris"):AddItem(orb, 10)
4103
end
4104
end))
4105
hum.WalkSpeed = storehumanoidWS
4106
attack = false
4107
end
4108
4109
4110
function WarpedDash()
4111
attack = true
4112
hum.WalkSpeed = 0
4113
hum.JumpPower = 0
4114
CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
4115
local poste = 3
4116
local rotation = 0
4117
local rate = 0
4118
for i = 0, 124 do
4119
swait()
4120
rotation = rotation + rate
4121
poste = poste + 0.1
4122
rate = rate + 0.1
4123
sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
4124
sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
4125
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
4126
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
4127
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
4128
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
4129
RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
4130
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
4131
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
4132
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
4133
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
4134
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
4135
end
4136
CameraEnshaking(3,7)
4137
local loc = Instance.new("Part", char)
4138
loc.BrickColor = MAINRUINCOLOR
4139
loc.CanCollide = false
4140
loc.FormFactor = 3
4141
loc.Name = "Ring"
4142
loc.Material = "Neon"
4143
loc.Size = Vector3.new(1, 1, 1)
4144
loc.Transparency = 1
4145
loc.TopSurface = 0
4146
loc.BottomSurface = 0
4147
loc.Anchored = true
4148
loc.CFrame = root.CFrame + root.CFrame.lookVector*100
4149
CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
4150
CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
4151
MagniDamage(loc, 95, 500,6000, 0, "Normal")
4152
sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
4153
sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
4154
sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
4155
sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
4156
coroutine.resume(coroutine.create(function()
4157
local eff = Instance.new("ParticleEmitter",loc)
4158
eff.Texture = "rbxassetid://363275192"
4159
eff.LightEmission = 0.95
4160
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4161
eff.Rate = 10000
4162
eff.Lifetime = NumberRange.new(1)
4163
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
4164
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4165
eff.Speed = NumberRange.new(100,500)
4166
eff.Drag = 5
4167
eff.Rotation = NumberRange.new(-500,500)
4168
eff.VelocitySpread = 9000
4169
eff.RotSpeed = NumberRange.new(-50,50)
4170
wait(0.5)
4171
eff.Enabled = false
4172
end))
4173
for i = 0, 49 do
4174
sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
4175
end
4176
for i = 0, 9 do
4177
sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
4178
end
4179
game:GetService("Debris"):AddItem(loc, 5)
4180
root.CFrame = root.CFrame + root.CFrame.lookVector*200
4181
hum.WalkSpeed = storehumanoidWS
4182
hum.JumpPower = 50
4183
attack = false
4184
end
4185
4186
------------------------------------
4187
function harmonytaunty()
4188
attack = true
4189
hum.WalkSpeed = 0
4190
CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
4191
for i = 0,7,0.1 do
4192
swait()
4193
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2)
4194
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2)
4195
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
4196
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
4197
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
4198
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
4199
end
4200
hum.WalkSpeed = storehumanoidWS
4201
attack = false
4202
end
4203
4204
function vistaunty()
4205
attack = true
4206
hum.WalkSpeed = 0
4207
local rd = math.random(1,5)
4208
if rd == 1 then
4209
chatfunc("You're familiar with this, arent you?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4210
elseif rd == 2 then
4211
chatfunc("Dance to the beat. If you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4212
elseif rd == 3 then
4213
chatfunc("I'm just bored. Don't mess with me.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4214
elseif rd == 4 then
4215
chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4216
elseif rd == 5 then
4217
chatfunc("Ehh, not really into something right now.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4218
end
4219
for i = 0, 8, 0.1 do
4220
swait()
4221
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
4222
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
4223
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
4224
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
4225
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
4226
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
4227
end
4228
hum.WalkSpeed = storehumanoidWS
4229
attack = false
4230
end
4231
4232
function shytaunty()
4233
attack = true
4234
hum.WalkSpeed = 0
4235
CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
4236
local blush = Instance.new("Decal",hed)
4237
blush.Texture = "rbxassetid://898404027"
4238
blush.Face = "Front"
4239
for i = 0, 13, 0.1 do
4240
swait()
4241
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
4242
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
4243
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
4244
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
4245
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
4246
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
4247
end
4248
coroutine.resume(coroutine.create(function()
4249
for i = 0, 49 do
4250
swait()
4251
blush.Transparency = blush.Transparency + 0.02
4252
end
4253
blush:Destroy()
4254
end))
4255
hum.WalkSpeed = storehumanoidWS
4256
attack = false
4257
end
4258
------------------------------------ Mode Ascendances
4259
function UnknownA()
4260
hum.WalkSpeed = 0
4261
attack = true
4262
local keptcolor = MAINRUINCOLOR
4263
local locat = Instance.new("Part", char)
4264
locat.CanCollide = false
4265
locat.FormFactor = 3
4266
locat.Name = "Ring"
4267
locat.Material = "Neon"
4268
locat.Size = Vector3.new(1, 1, 1)
4269
locat.Transparency = 1
4270
locat.TopSurface = 0
4271
locat.BottomSurface = 0
4272
locat.Anchored = true
4273
locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
4274
local poste = 0
4275
local rotation = 0
4276
local upperpos = 0
4277
local rate = 0
4278
local x = locat
4279
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
4280
CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
4281
sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
4282
sphere2(6,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
4283
sphere2(4,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
4284
sphere2(2,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
4285
CameraEnshaking(2,5)
4286
for i = 0, 49 do
4287
swait()
4288
rotation = rotation + 5
4289
poste = poste + 1
4290
sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
4291
sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
4292
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4293
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4294
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4295
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4296
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4297
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4298
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4299
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4300
RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
4301
LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
4302
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
4303
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
4304
RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.5)
4305
LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.5)
4306
end
4307
for i = 0, 49 do
4308
swait()
4309
rotation = rotation + 5
4310
sphere2(math.random(4,6),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.05,math.random(25,100)/25,-0.05,keptcolor)
4311
sphere2(8,"Add",tors.CFrame,vt(poste/1.5,poste/1.5,poste/1.5),0.01,0.01,0.01,keptcolor)
4312
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4313
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4314
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4315
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,upperpos,poste),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4316
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4317
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4318
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4319
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos,poste*2),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
4320
RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
4321
LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
4322
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
4323
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
4324
RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.5)
4325
LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.5)
4326
end
4327
ModeOfGlitch = 6000000000
4328
storehumanoidWS = 300
4329
hum.WalkSpeed = 300
4330
rainbowmode = false
4331
chaosmode = false
4332
RecolorTextAndRename("HARMONY",BrickColor.new("Toothpaste").Color,BrickColor.new("Cool yellow").Color,"Highway")
4333
newThemeCust("rbxassetid://170020261",0,1.005,1.5)
4334
MAINRUINCOLOR = BrickColor.new("Toothpaste")
4335
keptcolor = MAINRUINCOLOR
4336
RecolorThing(MAINRUINCOLOR,BrickColor.new("Cool yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4337
CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
4338
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
4339
sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,BrickColor.new("Cool yellow"))
4340
sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,0,15),5,0,5,keptcolor)
4341
sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("White"))
4342
sphere2(2,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cool yellow"))
4343
sphere2(4,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,keptcolor)
4344
attack = false
4345
hum.WalkSpeed = storehumanoidWS
4346
for i = 0, 49 do
4347
local rsiz = math.random(150,450)
4348
sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Cool yellow"))
4349
sphere2(math.random(1,2),"Add",x.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,BrickColor.new("Cool yellow"))
4350
sphereMK(math.random(1,2),math.random(2,4),"Add",x.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("White"),0)
4351
end
4352
coroutine.resume(coroutine.create(function()
4353
local eff = Instance.new("ParticleEmitter",x)
4354
eff.Texture = "rbxassetid://284205403"
4355
eff.LightEmission = 0.95
4356
eff.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color)
4357
eff.Rate = 50000
4358
eff.Lifetime = NumberRange.new(2.5)
4359
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
4360
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4361
eff.Speed = NumberRange.new(250,1000)
4362
eff.Drag = 5
4363
eff.Rotation = NumberRange.new(-500,500)
4364
eff.VelocitySpread = 9000
4365
eff.RotSpeed = NumberRange.new(-500,500)
4366
wait(0.5)
4367
eff.Enabled = false
4368
end))
4369
--[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
4370
if v:FindFirstChild('Head') then
4371
dmg(v)
4372
end
4373
end]]--
4374
sphere2(3,"Add",tors.CFrame,vt(1,1,1),10,10,10,keptcolor)
4375
sphere2(2,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("Cool yellow"))
4376
sphere2(1,"Add",tors.CFrame,vt(1,1,1),10,10,10,BrickColor.new("White"))
4377
CameraEnshaking(8,10)
4378
for i = 0, 99 do
4379
swait()
4380
rotation = rotation + 5
4381
poste = poste + 1
4382
upperpos = upperpos + rate
4383
rate = rate + 0.1
4384
sphere2(math.random(1,2),"Add",x.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,keptcolor)
4385
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
4386
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
4387
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
4388
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270+rotation),0)*CFrame.new(0,upperpos,poste),vt(5+upperpos/5,5+upperpos/5,5+upperpos/5),-0.05,-0.05,-0.05,BrickColor.new("Cool yellow"))
4389
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
4390
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(90-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
4391
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(180-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
4392
sphere2(8,"Add",x.CFrame*CFrame.Angles(0,math.rad(270-rotation),0)*CFrame.new(0,upperpos/2,poste*2),vt(5+upperpos/10,5+upperpos/10,5+upperpos/10),-0.05,-0.05,-0.05,keptcolor)
4393
end
4394
x:Destroy()
4395
end
4396
4397
function loveydovey()
4398
attack = true
4399
local keptcolor = MAINRUINCOLOR
4400
hum.WalkSpeed = 0
4401
for i = 0, 5, 0.1 do
4402
	swait()
4403
	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
4404
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
4405
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4406
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
4407
RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
4408
LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
4409
end
4410
CameraEnshaking(4,9)
4411
sphere2(2,"Add",root.CFrame,vt(5,5,5),0.5,0.5,0.5,keptcolor)
4412
sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,keptcolor)
4413
sphere2(3,"Add",root.CFrame,vt(5,5,5),1,1,1,keptcolor)
4414
sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,keptcolor)
4415
sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,keptcolor)
4416
sphere2(2,"Add",root.CFrame,vt(5,10000,5),0.6,0.6,0.6,keptcolor)
4417
CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
4418
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
4419
coroutine.resume(coroutine.create(function()
4420
local eff = Instance.new("ParticleEmitter",root)
4421
eff.Texture = "rbxassetid://363275192"
4422
eff.LightEmission = 0.95
4423
eff.Color = ColorSequence.new(keptcolor.Color)
4424
eff.Rate = 10000
4425
eff.Lifetime = NumberRange.new(1)
4426
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
4427
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4428
eff.Speed = NumberRange.new(50,200)
4429
eff.Drag = 5
4430
eff.Rotation = NumberRange.new(-500,500)
4431
eff.VelocitySpread = 9000
4432
eff.RotSpeed = NumberRange.new(-50,50)
4433
wait(0.5)
4434
eff.Enabled = false
4435
wait(5)
4436
eff:Destroy()
4437
end))
4438
for i = 0, 49 do
4439
local rsiz = math.random(70,90)
4440
sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(25,100)/25,-0.005,MAINRUINCOLOR)
4441
end
4442
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
4443
CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
4444
newTheme("rbxassetid://736003449",0,1,2)
4445
ModeOfGlitch = 9600000000
4446
MAINRUINCOLOR = BrickColor.new("Hot pink")
4447
for i = 0, 1, 0.2 do
4448
	swait()
4449
	RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
4450
LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
4451
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
4452
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
4453
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
4454
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
4455
end
4456
for i = 0, 9, 0.1 do
4457
	swait()
4458
	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
4459
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
4460
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4461
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
4462
RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
4463
LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
4464
end
4465
CameraEnshaking(2,11)
4466
sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,BrickColor.new("Pink"))
4467
sphere2(2,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
4468
sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,MAINRUINCOLOR)
4469
sphere2(3,"Add",root.CFrame,vt(5,5,5),1.5,1.5,1.5,MAINRUINCOLOR)
4470
sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,BrickColor.new("Pink"))
4471
sphere2(2,"Add",root.CFrame,vt(5,10000,5),1,1,1,MAINRUINCOLOR)
4472
CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
4473
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
4474
for i = 0, 49 do
4475
local rsiz = math.random(70,90)
4476
sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(50,200)/25,-0.005,MAINRUINCOLOR)
4477
sphereMK(math.random(1,2),math.random(1,3),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0)
4478
end
4479
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
4480
for i = 0, 1, 0.2 do
4481
	swait()
4482
	RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
4483
LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
4484
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
4485
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
4486
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
4487
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
4488
end
4489
for i = 0, 1, 0.1 do
4490
	swait()
4491
	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
4492
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
4493
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4494
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
4495
RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
4496
LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
4497
end
4498
CameraEnshaking(9,14)
4499
sphere2(4,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
4500
sphere2(4,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
4501
sphere2(9,"Add",root.CFrame,vt(5,5,5),3,3,3,MAINRUINCOLOR)
4502
sphere2(9,"Add",root.CFrame,vt(5,5,5),4,4,4,MAINRUINCOLOR)
4503
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
4504
CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
4505
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
4506
sphere2(1,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
4507
sphere2(1,"Add",root.CFrame,vt(5,5,5),3,3,3,BrickColor.new("Pink"))
4508
sphere2(1,"Add",root.CFrame,vt(5,5,5),4,4,4,BrickColor.new("Pink"))
4509
sphere2(1,"Add",root.CFrame,vt(5,10000,5),2.5,2.5,2.5,BrickColor.new("Pink"))
4510
sphere2(2,"Add",root.CFrame,vt(5,10000,5),3.5,3.5,3.5,MAINRUINCOLOR)
4511
sphere2(1,"Add",root.CFrame,vt(5,5,5),8,8,8,BrickColor.new("Pink"))
4512
sphere2(2,"Add",root.CFrame,vt(5,5,5),14,14,14,MAINRUINCOLOR)
4513
sphere2(3,"Add",root.CFrame,vt(5,5,5),20,20,20,MAINRUINCOLOR)
4514
for i = 0, 99 do
4515
local rsiz = math.random(150,450)
4516
sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Pink"))
4517
sphere2(math.random(1,2),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,MAINRUINCOLOR)
4518
sphereMK(math.random(1,2),math.random(4,6),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0)
4519
end
4520
coroutine.resume(coroutine.create(function()
4521
local eff = Instance.new("ParticleEmitter",root)
4522
eff.Texture = "rbxassetid://749327003"
4523
eff.LightEmission = 1
4524
eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
4525
eff.Rate = 50000
4526
eff.Lifetime = NumberRange.new(5)
4527
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
4528
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4529
eff.Speed = NumberRange.new(250,1000)
4530
eff.Drag = 5
4531
eff.Rotation = NumberRange.new(-50,50)
4532
eff.VelocitySpread = 9000
4533
eff.RotSpeed = NumberRange.new(-50,50)
4534
wait(0.5)
4535
eff.Enabled = false
4536
wait(5)
4537
eff:Destroy()
4538
end))
4539
storehumanoidWS = 20
4540
rainbowmode = false
4541
chaosmode = false
4542
RecolorTextAndRename("LOVE",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
4543
RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4544
for i = 0, 10, 0.1 do
4545
	swait()
4546
	sphere2(math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,MAINRUINCOLOR)
4547
	RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
4548
LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
4549
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
4550
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
4551
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
4552
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
4553
end
4554
hum.WalkSpeed = 20
4555
attack = false
4556
end
4557
-------------------------------------
4558
4559
Humanoid.Animator.Parent = nil
4560
4561
-------------------------------------
4562
4563
local attacktype = 1
4564
mouse.Button1Down:connect(function()
4565
  if attack == false and attacktype == 1 then
4566
    attacktype = 2
4567
    attackone()
4568
  elseif attack == false and attacktype == 2 then
4569
    attacktype = 3
4570
    attacktwo()
4571
  elseif attack == false and attacktype == 3 then
4572
    attacktype = 1
4573
    attackthree()
4574
  elseif attack == false and attacktype == 4 then
4575
    attacktype = 1
4576
    --attackfour()
4577
  end
4578
end)
4579
4580
local OVMID = 1702473314
4581
local OVMPIT = 1
4582
local OVMVOL = 1
4583
mouse.KeyDown:connect(function(k)
4584
if k == "q" and attack == false and ModeOfGlitch ~= 1 then
4585
resetmode()
4586
end
4587
if k == "e" and attack == false and ModeOfGlitch ~= 2 then
4588
                 ModeOfGlitch = 2
4589
storehumanoidWS = 16
4590
hum.WalkSpeed = 16
4591
rainbowmode = false
4592
chaosmode = false
4593
RecolorTextAndRename("Azure",Color3.new(0,0,0),BrickColor.new("Bright violet").Color,"Code")
4594
newTheme("rbxassetid://1003121377",0,1.02,1.25)
4595
MAINRUINCOLOR = BrickColor.new("Bright violet")
4596
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4597
end
4598
if k == "r" and attack == false and ModeOfGlitch ~= 3 then
4599
                 ModeOfGlitch = 3
4600
storehumanoidWS = 16
4601
hum.WalkSpeed = 16
4602
rainbowmode = false
4603
chaosmode = false
4604
RecolorTextAndRename("BINARY",Color3.new(0,0,0),Color3.new(0,1,0),"SciFi")
4605
newTheme("rbxassetid://949709585",0,1.01,1.25)
4606
MAINRUINCOLOR = BrickColor.new("Lime green")
4607
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4608
end
4609
if k == "t" and attack == false and ModeOfGlitch ~= 4 then
4610
                 ModeOfGlitch = 4
4611
storehumanoidWS = 16
4612
hum.WalkSpeed = 16
4613
rainbowmode = false
4614
chaosmode = false
4615
RecolorTextAndRename("Luna",Color3.new(0,0,0.25),BrickColor.new("Bright yellow").Color,"SourceSansBold")
4616
newTheme("rbxassetid://1449911189",0,1.02,1.25)
4617
MAINRUINCOLOR = BrickColor.new("Navy blue")
4618
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4619
end
4620
if k == "y" and attack == false and ModeOfGlitch ~= 5 then
4621
                 ModeOfGlitch = 5
4622
storehumanoidWS = 16
4623
hum.WalkSpeed = 16
4624
rainbowmode = false
4625
chaosmode = false
4626
RecolorTextAndRename("Blaze",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
4627
newTheme("rbxassetid://933674871",0,1.01,1.25)
4628
MAINRUINCOLOR = BrickColor.new("Deep orange")
4629
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4630
end
4631
if k == "u" and attack == false and ModeOfGlitch ~= 6 then
4632
                 ModeOfGlitch = 6
4633
storehumanoidWS = 100
4634
hum.WalkSpeed = 100
4635
rainbowmode = false
4636
chaosmode = false
4637
RecolorTextAndRename("GALACTIC",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
4638
newTheme("rbxassetid://258688195",0,1,1.25)
4639
MAINRUINCOLOR = BrickColor.new("Pastel light blue")
4640
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4641
end
4642
if k == "f" and attack == false and ModeOfGlitch ~= 7 then
4643
                 ModeOfGlitch = 7
4644
storehumanoidWS = 175
4645
hum.WalkSpeed = 175
4646
rainbowmode = false
4647
chaosmode = false
4648
RecolorTextAndRename("HYPERSPEED",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Arcade")
4649
newTheme("rbxassetid://265293315",0,1.01,1.25)
4650
MAINRUINCOLOR = BrickColor.new("Cyan")
4651
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4652
end
4653
if k == "g" and attack == false and ModeOfGlitch ~= 8 then
4654
                 ModeOfGlitch = 8
4655
storehumanoidWS = 100
4656
hum.WalkSpeed = 100
4657
rainbowmode = false
4658
chaosmode = false
4659
RecolorTextAndRename("CHAOTIC",BrickColor.new("Really red").Color,BrickColor.new("Bright red").Color,"Antique")
4660
newTheme("rbxassetid://1230880483",0,1.01,1.65)
4661
MAINRUINCOLOR = BrickColor.new("Really red")
4662
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4663
end
4664
if k == "h" and attack == false and ModeOfGlitch ~= 9 then
4665
                 ModeOfGlitch = 9
4666
storehumanoidWS = 135
4667
hum.WalkSpeed = 135
4668
rainbowmode = false
4669
chaosmode = false
4670
RecolorTextAndRename("Visualiser",BrickColor.new("Medium stone grey").Color,BrickColor.new("Black").Color,"Arcade")
4671
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4672
MAINRUINCOLOR = BrickColor.new("Medium stone grey")
4673
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4674
end
4675
if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 12 then
4676
                 ModeOfGlitch = 10
4677
storehumanoidWS = 12
4678
hum.WalkSpeed = 12
4679
rainbowmode = false
4680
chaosmode = false
4681
RecolorTextAndRename("Lucid Dream",BrickColor.new("Navy blue").Color,BrickColor.new("Black").Color,"Garamond")
4682
newTheme("rbxassetid://892260150",0,1.01,1.65)
4683
MAINRUINCOLOR = BrickColor.new("Black")
4684
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4685
end
4686
if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 then
4687
                 ModeOfGlitch = 2000000000
4688
storehumanoidWS = 200
4689
hum.WalkSpeed = 200
4690
rainbowmode = false
4691
chaosmode = false
4692
RecolorTextAndRename("AZURE X",BrickColor.new("Dark indigo").Color,BrickColor.new("Magenta").Color,"Antique")
4693
newThemeCust("rbxassetid://949706199",2.9,1.02,1.5)
4694
MAINRUINCOLOR = BrickColor.new("Magenta")
4695
RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
4696
end
4697
if k == "j" and attack == false and ModeOfGlitch ~= 9600000000 then
4698
loveydovey()
4699
end
4700
if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then
4701
UnknownA()
4702
end
4703
if k == "b" and ModeOfGlitch == 6000000000 and attack == false then
4704
harmonytaunty()
4705
elseif k == "b" and ModeOfGlitch == 9 and attack == false then
4706
vistaunty()
4707
elseif k == "b" and ModeOfGlitch == 9600000000 and attack == false then
4708
shytaunty()
4709
end
4710
if k == "z" and ModeOfGlitch == 1 and attack == false then
4711
Beams()
4712
elseif k == "z" and ModeOfGlitch == 2 and attack == false  then
4713
smiter()
4714
elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false  then
4715
supsmiter()
4716
elseif k == "z" and ModeOfGlitch == 3 and attack == false  then
4717
BinaryE()
4718
elseif k == "z" and ModeOfGlitch == 4 and attack == false  then
4719
elseif k == "z" and ModeOfGlitch == 5 and attack == false  then
4720
Fireball()
4721
elseif k == "z" and ModeOfGlitch == 6 and attack == false  then
4722
GalacticalBeams()
4723
elseif k == "z" and ModeOfGlitch == 7 and attack == false  then
4724
WarpedDash()
4725
elseif k == "z" and ModeOfGlitch == 8 and attack == false  then
4726
BeamOfDeath()
4727
elseif k == "z" and ModeOfGlitch == 9 and attack == false  then
4728
end
4729
if k == "x" and ModeOfGlitch == 3 and attack == false  then
4730
BinaryBLINK()
4731
end
4732
if k == "v" and ModeOfGlitch == 2000000000 and attack == false then
4733
AZUREFINALE()
4734
end
4735
if k == "l" and mutedtog == false then
4736
mutedtog = true
4737
kan.Volume = 0
4738
elseif k == "l" and mutedtog == true then
4739
mutedtog = false
4740
kan.Volume = 1.25
4741
end
4742
if k == "p" and toggleTag == false then
4743
toggleTag = true
4744
modet.TextTransparency = 0
4745
modet.TextStrokeTransparency = 0
4746
elseif k == "p" and toggleTag == true then
4747
toggleTag = false
4748
modet.TextTransparency = 1
4749
modet.TextStrokeTransparency = 1
4750
end
4751
if k == "z" and attack == false and ModeOfGlitch == 1 then
4752
end
4753
end)
4754
4755
plr.Chatted:connect(function(message)
4756
if ModeOfGlitch == 9 then
4757
if message:sub(1,5) == "play/" then
4758
OVMID = message:sub(6)
4759
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4760
elseif message:sub(1,6) == "pitch/" then
4761
OVMPIT = message:sub(7)
4762
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4763
elseif message:sub(1,4) == "vol/" then
4764
OVMVOL = message:sub(5)
4765
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4766
elseif message:sub(1,7) == "skipto/" then
4767
chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4768
newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
4769
elseif message:sub(1,9) == "telltime/" then
4770
chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4771
end
4772
end
4773
end)
4774
local rotperm = 0
4775
coroutine.resume(coroutine.create(function()
4776
while true do
4777
swait()
4778
if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 then
4779
swait(0.5)
4780
sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
4781
elseif ModeOfGlitch == 5 then
4782
swait(0.5)
4783
local rsiz = math.random(1,3)
4784
sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
4785
sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
4786
elseif ModeOfGlitch == 9600000000 then
4787
swait(0.25)
4788
sphereMK(5,math.random(-14,-8)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
4789
elseif ModeOfGlitch == 6000000000 then
4790
coroutine.resume(coroutine.create(function()
4791
swait(5)
4792
sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0)
4793
end))
4794
swait(1)
4795
rotperm = rotperm + 12
4796
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR)
4797
sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
4798
elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
4799
swait(25 - kan.PlaybackLoudness/80)
4800
sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
4801
if kan.PlaybackLoudness >= 300 then
4802
CameraEnshaking(1,3)
4803
for i = 0, 4 do
4804
sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0)
4805
end
4806
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
4807
end
4808
local notsp = Instance.new("Part", char)
4809
notsp.CanCollide = false
4810
notsp.FormFactor = 3
4811
notsp.Name = "Ring"
4812
notsp.Material = "Neon"
4813
notsp.Size = Vector3.new(10, 1, 10)
4814
if kan.PlaybackLoudness >= 300 then
4815
notsp.Size = Vector3.new(25, 1, 25)
4816
end
4817
notsp.Transparency = 1
4818
notsp.TopSurface = 0
4819
notsp.BottomSurface = 0
4820
notsp.Anchored = true
4821
notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
4822
coroutine.resume(coroutine.create(function()
4823
local eff = Instance.new("ParticleEmitter",notsp)
4824
eff.Texture = "rbxassetid://288898235"
4825
eff.LightEmission = 0.5
4826
eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
4827
eff.Rate = 300
4828
eff.Lifetime = NumberRange.new(1)
4829
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
4830
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4831
eff.Speed = NumberRange.new(20,40)
4832
eff.Acceleration = vt(0,-75,0)
4833
eff.Drag = 1
4834
eff.Rotation = NumberRange.new(-10,10)
4835
eff.VelocitySpread = 20
4836
eff.RotSpeed = NumberRange.new(-1,1)
4837
coroutine.resume(coroutine.create(function()
4838
while true do
4839
swait()
4840
if eff.Parent ~= nil then
4841
if ModeOfGlitch == 9 then
4842
eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
4843
elseif ModeOfGlitch ~= 9 then
4844
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4845
end
4846
else
4847
break
4848
end
4849
end
4850
end))
4851
wait(0.1)
4852
eff.Enabled = false
4853
end))
4854
game:GetService("Debris"):AddItem(notsp, 5)
4855
end
4856
end
4857
end))
4858
4859
4860
Humanoid.Name = "GGLITCHER"
4861
Humanoid.MaxHealth = math.huge
4862
Humanoid.Health = math.huge
4863
Instance.new("ForceField",char).Visible = false
4864
4865
idleanim=.4
4866
while true do
4867
Humanoid.MaxHealth = math.huge
4868
Humanoid.Health = math.huge
4869
if mutedtog == false and duringend == false then
4870
kan.Volume = currentVol
4871
elseif mutedtog == true and duringend == false then
4872
kan.Volume = 0
4873
end
4874
if duringend == false then
4875
kan.PlaybackSpeed = currentPitch
4876
kan.Pitch = currentPitch
4877
end
4878
kan.SoundId = currentThemePlaying
4879
kan.Looped = true
4880
kan.Parent = char
4881
kan:Resume()
4882
4883
modeteller.Text = string.upper(modet.Text)
4884
modeteller.TextColor3 = MAINRUINCOLOR.Color
4885
4886
swait()
4887
handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
4888
4889
lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
4890
lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
4891
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
4892
rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
4893
rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
4894
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
4895
--------------- Visualiser Zone
4896
if ModeOfGlitch == 9 then
4897
modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4898
for i, v in pairs(mw2:GetChildren()) do
4899
if v:IsA("Part") then
4900
v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4901
v.Material = "Neon"
4902
end
4903
end
4904
for i, v in pairs(mw1:GetChildren()) do
4905
if v:IsA("Part") then
4906
v.Transparency = 0
4907
v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4908
v.Material = "Neon"
4909
end
4910
end
4911
end
4912
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
4913
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
4914
---------------
4915
  sine = sine + change
4916
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
4917
local velderp=RootPart.Velocity.y
4918
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
4919
if equipped==true or equipped==false then
4920
if attack==false then
4921
idle=idle+1
4922
else
4923
idle=0
4924
end
4925
if idle>=500 then
4926
if attack==false then
4927
--Sheath()
4928
end
4929
end
4930
if RootPart.Velocity.y > 1 and hitfloor==nil then 
4931
Anim="Jump"
4932
if attack==false then
4933
RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
4934
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
4935
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
4936
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
4937
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
4938
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
4939
end
4940
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
4941
Anim="Fall"
4942
if attack==false then
4943
RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
4944
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
4945
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
4946
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
4947
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
4948
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
4949
end
4950
elseif torvel<1 and hitfloor~=nil then
4951
Anim="Idle"
4952
if attack==false then
4953
if ModeOfGlitch == 1 then
4954
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
4955
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
4956
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
4957
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
4958
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
4959
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
4960
elseif ModeOfGlitch == 2 then
4961
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
4962
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
4963
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
4964
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
4965
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
4966
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
4967
elseif ModeOfGlitch == 10 then
4968
RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
4969
Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
4970
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
4971
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
4972
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
4973
LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
4974
elseif ModeOfGlitch == 3 then
4975
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1)
4976
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
4977
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
4978
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
4979
RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
4980
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
4981
elseif ModeOfGlitch == 4 then
4982
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1)
4983
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1)
4984
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1)
4985
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1)
4986
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1)
4987
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1)
4988
elseif ModeOfGlitch == 5 then
4989
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
4990
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
4991
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
4992
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
4993
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
4994
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
4995
elseif ModeOfGlitch == 6 then
4996
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
4997
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
4998
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
4999
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
5000
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
5001
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
5002
elseif ModeOfGlitch == 7 then
5003
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
5004
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
5005
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
5006
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
5007
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
5008
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
5009
elseif ModeOfGlitch == 8 then
5010
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
5011
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
5012
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
5013
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
5014
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
5015
LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
5016
elseif ModeOfGlitch == 9 then
5017
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
5018
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
5019
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4)
5020
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4)
5021
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4)
5022
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
5023
elseif ModeOfGlitch == 2000000000 then
5024
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
5025
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 3 * math.cos(sine / 34))),.1)
5026
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(2 + 3 * math.cos(sine / 34)),math.rad(0),math.rad(34 - 3 * math.cos(sine / 54))),.1)
5027
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 4 * math.cos(sine / 28)),math.rad(0 - 1 * math.cos(sine / 44)),math.rad(-34 + 3 * math.cos(sine / 54))),.1)
5028
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(12 + 5 * math.cos(sine / 62)),math.rad(30 + 5 * math.cos(sine / 48)),math.rad(19 + 6 * math.cos(sine / 36))),.1)
5029
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 65)),math.rad(6 + 3 * math.cos(sine / 57)),math.rad(-20 - 7 * math.cos(sine / 36))),.1)
5030
elseif ModeOfGlitch == 6000000000 then
5031
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1)
5032
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1)
5033
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1)
5034
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1)
5035
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1)
5036
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1)
5037
elseif ModeOfGlitch == 9600000000 then
5038
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
5039
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
5040
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
5041
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
5042
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
5043
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
5044
end
5045
end
5046
elseif torvel>2 and torvel<22 and hitfloor~=nil then
5047
Anim="Walk"
5048
if attack==false then
5049
if ModeOfGlitch == 10 then
5050
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(4-2.5 * math.cos(sine / 3.5)), math.rad(0) - root.RotVelocity.Y / 75, math.rad(5 * math.cos(sine / 7))), 0.15)
5051
Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
5052
RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 5 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
5053
LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 5 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
5054
RW.C0 = clerp(RW.C0, cf(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
5055
LW.C0 = clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
5056
elseif ModeOfGlitch ~= 9600000000 then
5057
RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
5058
LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
5059
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
5060
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
5061
RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
5062
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
5063
elseif ModeOfGlitch == 9600000000 then
5064
RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
5065
LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
5066
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
5067
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
5068
RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
5069
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
5070
end
5071
end
5072
elseif torvel>=22 and hitfloor~=nil then
5073
Anim="Run"
5074
if attack==false then
5075
if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 then
5076
RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
5077
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
5078
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1)
5079
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1)
5080
RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
5081
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
5082
if ModeOfGlitch == 7 then
5083
sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
5084
sphereMK(3,0,"Add",root.CFrame*CFrame.new(0,0,8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,5,20,-0.0075,MAINRUINCOLOR,0)
5085
end
5086
elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 then
5087
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
5088
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
5089
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
5090
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
5091
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
5092
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
5093
end
5094
end
5095
end
5096
end
5097
end