-- Gen dummy23
if game:GetService("RunService"):IsStudio() then
task.wait()
end
Service = setmetatable({}, {
__index = function(_, self)
return game:GetService(self)
end
})
local Connections, Character, Ignores, Bases, Timers, Config, Decimated = {}, {
["Limbs"] = {},
["Properties"] = {},
["CFrames"] = {},
["Position"] = CFrame.new(0,20,0),
["Moving"] = false,
["WalkSpeed"] = 35,
["Falling"] = false,
["FallingSpeed"] = 0,
["Flying"] = true,
Animating = true
}, {}, {}, {},{
BlackMagicRefit = false,
BlackMagicKill = false,
BlackMagicParent = false,
Magnitude = false,
DeleteMode = true,
AoeType = 0,
Decimating = false,
KillAura = false
}, {
["BaseParts"] = {},
["Meshes"] = {},
}
local Delta = 0
local player = nil
if game:GetService("RunService"):IsStudio() then
player = game:GetService("Players").Iamaguyithinks -- script.Parent.Parent
else
player = owner
end
if player == nil then
return
end
local playerid = player.UserId
local script = require(100324844901438)
local remotekey = Service.HttpService:GenerateGUID(false):gsub("-",""):lower()
local timesoccupied = 0
local LBolt = require(script.LightningBolt)
local align = {}
function Tween(a, b, c)
return Service.TweenService:Create(a, TweenInfo.new(table.unpack(b)), c):Play()
end
function RandomString(len)
return ("."):rep(len or math.random(10,500)/10):gsub(".",function()
return string.char(math.random(1, 122))
end)
end
function PlaySound(id, position, pitch, volume, timepos)
local temp = script.Instances.Part:Clone()
temp.Name = RandomString()
AddIgnore(temp)
temp.Parent = Service.SoundService
temp.CFrame = position
local audio = Instance.new("Sound", temp)
audio.Name = RandomString()
audio.PlayOnRemove = true
audio.Pitch = pitch
audio.SoundId = id
audio.Volume = volume
if timepos then
audio.TimePosition = timepos
end
temp:Destroy()
end
function Speak(msg, Ult)
if msg == "-http" then
elseif msg == "Yeah i'm not saying all that 💀" then
end
local length = msg:len()
local bb = script.Billboard:Clone()
local tl = bb.Tl
if (Ult) then
tl.TextColor3 = Color3.fromRGB(255, 0, 0)
end
tl.Text = ""
local ustroke = tl.UIStroke
bb.Parent = game:GetService("JointsService")
bb.Adornee = workspace.Terrain
bb.Name = RandomString()
bb.Size = UDim2.new(4+length, 0, 1, 0)
table.insert(align, bb)
local fin = ""
local abv; abv = Service.RunService.Heartbeat:Connect(function()
if table.find(align, bb) ~= 1 then
bb.StudsOffset = align[(table.find(align, bb)-1)].StudsOffset + Vector3.new(0,1,0)
else
bb.StudsOffset = Vector3.new(0,1.9,0)
end
end)
for i = 1,length do
local char = msg:sub(i,i)
fin=fin..char
tl.Text = fin
PlaySound("rbxassetid://9120300060", Character.Position*CFrame.new(0,1.5,0), Random.new():NextNumber(.9,1.1), .3)
if i == length then
abv:Disconnect()
task.delay(.5,function()
Tween(tl, {.5},{TextTransparency = 1,TextColor3 = Color3.fromHSV(math.random(0,19)/20,1,1),Rotation = math.random(-50,50)})
Tween(bb, {.5},{Size = UDim2.new()})
Service.Debris:AddItem(ustroke,0)
Service.Debris:AddItem(bb, .5)
table.remove(align, table.find(align, bb))
end)
end
if char == "." or char == "," or char == ";" then
task.wait(.3)
else
task.wait(.06)
end
end
end
function givescript(p)
print([[DEBUG:SCRIPT-SERVER | GAVE SCRIPT TO: ]]..p.Name)
player = p
local function start()
local client = script.client:Clone()
client.Parent = p.Backpack or Instance.new("Backpack", p)
client.Disabled = false
print(client.Name.."!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
client:SetAttribute("RemoteKey"..tostring(game.PlaceId), remotekey)
p.Character = nil
table.insert(Connections, p.Chatted:Connect(Speak))
table.insert(Connections, p.CharacterAdded:Connect(function()
task.defer(function()
p.Character = nil
end)
end))
end
if game.PlaceId == 7205570742 then
if timesoccupied == 0 then
start()
else
local chtd; chtd = p.Chatted:Connect(function(msg)
if msg == "!reclaim" then
start()
chtd:Disconnect()
end
end)
end
timesoccupied+=1
else
start()
end
end
givescript(player)
--Begin!
local bmev = Instance.new("BindableFunction")
function maxtable(self)
return self[#self]
end
function blackmagic(func)
task.spawn(function()
task.defer(function()
bmev.OnInvoke = function()
if not pcall(function()
bmev:Invoke()
end) then
func()
end
end
bmev:Invoke()
end)
end)
end
local UsingSn = false
local defer = function(...)
pcall(task.defer, ...)
end
local function Supernull(IND, func, ...)
local amount = 0
local MAX = math.max(unpack(IND))
local overflow
overflow = function(...)
amount = amount + 1
if table.find(IND, amount) then
func(...)
end
if amount == MAX then
return
end
defer(overflow, ...)
end
defer(overflow, ...)
end
local UsingStall = false
function Stall(Number, Function, ...)
if UsingStall then
for i = 1,Number do
task.spawn(function()
task.desynchronize()
task.synchronize()
end)
end
end
Function(...)
end
local function V1(signal, f)
local go = true
local connection
local function reconnect()
pcall(function()
connection:Disconnect()
end)
if not go then return end
connection = signal:Connect(function()
if f() then
reconnect()
end
end)
end
reconnect()
return function()
go = false
pcall(function()
connection:Disconnect()
end)
end
end
local lockdesc = require(16260122956).HumanoidDescription
local UseLock = false
local function forceclone(object, keepobject)
local m = Instance.new("Model", game)
local h = Instance.new("Humanoid", m)
local d = Instance.new("HumanoidDescription", m)
local class, par = object.ClassName, object.Parent
object.Parent = d
h:ApplyDescription(d)
if(keepobject)then object.Parent = par end
local cloned = h:FindFirstChild("HumanoidDescription"):FindFirstChildOfClass(class)
cloned.Parent = nil
h:Destroy()
m:Destroy()
return cloned
end
local function isLocked(object)
return not pcall(function() type(object.Name) end)
end
local function ForceLock(objects, nilobject)
local cframe, acc = CFrame.new(1e5, 1e5+1.5, 1e5), Instance.new("Accoutrement")
local handle = Instance.new("Part")
handle.CFrame, handle.Name, handle.Size = cframe, "Handle", Vector3.one*10
acc.Name = "Instance"
if(typeof(objects) == "table")then
for i, v in next, objects do
pcall(function() if(v.Name == "Handle")then v.Name = '' end v.Parent = acc end)
end else objects.Parent = acc
end
local h = forceclone(lockdesc, true)
h.Parent = workspace
acc.Parent = workspace
handle.Parent = acc
handle:SetNetworkOwner(nil)
handle.AssemblyLinearVelocity = Vector3.new(0,-0.01,0)
handle.AssemblyAngularVelocity = Vector3.new(0,1e5,0)
if(nilobject)then
task.spawn(function()
if(not isLocked(acc))then
task.defer(function()
if(isLocked(acc))then h.Parent = nil end
end)
repeat task.wait() until isLocked(acc)
end
h.Parent = nil
end)
task.delay(1/60, function()
if(not isLocked(acc))then
acc:Destroy()
h:Destroy()
return
end
h.Parent = nil
end)
end
return h
end
local rnd = Random.new()
local Sine = tick()
Timers.LoopRefit = 0
local Throttle = 0
local ConsecutiveFrames = 0
function Connection(func)
table.insert(Connections, func)
end
function AddIgnore(a)
a.Name = RandomString()
table.insert(Ignores, a)
end
function AddPart(Name, Base)
Character.Limbs[Name] = script.Limbs[Base]:Clone()
Character.Properties[Name] = {
Size = script.Limbs[Base].Size,
Color = script.Limbs[Base].Color,
Anchored = script.Limbs[Base].Anchored,
CanCollide = script.Limbs[Base].CanTouch,
MeshId = script.Limbs[Base].MeshId,
CanTouch = script.Limbs[Base].CanTouch,
CanQuery = script.Limbs[Base].CanQuery,
CastShadow = script.Limbs[Base].CastShadow,
Transparency = script.Limbs[Base].Transparency,
Material = script.Limbs[Base].Material,
Massless = script.Limbs[Base].Massless,
TextureID = script.Limbs[Base].TextureID,
Parent = workspace
}
Character.CFrames[Name] = CFrame.new()
AddIgnore(Character.Limbs[Name])
Bases[Name] = Base
end
AddPart("Head", "Head")
AddPart('Torso', "Torso")
AddPart("LeftArm", "ArmLimb")
AddPart("RightArm", "ArmLimb")
AddPart("LeftLeg", "LegLimb")
AddPart("RightLeg", "LegLimb")
function randomangle()
return CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
end
function Destroy(a, b)
Service.Debris:AddItem(a, b or 0)
end
function radiananglefrom(range)
return CFrame.Angles(math.rad(math.random(-range,range)),math.rad(math.random(-range,range)),math.rad(math.random(-range,range)))
end
function GetCFrameFromName(Name)
return (if Name == "Torso" then Character.Position*Character.CFrames.Torso else Character.Position*Character.CFrames.Torso*Character.CFrames[Name]) or "error"
end
function Check_ReverseAll(Name)
task.defer(function()
task.defer(function()
local Limb = Character.Limbs[Name]
if Limb.MeshId ~= Character.Properties[Name].MeshId then
if Config.BlackMagicRefit then
Stall(1, function()
blackmagic(function()
Limb:ApplyMesh(script.Limbs[Bases[Name]])
end)
end)
else
Refit(Name)
end
end
if Limb.CFrame ~= GetCFrameFromName(Name) then
if Config.BlackMagicRefit then
Stall(1, function()
blackmagic(function()
Limb.CFrame = GetCFrameFromName(Name)
end)
end)
else
Refit(Name)
end
end
for Property in pairs(Character.Properties[Name]) do
if Limb[Property] ~= Character.Properties[Name][Property] and Property ~= "MeshId" and Property ~= "Parent" then
if Config.BlackMagicRefit then
Stall(1, function()
blackmagic(function()
Limb[Property] = Character.Properties[Name][Property]
end)
end)
else
Refit(Name)
end
end
end
if Limb.Parent ~= workspace then
Refit(Name)
end
Limb:ClearAllChildren()
end)
end)
end
function Refit(Name)
local Old = Character.Limbs[Name]
local New = script.Limbs[Bases[Name]]:Clone()
AddIgnore(New)
New.Name = RandomString()
New.CFrame = GetCFrameFromName(Name)
Character.Limbs[Name] = New
if Config.BlackMagicParent then
blackmagic(function()
New.Parent = workspace
end)
else
New.Parent = workspace
end
task.spawn(function()
for i in pairs(Character.Properties[Name]) do
if i ~= "MeshId" then
New[i] = Character.Properties[Name][i]
end
end
end)
table.insert(Connections,New.ChildAdded:Connect(function(v)
task.defer(function()
v:Destroy()
end)
end))
table.insert(Connections, New:GetPropertyChangedSignal("CFrame"):Once(function()
if New.CFrame ~= GetCFrameFromName(Name) then
Check_ReverseAll(Name)
end
end))
for Property in pairs(Character.Properties[Name]) do
table.insert(Connections, New:GetPropertyChangedSignal(Property):Connect(function(Changed)
Check_ReverseAll(Name)
end))
end
Check_ReverseAll(Name)
New:ClearAllChildren()
Old:Destroy()
end
function filterpart(old)
local new = {}
for i,v in ipairs(old) do
local add = false
if Config.AoeType == 0 then
add = v.Name:sub(1,("Base"):len()):lower() ~= "base"
elseif Config.AoeType == 1 then
add = v.Size.X < 300
elseif Config.AoeType == 2 then
add = true
end
if not table.find(Ignores, v) and add then
table.insert(new, v)
end
end
return new
end
function checkregion(point,range, isaoe)
if Config.Magnitude and isaoe then
local fake = {}
for i,v in ipairs(game:GetDescendants()) do
if v:IsA("BasePart") then
if (v.CFrame.p - point).Magnitude <= range + v.Size.Magnitude then
if v ~= workspace.Terrain then
table.insert(fake, v)
end
end
end
end
return filterpart(fake)
else
local params = OverlapParams.new()
params.FilterDescendantsInstances = Ignores
params.RespectCanCollide = false
params.FilterType = Enum.RaycastFilterType.Blacklist
return filterpart(workspace:GetPartBoundsInRadius(point, range, params))
end
end
local function IsPointInVolume(point: Vector3, volumeCenter: CFrame, volumeSize: Vector3): boolean
local volumeSpacePoint = volumeCenter:PointToObjectSpace(point)
return volumeSpacePoint.X >= -volumeSize.X/2
and volumeSpacePoint.X <= volumeSize.X/2
and volumeSpacePoint.Y >= -volumeSize.Y/2
and volumeSpacePoint.Y <= volumeSize.Y/2
and volumeSpacePoint.Z >= -volumeSize.Z/2
and volumeSpacePoint.Z <= volumeSize.Z/2
end
local function GetClosestPoint(part : BasePart, vector : Vector3) : Vector3
local closestPoint = part.CFrame:PointToObjectSpace(vector)
local size = part.Size / 2
closestPoint = Vector3.new(
math.clamp(closestPoint.x, -size.x, size.x),
math.clamp(closestPoint.y, -size.y, size.y),
math.clamp(closestPoint.z, -size.z, size.z)
)
return part.CFrame:PointToWorldSpace(closestPoint)
end
local function partsAt(Position, Range)
local function isa(inst, class)
local _, isclass = pcall(game.IsA, inst, class)
return isclass == true
end
local Descendants = game.GetDescendants(workspace)
local PositionV = (typeof(Position) == "CFrame" and Position.Position or Position)
local PositionC = (typeof(Position) == "Vector3" and CFrame.new(Position.X,Position.Y,Position.Z) or Position)
local Range = (typeof(Range) == "Vector3" and Range or Vector3.new(Range, Range, Range))
local parts = {}
for i, Object in next, Descendants do
if not isa(Object, "Terrain") and isa(Object, "BasePart") and not table.find(Ignores, Object) then
local ClosestPoint = GetClosestPoint(Object, PositionV)
local Magnitude = (Object.Position - PositionV).Magnitude
if IsPointInVolume(ClosestPoint, PositionC, Range) then
local add = false
if Config.AoeType == 0 then
add = Object.Name:sub(1,("Base"):len()):lower() ~= "base"
elseif Config.AoeType == 1 then
add = Object.Size.X < 300
elseif Config.AoeType == 2 then
add = true
end
if add then
table.insert(parts, Object)
end
end
end
end
return parts
end
function Lerp(A,B,T)
local Returned = table.pack(pcall(function()
local LerpedA = A
for _ = 1,Throttle do
LerpedA = LerpedA:Lerp(B,math.clamp(T,0,1))
end
return LerpedA
end))
table.remove(Returned,1)
return unpack(Returned)
end
--loop
for Name in pairs(Character.Limbs) do
Refit(Name)
end
--Effect({cf=MainPosition,moveto=Mouse.Hit.p,clr=Color3.fromHSV(math.random(0,19)/20,1,1),clr2=Color3.new(0,0,0),mtype="Box",waits=100,size=Vector3.new(3,3,3),size2=Vector3.new(3,3,3),radX=0,radY=0,radZ=0,mat="Neon",lock=false,tran=0,tran2=1,bmr=true,sbm=50,mbm=50})
function Effect(tblee)
coroutine.resume(coroutine.create(function()
local origpos = (tblee.cf or nil)
local moveto = (tblee.moveto or nil)
local color = (tblee.clr or Color3.new(0,0,0))
local color2 = (tblee.clr2 or nil)
local defaultsize = (tblee.size or Vector3.new(2,2,2))
local material = (tblee.mat or "Neon")
local locker = (tblee.lock or false)
local rotateX = (tblee.radX or 0)
local rotateY = (tblee.radY or 0)
local rotateZ = (tblee.radZ or 0)
local secondsize = (tblee.size2 or Vector3.new(4,4,4))
local acttime = (tblee.waits or 100)
local transpar = (tblee.tran or 0)
local transpar2 = (tblee.tran2 or 1)
local typeofmesh = (tblee.mtype or "S")
local boomerang = (tblee.bmr or false)
local sizeboomerang = (tblee.sbm or 0)
local moveboomerang = (tblee.mbm or 0)
local movingspeed = nil
local mesh = nil
local endsize = nil
local endtranpar = nil
local b1 = 1+moveboomerang/50
local b2 = 1+sizeboomerang/50
if typeof(origpos) == "Vector3"then origpos=CFrame.new(origpos) end
if typeof(moveto) == "CFrame"then moveto=moveto.p end
if typeof(color) == "BrickColor"then color=color.Color end
if typeof(color2) == "BrickColor"then color2=color2.Color end
if origpos then
local amesh = ""
if typeofmesh == "Box" or typeofmesh == "B" or typeofmesh == "1" then
amesh = "Part"
elseif typeofmesh == "Sphere" or typeofmesh == "S" or typeofmesh == "2" then
amesh="Ball"
elseif typeofmesh == "Cylinder" or typeofmesh == "C" or typeofmesh == "3" then
amesh="Cylinder"
end
local p=script.Instances[amesh]:Clone() AddIgnore(p) p.Color=color p.CFrame=origpos p.Material=material p.Size=defaultsize;p.CanCollide=false p.Transparency=transpar p.CastShadow=false p.Locked=true p.Parent = workspace
if locker == true then
p.Position = origpos.p
p.CFrame = CFrame.new(p.Position,moveto)*CFrame.new(0,0,-(p.Size.Z/1.5))
else
p.CFrame = origpos
end
if moveto then
if boomerang then
movingspeed=(origpos.p - moveto).Magnitude/acttime*b1
else
movingspeed=(origpos.p - moveto).Magnitude/acttime
end
end
if boomerang then
endsize=(defaultsize - secondsize)*b2
else
endsize=(defaultsize - secondsize)
end
endtranpar=transpar-transpar2
if boomerang then
for i = 1, acttime+1 do game:GetService("RunService").Heartbeat:wait()
p.Size=p.Size-(Vector3.new((endsize.X)*((1 - (i/acttime)*b2)),(endsize.Y)*((1 - (i/acttime)*b2)),(endsize.Z)*((1 - (i/acttime)*b2)))*b2)/acttime
p.Transparency = p.Transparency - endtranpar/acttime
p.CFrame=p.CFrame*CFrame.Angles(math.rad(rotateX),math.rad(rotateY),math.rad(rotateZ))
if color2 then
p.Color = color:Lerp(color2,i/acttime-Delta)
end
if moveto ~= nil then
local a = p.Orientation
p.CFrame = CFrame.new(p.Position,moveto)*CFrame.new(0,0,-(movingspeed)*((1-(i/acttime)*b1)))
p.Orientation = a
end
end
else
for i = 1, acttime+1 do game:GetService("RunService").Heartbeat:wait()
p.Size=p.Size-endsize/acttime
p.Transparency = p.Transparency - endtranpar/acttime
p.CFrame=p.CFrame*CFrame.Angles(math.rad(rotateX),math.rad(rotateY),math.rad(rotateZ))
if color2 then
p.Color = color:Lerp(color2,i/acttime-Delta)
end
if moveto ~= nil then
local a = p.Orientation
p.CFrame = CFrame.new(p.Position,moveto)*CFrame.new(0,0,-movingspeed)
p.Orientation = a
end
end
end
p:Destroy()
elseif origpos == nil then
warn("Origpos is nil!")
end
end))
end
function inversebool(s)
if s then
s = false
else
s = true
end
return s
end
local randomservices = {Service.ReplicatedStorage, Service.SoundService, Service.Text, Service.LocalizationService, Service.TestService, Service.MaterialService, Service.Players}
local parent = randomservices[math.random(#randomservices)]
local input = {}
local ccf = CFrame.new()
local remotetick = tick()
local mousehit = CFrame.new()
local old = Character.Position
local shiftlocking = false
local remote = Instance.new("RemoteEvent", parent)
remote.Name = RandomString()
remote:SetAttribute(tostring(player.UserId):reverse(), "")
function msgclient(msg,msg2)
if player and remote then
remote:FireClient(player, remotekey, "notif", msg,msg2)
end
end
local deb = {
blackmagictoggle = false,
globalcooldown = false
}
local DisplayPos = Character.Position
local pos = Character.Position
function floorvector(vector)
return Vector3.new(math.floor(vector.X), math.floor(vector.Y), math.floor(vector.Z))
end
function Decimate(v)
if v:IsA("BasePart") and not v:IsA("MeshPart") then
table.insert(Decimated.BaseParts,floorvector(v.Size))
table.insert(Decimated.BaseParts,v.BrickColor)
end
if v:IsA("SpecialMesh") or v:IsA("MeshPart") then
local Size = Vector3.new()
local TextureId = ""
if v:IsA("SpecialMesh") then
Size = floorvector(v.Scale)
TextureId = v.TextureId
elseif v:IsA("MeshPart") then
Size = floorvector(v.Size)
TextureId = v.TextureID
end
table.insert(Decimated.Meshes, floorvector(Size))
table.insert(Decimated.Meshes, v.MeshId)
table.insert(Decimated.Meshes, TextureId)
end
end
function hn(f,...)
if game:GetService('RunService'):IsStudio() or (game.PlaceId==843495510) then
return f(...)
end
local v = -1
local function _(...)
v = v + 1
local c = v
pcall(task.spawn,_,...)
if v == c then f(...) end
end
_(...)
end
function Void(v)
if Config.DeleteMode then
local bsprt = v:FindFirstAncestorWhichIsA("BasePart")
if v:IsA("SpecialMesh") and bsprt and bsprt ~= workspace.Terrain then
v = bsprt
end
local function killinternal()
if Config.BlackMagicKill then
blackmagic(function()
task.defer(function()
v:Destroy()
end)
end)
else
task.defer(function()
v:Destroy()
end)
end
end
killinternal()
else
if v:IsA("MeshPart") then
local function killinternal()
if Config.BlackMagicKill then
blackmagic(function()
v:ApplyMesh(script.MeshKill)
end)
else
v:ApplyMesh(script.MeshKill)
end
end
v:GetPropertyChangedSignal("MeshId"):Connect(function(to)
if to ~= script.MeshKill.MeshId then
killinternal()
end
end)
killinternal()
table.insert(Ignores, v)
elseif v:IsA("BasePart") then
local function killinternal()
if Config.BlackMagicKill then
blackmagic(function()
v.CFrame = CFrame.new(9e9,9e9,9e9)
end)
else
v.CFrame = CFrame.new(9e9,9e9,9e9)
end
end
v:BreakJoints()
v.Anchored = true
v:GetPropertyChangedSignal("CFrame"):Connect(function(to)
if v.CFrame ~= CFrame.new(9e9,9e9,9e9) then
killinternal()
end
end)
killinternal()
elseif v:IsA("SpecialMesh") then
local bsprt = v:FindFirstAncestorWhichIsA("BasePart")
local function killinternal()
if Config.BlackMagicKill then
blackmagic(function()
v.Offset = Vector3.new(9e9,9e9,9e9)
end)
else
v.Offset = Vector3.new(9e9,9e9,9e9)
end
end
v:GetPropertyChangedSignal("Offset"):Connect(function(to)
if v.Offset ~= Vector3.new(9e9,9e9,9e9) then
killinternal()
end
end)
killinternal()
table.insert(Ignores,bsprt or v)
end
end
end
function Kill(v)
local msh = v:FindFirstChildWhichIsA("SpecialMesh")
if msh then
v = msh
end
if Config.Decimating then
Decimate(v)
end
Void(v)
end
function propertyclone(v)
local part = script.Instances.Part:Clone()
part.Size = v.Size
part.CFrame = v.CFrame
part.Color = v.Color
part.Material = v.Material
AddIgnore(part)
part.Parent = workspace
return part
end
function Handle(rem)
table.insert(Connections, rem.OnServerEvent:Connect(function(firer, remkey, method, ...)
if firer.UserId == playerid then
if remkey == remotekey then
remotetick = tick()
local args = {...}
if method == "Down" then
input[args[1]] = true
local key = args[1]
if key == "l" then
for i,v in ipairs(Connections) do
v:Disconnect()
end
for i in pairs(Character.Limbs) do
Character.Limbs[i]:Destroy()
end
if player and rem then
rem:FireClient(player, remotekey, "stopscript")
rem:Destroy()
player:LoadCharacter()
end
end
if key == "one" then
if deb.blackmagictoggle then
return
end
deb.blackmagictoggle = true
task.delay(.8,function()
deb.blackmagictoggle = false
end)
Config.BlackMagicRefit = inversebool(Config.BlackMagicRefit)
msgclient("Toggled", "Enhanced Refit: "..tostring(Config.BlackMagicRefit))
if Config.BlackMagicRefit then
PlaySound("rbxassetid://17772894570",Character.Position, 1, 3)
for i = 1,25+math.random(1,5) do
local effect = script.Instances.Part:Clone()
AddIgnore(effect)
effect.Size = Vector3.new(.25,.45,.25)/2
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*randomangle()
effect.Parent = workspace
Tween(effect, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*CFrame.new(0,.4+math.random(),0)*randomangle()})
Destroy(effect,.6)
local effect = script.Instances.Part:Clone()
AddIgnore(effect)
effect.Size = Vector3.new(.25,.45,.25)/2
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("Head")*CFrame.new(-.15,.2,-.6)*randomangle()
effect.Parent = workspace
Tween(effect, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("Head")*CFrame.new(-.15,.2,-.6)*CFrame.new(0,.4+math.random(),0)*randomangle()})
Destroy(effect,.6)
game:GetService("RunService").Stepped:Wait()
end
local effect = script.Instances.Ball:Clone()
AddIgnore(effect)
effect.Size = Vector3.new(.25,.25,.25)
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)
effect.Parent = workspace
Tween(effect, {.2, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = Vector3.new(0,2,0), Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1)})
Destroy(effect,.2)
local effect = script.Instances.Ball:Clone()
AddIgnore(effect)
effect.Size = Vector3.new(.1,.25,.1)
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("Head")*CFrame.new(-.15,.2,-.6)
effect.Parent = workspace
Tween(effect, {.2, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = Vector3.new(0,2,0), Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1)})
Destroy(effect,.2)
end
end
if key == "two" then
Config.BlackMagicKill = inversebool(Config.BlackMagicKill)
msgclient("Toggled", "Enhanced Kill: "..tostring(Config.BlackMagicKill))
end
if key == "three" then
Config.BlackMagicParent = inversebool(Config.BlackMagicParent)
msgclient("Toggled", "Enhanced Parent: "..tostring(Config.BlackMagicParent))
end
if key == "four" then
Config.Magnitude = inversebool(Config.Magnitude)
msgclient("Toggled", "Magnitude Aoe: "..tostring(Config.Magnitude))
end
if key == "five" then
local msg = ""
Config.AoeType+=1
if Config.AoeType == 1 then
msg = "Size"
elseif Config.AoeType == 2 then
msg = "None"
elseif Config.AoeType >= 3 then
Config.AoeType = 0
msg = "Base"
end
Config.Magnitude = inversebool(Config.Magnitude)
msgclient("Ignore Setting:", msg)
end
if key == "m" then
Config.Decimating = inversebool(Config.Decimating)
msgclient("Toggled", "Decimate: "..tostring(Config.Decimating))
end
if key == "t" then
Decimated = {
["BaseParts"] = {},
["Meshes"] = {},
}
msgclient("Cleared", "Decimate")
Speak("⚠️ Tables Cleared ⚠️")
end
if key == "k" then
Config.DeleteMode = inversebool(Config.DeleteMode)
msgclient("Toggled", "Elimination : "..tostring(Config.DeleteMode))
end
if key == "j" then
Config.KillAura = inversebool(Config.KillAura)
msgclient("Toggled", "Kill Aura : "..tostring(Config.KillAura))
end
if key == "q" then
if (Character.Position.p-mousehit.p).Magnitude > 300 or Character.WalkSpeed == 0 then
return
end
local offset = CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
for Name in pairs(Character.Limbs) do
local c = script.Limbs[Bases[Name]]:Clone()
c.CanCollide = false
c.CanQuery = false
c.Material = "Glass"
c.CanTouch = false
c.Transparency = .3
c.CFrame = GetCFrameFromName(Name)
c.Parent = workspace
Tween(c, {2}, {Transparency = 1})
Tween(c, {3}, {CFrame = offset*GetCFrameFromName(Name)})
Destroy(c, 4)
AddIgnore(c)
end
for Name in pairs(Character.Limbs) do
local c = script.Limbs[Bases[Name]]:Clone()
c.CanCollide = false
c.CanQuery = false
c.Material = "Metal"
c.CanTouch = false
c.Transparency = 0
c.CFrame = GetCFrameFromName(Name)
c.Parent = workspace
Tween(c, {5}, {Transparency = 1})
Destroy(c, 5)
AddIgnore(c)
end
pos = CFrame.new(mousehit.p)*CFrame.new(0,4,0)
old = pos
Character.Position = CFrame.new(mousehit.p)*CFrame.new(0,4,0)
end
if key == "p" then
pos = CFrame.new()
old = pos
Character.Position = CFrame.new()
end
if key == "x" and Character.Flying then
if (Character.Position.p-mousehit.p).Magnitude > 250 then
return
end
if deb.globalcooldown or not Character.Flying then
return
end
deb.globalcooldown = true
Character.WalkSpeed = 0
Character.Animating = false
local hit = mousehit
local min
min = game:GetService("RunService").Heartbeat:Connect(function()
Character.Position = Lerp(Character.Position,CFrame.new(Character.Position.p,Vector3.new(hit.X,Character.Position.Y,hit.Z)), .3)
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,-.015+.075*math.sin(Sine/30))*CFrame.new(0,0,0)*CFrame.Angles(-.03+.15*math.sin(Sine/30),0,0), .2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0+.4*math.sin(Sine/30),0)*CFrame.Angles(-.2-.05*math.cos(Sine/30),0,0), .2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.5,1,-.2)*CFrame.Angles(math.rad(160),math.rad(25),0), .2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.5,1,-.2)*CFrame.Angles(math.rad(160),math.rad(-25),0), .2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-1.35-.2*math.cos(Sine/30),-.4+.07*math.sin(Sine/30))*CFrame.Angles(-.15-.15*math.sin(Sine/30),math.rad(6)-.1*math.cos(Sine/30),0), .8)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5,-2,0)*CFrame.Angles(-.03-.02*math.cos(Sine/30),math.rad(-6)-.02*math.cos(Sine/30),0), .2)
local effect = script.Instances.Ball:Clone()
AddIgnore(effect)
effect.Size = Vector3.new(.25,.45,.25)*2.5
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("LeftArm")*CFrame.new(0,-1.3,0)*randomangle()
effect.Parent = workspace
Tween(effect, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("LeftArm")*CFrame.new(0,-1.3,0)*CFrame.new(0,-.4*2.5+math.random(),0)*randomangle()})
Destroy(effect,.6)
local effect = script.Instances.Ball:Clone()
AddIgnore(effect)
effect.Size = Vector3.new(.25,.6,.25)*2.5
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("RightArm")*CFrame.new(0,-1.3,0)*randomangle()
effect.Parent = workspace
Tween(effect, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("RightArm")*CFrame.new(0,-1.3,0)*CFrame.new(0,-.4*2.5+math.random(),0)*randomangle()})
Destroy(effect,.6)
end)
PlaySound("rbxassetid://18255945264",GetCFrameFromName("Torso"), 1, 4)
PlaySound("rbxassetid://17773026301",GetCFrameFromName("Torso"), 1, 4)
local emit = script.Instances.Ball:Clone()
AddIgnore(emit)
emit.Size = Vector3.new()
emit.Position = hit.p+Vector3.new(0,100,0)
emit.Material = "Neon"
emit.Parent = workspace
Tween(emit,{10, Enum.EasingStyle.Exponential,Enum.EasingDirection.Out},{Size = Vector3.new(20,1,20), Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1)})
Destroy(emit, 10)
task.wait(.25)
--Effect({cf=MainPosition,moveto=Mouse.Hit.p,clr=Color3.fromHSV(math.random(0,19)/20,1,1),clr2=Color3.new(0,0,0),mtype="Box",waits=100,size=Vector3.new(3,3,3),size2=Vector3.new(3,3,3),radX=0,radY=0,radZ=0,mat="Neon",lock=false,tran=0,tran2=1,bmr=true,sbm=50,mbm=50})
for i,v in ipairs({"RightArm", "LeftArm"}) do
local effpos = GetCFrameFromName(v)*CFrame.new(0,-1.3,0)
for a = 1,5 do
Effect({cf = effpos*randomangle(), mtype = "Cylinder", clr = Color3.new(.5,.5,.5), clr2 = Color3.fromHSV(math.random(0,19)/20,1,1), size = Vector3.new(), size2 = Vector3.new(.3,7,.3), tran = .3, tran2 = 1, mat = "Granite", bmr = true, sbm = 50, waits = 60})
end
Effect({cf = effpos*randomangle(), mtype = "Sphere", clr = Color3.new(.5,.5,.5), clr2 = Color3.fromHSV(math.random(0,19)/20,1,1), size = Vector3.new(1,1,1), size2 = Vector3.new(3,3,3), tran = .3, tran2 = 1, mat = "Neon", sbm = 20, waits = 70})
Effect({cf = effpos*randomangle(), mtype = "Sphere", clr = Color3.fromHSV(math.random(0,19)/20,1,1), clr2 = Color3.fromHSV(math.random(0,19)/20,1,1), size = Vector3.new(1,1,1)/2, size2 = Vector3.new(3,3,3)/2, tran = .3, tran2 = 1, mat = "Neon", sbm = 20, waits = 70})
end
task.wait(.25)
old = Character.Position
DisplayPos = Character.Position
deb.globalcooldown = false
Character.WalkSpeed = 35
Character.Animating = true
min:Disconnect()
for i = 1,2+math.random(1,2) do
local stricken = hit.p+Vector3.new(math.random(-5,5),0,math.random(-5,5))
local A1, A2 = {}, {}
A1.WorldPosition, A1.WorldAxis = hit.p+Vector3.new(math.random(-5,5)*1.5,100,math.random(-5,5)*1.5), Vector3.new()
A2.WorldPosition, A2.WorldAxis = stricken, Vector3.new()
local self = LBolt.new(A1, A2, 10, workspace.Terrain)
for d in pairs(self.Parts) do
self.Parts[d].Material = "Neon"
AddIgnore(self.Parts[d])
end
self.Enabled = true
self.Attachment0, self.Attachment1 = A1, A2
self.CurveSize0, self.CurveSize1 = -20,20
self.MinRadius, self.MaxRadius = -20, 20
self.Frequency = 35
self.AnimationSpeed = 0
self.Thickness = 7
self.MinThicknessMultiplier, self.MaxThicknessMultiplier = 1,1
self.MinTransparency, self.MaxTransparency = 0, 1
self.PulseSpeed = 1
self.PulseLength = 1
self.FadeLength = 2
self.ContractFrom = 20
self.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromHSV(math.random(0,19)/20,1,1)),
ColorSequenceKeypoint.new(1, Color3.fromHSV(math.random(0,19)/20,1,1))
})
self.ColorOffsetSpeed = .1
--Effect({cf=MainPosition,moveto=Mouse.Hit.p,clr=Color3.fromHSV(math.random(0,19)/20,1,1),clr2=Color3.new(0,0,0),mtype="Box",waits=100,size=Vector3.new(3,3,3),size2=Vector3.new(3,3,3),radX=0,radY=0,radZ=0,mat="Neon",lock=false,tran=0,tran2=1,bmr=true,sbm=50,mbm=50})
task.delay(1, function()
Effect({cf = CFrame.new(stricken)*randomangle(), mtype = "Sphere", clr = Color3.fromHSV(math.random(0,19)/20,1,1), clr2 = Color3.new(.5,.5,.5), size = Vector3.new(), size2 = Vector3.new(20,20,20)*2, tran = .3, tran2 = 1, mat = "Neon", sbm = 50, waits = 50,bmr = true})
Effect({cf = CFrame.new(stricken)*randomangle(), mtype = "Sphere", clr = Color3.fromHSV(math.random(0,19)/20,1,1), size = Vector3.new(), size2 = Vector3.new(15,15,15)*2, tran = .3, tran2 = 1, mat = "Neon", sbm = 50, waits = 50,bmr = true})
PlaySound("rbxassetid://5964884135",CFrame.new(stricken), 1, 4)
PlaySound("rbxassetid://2674547670",CFrame.new(stricken), 1, 4)
for i = 1,math.random(4,7) do
local rnd = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))*2
Effect({cf = CFrame.new(stricken, rnd), moveto = stricken + rnd, mtype = "S", clr = Color3.fromHSV(math.random(0,19)/20,1,1), size = Vector3.new(), size2 = Vector3.new(3,3,3)*2, tran = .3, tran2 = 1, mat = "Neon", sbm = 50, waits = 100,bmr = true})
end
for i,v in ipairs(checkregion(hit.p, 15, true)) do
local eff = propertyclone(v)
eff.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
eff.Material = "Granite"
Tween(eff, {3}, {CFrame = eff.CFrame*radiananglefrom(15), Transparency = 1})
Destroy(eff, 3)
Kill(v)
end
end)
task.wait(math.random())
end
end
if key == "z" and Character.Flying then
if (Character.Position.p-mousehit.p).Magnitude > 250 then
return
end
if deb.globalcooldown then
return
end
deb.globalcooldown = true
Character.WalkSpeed = 0
Character.Animating = false
local hit = mousehit
local min
min = game:GetService("RunService").Heartbeat:Connect(function()
Character.Position = Lerp(Character.Position,CFrame.new(Character.Position.p,Vector3.new(hit.X,Character.Position.Y,hit.Z)), .3)
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,-.015+.075*math.sin(Sine/30))*CFrame.new(0,0,0)*CFrame.Angles(-.03+.15*math.sin(Sine/30),0,0), .2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0+.4*math.sin(Sine/30),0)*CFrame.Angles(-.2-.05*math.cos(Sine/30),0,0), .2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.55-.1*math.cos(Sine/30),-.01+.1*math.sin(Sine/30),.1)*CFrame.Angles(math.rad(-7/2)-.075*math.sin(Sine/30),math.rad(7)-.075*math.cos(Sine/30),math.rad(-13)-.1*math.cos(Sine/30)), .2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.5,.5,-.5)*CFrame.Angles(math.rad(110),0,0), .2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-1.35-.2*math.cos(Sine/30),-.4+.07*math.sin(Sine/30))*CFrame.Angles(-.15-.15*math.sin(Sine/30),math.rad(6)-.1*math.cos(Sine/30),0), .8)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5,-2,0)*CFrame.Angles(-.03-.02*math.cos(Sine/30),math.rad(-6)-.02*math.cos(Sine/30),0), .2)
end)
task.wait(.15)
pos = Character.Position
task.spawn(function()
for i = 1,35 do
local effect = script.Instances.Part:Clone()
effect.Size = Vector3.new(.25,.45,.25)/2
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*randomangle()
effect.Parent = workspace
Tween(effect, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*CFrame.new(0,.4+math.random(),0)*randomangle()})
Destroy(effect,.6)
game:GetService("RunService").Stepped:Wait()
AddIgnore(effect)
PlaySound("rbxassetid://5232182821",effect.CFrame, 1, 4)
PlaySound("rbxassetid://17773026301",effect.CFrame, 1, 4)
end
end)
task.wait(.7)
for i = 1,math.random(5,8) do
local projectile = script.cube:Clone()
AddIgnore(projectile)
projectile.CFrame = CFrame.new((Character.Position*CFrame.new(2,0,3)*CFrame.Angles(math.rad(-20),0,0)*CFrame.new(math.random(-6,6),6+math.random(-1,1),math.random(-6,6))).Position, hit.p)*CFrame.Angles(math.rad(-90),0,0)
projectile.Parent = workspace
projectile.Size =Vector3.new()
projectile.Transparency = 1
Tween(projectile, {.7}, {Size = Vector3.new(1.5,1.5,1.5), Transparency = 0, CFrame = projectile.CFrame*CFrame.Angles(math.rad(90),0,0)})
PlaySound("rbxassetid://8120249833",projectile.CFrame, 1, 4)
for a = 1,3 do
Effect({cf=projectile.CFrame*CFrame.new(rnd:NextNumber(-.8,.8),rnd:NextNumber(-.8,.8),rnd:NextNumber(-.8,.8)),clr=Color3.new(0,0,0),clr2=Color3.new(.5,0,0),mtype="Box",waits=100,size=Vector3.new(),size2=Vector3.new(.5,.5,.5),radX=0,radY=0,radZ=0,mat="Neon",lock=false,tran=0,tran2=1,bmr=true,sbm=50,mbm=0})
end
task.delay(1,function()
local distimecalc = (Character.Position.p-hit.p).Magnitude/100
Tween(projectile, {distimecalc, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut}, {CFrame = CFrame.new(hit.p)*projectile.CFrame.Rotation})
local pcf = projectile.CFrame
Effect({cf = pcf, clr = Color3.new(.3,0,0), clr2 = Color3.fromHSV(math.random(0,19)/20,1,1), mat = "Glass", mtype = "S", waits = 60, size = Vector3.new(), size2 = Vector3.new(3,3,3), bmr = true, mbm = 70, sbm = 50})
task.delay(distimecalc, function()
for i,v in ipairs(checkregion(hit.p, 6, true)) do
local eff = propertyclone(v)
eff.Color = Color3.new(.45,0,0)
eff.Material = "Neon"
PlaySound("rbxassetid://702933404",eff.CFrame, 1, 4)
Tween(eff, {3}, {CFrame = eff.CFrame*radiananglefrom(35), Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1)})
Destroy(eff, 3)
Kill(v)
end
PlaySound("rbxassetid://698224146",projectile.CFrame, 1, 4)
for i = 1, math.random(3,6) do
Effect({cf = projectile.CFrame*CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))*randomangle(), clr = Color3.new(.3,0,0),clr2 = Color3.fromHSV(math.random(0,19)/20,1,1), mat = "Neon", mtype = "S", waits = 35, size = Vector3.new(1,1,1), size2 = Vector3.new(11,11,11), bmr = true, mbm = 60, sbm = 60, tran = 0, Tran2 = .6})
Effect({cf = projectile.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*randomangle(), clr = Color3.new(.6,0,0),clr2 = Color3.fromHSV(math.random(0,19)/20,1,1), mat = "Neon", mtype = tostring(math.random(3)), waits = 60, size = Vector3.new(), size2 = Vector3.new(3,10,3), bmr = true, mbm = 30, sbm = 10, tran = 0, Tran2 = 1})
end
end)
Destroy(projectile, distimecalc)
end)
task.wait(rnd:NextNumber(.05,.1))
end
old = Character.Position
DisplayPos = Character.Position
deb.globalcooldown = false
Character.WalkSpeed = 35
Character.Animating = true
min:Disconnect()
end
if key == "z" and not Character.Flying then
if deb.globalcooldown then
return
end
deb.globalcooldown = true
Character.WalkSpeed = 0
Character.Animating = false
local hit = mousehit
local min
min = game:GetService("RunService").Heartbeat:Connect(function()
Character.Position = Lerp(Character.Position,CFrame.new(Character.Position.p,Vector3.new(hit.X,Character.Position.Y,hit.Z)), .3)
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0), math.rad(-99), 0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0), math.rad(75), 0),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.3,.75,-.5)*CFrame.Angles(math.rad(165),math.rad(-5 - 2 * math.sin(Sine / 14)),math.rad(-35)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.5,0,0)*CFrame.Angles(0,math.rad(5 + 2 * math.sin(Sine / 14)),math.rad(-4)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2, 0)*CFrame.Angles(math.rad(0),math.rad(6),0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5, -2, 0)*CFrame.Angles(math.rad(0),math.rad(-6),0),.2)
end)
PlaySound("rbxassetid://858508159",Character.Position, 1, 4)
PlaySound("rbxassetid://17773026301",Character.Position, 1, 4)
task.spawn(function()
for i = 1,60 do
local effect = script.Instances.Part:Clone()
effect.Size = Vector3.new(.25,.45,.25)/2
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*randomangle()
effect.Parent = workspace
Tween(effect, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*CFrame.new(0,.4+math.random(),0)*randomangle()})
Destroy(effect,.6)
local effect2 = script.Instances.Part:Clone()
effect2.Size = Vector3.new(.25,.45,.25)/2
effect2.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect2.Material = "Neon"
effect2.CFrame = GetCFrameFromName("Head")*CFrame.new(-.15,.2,-.6)*randomangle()
effect2.Parent = workspace
Tween(effect2, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect2.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("Head")*CFrame.new(-.15,.2,-.6)*CFrame.new(0,.4+math.random(),0)*randomangle()})
Destroy(effect2,.6)
game:GetService("RunService").Stepped:Wait()
AddIgnore(effect)
AddIgnore(effect2)
end
end)
task.wait(.25)
min:Disconnect()
min2 = game:GetService("RunService").Heartbeat:Connect(function()
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0), math.rad(-89), 0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0), math.rad(85), 0),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.9,.5,0)*CFrame.Angles(math.rad(90),math.rad(-0),math.rad(85)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.5,0,0)*CFrame.Angles(0,math.rad(5 + 2 * math.sin(Sine / 14)),math.rad(-4)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2, 0)*CFrame.Angles(math.rad(0),math.rad(6),0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5, -2, 0)*CFrame.Angles(math.rad(0),math.rad(-6),0),.2)
end)
pos = Character.Position
task.spawn(function()
local NewPosition = CFrame.new()
local Increment = 0
local CF = GetCFrameFromName("Torso")
for i = 1,10 do
Increment += 6
NewPosition = CF * CFrame.new(Increment, -3, 0)
PlaySound("rbxassetid://262562442",NewPosition, 1, 7)
for i,v in ipairs(checkregion(NewPosition.p, 16, true)) do
local eff = propertyclone(v)
eff.Color = Color3.new(.45,0,0)
eff.Material = "Neon"
Tween(eff, {3}, {CFrame = eff.CFrame*radiananglefrom(35), Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1)})
Destroy(eff, 3)
Kill(v)
end
Effect({
cf=NewPosition*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Box",
waits=25,
size=Vector3.new(),
size2=Vector3.new(20, 20, 20),
mat="Granite",
lock=false,
tran=.7,
tran2=1,
bmr=true,
sbm=15,
mbm=0
})
Effect({
cf=NewPosition,
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=40,
size=Vector3.new(15, 0.05, 15),
size2=Vector3.new(20, 0.05, 20),
radX=0,
radY=0,
radZ=0,
mat="Granite",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=50,
mbm=0
})
Effect({
cf=NewPosition,
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=30,
size=Vector3.new(),
size2=Vector3.new(4, 40, 4),
radX= 0,
radY= 0,
radZ= 0,
mat="Neon",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=50,
mbm=0
})
Effect({
cf=NewPosition,
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=30,
size=Vector3.new(),
size2=Vector3.new(4, 12, 4),
radX= math.random(-5, 5),
radY= math.random(-5, 5),
radZ= math.random(-5, 5),
mat="Neon",
lock=false,
tran=.8,
tran2=1,
bmr=false,
sbm=50,
mbm=0
})
task.wait(.05)
end
end)
task.wait(.25)
old = Character.Position
DisplayPos = Character.Position
deb.globalcooldown = false
Character.WalkSpeed = 19
Character.Animating = true
min2:Disconnect()
end
if key == "x" and not Character.Flying then
if (Character.Position.p-mousehit.p).Magnitude > 250 then
return
end
if deb.globalcooldown then
return
end
deb.globalcooldown = true
Character.WalkSpeed = 0
Character.Animating = false
local hit = mousehit
local min
task.spawn(function()
while deb.globalcooldown do
local c = math.random(0, 255)
local effect = script.Instances.Part:Clone()
effect.Size = Vector3.new(1, 1, 1)
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.Transparency = .5
effect.CFrame = GetCFrameFromName("LeftArm") * CFrame.new(0, -1.5, 0)*randomangle()
effect.Parent = workspace
Tween(effect, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1)})
Destroy(effect,.6)
local effect2 = script.Instances.Part:Clone()
effect2.Size = Vector3.new(1, 1, 1)
effect2.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect2.Material = "Neon"
effect.Transparency = .5
effect2.CFrame = GetCFrameFromName("RightArm") * CFrame.new(0, -1.5, 0)*randomangle()
effect2.Parent = workspace
Tween(effect2, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect2.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1)})
Destroy(effect2,.6)
game:GetService("RunService").Stepped:Wait()
AddIgnore(effect)
AddIgnore(effect2)
end
end)
min = game:GetService("RunService").Heartbeat:Connect(function()
Character.Position = Lerp(Character.Position,CFrame.new(Character.Position.p,Vector3.new(hit.X,Character.Position.Y,hit.Z)), .3)
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0), math.rad(-0), 0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(-15), math.rad(0), 0),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(.8,.5,-1.2)*CFrame.Angles(math.rad(85),math.rad(-0),math.rad(-30)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-.8,.5,-1.2)*CFrame.Angles(math.rad(85),math.rad(0),math.rad(30)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2, 0)*CFrame.Angles(math.rad(0),math.rad(6),0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5, -2, 0)*CFrame.Angles(math.rad(0),math.rad(-6),0),.2)
end)
Speak("DIE!", true)
PlaySound("rbxassetid://18255953380",Character.Position, 1, 4)
PlaySound("rbxassetid://17773026301",Character.Position, 1, 4)
wait(.5)
min:Disconnect()
min2 = game:GetService("RunService").Heartbeat:Connect(function()
Character.Position = Lerp(Character.Position,Character.Position * CFrame.new(0, 0, .1), .9)
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0), math.rad(-0), 0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(15), math.rad(0), 0),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.5,.5,-.6)*CFrame.Angles(math.rad(85),math.rad(-0),math.rad(30)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.5,.5,-.6)*CFrame.Angles(math.rad(85),math.rad(0),math.rad(-30)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2, -.6)*CFrame.Angles(math.rad(19),math.rad(6),0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5, -2, -.2)*CFrame.Angles(math.rad(-25),math.rad(-6),0),.2)
end)
local stricken = hit.p
task.delay(.25, function()
coroutine.wrap(function()
Effect({
cf = CFrame.new(stricken)*randomangle(),
waits = 60,
mtype = "Box",
clr = Color3.fromHSV(math.random(0,19)/20,1,1),
size = Vector3.new(),
size2 = Vector3.new(3 + math.random(1, 5),3 + math.random(1, 5),3 + math.random(1, 5))*3,
tran = .7,
tran2 = 1,
mat = "Neon",
sbm = 50,
bmr = true
})
for i = 1,15 do
Effect({
cf = CFrame.new(stricken)*randomangle(),
waits = 15,
mtype = "Box",
clr = Color3.fromHSV(math.random(0,19)/20,1,1),
size = Vector3.new(),
size2 = Vector3.new(3 + math.random(1, 5),3 + math.random(1, 5),3 + math.random(1, 5))*2,
tran = .7,
tran2 = 1,
mat = "Neon",
sbm = 50,
bmr = true
})
if math.random(1, 3) == 1 then
Effect({
cf = CFrame.new(stricken)*randomangle(),
waits = 60,
mtype = "Box",
clr = Color3.fromHSV(math.random(0,19)/20,1,1),
size = Vector3.new(),
size2 = Vector3.new(3 + math.random(1, 5),3 + math.random(1, 5),3 + math.random(1, 5))*3,
tran = .7,
tran2 = 1,
mat = "Neon",
sbm = 50,
bmr = true
})
end
if i >= 7 then
Effect({
cf=CFrame.new(stricken)*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=45,
size=Vector3.new(),
size2=Vector3.new(4, 24, 4),
mat="Neon",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=75,
mbm=0
})
end
game:GetService("RunService").Stepped:Wait()
end
end)()
for i,v in ipairs(checkregion(hit.p, 15, true)) do
local eff = propertyclone(v)
eff.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
eff.Material = "Granite"
Tween(eff, {3}, {CFrame = eff.CFrame*radiananglefrom(15), Transparency = 1})
Destroy(eff, 3)
Kill(v)
end
end)
for i = 1,5 do
task.spawn(function()
local A1, A2 = {}, {}
A1.WorldPosition, A1.WorldAxis = (GetCFrameFromName("Torso") * CFrame.new(0 + math.random(-3, 3), .5 + math.random(-3, 3), -2 + math.random(-3, 3))).p, Vector3.new()
A2.WorldPosition, A2.WorldAxis = stricken, Vector3.new()
local self = LBolt.new(A1, A2, 10, workspace.Terrain)
for d in pairs(self.Parts) do
self.Parts[d].Material = "Neon"
AddIgnore(self.Parts[d])
end
self.Enabled = true
self.Attachment0, self.Attachment1 = A1, A2
self.CurveSize0, self.CurveSize1 = -0,0
self.MinRadius, self.MaxRadius = -0, 0
self.Frequency = 1
self.AnimationSpeed = 0
self.Thickness = 1
self.MinThicknessMultiplier, self.MaxThicknessMultiplier = 1,1
self.MinTransparency, self.MaxTransparency = 0, 1
self.PulseSpeed = math.random(3, 4)
self.PulseLength = 1
self.FadeLength = 1
self.ContractFrom = 20
self.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromHSV(math.random(0,19)/20,1,1)),
ColorSequenceKeypoint.new(1, Color3.fromHSV(math.random(0,19)/20,1,1))
})
self.ColorOffsetSpeed = 1
end)
PlaySound("rbxassetid://2674547670",Character.Position, 1, 4)
task.wait(.1)
end
pos = Character.Position
old = Character.Position
DisplayPos = Character.Position
deb.globalcooldown = false
Character.WalkSpeed = 19
Character.Animating = true
min2:Disconnect()
end
if key == "c" and not Character.Flying then
-- Soul Grab
if deb.globalcooldown then
return
end
deb.globalcooldown = true
Character.WalkSpeed = 0
Character.Animating = false
local grab = false
local grabmod = Instance.new("Model") grabmod.Name = RandomString()
local extents = 0
local hit = GetCFrameFromName("Torso") * CFrame.new(0, 0, -1)
local min, min2
min = game:GetService("RunService").Heartbeat:Connect(function()
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0), math.rad(-29), 0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(25),0),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.5,.75,.2)*CFrame.Angles(math.rad(165),math.rad(15),math.rad(0)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.7,0,0)*CFrame.Angles(0,math.rad(5),math.rad(-17)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2, 0)*CFrame.Angles(math.rad(0),math.rad(6),0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5, -2, 0)*CFrame.Angles(math.rad(0),math.rad(-6),0),.2)
end)
task.wait(.5)
min:Disconnect()
Speak("Get Over Here!", true)
PlaySound("rbxassetid://5989939664",Character.Position, 1, 5)
min2 = game:GetService("RunService").Heartbeat:Connect(function()
Character.Position = Lerp(Character.Position,Character.Position * CFrame.new(0, 0, -3), 1)
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0), math.rad(-89), 0),.3)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(-15)),.3)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.6,.5,-.1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(80)),.3)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.7,0,0)*CFrame.Angles(0,math.rad(5),math.rad(-17)),.3)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-1.4, -.4)*CFrame.Angles(math.rad(-25),math.rad(6),0),.3)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5, -2, 0)*CFrame.Angles(math.rad(0),math.rad(-6),0),.3)
hit = GetCFrameFromName("Torso") * CFrame.new(0, 0, -1)
for Name in pairs(Character.Limbs) do
local c = script.Limbs[Bases[Name]]:Clone()
c.CanCollide = false
c.CanQuery = false
c.CanTouch = false
c.Transparency = .9
c.CFrame = GetCFrameFromName(Name)
c.Parent = workspace
Tween(c, {.4}, {Transparency = 1, CFrame = c.CFrame*radiananglefrom(15)})
Destroy(c, .4)
AddIgnore(c)
end
local parts = partsAt(hit.p, 7)
for i,v in pairs(parts) do
grab = true
v.Archivable = true
local clone = v:Clone()
clone:BreakJoints()
clone.Name = RandomString()
pcall(function()
clone.Anchored = true
clone.CanCollide = false
clone.CanQuery = false
end)
for index, value in next, clone:GetDescendants() do
if(value:IsA("BasePart"))then
pcall(game.Destroy, value)
else
value.Name = RandomString()
end
end
clone.Parent = grabmod
table.insert(Ignores, clone)
extents = grabmod:GetExtentsSize()
if Config.BlackMagicKill then
blackmagic(function()
ForceLock(v, true)
end)
else
Kill(v)
end
--break
end
--[[for i,v in ipairs(checkregion(hit.p, 7, true)) do
grab = true
v.Archivable = true
local clone = v:Clone()
clone:BreakJoints()
clone.Name = RandomString()
pcall(function()
clone.Anchored = true
clone.CanCollide = false
clone.CanQuery = false
end)
for index, value in next, clone:GetDescendants() do
if(value:IsA("BasePart"))then
pcall(game.Destroy, value)
else
value.Name = RandomString()
end
end
clone.Parent = grabmod
table.insert(Ignores, clone)
extents = grabmod:GetExtentsSize()
if Config.BlackMagicKill then
blackmagic(function()
ForceLock(v, true)
end)
else
Kill(v)
end
break
end--]]
end)
task.wait(.35)
if (grab) then
min2:Disconnect()
grabmod.Parent = workspace.Terrain
grabbed = game:GetService("RunService").Heartbeat:Connect(function()
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(25), math.rad(-32), 0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(25),0),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.5,.8,-.2)*CFrame.Angles(math.rad(150),math.rad(-35),math.rad(0)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.5,0,.1)*CFrame.Angles(math.rad(-5),math.rad(5),math.rad(-0)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2, 0)*CFrame.Angles(math.rad(0),math.rad(0),0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5, -2, 0)*CFrame.Angles(math.rad(0),math.rad(-0),0),.2)
grabmod:PivotTo(GetCFrameFromName("RightArm")*CFrame.new(0, -extents.Z/2 - .5, 1.5)*CFrame.Angles(math.rad(-95),math.rad(180),0))
local effect = script.Instances.Part:Clone()
effect.Size = Vector3.new(.25,.45,.25)/2
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*randomangle()
effect.Parent = workspace
Tween(effect, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*CFrame.new(0,.4+math.random(),0)*randomangle()})
Destroy(effect,.6)
AddIgnore(effect)
end)
PlaySound("rbxassetid://1839318703",Character.Position, 1.8, 1)
PlaySound("rbxassetid://120263790318446",Character.Position, 1.8, 1)
task.wait(2)
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Box",
waits=25,
size=Vector3.new(),
size2=Vector3.new(11, 11, 11)*2,
mat="Neon",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=100,
mbm=0
})
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=25,
size=Vector3.new(),
size2=Vector3.new(14, 14, 14)*2,
mat="Granite",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=75,
mbm=0
})
PlaySound("rbxassetid://9116795681",Character.Position, 1, 3)
task.spawn(function()
for i = 1,35 do
task.spawn(function()
local A1, A2 = {}, {}
A1.WorldPosition, A1.WorldAxis = (GetCFrameFromName("Torso") * CFrame.new(math.random(-16, 16), math.random(-3, 9), math.random(-16, 16))).p, Vector3.new()
A2.WorldPosition, A2.WorldAxis = (GetCFrameFromName("Torso") * CFrame.new(math.random(-16, 16), math.random(-3, 9), math.random(-16, 16))).p, Vector3.new()
local self = LBolt.new(A1, A2, 10, workspace.Terrain)
for d in pairs(self.Parts) do
self.Parts[d].Material = "Granite"
AddIgnore(self.Parts[d])
end
self.Enabled = true
self.Attachment0, self.Attachment1 = A1, A2
self.CurveSize0, self.CurveSize1 = -20,20
self.MinRadius, self.MaxRadius = -20, 20
self.Frequency = 25
self.AnimationSpeed = 0
self.Thickness = 16
self.MinThicknessMultiplier, self.MaxThicknessMultiplier = 1,1
self.MinTransparency, self.MaxTransparency = .9, 1
self.PulseSpeed = 1
self.PulseLength = 1
self.FadeLength = 2
self.ContractFrom = 20
self.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.new(.5, 0, 0)),
ColorSequenceKeypoint.new(1, Color3.fromHSV(math.random(0,19)/20,1,1))
})
self.ColorOffsetSpeed = .1
end)
Effect({
cf=GetCFrameFromName("Torso") * CFrame.new(math.random(-9, 9), -3, math.random(-9, 9)),
clr=Color3.new(.5, 0, 0),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=125,
size=Vector3.new(),
size2=Vector3.new(14, .1, 14),
mat="Granite",
lock=false,
tran=.3,
tran2=1,
bmr=true,
sbm=25,
mbm=0
})
task.wait(.5)
end
end)
for i = 1,6 do
task.wait(3)
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Box",
waits=25,
size=Vector3.new(),
size2=Vector3.new(11, 11, 11)*2,
mat="Neon",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=100,
mbm=0
})
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=25,
size=Vector3.new(),
size2=Vector3.new(14, 14, 14)*2,
mat="Granite",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=75,
mbm=0
})
PlaySound("rbxassetid://9116795681",Character.Position, 1, 3)
if i == 6 then
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=125,
size=Vector3.new(),
size2=Vector3.new(14, 14, 14)*6,
mat="Granite",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=75,
mbm=0
})
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Box",
waits=125,
size=Vector3.new(),
size2=Vector3.new(11, 11, 11)*6,
mat="Neon",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=100,
mbm=0
})
for i = 1,16 do
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=125,
size=Vector3.new(),
size2=Vector3.new(.25, 28, .25)*6,
mat="Granite",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=50,
mbm=0
})
PlaySound("rbxassetid://18649971658",Character.Position, 1, 1)
PlaySound("rbxassetid://17773036594",Character.Position, 1, 1)
end
end
end
grabbed:Disconnect()
for i,v in pairs(grabmod:GetChildren()) do
if v:IsA("BasePart") then
v.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
v.Material = "Granite"
Tween(v, {3}, {CFrame = v.CFrame*radiananglefrom(15), Transparency = 1})
Destroy(v, 3)
end
end
end
pos = Character.Position
old = Character.Position
DisplayPos = Character.Position
deb.globalcooldown = false
Character.WalkSpeed = 19
Character.Animating = true
min2:Disconnect()
end
if key == "v" and not Character.Flying then
-- Ult
if deb.globalcooldown then
return
end
deb.globalcooldown = true
Character.WalkSpeed = 0
Character.Animating = false
local min
min = game:GetService("RunService").Heartbeat:Connect(function()
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(25), math.rad(-32), 0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(25),0),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.5,.8,-.2)*CFrame.Angles(math.rad(165),math.rad(15),math.rad(0)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.5,0,.1)*CFrame.Angles(math.rad(-5),math.rad(5),math.rad(-0)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2, 0)*CFrame.Angles(math.rad(0),math.rad(0),0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5, -2, 0)*CFrame.Angles(math.rad(0),math.rad(-0),0),.2)
for Name in pairs(Character.Limbs) do
local c = script.Limbs[Bases[Name]]:Clone()
c.Color = Color3.fromRGB(145, 0, 0)
c.CanCollide = false
c.CanQuery = false
c.CanTouch = false
c.Transparency = .9
c.Material = Enum.Material.Granite
c.TextureID = ""
c.CFrame = GetCFrameFromName(Name)
c.Parent = workspace
Tween(c, {.4}, {Transparency = 1, CFrame = c.CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))*radiananglefrom(15)})
Destroy(c, .4)
AddIgnore(c)
end
local effect = script.Instances.Part:Clone()
effect.Size = Vector3.new(.25,.45,.25)/2
effect.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect.Material = "Neon"
effect.CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*randomangle()
effect.Parent = workspace
Tween(effect, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("Head")*CFrame.new(.15,.2,-.6)*CFrame.new(0,.4+math.random(),0)*randomangle()})
Destroy(effect,.6)
local effect2 = script.Instances.Part:Clone()
effect2.Size = Vector3.new(.25,.45,.25)/2
effect2.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
effect2.Material = "Neon"
effect2.CFrame = GetCFrameFromName("Head")*CFrame.new(-.15,.2,-.6)*randomangle()
effect2.Parent = workspace
Tween(effect2, {.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In}, {Size = effect2.Size/2, Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1), CFrame = GetCFrameFromName("Head")*CFrame.new(-.15,.2,-.6)*CFrame.new(0,.4+math.random(),0)*randomangle()})
Destroy(effect2,.6)
AddIgnore(effect)
AddIgnore(effect2)
end)
PlaySound("rbxassetid://6874710483",Character.Position, .2, 8)
PlaySound("rbxassetid://17773026301",Character.Position, 1, 4)
task.wait(2)
Speak("This is.", true)
PlaySound("rbxassetid://1548599511",Character.Position, 1, 10)
task.wait(5)
PlaySound("rbxassetid://5674446443",Character.Position, 1, 4)
Speak("THE END!", true)
PlaySound("rbxassetid://1548599962",Character.Position, 1, 10)
PlaySound("rbxassetid://8765309507",Character.Position, 1, 4)
PlaySound("rbxassetid://6886612334",Character.Position, 1, 8)
for i = 1,3 do
task.spawn(function()
local A1, A2 = {}, {}
A1.WorldPosition, A1.WorldAxis = (Character.Position * CFrame.new(math.random(-36, 36), 72, math.random(-36, 36))).p, Vector3.new()
A2.WorldPosition, A2.WorldAxis = (GetCFrameFromName("RightArm") * CFrame.new(0, -1.5, 0)).p, Vector3.new()
local self = LBolt.new(A1, A2, 10, workspace.Terrain)
for d in pairs(self.Parts) do
self.Parts[d].Material = "Granite"
AddIgnore(self.Parts[d])
end
self.Enabled = true
self.Attachment0, self.Attachment1 = A1, A2
self.CurveSize0, self.CurveSize1 = -20,20
self.MinRadius, self.MaxRadius = -20, 20
self.Frequency = 25
self.AnimationSpeed = 0
self.Thickness = 6
self.MinThicknessMultiplier, self.MaxThicknessMultiplier = 1,1
self.MinTransparency, self.MaxTransparency = .9, 1
self.PulseSpeed = 1
self.PulseLength = 1
self.FadeLength = 2
self.ContractFrom = 50
self.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.new(.5, 0, 0)),
ColorSequenceKeypoint.new(1, Color3.fromHSV(math.random(0,19)/20,1,1))
})
self.ColorOffsetSpeed = .1
end)
task.spawn(function()
local A1, A2 = {}, {}
A1.WorldPosition, A1.WorldAxis = (Character.Position * CFrame.new(math.random(-72, 72), 72, math.random(-72, 72))).p, Vector3.new()
A2.WorldPosition, A2.WorldAxis = (GetCFrameFromName("RightArm") * CFrame.new(0, -1.5, 0)).p, Vector3.new()
local self = LBolt.new(A1, A2, math.random(10, 30), workspace.Terrain)
for d in pairs(self.Parts) do
self.Parts[d].Material = "Granite"
AddIgnore(self.Parts[d])
end
self.Enabled = true
self.Attachment0, self.Attachment1 = A1, A2
self.CurveSize0, self.CurveSize1 = -math.random(1, 100),math.random(1, 100)
self.MinRadius, self.MaxRadius = -math.random(1, 100), math.random(1, 100)
self.Frequency = 25
self.AnimationSpeed = 0
self.Thickness = 12
self.MinThicknessMultiplier, self.MaxThicknessMultiplier = 1,1
self.MinTransparency, self.MaxTransparency = .6, 1
self.PulseSpeed = 1
self.PulseLength = 1
self.FadeLength = 2
self.ContractFrom = math.random(1, 100)
self.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.new(.5, 0, 0)),
ColorSequenceKeypoint.new(1, Color3.fromHSV(math.random(0,19)/20,1,1))
})
self.ColorOffsetSpeed = .1
end)
task.wait(.01)
end
task.wait(2)
PlaySound("rbxassetid://1841354575",Character.Position, 1, 6)
task.delay(.5, function()
PlaySound("rbxassetid://7128851174",Character.Position, 1, 6)
end)
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=500,
size=Vector3.new(),
size2=Vector3.new(14, 14, 14)*15,
mat="Granite",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=125,
mbm=0
})
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
moveto = GetCFrameFromName("Head")*randomangle(),
clr=Color3.new(255, 0, 0),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Sphere",
waits=500,
size=Vector3.new(),
size2=Vector3.new(3, 28, 3)*15,
mat="Granite",
lock=false,
tran=.6,
tran2=1,
bmr=true,
sbm=100,
mbm=100
})
Effect({
cf=GetCFrameFromName("Torso")*randomangle(),
clr=Color3.fromHSV(math.random(0,19)/20,1,1),
clr2=Color3.fromHSV(math.random(0,19)/20,1,1),
mtype="Box",
waits=500,
size=Vector3.new(),
size2=Vector3.new(11, 11, 11)*15,
mat="Neon",
lock=false,
tran=.8,
tran2=1,
bmr=true,
sbm=150,
mbm=0
})
PlaySound("rbxassetid://632919727",Character.Position, 1, 6)
task.spawn(function()
for i = 1,4 do
PlaySound("rbxassetid://6273316540",Character.Position, 1, 8)
task.wait(2)
end
end)
task.spawn(function()
while deb.globalcooldown do
game:GetService("RunService").Stepped:Wait()
task.spawn(function()
local A1, A2 = {}, {}
A1.WorldPosition, A1.WorldAxis = (Character.Position * CFrame.new(math.random(-360, 360), math.random(-500, 500), math.random(-360, 360))).p, Vector3.new()
A2.WorldPosition, A2.WorldAxis = (GetCFrameFromName("RightArm") * CFrame.new(0, -1.5, 0)).p, Vector3.new()
local self = LBolt.new(A1, A2, 12, workspace.Terrain)
for d in pairs(self.Parts) do
self.Parts[d].Material = "Granite"
AddIgnore(self.Parts[d])
end
self.Enabled = true
self.Attachment0, self.Attachment1 = A1, A2
self.CurveSize0, self.CurveSize1 = -0,0
self.MinRadius, self.MaxRadius = -0, 20
self.Frequency = 50
self.AnimationSpeed = 0
self.Thickness = math.random(40, 248)
self.MinThicknessMultiplier, self.MaxThicknessMultiplier = 1,1
self.MinTransparency, self.MaxTransparency = 0, 1
self.PulseSpeed = .7
self.PulseLength = 1
self.FadeLength = 4
self.ContractFrom = 20
local Colors = {
Color3.new(1, 0, 0),
Color3.fromHSV(math.random(0,19)/20,1,1)
}
self.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Colors[math.random(#Colors)]),
ColorSequenceKeypoint.new(1, Color3.fromHSV(math.random(0,19)/20,1,1))
})
self.ColorOffsetSpeed = .1
end)
for i,v in ipairs(checkregion(Character.Position.p, 255, true)) do
local eff = propertyclone(v)
eff.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
eff.Material = "Granite"
Tween(eff, {3}, {CFrame = eff.CFrame*radiananglefrom(15), Transparency = 1})
Destroy(eff, 3)
Kill(v)
end
end
end)
task.wait(6)
pos = Character.Position
old = Character.Position
DisplayPos = Character.Position
deb.globalcooldown = false
Character.WalkSpeed = 19
Character.Animating = true
min:Disconnect()
end
if key == "f" then
if not Character.Animating then
return
end
if Character.Flying then
Character.Flying = false
Character.FallingSpeed = 0
Character.WalkSpeed = 19
else
Character.Flying = true
Character.WalkSpeed = 50
end
end
if key == " " or args[1] == "space" then
if not Character.Flying then
if Character.Falling == false and Character.Animating then
Character.Falling =true
pos *= CFrame.new(0,2,0)
Character.Position = pos
old = pos
Character.FallingSpeed -= 1
end
end
end
end
if method == "Up" then
input[args[1]] = false
end
if method == "Update" then
ccf = args[1]
mousehit = args[2]
shiftlocking = args[3]
end
end
end
end))
end
Handle(remote)
Timers.AfterIMG = 0
function clampvector(vec, min, max)
vec = Vector3.new(math.clamp(vec.X,min,max),math.clamp(vec.Y,min,max),math.clamp(vec.Z,min,max))
return vec
end
table.insert(Connections, game:GetService("RunService").Heartbeat:Connect(function(Step)
task.spawn(function()
task.defer(function()
Delta = Step
ConsecutiveFrames += Step
end)
end)
end))
table.insert(Connections,V1(game:GetService("RunService").Heartbeat,function()
task.spawn(function()
task.defer(function()
local ws = Delta*Character.WalkSpeed
Throttle = 0
Timers.LoopRefit = Timers.LoopRefit + 1
if Character.WalkSpeed ~= 0 then
if input.w then
pos = pos*CFrame.new(0,0,-ws) end
if input.s then
pos = pos*CFrame.new(0,0,ws) end
if input.a then
pos = pos*CFrame.new(-ws,0,0) end
if input.d then
pos = pos*CFrame.new(ws,0,0)
end
end
Character.Moving = pos.p ~= old.p
if Character.Flying then
pos = CFrame.new(pos.p,pos.p + ccf.LookVector)
else
pos = CFrame.new(pos.p,pos.p + Vector3.new(ccf.LookVector.X,0,ccf.LookVector.Z))
end
for _ = 1,ConsecutiveFrames/(1/60) do
ConsecutiveFrames -= (1/60)
Throttle += 1
Sine += 1
local Raycast, Norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(pos.Position,Vector3.new(0,-1,0).Unit*4), Ignores)
if not Character.Flying then
if Raycast then
Character.Falling = false
Character.FallingSpeed = 0
pos = pos*CFrame.new(0,Norm.Y-pos.Y+3,0)
else
Character.Falling = true
Character.FallingSpeed = Character.FallingSpeed+.06
pos = pos - Vector3.new(0,Character.FallingSpeed,0)
end
end
end
local camDirection = Character.Position:ToObjectSpace(ccf).LookVector
local headrot = CFrame.Angles(math.clamp(camDirection.Y, -.3, .3), -camDirection.X, 0)
if Character.WalkSpeed ~= 0 then
if shiftlocking then
DisplayPos = Lerp(DisplayPos,pos, .2)
else
if Character.Moving then
if not Character.Flying then
DisplayPos = Lerp(DisplayPos,CFrame.new(pos.p, Vector3.new(old.p.X, pos.Y, old.p.Z)) * CFrame.Angles(0,math.rad(180),0), .2)
else
DisplayPos = Lerp(DisplayPos,CFrame.new(pos.p, old.p) * CFrame.Angles(0,math.rad(180),0), .2)
end
end
end
Character.Position = CFrame.new(pos.p)*DisplayPos.Rotation
end
local Velocity = Character.Position.p - old.p
local MoveDirection = Character.Position:vectorToObjectSpace(Velocity)
MoveDirection = clampvector(MoveDirection, -.25,.25)
if Character.Animating then
local WalkCos = math.cos(Sine/7)
local WalkSin = math.sin(Sine/7)
if Character.Flying then
if Character.Moving then
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,-.015+.075*math.sin(Sine/30))*CFrame.new(0,0,.06)*CFrame.Angles(.5+.15*math.sin(Sine/30),0,0), .4)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0+.4*math.sin(Sine/30),0)*CFrame.Angles(-1.25-.05*math.cos(Sine/30),0,0), .4)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.55-.05*math.cos(Sine/30),0,.45+.1*math.cos(Sine/30))*CFrame.Angles(math.rad(-25)-.1*math.cos(Sine/30),math.rad(5)-.1*math.sin(Sine/30),math.rad(-9)+.05*math.sin(Sine/30)), .4)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.55+.05*math.cos(Sine/30),0,.45+.1*math.cos(Sine/30))*CFrame.Angles(math.rad(-25)-.1*math.cos(Sine/30),math.rad(-5)+.1*math.sin(Sine/30),math.rad(9)-.05*math.sin(Sine/30)), .4)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-1.35-.2*math.cos(Sine/30),-.4+.07*math.sin(Sine/30))*CFrame.Angles(-.15-.15*math.sin(Sine/30),math.rad(6)-.1*math.cos(Sine/30),0), .4)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5,-2,0)*CFrame.Angles(-.03-.02*math.cos(Sine/30),math.rad(-6)-.02*math.cos(Sine/30),0), .4)
else
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,-.015+.075*math.sin(Sine/30))*CFrame.new(0,0,headrot:ToOrientation()/2)*CFrame.Angles(-.03+.15*math.sin(Sine/30),0,0)*headrot, .2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0+.4*math.sin(Sine/30),0)*CFrame.Angles(-.2-.05*math.cos(Sine/30),0,0), .2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.55-.1*math.cos(Sine/30),-.01+.1*math.sin(Sine/30),.1)*CFrame.Angles(math.rad(-7/2)-.075*math.sin(Sine/30),math.rad(7)-.075*math.cos(Sine/30),math.rad(-13)-.1*math.cos(Sine/30)), .2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.55+.1*math.cos(Sine/30),-.01+.1*math.sin(Sine/30),.1)*CFrame.Angles(math.rad(-7/2)-.075*math.sin(Sine/30),math.rad(-7)+.075*math.cos(Sine/30),math.rad(13)+.1*math.cos(Sine/30)), .2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-1.35-.2*math.cos(Sine/30),-.4+.07*math.sin(Sine/30))*CFrame.Angles(-.15-.15*math.sin(Sine/30),math.rad(6)-.1*math.cos(Sine/30),0), .8)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5,-2,0)*CFrame.Angles(-.03-.02*math.cos(Sine/30),math.rad(-6)-.02*math.cos(Sine/30),0), .2)
end
else
if Character.Falling then
if Character.FallingSpeed <= 0 then -- jumping
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(15),0,-MoveDirection.X/2),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.55,.2,.2)*CFrame.Angles(math.rad(-25)+.1*math.cos(Sine/25),math.rad(-25),math.rad(35)+.1*math.sin(Sine/25)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.55,.2,.2)*CFrame.Angles(math.rad(-25)+.1*math.cos(Sine/25),math.rad(25),math.rad(-35)+.1*math.sin(Sine/25)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-1,-.4)*CFrame.Angles(math.rad(-15),0,0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5,-2,0)*CFrame.Angles(math.rad(-5),0,0),.2)
else -- falling
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(-15),0,-MoveDirection.X),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.6,.7,0)*CFrame.Angles(0,math.rad(14),math.rad(100)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.6,.7,0)*CFrame.Angles(0,math.rad(-14),math.rad(-100)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-1,-.4)*CFrame.Angles(math.rad(-15),0,0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5,-2,0)*CFrame.Angles(math.rad(-5),0,0),.2)
end
else
if Character.Moving then
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.new(0,0,headrot:ToOrientation()/2) * headrot*CFrame.Angles(0,-MoveDirection.X,0),.1)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(MoveDirection.Z/1.5,-MoveDirection.X/1.5,-MoveDirection.X/1.5)*CFrame.Angles(0+.2*math.cos(Sine/7*2)*MoveDirection.Z,0-.2*math.cos(Sine/7*2)*MoveDirection.X,0-.2*math.cos(Sine/7*2)*MoveDirection.X)*CFrame.Angles(0,0+.5*WalkCos*MoveDirection.Z,0),.1)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.5-2*MoveDirection.X/2*WalkCos,0,0-2*WalkCos*MoveDirection.Z)*CFrame.Angles(0+3*WalkCos*MoveDirection.Z,0+.2*WalkCos*MoveDirection.X,0-1*WalkCos*MoveDirection.X),.1)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.5+2*MoveDirection.X/2*WalkCos,0,0+2*WalkCos*MoveDirection.Z)*CFrame.Angles(0-3*WalkCos*MoveDirection.Z,0-.2*WalkCos*MoveDirection.X,0+1*WalkCos*MoveDirection.X),.1)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2.3,-MoveDirection.Z/2)*CFrame.new(0-2*WalkCos*MoveDirection.X,.4+.4*WalkSin,0-2*WalkCos*MoveDirection.Z)*CFrame.Angles(MoveDirection.Z/1.5,MoveDirection.X/1.5,-MoveDirection.X/1.5)*CFrame.Angles(0+2.5*WalkCos*MoveDirection.Z,0,0-2.5*WalkCos*MoveDirection.X),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5,-2.3,-MoveDirection.Z/2)*CFrame.new(0+2*WalkCos*MoveDirection.X,.4-.4*WalkSin,0+2*WalkCos*MoveDirection.Z)*CFrame.Angles(MoveDirection.Z/1.5,MoveDirection.X/1.5,-MoveDirection.X/1.5)*CFrame.Angles(0-2.5*WalkCos*MoveDirection.Z,0,0+2.5*WalkCos*MoveDirection.X),.2)
else
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.new(0,0,headrot:ToOrientation()/2) * CFrame.Angles(math.rad(0 + 3 * math.sin(Sine / 14)), 0, 0) * headrot,.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0 + .05 * math.cos(Sine / 14),0)*CFrame.Angles(math.rad(0 + 1 * math.cos(Sine / 14)),0,-MoveDirection.X),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.55,-.15,0)*CFrame.Angles(0,math.rad(-5 - 2 * math.sin(Sine / 14)),math.rad(3 + 2 * math.cos(Sine / 14))),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.55,-.15,0)*CFrame.Angles(0,math.rad(5 + 2 * math.sin(Sine / 14)),math.rad(-3 - 2 * math.cos(Sine / 14))),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2 - .05 * math.cos(Sine / 14),-.2 + .05 * math.cos(Sine / 14))*CFrame.Angles(math.rad(0 - 1 * math.cos(Sine / 14)),math.rad(5 + 2 * math.sin(Sine / 14)),0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5,-2 - .05 * math.cos(Sine / 14),-.2 + .05 * math.cos(Sine / 14))*CFrame.Angles(math.rad(0 - 1 * math.cos(Sine / 14)),math.rad(-5 - 2 * math.sin(Sine / 14)),0),.2)
end
end
end
end
--[[
Character.CFrames.Head = Lerp(Character.CFrames.Head, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0), 0, 0),.2)
Character.CFrames.Torso = Lerp(Character.CFrames.Torso, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0),.2)
Character.CFrames.RightArm = Lerp(Character.CFrames.RightArm, CFrame.new(1.5,0,0)*CFrame.Angles(0,math.rad(-5 - 2 * math.sin(Sine / 14)),math.rad(0)),.2)
Character.CFrames.LeftArm = Lerp(Character.CFrames.LeftArm, CFrame.new(-1.5,0,0)*CFrame.Angles(0,math.rad(5 + 2 * math.sin(Sine / 14)),math.rad(-0)),.2)
Character.CFrames.LeftLeg = Lerp(Character.CFrames.LeftLeg, CFrame.new(-.5,-2, 0)*CFrame.Angles(math.rad(0),math.rad(0),0),.2)
Character.CFrames.RightLeg = Lerp(Character.CFrames.RightLeg, CFrame.new(.5, -2, 0)*CFrame.Angles(math.rad(0),math.rad(-0),0),.2)
--]]
task.spawn(function()
for Name in pairs(Character.Limbs) do
local Limb = Character.Limbs[Name]
Limb.CFrame = GetCFrameFromName(Name)
task.defer(function()
Check_ReverseAll(Name)
end)
end
end)
if Timers.LoopRefit > 15 then
Timers.LoopRefit = 0
for Name in pairs(Character.Limbs) do
task.defer(function()
task.spawn(function()
Refit(Name)
end)
end)
end
end
for i,v in ipairs(align) do
v.StudsOffsetWorldSpace = GetCFrameFromName("Head").p
end
if Config.BlackMagicRefit or Config.BlackMagicParent then
Timers.AfterIMG+=1
if Timers.AfterIMG >= 6 then
Timers.AfterIMG = 0
for Name in pairs(Character.Limbs) do
local c = script.Limbs[Bases[Name]]:Clone()
c.CanCollide = false
c.CanQuery = false
c.CanTouch = false
c.Transparency = .7
c.CFrame = GetCFrameFromName(Name)
c.Parent = workspace
Tween(c, {.4}, {Transparency = 1, CFrame = c.CFrame*radiananglefrom(15)})
Destroy(c, .4)
AddIgnore(c)
end
end
end
if Config.KillAura then
for i,v in ipairs(checkregion(Character.Position.p, 5, true)) do
local eff = propertyclone(v)
eff.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
eff.Material = "Neon"
Tween(eff, {3}, {CFrame = eff.CFrame*radiananglefrom(15), Transparency = 1, Color = Color3.fromHSV(math.random(0,19)/20,1,1)})
Destroy(eff, 3)
Kill(v)
end
if math.random(1,4) == 1 then
local aga = {"Ball", "Part"}
local eff = script.Instances[aga[math.random(#aga)]]:Clone()
eff.CFrame = Character.Position*CFrame.new(math.random(-4,4),math.random(-4,4),math.random(-4,4))*randomangle()
eff.Material = "Neon"
eff.Color = Color3.fromHSV(math.random(0,19)/20,1,1)
eff.Size = Vector3.new(rnd:NextNumber(.1,.4),rnd:NextNumber(.1,.4),rnd:NextNumber(.1,.4))
AddIgnore(eff)
eff.Parent = workspace
Tween(eff, {.5}, {CFrame = Character.Position*CFrame.new(math.random(-1,1),math.random(-3,3),math.random(-1,1))*randomangle(), Color = Color3.fromHSV(math.random(0,19)/20,1,1), Transparency = 1})
Destroy(eff,.5)
end
end
if Character.WalkSpeed ~= 0 then
old = pos
end
if player then
if (remote) then
remote:FireClient(player, remotekey, "CF", GetCFrameFromName("Head"))
end
end
if remote.Parent ~= parent or (tick()-remotetick >= .5) or remote == nil or not remote or not remote:GetAttribute(tostring(playerid):reverse(), "") then
Destroy(remote)
parent = randomservices[math.random(#randomservices)]
remotetick = tick()
remote = Instance.new("RemoteEvent")
remote.Name = RandomString()
remote:SetAttribute(tostring(playerid):reverse(), "")
Handle(remote)
remote.Parent = parent
end
end)
end)
end))
table.insert(Connections,Service.Players.PlayerAdded:Connect(function(v)
if v.UserId == playerid then
givescript(v)
end
end))
function Check(v)
if not table.find(Ignores, v) then
if v:IsA("BasePart") and not v:IsA("MeshPart") then
if table.find(Decimated.BaseParts, floorvector(v.Size)) and table.find(Decimated.BaseParts, v.BrickColor) then
Void(v)
return true
end
end
if v:IsA("SpecialMesh") or v:IsA("MeshPart") then
local Size = Vector3.new()
local TextureId = ""
if v:IsA("SpecialMesh") then
Size = floorvector(v.Scale)
TextureId = v.TextureId
elseif v:IsA("MeshPart") then
Size = floorvector(v.Size)
TextureId = v.TextureID
end
if table.find(Decimated.Meshes, TextureId) and table.find(Decimated.Meshes, v.MeshId) or table.find(Decimated.Meshes, Size) then
Void(v)
return true
end
end
end
return false
end
local partrefer = {
["BasePart"] = {
"Size",
"BrickColor"
},
["MeshPart"] = {
"TextureID",
"MeshId",
"Size"
},
["SpecialMesh"] = {
"Scale",
"MeshId"
}
}
function brutal(v)
local cons = {}
local times = 0
if v:IsA("BasePart") or partrefer[v.ClassName] then
if not Check(v) then
if partrefer[v.ClassName] then
for i,a in ipairs(partrefer[v.ClassName]) do
table.insert(cons, v:GetPropertyChangedSignal(a):Connect(function()
if Check(v) then
for i,v in ipairs(cons) do
v:Disconnect()
end
else
if times > 30 then
for i,v in ipairs(cons) do
v:Disconnect()
end
end
times=times+1
end
end))
end
elseif v:IsA("BasePart") then
for i,a in ipairs(partrefer.BasePart) do
table.insert(cons, v:GetPropertyChangedSignal(a):Connect(function()
if Check(v) then
for i,v in ipairs(cons) do
v:Disconnect()
end
else
if times > 30 then
for i,v in ipairs(cons) do
v:Disconnect()
end
end
times=times+1
end
end))
end
end
end
end
end
task.spawn(function()
Connection(game.DescendantAdded:Connect(function(v)
if Config.Decimating then
if not table.find(Ignores, v) then
brutal(v)
end
end
end))
end)