Message
Message
Message
local SS = game:GetService('ServerStorage')
local Character = script.Parent
local m1 = require(game.ServerScriptService.Modules.m1)
local TagHumanoid = game.ServerStorage.Requests.TagHumanoid
local RagdollModule = require(game.ServerScriptService.Modules.Ragdoll)
local SpellModule = require(game.ServerScriptService.Modules.SpellModule)
local hitcheck = require(game.ServerScriptService.Modules.HitDetection)
local DataStore2 = require(game.ServerScriptService.Modules.DataStore2)
local Commands = require(game.ServerScriptService.Modules.Commands)
local TemperatureHandler =
require(game.ServerScriptService.Modules.TemperatureHandler)
local Player = game.Players:GetPlayerFromCharacter(Character)
local CollectionService = game:GetService("CollectionService")
local GetChildren,GetDescendants = game.GetChildren,game.GetDescendants
local FindFirstChild,WaitForChild = game.FindFirstChild,game.WaitForChild
local PlayerData = game.ServerStorage.PlayerData:WaitForChild(Player.Name)
local HumanoidRootPart = WaitForChild(Character,"HumanoidRootPart")
local TweenService = game:GetService("TweenService")
local Humanoid = WaitForChild(Character,"Humanoid")
local Boosts = WaitForChild(Character,"Boosts")
local Torso = WaitForChild(Character,"Torso")
local Lighting = game:GetService("Lighting")
local Assets = game.ReplicatedStorage.Assets
local sAssets = game.ServerStorage.Assets
local Mana = WaitForChild(Character,"Mana")
local HasTag = CollectionService.HasTag
local AddTag = CollectionService.AddTag
local RemoveTag = CollectionService.RemoveTag
local Remotes = script.Remotes
local wrap = coroutine.wrap
local Debris = game:GetService'Debris'
local AddItem = Debris.AddItem
local canattack = true
local charging = false
local equipped = {}
local DATASTORE2DATA = DataStore2("NewData",Player)
Humanoid.Health = math.clamp(PlayerData.LastHealth.Value,0.5,math.huge)
Character.Stomach.Value = PlayerData.Stomach.Value
Character.Toxicity.Value = PlayerData.Toxicity.Value
WaitForChild(Player.Backpack,"ManaColor")
WaitForChild(HumanoidRootPart,"ManaStopParticle").Color = ColorSequence.new{
ColorSequenceKeypoint.new(0,Player.Backpack.ManaColor.Value),
ColorSequenceKeypoint.new(1,Player.Backpack.ManaColor.Value),
}
local Race = PlayerData:WaitForChild("Race")
if not
FindFirstChild(game.ServerStorage.SpawnPoints,PlayerData.SpawnPoint.Value)then
PlayerData.SpawnPoint.Value = "Oresfall"
end
local inventoryamounts = {}
if PlayerData.Lives.Value>0 then
Commands.UpdateSkills(Player)
local inventory = string.split(PlayerData.Inventory.Value,",")
if #inventory > 0 then
for i = 1,#inventory do
local ic =
FindFirstChild(game.ServerStorage.Storage,inventory[i])
if ic then
if not inventoryamounts[ic.Name]then
inventoryamounts[ic.Name]= 0
end
if inventoryamounts[ic.Name]<50 then
inventoryamounts[ic.Name]+=1
ic:Clone().Parent = Player.Backpack
else
Commands.RemoveFromInventory(Player,ic.Name)
task.wait()
end
end
if i > 60 then
task.wait()
end
end
end
else
local tpsafe = Instance.new("Vector3Value")
tpsafe.Name = "TPSafe"
tpsafe.Value = workspace.PurgatorySpawn.Position
tpsafe.Parent = Character
game:GetService("Debris"):AddItem(tpsafe,1)
Character:SetPrimaryPartCFrame(workspace.PurgatorySpawn.CFrame)
Humanoid.WalkSpeed = 18
end
local partblacklist = {Hilt = true,Orb = true,HumanoidRootPart = true,TomeHilt =
true,--[[LichHead = true,ScroomHead = true,]]RuneHolderL = true,RuneHolderR =
true,Back = true,LightBall = true,}
local InvisibleHeads = {
"Dullahan",
"Scroom",
"Metascroom",
"Lich",
"ElderVamp"
}
local InvisibleHeads = {"Dullahan","Scroom","Metascroom","Lich","ElderVamp"}
wait()
if PlayerData.Class.Value == "Faceless" or
PlayerData.Skills.Value:find("ShadowDash") then
for i,v in pairs(Character.Head:GetChildren()) do
if (v.ClassName == "Decal" and
game.ReplicatedStorage.Assets.Faces:FindFirstChild(v.Name)) or v.Name == "face"
then
end
end
end
local function StunCheck(p,Stuns)
if p ~= Player then
p:Kick("nice one")
return true
end
if Character.Parent ~= workspace.Live then
return true
end
if FindFirstChild(Character,"ForceField")then
return true
end
if not FindFirstChild(Character,"Humanoid")then
return true
end
if Stuns then
for _,v in pairs(Stuns)do
if FindFirstChild(Character,v)then
return true
end
end
else
return false
end
if Humanoid.Health == 0 then
return true
end
if not canattack then
return true
end
if Humanoid.Sit then
return true
end
if FindFirstChild(Character,"Grabbed")then
return true
end
if Stuns and table.find(Stuns,"Casting")then
if HasTag(CollectionService,Character,"Casting")then
return true
end
end
if HasTag(CollectionService,Character,"BeingExecuted")or
FindFirstChild(Character,"Knocked")then
else
return
end
return true
end
FAIRFROZEN_CHECKS()
PlayerData.PrimaryWeapon.Changed:Connect(function(NewValue)
WEAPON = Commands.ChangeWeapon(Player,NewValue)
FAIRFROZEN_CHECKS()
end)
--[[
if PlayerData.Skills.Value:find("Chain Pull") and (PlayerData.Class.Value ==
"ChurchKnight" or PlayerData.Hybrid.Value == "ChurchKnight") then
print("argghhhhh")
if PlayerData.HasToStay.Value > 0 and PlayerData.LastPlayed.Value > 0 and not
Player:FindFirstChild("CKPChecked") then
create("CKPChecked", false, Player)
if (tick() - PlayerData.LastPlayed.Value)/60 >
PlayerData.HasToStay.Value then
PlayerData.Lives.Value = 0
end
end
if not Player:FindFirstChild("PlayedForDone") then
PlayerData.PlayedFor.Value = tick()
create("PlayedForDone", false, Player)
end
end
]] -- og ck purge sealed until further notice.
if PlayerData.Hybrid.Value == PlayerData.Class.Value then
PlayerData.Hybrid.Value = ""
end
PlayerData.Hybrid.Changed:Connect(function(New)
if New == PlayerData.Class.Value then
PlayerData.Hybrid.Value = ""
end
end)
local hal = workspace.Live:FindFirstChild("Hallucination", true)
if hal then
game.ReplicatedStorage.Requests.Hallucinate:FireClient(game.Players:GetPlayerFromCh
aracter(hal.Parent), game.Players:GetPlayerFromCharacter(hal.Parent))
end
--[[
]]
PlayerData:WaitForChild("Enchant").Changed:Connect(function()
Humanoid:UnequipTools()
local particles = {}
if WEAPON and WEAPON:FindFirstChild("Prop")then
if WEAPON:FindFirstChild("EnchantEffect")then
WEAPON.EnchantEffect:Destroy()
end
local children =
game.ServerScriptService.Modules.Commands:GetChildren()
for i = 1,#children do
local v = children[i]
if v:FindFirstChild("EnchantEffect") and
PlayerData.Enchant.Value:find(v.Name) then
v.EnchantEffect:Clone().Parent = WEAPON
end
end
table.clear(children)
end
end)
local function ActionCheck(Parent)
if Parent:FindFirstChild("Helm")then
return true
end
if Parent:FindFirstChild("WraithHelm")then
return true
end
if Parent:FindFirstChild("FusedHelm1")then
return true
end
if Parent:FindFirstChild("Stun") then
return true
end
if Parent:FindFirstChild("ReturnStun") then
return true
end
if Parent:FindFirstChild("Action") then
return true
end
if Parent:FindFirstChild("Blocking") then
return true
end
if Parent:FindFirstChild("SpellBlocking") then
return true
end
if Parent:FindFirstChild("ActiveCast") then
return true
end
if Parent:FindFirstChild("Unconscious") then
return true
end
if Parent:FindFirstChild("Knocked") then
return true
end
if Parent:FindFirstChild("Immortal") then
else
return
end
return true
end
if 1654630982 + 3 * 3600 > os.time() then
if PlayerData.Compensation4.Value == false then
PlayerData.Compensation4.Value = true
PlayerData.Skills.Value ..=
",AnyRace,Gate,SigilObelisk,SkycastleObelisk,SnailObelisk,DeepforestObelisk,ForestO
belisk,TundraObelisk"
Commands.ChangeSilver(Player, PlayerData, 5000)
game.ServerStorage.Classes.Gate:Clone().Parent = Player.Backpack
end
end
if string.find(PlayerData.FirstName.Value, "Hz.") then
game.ServerStorage.Storage.Bible:Clone().Parent = Player.Backpack
game.ServerStorage.Storage["Shelter of God"]:Clone().Parent = Player.Backpack
if not PlayerData.Skills.Value:find("NoKill") then
PlayerData.Skills.Value ..= ",NoKill"
end
end
local function ApplyInjuries()
Character:WaitForChild("Head", 5)
local Injuries2 = string.split(PlayerData.Injuries.Value,",")
local hasfr = false
if table.find(Injuries2,"dizzy") and Race.Value ~= "Metascroom" and
Race.Value ~= "Gaian" then
game.ReplicatedStorage.Requests.Dizzy:FireClient(Player, true)
else
game.ReplicatedStorage.Requests.Dizzy:FireClient(Player, false)
end
if table.find(Injuries2,"blind") and Race.Value ~= "Metascroom" and
Race.Value ~= "Gaian" then
game.ReplicatedStorage.Requests.Blind:FireClient(Player, true)
else
game.ReplicatedStorage.Requests.Blind:FireClient(Player, false)
end
if table.find(Injuries2,"chestgash") then
if not Torso:FindFirstChild("Gash") then
game.ServerStorage.Assets.Gash:Clone().Parent = Torso
end
else
if Torso:FindFirstChild("Gash") then
Torso.Gash:Destroy()
end
end
if table.find(Injuries2,"heat") then
if not Character.Head:FindFirstChild("BurnMark") then
game.ServerStorage.Assets.BurnMark:Clone().Parent =
Character.Head
end
else
if Character.Head:FindFirstChild("BurnMark") then
Character.Head.BurnMark:Destroy()
end
end
if table.find(Injuries2,"Frostbite") then
if not Character:FindFirstChild("FBited") then
create("FBited", false, Character)
for _,v in pairs(Character:GetChildren())do
if v.Name == "Head"or v.Name == "Torso"or v.Name == "Left
Arm"or v.Name == "Right Arm"or v.Name == "Left Leg"or v.Name == "Right Leg"then
local H,S,V = v.Color:ToHSV()
v.Color = Color3.fromHSV(H,S/2,V)
end
end
end
else
if Character:FindFirstChild("FBited") then
Character.FBited:Destroy()
for _,v in pairs(Character:GetChildren())do
if v.Name == "Head"or v.Name == "Torso"or v.Name == "Left
Arm"or v.Name == "Right Arm"or v.Name == "Left Leg"or v.Name == "Right Leg"then
local H,S,V = v.Color:ToHSV()
v.Color = Color3.fromHSV(H,S * 2,V)
end
end
end
end
if table.find(Injuries2,"brokenleg") then
CollectionService:AddTag(Character,"BrokenLeg")
Character.Animate.walk.WalkAnim.AnimationId = "14909298432"
else
if CollectionService:HasTag(Character,"BrokenLeg") then
CollectionService:RemoveTag(Character,"BrokenLeg")
end
Player.Character.Animate.walk.WalkAnim.AnimationId = "14909298432"
end
if table.find(Injuries2,"brokenarm") and not table.find(Injuries2,"armless")
then
CollectionService:AddTag(Character,"BrokenArm")
Character.Animate.idle.Animation1.AnimationId =
"rbxassetid://14908342560"
Character.Animate.idle.Animation2.AnimationId =
"rbxassetid://14908341335"
else
if CollectionService:HasTag(Character, "BrokenArm") then
CollectionService:RemoveTag(Character,"BrokenArm")
end
Character.Animate.idle.Animation1.AnimationId =
"rbxassetid://14908342560"
Character.Animate.idle.Animation2.AnimationId =
"rbxassetid://14908341335"
end
if table.find(Injuries2,"armless") and Race.Value ~= "Metascroom" and
Race.Value ~= "Gaian" then
CollectionService:AddTag(Character,"Armless")
Character:FindFirstChild("Left Arm").Transparency = 1
else
if CollectionService:HasTag(Character,"Armless") then
CollectionService:RemoveTag(Character,"Armless")
end
if Character:FindFirstChild("Left Arm") then
Character:FindFirstChild("Left Arm").Transparency = 0
end
end
end
ApplyInjuries()
if PlayerData.MetalArm.Value == true then
Commands["Metal Arm"](Player)
end
PlayerData.Injuries.Changed:Connect(function()
ApplyInjuries()
end)
PlayerData:WaitForChild("Skills").Changed:Connect(function()
if PlayerData.Lives.Value>0 then
Commands.UpdateSkills(Player)
end
end)
if PlayerData.NeckAccessory.Value == "AkumaBeads" then
local beads = game.ServerStorage.Assets.AkumaBeads:Clone()
beads.Parent = Character
beads.Weld.Part0 = Character.Torso
beads.Weld.Part1 = beads
end
if PlayerData.Skills.Value:find("PrinceBlessing") then
if ActionCheck(Character) then return end
local model = game.ServerStorage.Assets.FusedHelm2:Clone()
local v1 = Instance.new("NumberValue")
v1.Name = "HealthBoost"
v1.Value = (Character.Humanoid.MaxHealth*0.75)/100
v1.Parent = Character.Boosts
local v2 = Instance.new("StringValue")
v2.Name = "Buff"
v2.Value = "Sigil Helmet"
v2.Parent = v1
model.Parent = Character
--
local FaceData = PlayerData.Face.Value
local Face = Character.Head:FindFirstChild(FaceData)
if Face then
--FaceData.Value = "Fused"
Face.Texture = 'rbxassetid://3299780609'
end
end
local Developers = {
Artifyk = true,
Lecroxen = true,
}
spawn(function()
local runearm = game.ServerStorage.Assets.RuneArms
local runearmL = runearm:WaitForChild("RuneArmLeft"):Clone()
runearmL.Parent = Character
local runearmR = runearm:WaitForChild("RuneArmRight"):Clone()
runearmR.Parent = Character
runearmL.RuneHolderL.ArmWeld.Part1 = Character:WaitForChild("Left Arm")
runearmR.RuneHolderR.ArmWeld.Part1 = Character:WaitForChild("Right Arm")
local children = runearmL:GetChildren()
for i = 1,#children do
local v = children[i]
if v:FindFirstChild("Rune") then
if v.Rune.Value <= PlayerData.Runes.Value then
game:GetService("TweenService"):Create(v.Decal,TweenInfo.new(1),{Transparency
= 0}):Play()
else
game:GetService("TweenService"):Create(v.Decal,TweenInfo.new(1),{Transparency
= 1}):Play()
end
end
end
table.clear(children)
local children = runearmR:GetChildren()
for i = 1,#children do
local v = children[i]
if v:FindFirstChild("Rune") then
if v.Rune.Value <= PlayerData.Runes.Value then
game:GetService("TweenService"):Create(v.Decal,TweenInfo.new(1),{Transparency
= 0}):Play()
else
game:GetService("TweenService"):Create(v.Decal,TweenInfo.new(1),{Transparency
= 1}):Play()
end
end
end
table.clear(children)
PlayerData.Runes.Changed:Connect(function()
local children = runearmL:GetChildren()
for i = 1,#children do
local v = children[i]
if v:FindFirstChild("Rune") then
if v.Rune.Value <= PlayerData.Runes.Value then
game:GetService("TweenService"):Create(v.Decal,TweenInfo.new(1),{Transparency
= 0}):Play()
else
game:GetService("TweenService"):Create(v.Decal,TweenInfo.new(1),{Transparency
= 1}):Play()
end
end
end
table.clear(children)
local children = runearmR:GetChildren()
for i = 1,#children do
local v = children[i]
if v:FindFirstChild("Rune") then
if v.Rune.Value <= PlayerData.Runes.Value then
game:GetService("TweenService"):Create(v.Decal,TweenInfo.new(1),{Transparency
= 0}):Play()
else
game:GetService("TweenService"):Create(v.Decal,TweenInfo.new(1),{Transparency
= 1}):Play()
end
end
end
table.clear(children)
end)
end)
Commands.RacialAbilities(Player,PlayerData)
create(PlayerData:WaitForChild("Artifact").Value,false,Character:WaitForChild("Arti
facts"))
Humanoid.Died:Connect(function()
local GWS = Player:FindFirstChild("GetWeaponSelection")
if GWS then
GWS:Destroy()
end
if Character:FindFirstChild("Demise") then
Character.Demise:Destroy()
end
game.ReplicatedStorage.Requests.Dizzy:FireClient(Player, false)
task.spawn(Commands.CarryDrop, Character)
Player.Character.Humanoid.DisplayDistanceType =
Enum.HumanoidDisplayDistanceType.None
--WeaponChange:Disconnect()
for _,v in pairs(Player:GetChildren())do
if v.Name == "Danger"then
_G.Death(Player)
break
elseif v.Name == "MortalDanger" then
game.ServerStorage.PlayerData[Player.Name].Lives.Value = 0
end
end
for _,v in pairs(Player:GetChildren())do
if v.Name == "LichSummon"then
v:Destroy()
end
end
PlayerData.LastPosition.Value = "N/A"
PlayerData.Injuries.Value = ""
Character.Temperature.Value = 0
Character.ExtraStomach.Value = 0
PlayerData.ExtraStomach.Value = 0
wait(5)
Character:Remove()
PlayerData.LastPosition.Value = "N/A"
task.defer(Character.Destroy, Character)
Player:LoadCharacter()
end)
local InCR = PlayerData.Area.Value=="Lannis's Lab"or PlayerData.Area.Value=="Castle
Rock" or PlayerData.Area.Value == "Gallica's Lair"
if InCR then
PlayerData.LastPosition.Value = "N/A"
end
else
repeat
wait()
Character.Parent = workspace.Dead
until Character.Parent == workspace.Dead
PlayerData.Lives.Value = 0
end
if PlayerData.Lives.Value<1 and not (Player:FindFirstChild("LichSummon") or
Character:FindFirstChild("LichSummon")) then
tpcf = workspace.PurgatorySpawn.CFrame
end
local tpsafe = Instance.new("Vector3Value")
tpsafe.Name = "TPSafe"
tpsafe.Value = tpcf.Position
tpsafe.Parent = Character
game:GetService("Debris"):AddItem(tpsafe,1)
Character:SetPrimaryPartCFrame(tpcf*CFrame.new(0,2,0))
repeat wait()until not FindFirstChild(Character,"NotLoaded")
PlayerData:WaitForChild("Gender").Changed:Connect(function()
if PlayerData.Gender.Value == "Female" then
local facial = game.ReplicatedStorage.Assets.FacialMarkings
facial.Lashes:Clone().Parent = Character.Head
end
end)
if PlayerData.HouseRank.Value == "Owner"then
local Ring = game.ServerStorage.Assets.SignetRing:Clone()
Ring.Parent = Character["Right Arm"]
Ring.Weld.Part0 = Character["Right Arm"]
--
game.ServerStorage["Signet Ring"]:Clone().Parent = Player.Backpack
end
--[[task.spawn(function()
for i: number = 1,20 do
wait(0.1)
if (workspace.SpawnLocation.Position-
HumanoidRootPart.Position).Magnitude<100 then
local spawns =
game.ServerStorage.SpawnPoints[PlayerData.SpawnPoint.Value]:GetChildren()
local chosenspawn = spawns[math.random(1,#spawns)]
local tpsafe = Instance.new("Vector3Value")
tpsafe.Name = "TPSafe"
tpsafe.Value = chosenspawn.Position
tpsafe.Parent = Character
game:GetService("Debris"):AddItem(tpsafe,1)
Character:PivotTo(chosenspawn.CFrame)
end
end
end)]]
local taskwait = task.wait
spawn(function()
local TrinketSpawns = GetChildren(game.ServerStorage.TrinketSpawns)
for i = 1,#TrinketSpawns do
if HumanoidRootPart and HumanoidRootPart.Parent then
local v = TrinketSpawns[i]
if (HumanoidRootPart.Position-v.Position).Magnitude<250 then
create(Player.Name,300,v)
end
else
return
end
if i>25 then
taskwait()
end
end
table.clear(TrinketSpawns)
end)
if (Character:FindFirstChild("Respirare") or
Character:FindFirstChild("Mederi")) and Character:FindFirstChild("ActiveCast") then
create("EndCast", 0.6, Character)
end
end)
Remotes.LeftClick.OnServerEvent:Connect(function(p,hit,target)
local Char = p.Character
if Char:FindFirstChild("Hallucination") then
return
end
if not Char or Char~=Character then
return
end
if StunCheck(p,{"Casting","Blocking","SpellBlocking","EquipCD"})then
return
end
if FindFirstChild(tool,"RequiresWeapon")and
FindFirstChild(Character, "MoveCancel") and tool.Name ~= "Shadowrush" and
tool.RequiresWeapon.Value == "Dagger" then
return
end
Character.LastUsed.Value = tool.Name
task.spawn(function()
module.Active(Character,Player,combatanims,WEAPON)
end)
return
end
end
if tool and FindFirstChild(tool,"Spell")and
FindFirstChild(tool,"Activator")then
if HasTag(CollectionService,Character,"Casting")then
return
end
local module = require(tool.Activator)
if not FindFirstChild(Character,"ActiveCast") and not
FindFirstChild(Character,"CantCast")then
if StunCheck(p,{"Immortal"})then
return
end
if module and module.Activate then
local cast = SpellModule.cast(Character,{
upperbound = module.upperbound+5,
lowerbound = module.lowerbound-5,
signs = module.signs,
name = tool.Name,
},PlayerData)
if cast == nil then
return
end
task.spawn(function()
module.Activate(nil,Character,cast == true and 0 or
1)
end)
Character.LastSpell.Value = tool.Name
end
else
if module and module.Deactivate then
module.Deactivate(nil,Character,nil)
end
end
return
end
if tool and FindFirstChild(tool,"Skill")then
Character.LastUsed.Value = tool.Name
return
end
if tool and FindFirstChild(tool,"Droppable") then
return
end
if tool and tool:FindFirstChildWhichIsA("Animation")then
return
end
if StunCheck(p,{"HeavyAttack","ActiveCast","Blocking"})then
return
end
if not canattack then
return
end
m1(Character,Player,combatanims,PlayerData)
wait()
canattack = true
end)
local heavycombo = 1
local canheavy = true
Remotes.RightClick.OnServerEvent:Connect(function(p,shiftlock)
local Char = p.Character
if not Char or Char~=Character then
return
end
if Char:FindFirstChild("Hallucination") then
return
end
local tool = Character:FindFirstChildWhichIsA("Tool")
if tool and FindFirstChild(tool,"Activator") and not FindFirstChild(tool,
"Spell") then
local module = require(tool.Activator)
if module and module.Active2 then
if FindFirstChild(tool,"PrimaryWeapon")and
FindFirstChild(Character,"EquipWarmup")then
return
end
if FindFirstChild(Character,"ActiveCast")then
return
end
task.spawn(function()
module.Active2(Character,Player,combatanims,WEAPON)
end)
return
end
end
if tool and FindFirstChild(tool, "PoisonValue") and
PlayerData.Skills.Value:find("PoisonCrafting") and
Player.Backpack:FindFirstChild("Meat") and not string.find(tool.Name, "Cure") then
Commands.RemoveFromInventory(Player, "Meat")
Player.Backpack.Meat:Destroy()
Commands.AddToInventory(Player, tool.Name.."ous Meat")
if PlayerData.Skills.Value:find("AdvancedPoisons") then
Commands.AddToInventory(Player, tool.Name.."ous Meat")
end
Commands.RemoveFromInventory(Player, tool.Name)
tool:Destroy()
end
if tool and FindFirstChild(tool,"Spell")and
FindFirstChild(tool,"Activator")then
local module = require(tool.Activator)
if HasTag(CollectionService,Character,"Casting")then
return
end
if HasTag(CollectionService,Character,"SnapCool")then
return
end
if Character:FindFirstChild("CantCast") then
return
end
if Character:FindFirstChild("Immortal") then
return
end
if Character:FindFirstChild("Knocked") or
Character:FindFirstChild("Unconscious") then
return
end
if not FindFirstChild(Character,"ActiveCast")then
if module and module.alternate then
local cast = SpellModule.cast(Character,{
upperbound = module.alternate.upperbound+5,
lowerbound = module.alternate.lowerbound-5,
signs = 0,
name = tool.Name,
},PlayerData)
if PlayerData.Runes.Value >= 1 and Mana.Value == 0 then
local v27 = Instance.new("Accessory")
v27.Name = "FullMana"
v27.Parent = Character
game:GetService("Debris"):AddItem(v27, 0.1)
task.wait(0.2)
if PlayerData.Class.Value == "AbyssWalker" then
cast = nil
else
cast = true
end
PlayerData.Runes.Value = PlayerData.Runes.Value -1
Character.HumanoidRootPart.CalmMind:Play()
local part = Instance.new("Part", Character)
part.Name = "RuneChargeEffect"
part.Size = Vector3.new(1,1,1)
part.Material = Enum.Material.Neon
part.Anchored = true
part.CanCollide = false
part.Transparency = 0
part.CFrame = Character.HumanoidRootPart.CFrame
local goal = {}
goal.Size = Vector3.new(0,0,0)
goal.Transparency = 1
goal.CFrame = Character.HumanoidRootPart.CFrame +
Character.HumanoidRootPart.CFrame.rightVector*math.random(5, 10)
local tween =
game:GetService("TweenService"):Create(part, TweenInfo.new(1.7), goal)
tween:Play()
game.Debris:AddItem(part, 1)
end
if cast == nil then
return
end
local snaps = {}
local soulsnaps = string.split(PlayerData.Snaps.Value,",")
if Player.UserId == 424877299 then
snaps[tool.Name] = true
end
for _,v in pairs(soulsnaps)do
snaps[v] = true
end
task.spawn(function()
module.alternate.Activate(nil,Character,cast == true
and 0 or 1,false,snaps)
end)
end
end
return
end
if shiftlock then
return
end
if Character:FindFirstChild("SpellBlocking") or
Character:FindFirstChild("CurseBlocking") then return end
if tool and FindFirstChild(tool,"Skill")then
return
end
if tool and tool:FindFirstChildWhichIsA("Animation")then
return
end
if FindFirstChild(Character,"Immortal")then
return
end
if StunCheck(p,
{"LightAttack","NoDam","Stun","Action","HeavyAttack","ActiveCast"})then
return
end
if not canheavy then
return
end
canheavy = false
local info = {
physical = true,
blockbreak = true,
knockback = true,
fist = true,
damage = 8,
}
local monk = false
if Mana.Value>=5 and FindFirstChild(Player.Backpack,"HolyFire") and
Player.Name == "Artifyk" then
monk = true
info.burn = true
info.cancelsmana = true
info.damage = 10
info.dsagem2 = true
info.downbypass = true
elseif Mana.Value>=5 and FindFirstChild(Player.Backpack,"HolyFire") then
monk = true
info.burn = true
info.cancelsmana = true
info.damage = 10
info.dsagem2 = true
info.downbypass = false
if PlayerData.Skills.Value:find("DragonRightAllow") then
info.downbypass = true
end
end
create("NoJump",1,Character)
local v1 = create("HeavyAttack",1.2,Character)
local animation =
Humanoid:LoadAnimation(combatanims["HeavyAnim"..heavycombo])
animation:Play(0.1,1,1.25)
spawn(function()
wait(0.05)
if not FindFirstChild(Character,"Stun")then
local effectpart = nil
local particle = Assets.ParticleArm:Clone()
particle.TestTrail.Color =
WaitForChild(HumanoidRootPart,"ManaStopParticle").Color
local particleweld = Instance.new("Weld")
particleweld.Parent = particle
particleweld.Part0 = particle
HumanoidRootPart.ChargePart:Clone().Parent = particle
if heavycombo ~= 2 then
effectpart = Character["Right Arm"]
particle.CFrame = effectpart.CFrame
particleweld.Part1 = effectpart
else
effectpart = Character["Right Leg"]
particle.CFrame = effectpart.CFrame
particleweld.Part1 = effectpart
end
local fire = nil
if monk then
fire = HumanoidRootPart.MonasticFire:Clone()
fire.Parent = effectpart
fire.Enabled = true
HumanoidRootPart.MonasteryFire:Play()
end
particle.Parent = workspace.Thrown
particle.TestTrail.Enabled = true
particle.ChargePart.Enabled = true
HumanoidRootPart.Charge:Play()
wait(0.5)
particle.ChargePart.Enabled = false
wait(0.25)
particle.TestTrail.Enabled = false
game.Debris:AddItem(particle,0.75)
if fire then
fire.Enabled = false
game.Debris:AddItem(fire,1)
wait(0.5)
HumanoidRootPart.MonasteryFire:Stop()
end
end
end)
wait(0.125)
animation:AdjustSpeed(0)
wait(0.375)
if FindFirstChild(Character,"Stun")then
canattack = true
canheavy = true
animation:Stop()
return
end
local v2 = create("Action",0.65,Character)
heavycombo += 1
if heavycombo >= 4 then
heavycombo = 1
end
animation:AdjustSpeed(1.3)
local hit = false
if not FindFirstChild(Character,"Stun")and not
FindFirstChild(Character,"NoDam")then
HumanoidRootPart.HeavySwing:Play()
hitcheck.magnitudeCheck(Character,HumanoidRootPart.Position,9,info)
end
wait(0.35)
combo.Value = 1
wait(1.5)
canheavy = true
end)
Remotes.SHeld.OnServerEvent:Connect(function(p,s)
local Char = p.Character
if not Char or Char~=Character then
return
end
Character.SHeld.Value = s
end)
local manashieldtween = nil
local function manashieldup(color)
if manashieldtween ~= nil then
manashieldtween:Pause()
manashieldtween = nil
end
local orb = HumanoidRootPart.Orb
orb.Color = color
manashieldtween =
TweenService:Create(orb.Mesh,TweenInfo.new(0.3,Enum.EasingStyle.Linear,Enum.EasingD
irection.In),{Scale = Vector3.new(7,7,7)})
manashieldtween:Play()
orb.Attachment.ParticleEmitter.Enabled = true
end
local function manashielddown()
if manashieldtween ~= nil then
manashieldtween:Pause()
manashieldtween = nil
end
local orb = HumanoidRootPart.Orb
manashieldtween =
TweenService:Create(orb.Mesh,TweenInfo.new(0.2,Enum.EasingStyle.Linear,Enum.EasingD
irection.In),{Scale = Vector3.new(0,0,0)})
manashieldtween:Play()
orb.Attachment.ParticleEmitter.Enabled = false
end
local blockanim = Humanoid:LoadAnimation(combatanims.Block)
local allow
local alreadydone = false
local a232
HumanoidRootPart.Bell:Play()
local color = has_skill and Color3.fromRGB(165,64,248) or
Color3.fromRGB(255,255,255)
manashieldup(color)
return
end
elseif Mana.Value>0 and manashield then
lastmanashield = tick()
create("SpellBlocking",false,Character)
local has_skill = Player.Backpack:FindFirstChild("CurseShield")
if has_skill then
create("CurseBlocking",false,Character)
end
HumanoidRootPart.ShieldUp:Play()
local color = has_skill and Color3.fromRGB(165,64,248) or
Color3.fromRGB(255,255,255)
manashieldup(color)
return
end
if manashield then
if monkshield then
return
end
else
local v1 = Instance.new("Accessory")
v1.Name = "Blocking"
v1.Parent = Character
if not Character:FindFirstChild("ParryCooldown")then
local v2 = Instance.new("Accessory")
v2.Name = "Parry"
v2.Parent = Character
Debris:AddItem(v2,0.35)
end
local v3 = Instance.new("Accessory")
v3.Name = "ParryCooldown"
v3.Parent = Character
Debris:AddItem(v3,3)
if FindFirstChild(Character,"HasWeapon")then
if FindFirstChild(Character,"HasDagger")then
blockanim = Humanoid:LoadAnimation(combatanims.DaggerBlock)
elseif FindFirstChild(Character,"HasSword")then
blockanim = Humanoid:LoadAnimation(combatanims.SwordBlock)
elseif FindFirstChild(Character,"HasSpear")then
blockanim = Humanoid:LoadAnimation(combatanims.SpearBlock)
elseif FindFirstChild(Character,"HasGreatsword")then
blockanim =
Humanoid:LoadAnimation(combatanims.GreatswordBlock)
elseif FindFirstChild(Character,"HasGreatswordnorp")then
blockanim =
Humanoid:LoadAnimation(combatanims.GreatswordnorpBlock)
elseif FindFirstChild(Character,"HasHammer")then
blockanim = Humanoid:LoadAnimation(combatanims.HammerBlock)
end
else
blockanim = Humanoid:LoadAnimation(combatanims.Block)
end
blockanim:Play()
end
end)
if PlayerData.Artifact.Value == "Spider Cloak" and PlayerData.Armor.Value ~=
"Spider Cloak" then
PlayerData.Artifact.Value = "None"
end
Remotes.Unblock.OnServerEvent:Connect(unblock)
local LastCharge = tick()
Remotes.SetManaChargeState.OnServerEvent:Connect(function(p,Value)
local Char = p.Character
if not Char or Char~=Character then
return
end
if Value then
if tick()-LastCharge >= 0.2 then
if not FindFirstChild(Character,"ActionManaBypass") then
if StunCheck(p,
{"ChargeBlock","HeavyAttack","Stun","Blocking","SpellBlocking","CurseBlocking"})the
n
return
end
if FindFirstChild(Character, "Action") and not
FindFirstChild(Character, "ActionManaBypass") then
return
end
if HasTag(CollectionService,Character,"Casting") or
FindFirstChild(Character,"ActiveCast")then
return
end
if FindFirstChild(Character,"ManaStop")then
return
end
end
local Charge = Instance.new("Accessory")
Charge.Name = "Charge"
Charge.Parent = Character
end
else
local Charge = FindFirstChild(Character,"Charge")
if Charge then
Charge:Destroy()
end
end
end)
local tpdashes = 0
local lastdash = tick()
local DodgeCheck = {"Stun","Action","Rolling"}
local DodgeCheck33 = {"LightAttack"}
Remotes.Dodge.OnServerEvent:Connect(function(p,axis,Type)
if p ~= Player then
p:Kick("nice one")
return
end
--[[if lastdash-tick()>0.2 then
return
end]]
Character:SetPrimaryPartCFrame(CFrame.new(Pos)*CFrame.new(0,1.5,0))
else
Character:SetPrimaryPartCFrame(HumanoidRootPart.CFrame*CFrame.new(0,1.5,0)+Humanoid
.MoveDirection*20)
end
task.wait()
HumanoidRootPart.ShadowEmitter:Emit(30)
else
--ban
end
return
end
if Type == "dragon"then
if FindFirstChild(Player.Backpack,"DragonDash")then
if PlayerData.Weapon.Value ~= "None"then
return
end
if FindFirstChild(Character,"LDashing")then
return
end
if FindFirstChild(Character, "nodashshadow") then
return
end
create("LDashing",0.15)
tpdashes+=1
if tpdashes >= 5 then
create("LDashing",3.5,Character)
tpdashes = 0
end
wrap(function()
local oldtpdashes = tpdashes
wait(3)
if tick()-lastdash>3 and oldtpdashes == tpdashes then
tpdashes = 0
end
end)()
local oldpos = HumanoidRootPart.Position
HumanoidRootPart.Lightning:Emit(25)
HumanoidRootPart.LightDash:Play()
local ignore = {workspace.Live,workspace.Thrown}
local ray =
Ray.new(HumanoidRootPart.CFrame.p,Humanoid.MoveDirection*20)
local Hit,Pos,Normal =
workspace.FindPartOnRayWithIgnoreList(workspace,ray,ignore)
local newpos = nil
if Hit and Hit.CanCollide then
Character:SetPrimaryPartCFrame(CFrame.new(Pos)*CFrame.new(0,1.5,0))
else
Character:SetPrimaryPartCFrame(HumanoidRootPart.CFrame*CFrame.new(0,1.5,0)+Humanoid
.MoveDirection*20)
end
newpos = Pos and Pos or
(HumanoidRootPart.CFrame+Humanoid.MoveDirection*20).Position
wrap(function()
local distance = (oldpos-newpos).Magnitude
local p = game.ReplicatedStorage.Assets.FlashLine:Clone()
p.CFrame = CFrame.lookAt(oldpos,newpos)*CFrame.new(0,0,-
distance/2)
p.Size = Vector3.new(1.2,1.2,distance)
p.Parent = workspace.Thrown
local b = game.ReplicatedStorage.Assets.flash:Clone()
b.Position = (p.CFrame*CFrame.new(0,0,p.Size.Z/2)).p
b.Parent = workspace.Thrown
local btween = TweenService:Create(
b,TweenInfo.new(0.15,Enum.EasingStyle.Back,Enum.EasingDirection.Out),
{Transparency = 0,Size = b.Size*5.5}
)
btween:Play()
btween.Completed:Wait()
local ptween = TweenService:Create(p,TweenInfo.new(0.15),
{Transparency = 1})
ptween:Play()
btween = TweenService:Create(b,TweenInfo.new(0.125),
{Transparency = 1,})
btween:Play()
btween.Completed:Wait()
p:Destroy()
b:Destroy()
--[[
b,TweenInfo.new(0.15,Enum.EasingStyle.Back,Enum.EasingDirection.Out),
{Transparency = 0,Size = b.Size*5.5}
)
btween:Play()
btween.Completed:Wait()
local ptween = TweenService:Create(p,TweenInfo.new(0.15),
{Transparency = 1})
ptween:Play()
btween = TweenService:Create(b,TweenInfo.new(0.125),
{Transparency = 1,})
btween:Play()
btween.Completed:Wait()
p:Destroy()
b:Destroy()
]]
end)()
else
--ban
end
return
end
if Type == "UberDragon" then
if FindFirstChild(Player.Backpack,"UberDragonDash")then
if FindFirstChild(Character,"LDashing")then
return
end
if FindFirstChild(Character, "nodashshadow") then
return
end
create("LDashing",0.15)
tpdashes+=1
if tpdashes >= 7 then
create("LDashing",3.5,Character)
tpdashes = 0
end
wrap(function()
local oldtpdashes = tpdashes
wait(3)
if tick()-lastdash>3 and oldtpdashes == tpdashes then
tpdashes = 0
end
end)()
local oldpos = HumanoidRootPart.Position
HumanoidRootPart.Lightning:Emit(25)
HumanoidRootPart.LightDash:Play()
local ignore = {workspace.Live,workspace.Thrown}
local ray =
Ray.new(HumanoidRootPart.CFrame.p,Humanoid.MoveDirection*20)
local Hit,Pos,Normal =
workspace.FindPartOnRayWithIgnoreList(workspace,ray,ignore)
local newpos = nil
if Hit and Hit.CanCollide then
Character:SetPrimaryPartCFrame(CFrame.new(Pos)*CFrame.new(0,1.5,0))
else
Character:SetPrimaryPartCFrame(HumanoidRootPart.CFrame*CFrame.new(0,1.5,0)+Humanoid
.MoveDirection*20)
end
newpos = Pos and Pos or
(HumanoidRootPart.CFrame+Humanoid.MoveDirection*20).Position
wrap(function()
local distance = (oldpos-newpos).Magnitude
local p = game.ReplicatedStorage.Assets.FlashLine:Clone()
p.Color = Player.Backpack.ManaColor.Value
p.Electric.Color =
ColorSequence.new(Player.Backpack.ManaColor.Value)
p.CFrame = CFrame.lookAt(oldpos,newpos)*CFrame.new(0,0,-
distance/2)
p.Size = Vector3.new(1.2,1.2,distance)
p.Parent = workspace.Thrown
local b = game.ReplicatedStorage.Assets.flash:Clone()
b.Position = (p.CFrame*CFrame.new(0,0,p.Size.Z/2)).p
b.Color = Player.Backpack.ManaColor.Value
b.Electric.Color =
ColorSequence.new(Player.Backpack.ManaColor.Value)
b.PointLight.Color = Player.Backpack.ManaColor.Value
b.Parent = workspace.Thrown
local btween = TweenService:Create(
b,TweenInfo.new(0.15,Enum.EasingStyle.Back,Enum.EasingDirection.Out),
{Transparency = 0,Size = b.Size*5.5}
)
btween:Play()
btween.Completed:Wait()
local ptween = TweenService:Create(p,TweenInfo.new(0.15),
{Transparency = 1})
ptween:Play()
btween = TweenService:Create(b,TweenInfo.new(0.125),
{Transparency = 1,})
btween:Play()
btween.Completed:Wait()
p:Destroy()
b:Destroy()
end)()
else
--ban
end
return
end
if axis ~= 0 then
create("Rolling",0.4,Character)
end
local Sound = HumanoidRootPart.Roll
if FindFirstChild(Player.Backpack,"SpearDash")or axis == 0 then
Sound = HumanoidRootPart.Dash
end
local recent = Instance.new("Folder")
recent.Name = "RecentDash"
recent.Parent = Character
game.Debris:AddItem(recent, 0.4)
if Mana.Value>0 then
HumanoidRootPart.EnergyDash:Play()
HumanoidRootPart.ManaStopParticle.Enabled = true
wait(0.4)
HumanoidRootPart.ManaStopParticle.Enabled = false
else
Sound:Play()
end
end)
Remotes.ApplyFallDamage.OnServerEvent:Connect(function(p,Value)
if p ~= Player then
return p:Kick()
end
if tonumber(Value)then
else
Player:Kick("good job!")
end
if not Humanoid then
return
end
if FindFirstChild(Character,"NoFall")then
return
end
if FindFirstChild(Character, "FallCD") then
return
end
local fallcd = Instance.new("Folder")
fallcd.Name = "FallCD"
fallcd.Parent = Character
local fallcdsub = Instance.new("Folder",fallcd)
fallcdsub.Name = "lol"
game.Debris:AddItem(fallcd,0.5)
local FallDamageReduction = 2
if Player.Backpack:FindFirstChild("FeatherFall")then
FallDamageReduction -= 1
end
if Player.Backpack:FindFirstChild("AlwaysLandsOnFeet") then
FallDamageReduction -= 1
end
FallDamageReduction = math.clamp(FallDamageReduction,0.3,1)
local damage = (Value/130*30)*FallDamageReduction
local falltable = {
damage = damage,
falldamage = true,
downbypass = true,
nododge = true,
}
TagHumanoid:Fire(Character,Character, falltable)
local FallDamageCD = true
task.delay(.5,function()
FallDamageCD = false
end)
end)
local changed
local cancel = false
local carryanim = Humanoid:LoadAnimation(combatanims.Carry)
local carriedanim = nil
Remotes.Carry.OnServerEvent:Connect(function(p)
if p ~= Player then
return p:Kick()
end
if StunCheck(p,{"CarryCD","LightAttack","NoDam","Stun","Executing"})then
return
end
if CollectionService:HasTag(p.Character,"BrokenArm") then
return
end
if CollectionService:HasTag(p.Character,"Armless") then
return
end
if Commands.CarryDrop(Character)then
return
end
for _: number, NPC: Model in ipairs(workspace.Live:GetChildren())do
local Hum = NPC:FindFirstChild'Humanoid'
local HRP = NPC:FindFirstChild'HumanoidRootPart'
if Hum and Hum.Health > 0 and HRP and NPC:FindFirstChild("Unconscious")
then --and not v:FindFirstChild("MonsterInfo")
if(HRP.Position-HumanoidRootPart.Position).Magnitude < 6 then
if HasTag(CollectionService, NPC, "BeingExecuted")then
return
end
if NPC:FindFirstChild("Grabbed")then
return
end
if Humanoid:GetState() == Enum.HumanoidStateType.Freefall
then
return
end
if FindFirstChild(NPC, "UsingGalv") then
return
end
if FindFirstChild(NPC, "beinggrabbed") then
return
end
local vplayer = game.Players:GetPlayerFromCharacter(NPC)
canattack = false
local bg = Instance.new("Folder")
bg.Name = "beinggrabbed"
bg.Parent = NPC
Humanoid:LoadAnimation(combatanims.Pickup):Play()
wait()
local a = Instance.new("Folder")
a.Name = "Action"
a.Parent = Character
wait(0.45)
a:Destroy()
bg:Destroy()
if Character:FindFirstChild("Knocked") then
for _,b in ipairs(NPC:GetChildren())do
if b.Name == "Knocked"then
b:Destroy()
elseif b.Name == "Unconscious"then
b:Destroy()
end
end
canattack = true
return
end
canattack = true
create("CarryCD",0.5,Character)
local ex1 = Instance.new("ObjectValue")
ex1.Name = "Grabbing"
ex1.Value = NPC
ex1.Parent = Character
local ex2 = Instance.new("ObjectValue")
ex2.Name = "Grabbed"
ex2.Value = Character
ex2.Parent = NPC
if vplayer then
local carrydanger = Instance.new("Accessory")
carrydanger.Name = "Danger"
carrydanger.Parent = vplayer
local mark = Instance.new("Accessory")
mark.Name = "Carry"
mark.Parent = carrydanger
end
Commands.StopBurn(NPC)
create("StopBurn",0.5,Character)
local weld = Instance.new("Motor6D")
weld.Part0 = HumanoidRootPart
weld.Part1 = HRP
weld.C0 = CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
weld.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
weld.Parent = HumanoidRootPart
Hum.PlatformStand = true
local action1 = create("Action",false,NPC)
carriedanim = Hum:LoadAnimation(combatanims.Carried)
carriedanim:Play()
carryanim:Play()
for _,b in ipairs(NPC:GetChildren())do
if b.Name == "Knocked"then
local GallicaWhitelist = {
"Artifyk"
}
task.spawn(function()
if GallicaWhitelist[Player.Name] then
Sound:Play()
task.spawn(function()
while true do
task.wait()
if not Friend then
break
end
bodyPos.Position =
Player.Character.HumanoidRootPart.Position + Vector3.new(2, 2, 3)
bodyGyro.CFrame =
Player.Character.HumanoidRootPart.CFrame
end
end)
game.ReplicatedStorage.Requests.ClientFriend:FireClient(coolplayer, true)
end
end
end
end
local BallOffers = {
"Would you like to randomly switch your race, with the cost
of your current one?";
"Would you like an edict, with the cost of your current
character?";
"Would you like a random weapon, with the cost of your
current one?";
--"Would you like a random armor, knowing that it might be
garbage.";
"Would you like a random amount of silver, with the cost of
5% hp?";
}
FriendChat(tostring(ChosenOffer))
task.wait(1)
Friend:Destroy()
game.ReplicatedStorage.Requests.ClientFriend:FireAllClients(false)
if ListenToMessage then
ListenToMessage:Disconnect()
end
end
ListenToMessage = Player.Chatted:Connect(function(OfferChoose)
Done = true
FriendChat("Good.")
game.ReplicatedStorage.Requests.ClientFriend:FireAllClients(false)
PlayerData.Race.Value = ChosenRace
task.wait(0.5)
Player:LoadCharacter()
FriendDisappear()
if ListenToMessage then
ListenToMessage:Disconnect()
end
local Weapons = {
"SealedSword";
"WraithSword";
"Katana";
"Tanto";
}
Commands["ChangeWeapon"](Player, ChosenWeapon)
FriendDisappear()
if ListenToMessage then
ListenToMessage:Disconnect()
end
elseif ChosenOffer == "Would you like a random armor,
knowing that it might be garbage." then
local Armors = {
"Brawler";
"Deep Knight";
"Colubras";
"Rags";
"Night Lord";
"ElderVamp12063357180";
"Wraith Knight";
"Spy Master";
"Spider Cloak";
"Nobleman";
"Lapidarist";
"Knight Lord";
}
Commands["ChangeArmor"](Player, ChosenArmor)
FriendDisappear()
if ListenToMessage then
ListenToMessage:Disconnect()
end
elseif ChosenOffer == "Would you like a random amount
of silver, with the cost of 5% hp?" then
Humanoid:TakeDamage(Humanoid.MaxHealth * 0.15)
FriendChat("It is so then.")
FriendDisappear()
if ListenToMessage then
ListenToMessage:Disconnect()
end
end
elseif string.lower(OfferChoose) == "no" then
Done = true
game:GetService("TweenService"):Create(Friend,
TweenInfo.new(1), {
Transparency = 1;
}):Play()
FriendChat("It is all of your loss then.")
task.wait(1)
if ListenToMessage then
ListenToMessage:Disconnect()
end
Friend:Destroy()
game.ReplicatedStorage.Requests.ClientFriend:FireAllClients(false)
end
end)
end
end)
end
Remotes.Execution.OnServerEvent:Connect(function(p)
if p ~= Player then
return p:Kick()
end
if StunCheck(p,{"CarryCD","LightAttack","NoDam","Stun"}) then
if p.UserId == 50767332 then
warn("StunCheck Grip")
end
return
end
local Execute = Character:FindFirstChild("Executing")
if Execute then
create("CarryCD",0.5,Character)
create("Knocked", 10, Execute.Value)
CollectionService:RemoveTag(Character.Executing.Value, "BeingExecuted")
for _,v in pairs(Character.Humanoid:GetPlayingAnimationTracks()) do
if v.Name == "EatExecute" then
v:Stop()
end
end
cancel = true
wait(0.5)
cancel = false
return
end
for _: number, NPC in ipairs(workspace.Live:GetChildren())do
local Hum = NPC:FindFirstChild'Humanoid'
local HRP = NPC:FindFirstChild'HumanoidRootPart'
if Hum and HRP and Hum.Health > 0 and
NPC:FindFirstChild'Unconscious'then
if(HRP.Position - HumanoidRootPart.Position).Magnitude < 5.6 then
if HasTag(CollectionService, NPC, "BeingExecuted")then
return
end
if FindFirstChild(NPC, "Grabbed")then
return
end
local hit, pos =
workspace:FindPartOnRayWithWhitelist(Ray.new(HumanoidRootPart.Position +
Vector3.new(0,2,0),HumanoidRootPart.Position + Vector3.new(0, -200, 0)),
{workspace.Map})
if not hit or (hit and hit:IsA("Part") and hit.Transparency
== 1) then
return
end
local vplayer = game.Players:GetPlayerFromCharacter(NPC)
if vplayer then
create("Danger",20,vplayer)
end
create("CarryCD",0.5,Character)
task.wait()
for _,v in ipairs(NPC:GetChildren())do
if v.Name == "Knocked"then
v:Destroy()
end
end
CollectionService:AddTag(NPC, "BeingExecuted")
local cframe = HumanoidRootPart.CFrame
--Character:SetPrimaryPartCFrame(cframe)
HRP.CFrame = Character.HumanoidRootPart.CFrame
local ex1 = Instance.new("ObjectValue")
ex1.Name = "Executing"
ex1.Value = NPC
ex1.Parent = Character
local action1 = create("Action",false,NPC)
local action2 = create("Action",false,Character)
Hum:LoadAnimation(combatanims.DEADHIT):Play()
local hit =
HumanoidRootPart.Hit1:Clone()
hit.Parent = NPC.Head
hit:Emit(2)
Debris:AddItem(hit,0.4)
HRP.Hit:Play()
end
local function EatNormal()
local blood = HRP.BloodHit:Clone()
blood.Parent = NPC.Head
blood:Emit(15)
HRP.SwordHit:Play()
end
if APlayerData then
if APlayerData.Race.Value ==
"Navaran" or APlayerData.Race.Value == "LesserNavaran" then
EatNormal()
else
NormalPunch()
end
else
NormalPunch()
end
end
if i ~= 5 then
wait(0.2)
if Character:FindFirstChild("NoDam")or
not(NPC:IsDescendantOf(workspace))or not ex1.Value or not ex1.Parent then
cancel = true
end
if StunCheck(Player,{"Knocked","Stun"})
then
cancel = true
end
if cancel then
break
end
end
end
elseif FindFirstChild(Character,"HasDagger")then
gripanimation =
Humanoid:LoadAnimation(combatanims.DaggerExecute)
gripanimation:Play()
grippedanimation:Play()
for i = 1,3 do
for _ = 1,10 do
wait(0.09)
if Character:FindFirstChild("NoDam")or
not(NPC:IsDescendantOf(workspace))or not ex1.value or not ex1.Parent then
cancel = true
end
if StunCheck(Player,{"Knocked","Stun"})
then
cancel = true
end
if cancel then
break
end
end
if StunCheck(Player,{"Knocked","Stun"}) then
cancel = true
end
if not(NPC:IsDescendantOf(workspace))or not
ex1.Value or not ex1.Parent then
cancel = true
end
if cancel then
break
end
if i == 3 then
local blood = HRP.BloodHit:Clone()
blood.Parent = NPC.Head
blood:Emit(15)
HRP.SwordHit:Play()
end
end
elseif FindFirstChild(Character,"HasSword")or
FindFirstChild(Character,"HasSpear")or FindFirstChild(Character,"HasKatana") or
FindFirstChild(Character,"HasHammer")then
gripanimation =
Humanoid:LoadAnimation(combatanims.SwordExecute)
gripanimation:Play()
grippedanimation:Play()
for i = 1,3 do
for _ = 1,10 do
wait(0.09)
if Character:FindFirstChild("NoDam")or
not(NPC:IsDescendantOf(workspace))or not ex1.value or not ex1.Parent then
cancel = true
end
if StunCheck(Player,{"Knocked","Stun"})
then
cancel = true
end
if cancel then
break
end
end
if StunCheck(Player,{"Knocked","Stun"}) then
cancel = true
end
if not(NPC:IsDescendantOf(workspace))or not
ex1.Value or not ex1.Parent then
cancel = true
end
if cancel then
break
end
if i == 3 then
local blood = HRP.BloodHit:Clone()
blood.Parent = NPC.Head
blood:Emit(15)
HRP.SwordHit:Play()
end
end
end
action2:Destroy()
freeze2:Destroy()
gripanimation:Stop()
weld:Destroy()
if cancel then
if not
HasTag(CollectionService,NPC,"BeingExecuted")then
create("Knocked",10,NPC)
create("Unconscious",10,NPC)
end
cancel = false
else
if Hum.Health>0 then
if PlayerData.FacialMark.Value == "None" or
PlayerData.FacialMark.Value == "" then
local Scars =
Assets.FacialMarkings.Scars:GetChildren()
local Scar = Scars[math.random(1,
#Scars)]
PlayerData.FacialMark.Value = Scar.Name
end
if game.Players:FindFirstChild(NPC.Name) then
_G.Death(vplayer or NPC,Player, false,
false, false, true)
else
NPC.Humanoid.Health = 0
NPC:BreakJoints()
end
if vplayer then
local vdata =
game.ServerStorage.PlayerData:FindFirstChild(vplayer.Name)
if vdata then
PlayerData.Alignment.Value -= 2
if vdata.Class.Value ~= "" then
PlayerData.ResGrip.Value =
true
end
local ChaoticM =
Player:FindFirstChild("ChaoticMission")
if ChaoticM and ChaoticM.Value ==
vplayer then
ChaoticM:Destroy()
local FinishedChaoticMission
= Instance.new("Accessory")
FinishedChaoticMission.Name =
"FinishedChaoticMission"
FinishedChaoticMission.Parent
= Player
end
table.insert(ToolTable, toolname)
end
end
local Tool =
vplayer.Character:FindFirstChildOfClass("Tool")
if Tool then
table.insert(ToolTable, Tool.Name)
end
for _, new in
pairs(ToolTable) do
if not
string.find(APlayerData.Skills.Value, new.Name) then
APlayerData.Artifact.Value = VPlayerData.Artifact.Value
end
end
end
end
end)
if err then
warn("GRIPPING: "..err)
end
end
end
end
end
if NPC:IsDescendantOf(workspace)and ex1.Value and
ex1.Parent then
CollectionService:RemoveTag(NPC,"BeingExecuted")
grippedanimation:Stop()
action1:Destroy()
freeze1:Destroy()
end
ex1:Destroy()
return
end
end
end
end)
local eqstackcheck = 0
local scuffed = false
local BardIdle;
if Trumpet then
Trumpet.Parent = Character["Hilt"]
Trumpet["PropWeld"].Part0= Character["Hilt"]
Trumpet["PropWeld"].Part1 = Trumpet
else
warn("no trumpet!!")
end
else
local Lute = game.ServerStorage.Assets.Lute:Clone()
if Lute then
Lute.Parent = Character["Hilt"]
local PropWeld = Instance.new("Weld")
PropWeld.Name = "PropWeld"
PropWeld.Parent = Character["Hilt"]
PropWeld.Part0 = Character["Hilt"]
PropWeld.Part1 = Lute
PropWeld.C1 = CFrame.new(1, 1, 0, 0.499995947, -
0.866027713, 2.98917294e-05, 0.66341269, 0.382995188, -0.64280498, 0.556675434,
0.321419746, 0.766029894);
PropWeld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0,
1)
Lute.Transparency = 0;
Lute.Part.Transparency = 0;
BardIdle = Humanoid:LoadAnimation(Lute.BardIdle)
BardIdle:Play();
end
end
return
end
local equipcdcheck = false
eqstackcheck+=1
if FindFirstChild(Character,"EquipCD")then
local old = eqstackcheck
equipcdcheck = true
while FindFirstChild(Character,"EquipCD")do
wait(0.05)
end
if eqstackcheck~=old then
return
end
if tool.Parent~=Character then
return
end
end
if equipcdcheck and tool.Parent~=Character then
return
end
table.insert(equipped,tool)
if #equipped<=1 then
if not Character then
return
end
if Humanoid and HumanoidRootPart then
local hasweapon = tool:FindFirstChild("RequiresWeapon")
if hasweapon and hasweapon.Value=="None"then
hasweapon = nil
end
local dim = 0
local children = Boosts:GetChildren()
for i = 1,#children do
local v = children[i]
if v.Name == "Transparency" then
dim += v.Value
end
end
table.clear(children)
if WEAPON then
if dim >= 1 then
if WEAPON:IsA("MeshPart") then
WEAPON.Transparency = 1
end
local children = GetChildren(WEAPON)
for i = 1,#children do
local v = children[i]
if v.Name == "EnchantEffect" then
v.Enabled = false
end
end
table.clear(children)
else
if WEAPON:IsA("MeshPart") then
WEAPON.Transparency = 0
end
local children = GetChildren(WEAPON)
for i = 1,#children do
local v = children[i]
if v.Name == "EnchantEffect" then
v.Enabled = true
end
end
table.clear(children)
end
end
if FindFirstChild(tool,"PrimaryWeapon")or hasweapon then
if WEAPON and WEAPON:FindFirstChild("PropWeld") then
if WEAPON.Name == "Bronze Dagger" or WEAPON.Name ==
"Steel Dagger" or WEAPON.Name == "Mythril Dagger" then
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.PropWeld.C1 = CFrame.new(0.25,0,-
0.800000012,0,-1,0,1,0,-0,0,0,1)
WEAPON.Parent = Character.Hilt
create("HasDagger",false,Character)
elseif WEAPON.Name == "Tanto"then
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.Parent = Character.Hilt
create("HasDagger",false,Character)
elseif WEAPON.Name == "Bronze Sword" or WEAPON.Name
== "Steel Sword" or WEAPON.Name == "Mythril Sword" then
local EquipCD = Instance.new("Accessory")
EquipCD.Name = "EquipCD"
EquipCD.Parent = Character
game.Debris:AddItem(EquipCD,0.3)
swordequip:Play()
wait(0.2)
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.PropWeld.C1 = CFrame.new(-
1.85000002,0,0,0,0,-1,-1,0,0,0,1,0)
WEAPON.Parent = Character.Hilt
create("HasSword",false,Character)
elseif WEAPON.Name == "Spirit Sword"then
local EquipCD = Instance.new("Accessory")
EquipCD.Name = "EquipCD"
EquipCD.Parent = Character
game.Debris:AddItem(EquipCD,0.3)
swordequip:Play()
wait(0.2)
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.PropWeld.C1 = CFrame.new(-
1.85000002,0,0,0,0,-1,-1,0,0,0,1,0)
WEAPON.Color = PlayerData.ManaColor.Value
WEAPON.Parent = Character.Hilt
create("HasSword",false,Character)
elseif WEAPON.Name == "Broom Sword"then
local EquipCD = Instance.new("Accessory")
EquipCD.Name = "EquipCD"
EquipCD.Parent = Character
game.Debris:AddItem(EquipCD,0.3)
swordequip:Play()
wait(0.2)
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.PropWeld.C1 = CFrame.new(0, 1, 0, -1, 0,
0, 0, 0, 1, 0, 1, -0)
WEAPON.Parent = Character.Hilt
create("HasSword",false,Character)
elseif WEAPON.Name == "Dark Sword"then
local EquipCD = Instance.new("Accessory")
EquipCD.Name = "EquipCD"
EquipCD.Parent = Character
game.Debris:AddItem(EquipCD,0.3)
swordequip:Play()
wait(0.2)
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.Parent = Character.Hilt
create("HasSword",false,Character)
elseif WEAPON.Name == "Katana"then
local EquipCD = Instance.new("Accessory")
EquipCD.Name = "EquipCD"
EquipCD.Parent = Character
game.Debris:AddItem(EquipCD,0.5)
katanaequip:Play()
katanaidle:Play()
wait(0.4)
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.Parent = Character.Hilt
create("HasKatana",false,Character)
HumanoidRootPart.KatanaUnsheathe:Play()
local Katana =
Character.Hilt:FindFirstChild("Katana")
if Katana then
Katana.Attachment1.Sparkle:Emit(3)
end
elseif WEAPON.Name == "Murasama"then
local EquipCD = Instance.new("Accessory")
EquipCD.Name = "EquipCD"
EquipCD.Parent = Character
game.Debris:AddItem(EquipCD,0.5)
katanaequip:Play()
katanaidle:Play()
wait(0.4)
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.Parent = Character.Hilt
create("HasKatana",false,Character)
HumanoidRootPart.KatanaUnsheathe:Play()
local Katana =
Character.Hilt:FindFirstChild("Murasama")
if Katana then
Katana.Attachment1.Sparkle:Emit(3)
end
elseif WEAPON.Name == "WraithSword"then
local EquipCD = Instance.new("Accessory")
EquipCD.Name = "EquipCD"
EquipCD.Parent = Character
game.Debris:AddItem(EquipCD,0.3)
swordequip:Play()
wait(0.2)
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.Parent = Character.Hilt
wraithidle:Play()
create("HasSword",false,Character)
elseif WEAPON.Name == "DeathSword"then
local EquipCD = Instance.new("Accessory")
EquipCD.Name = "EquipCD"
EquipCD.Parent = Character
game.Debris:AddItem(EquipCD,0.3)
swordequip:Play()
wait(0.2)
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.Parent = Character.Hilt
wraithidle:Play()
create("HasSword",false,Character)
elseif WEAPON.Name == "SealedSword"then
local EquipCD = Instance.new("Accessory")
EquipCD.Name = "EquipCD"
EquipCD.Parent = Character
game.Debris:AddItem(EquipCD,0.3)
swordequip:Play()
wait(0.2)
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.Parent = Character.Hilt
create("HasSword",false,Character)
elseif WEAPON.Name == "Rapier"then
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.Parent = Character.Hilt
create("HasDagger",false,Character)
elseif WEAPON.Name == "Bronze Spear" or WEAPON.Name
== "Steel Spear" or WEAPON.Name == "Mythril Spear" then
WEAPON.Weld.Part0 = nil
WEAPON.Weld.Part1 = nil
WEAPON.PropWeld.Part0 = Character.Hilt
WEAPON.PropWeld.Part1 = WEAPON
WEAPON.PropWeld.C1 = CFrame.new(2,0,0,0,0,1,-
1,0,0,0,-1,0)
WEAPON.Parent = Character.Hilt
spearidle:Play()
create("HasSpear",false,Character)
end
end
local HasWeapon = Instance.new("ObjectValue")
HasWeapon.Value = WEAPON
HasWeapon.Name = "HasWeapon"
HasWeapon.Parent = Character
end
end
end
end
function SigilBuffCheck(p1)
coroutine.wrap(function()
if Character:FindFirstChild("SigilBuff") then
Character.SigilBuff:Destroy()
end
if WEAPON:FindFirstChild("SigilPtcl") then
WEAPON.SigilPtcl:Destroy()
end
if WEAPON:FindFirstChild("SigilPartEffect") then
WEAPON:FindFirstChild("SigilPartEffect"):Destroy()
end
if WEAPON:FindFirstChild("SigilSound") then
WEAPON:FindFirstChild("SigilSound"):Destroy()
end
if WEAPON:FindFirstChild("SigilLight") then
WEAPON:FindFirstChild("SigilLight"):Destroy()
end
end)()
end
local Blacklisted = {
"Vind",
"Gaian",
"Scroom",
"Metascroom"
}
local EdictData = {
JesterB = {
Face = EdictMarks:WaitForChild("Jester2"),
Skills = {
{Skill = EdictsFolder["Wallet Swipe"], ProgressRequirement = 0,
DayRequirement = 2},
{Skill = EdictsFolder["Snowball"], ProgressRequirement = 0,
DayRequirement = 3},
{Skill = EdictsFolder["Time Erase"], ProgressRequirement = 0,
DayRequirement = 9},
{Skill = EdictsFolder["Jester's Ruse"], ProgressRequirement = 0,
DayRequirement = 15},
}
},
Healer = {
Face = EdictMarks:WaitForChild("Healer"),
Skills = {
{Skill = EdictsFolder["Mederi"], ProgressRequirement = 0,
DayRequirement = 3},
{Skill = EdictsFolder["MederiUpgrade"], ProgressRequirement = 5,
DayRequirement = 9},
{Skill = EdictsFolder["HealthView"], ProgressRequirement = 10,
DayRequirement = 15},
}
},
Blademaster = {
Face = EdictMarks:WaitForChild("Blademaster"),
Skills = {
{Skill = EdictsFolder["Verto"], ProgressRequirement = 0,
DayRequirement = 3},
{Skill = EdictsFolder["Vulnere"], ProgressRequirement = 5,
DayRequirement = 9},
{Skill = EdictsFolder["Gladius"], ProgressRequirement = 10,
DayRequirement = 15},
}
},
}
PlayerData:WaitForChild'DaysSurvived'.Changed:Connect(edictRewards)
PlayerData.EdictType.Changed:Connect(edictRewards)
PlayerData.EdictProgression.Changed:Connect(edictRewards)
edictRewards()
Character:FindFirstChild("equippednorpGS"):Destroy()
end
end
end
for _: number, Obj in ipairs(Character:GetChildren())do
if Obj.Name == "HasWeapon"or Obj.Name == "HasSword"or
Obj.Name == "HasSpear"or Obj.Name == "HasDagger"or Obj.Name == "HasKatana" or
Obj.Name == "HasHammer" or Obj.Name == "HasGreatswordnorp" or Obj.Name ==
"HasGreatsword" or Obj.Name == "Prince's Favour"then
Obj:Destroy()
continue
end
end
end
Commands.UpdateSkills(Player)
end
end
local tpsafe: boolean = false
local twen
Character.ChildAdded:Connect(function(Child)
-- use here for every child added
task.delay(0.5, function()
if Child and Child.Name == "TpCheck" then
task.delay(5, function()
if Child then
Child:Destroy()
end
end)
end
end)
if Child:IsA("Tool") then
task.spawn(function()
local b = 0
for i,v in pairs(Character:GetChildren()) do
if v:IsA("Tool") and v ~= Child then
b += 1
end
end
if b >= 2 then
Player:Kick("Loser!")
end
end)
end
if Child.Name == "LichSummon" then
undead(Character)
end
if Child.Name == "Expansion" then
Humanoid.AutoRotate = false
task.spawn(function()
while true do
if not Child or not Child.Parent then
break
end
wait()
end
Humanoid.AutoRotate = true
end)
end
if Child.Name == "ClimbCooldown" then
if FindFirstChild(Character, "Charge") then
Character.Charge:Destroy()
end
end
if Child.Name == "Hallucination" then
Character.Archivable = true
local cl = Character:Clone()
Character.Archivable = false
cl.Parent = workspace.Live
cl.HumanoidRootPart.CFrame = Character.HumanoidRootPart.CFrame *
CFrame.new(0, 0, -2)
game.Debris:AddItem(cl, 180)
if Player:FindFirstChild("Danger") then
Player.Danger:Destroy()
end
create("Immortal", false, Character)
local children = GetChildren(Character)
for i = 1,#children do
local v = children[i]
if v:IsA("Accessory") and v:FindFirstChild("Handle") then
v:Destroy()
end
end
table.clear(children)
local children = GetChildren(Character.Head)
for i = 1,#children do
local v = children[i]
if v.ClassName == "Decal" then
v:Destroy()
end
end
table.clear(children)
game.ReplicatedStorage.Requests.Hallucinate:FireAllClients(Player)
end
if Child.Name == "Action" or Child.Name == "Stun" then
local charga = FindFirstChild(Character, "Charge")
if charga then
charga:Destroy()
end
end
if Child.Name == "Demise" then
create("Danger", 180, Player)
twen = game:GetService("TweenService"):Create(Character.Humanoid,
TweenInfo.new(15), {Health = 1})
twen:Play()
twen.Completed:Connect(function()
if Character:FindFirstChild("Demise") then
Character.Demise:Destroy()
_G.Death(Player)
end
end)
task.spawn(function()
local reverse = 1
local goback = false
while wait(0.1) do
for i = 1,14 do
end
if Child.Name == "Slowness" then
local speedboost = Instance.new("NumberValue")
speedboost.Name = "SpeedBoost"
speedboost.Value = -10
speedboost.Parent = Boosts
game.Debris:AddItem(speedboost, 180)
create("slowness", false, speedboost)
end
if Child.Name == "Burning" then
local grab = FindFirstChild(Character,"Grabbing")
if grab then
Commands.CarryDrop(Character)
end
local fina = GetChildren(Character)
for i = 1,#fina do
if fina[i].Name == "Knocked" and
fina[i]:FindFirstChild("Interrogation") then
fina[i]:Destroy()
end
end
if Character:FindFirstChild("Interrogated") then
create("Ungrab", 0.5, Character.Interrogated.Value)
end
if Character:FindFirstChild("AntiBurn") then
task.wait()
Commands.StopBurn(Character)
end
end
if Child:IsA("Tool") then
local non = FindFirstChild(Character, "NoAttack")
if non then
non:Destroy()
end
if FindFirstChild(Child,"PrimaryWeapon")or
FindFirstChild(Child,"RequiresWeapon") or FindFirstChild(Child, "Song") then
equipweapon(Child)
end
end
if Child:IsA("Tool") and Child:FindFirstChild("PrimaryWeapon") and not
Character:FindFirstChild("NoWeapon") then
local AnimCancel = Instance.new("Accessory")
AnimCancel.Name = "AnimCancel"
AnimCancel.Parent = Character
task.delay(0.4, function()
if AnimCancel then
AnimCancel:Destroy()
end
end)
local find = FindFirstChild(Character, "NoAttack")
if find then
find:Destroy()
end
end
if Child.Name == "NoDam" then
if FindFirstChild(Character, "NoDam") then
Character.NoDam:Destroy()
end
end
if (Child.Name == "NoDam" and not (Character:FindFirstChild("noblockcancel")
and Character:FindFirstChild("Blocking"))) or (Child.Name == "NoDam" and
Character:FindFirstChild("MonShield")) then
unblock(Player)
elseif Child.Name == "NoDam" and not Character:FindFirstChild("Blocking")
then
unblock(Player)
elseif Child.Name == "Disarm" then
elseif Child.Name == "INCR" then
if PlayerData.Lives.Value < 1 then
PlayerData.Banned.Value = true
Player:Kick("nice one")
return
end
elseif Child.Name == "Disarmed" then
local weapon = PlayerData.PrimaryWeapon.Value
local cmds = game.ServerScriptService.Modules.Commands
if weapon and cmds:FindFirstChild(weapon) and not
cmds[weapon]:FindFirstChild("NoDisarm") then
local clonedwep =
game.ServerScriptService.Modules.Commands[weapon]:Clone()
clonedwep.CFrame = Character.HumanoidRootPart.CFrame *
CFrame.new(0, 0, -2)
clonedwep.CanCollide = true
clonedwep.TestTrail.Enabled = true
local bv = Instance.new("BodyVelocity")
CollectionService:AddTag(bv, "AllowedBM")
bv.Velocity = Character.HumanoidRootPart.CFrame.LookVector.Unit *
40
bv.Parent = clonedwep
Debris:AddItem(bv, 0.3)
local ownership = Instance.new("Folder")
ownership.Name = Character.Name
ownership.Parent = clonedwep
local ownership3 = Instance.new("Folder")
ownership3.Name = "IsAWeapon"
ownership3.Parent = clonedwep
clonedwep.Parent = workspace.Thrown
local clicka = Instance.new("ClickDetector", clonedwep)
clicka.MouseClick:Connect(function()
if clonedwep then
clonedwep:Destroy()
end
require(game.ServerScriptService.Modules.Commands)
["ChangeWeapon"](Player, weapon, true)
end)
create("UsedVerto", 0.5, Player)
require(game.ServerScriptService.Modules.Commands)
["ChangeWeapon"](Player, "None", true)
end
elseif Child.Name == "TPSafe"then
tpsafe = true
return
elseif Child.Name == "Confused" then
game.ReplicatedStorage.Requests.Confused:FireClient(Player, "Rebind")
elseif Child.Name == "Unconscious" then
if Character:FindFirstChild("BloodTied") then
Character.BloodTied:Destroy() end
elseif Child.Name == "NoControl" then
local NOCONTROL_VELOCITY = Instance.new("BodyVelocity")
CollectionService:AddTag(NOCONTROL_VELOCITY,"AllowedBM")
NOCONTROL_VELOCITY.Name = "NOCON_VELOCITY"
NOCONTROL_VELOCITY.Velocity =
HumanoidRootPart.CFrame.LookVector*math.random(-
16,16)+HumanoidRootPart.CFrame.RightVector*math.random(-16,16)
NOCONTROL_VELOCITY.MaxForce = Vector3.new(100000,0,100000)
NOCONTROL_VELOCITY.Parent = HumanoidRootPart
elseif Child.Name == "AttackExcept" then
task.spawn(function()
repeat task.wait(0.1)
local MIN_DISTANCE = nil
local CLOSEST_CHARACTER = nil
local children = GetChildren(workspace.Live)
for i = 1,#children do
local v = children[i]
if v:FindFirstChild("HumanoidRootPart") and
game.Players:GetPlayerFromCharacter(v) ~= Child.Value and v ~= Character then
if not MIN_DISTANCE then
MIN_DISTANCE = (HumanoidRootPart.Position
- v.HumanoidRootPart.Position).Magnitude
CLOSEST_CHARACTER = v
elseif MIN_DISTANCE then
if (HumanoidRootPart.Position -
v.HumanoidRootPart.Position).Magnitude < MIN_DISTANCE then
MIN_DISTANCE =
(HumanoidRootPart.Position - v.HumanoidRootPart.Position).Magnitude
CLOSEST_CHARACTER = v
end
end
end
end
table.clear(children)
if not MIN_DISTANCE then
if Character:FindFirstChild("NoControl") then
Character.NoControl:Destroy()
end
if Character:FindFirstChild("AttackExcept") then
Character.AttackExcept:Destroy()
end
break
end
if MIN_DISTANCE <= 60 then
if
Character.HumanoidRootPart:FindFirstChild("NOCON_VELOCITY") then
Character.HumanoidRootPart.NOCON_VELOCITY.Velocity =
CLOSEST_CHARACTER.HumanoidRootPart.CFrame.LookVector*math.random(-
16,16)+CLOSEST_CHARACTER.HumanoidRootPart.CFrame.RightVector*math.random(-16,16)
else
local ATTACK_EXCEPT_VELOCITY =
Instance.new("BodyVelocity")
CollectionService:AddTag(ATTACK_EXCEPT_VELOCITY,"AllowedBM")
ATTACK_EXCEPT_VELOCITY.Name = "NOCON_VELOCITY"
ATTACK_EXCEPT_VELOCITY.Velocity =
CLOSEST_CHARACTER.HumanoidRootPart.CFrame.LookVector*math.random(-
16,16)+CLOSEST_CHARACTER.HumanoidRootPart.CFrame.RightVector*math.random(-16,16)
ATTACK_EXCEPT_VELOCITY.MaxForce =
Vector3.new(100000,0,100000)
ATTACK_EXCEPT_VELOCITY.Parent =
HumanoidRootPart
end
local InvisHeads = {
"Dullahan",
"Lich",
"Scroom",
"Metascroom"
}
if InvisHeads[Race.Value] then
local children = GetChildren(Head)
for i = 1,#children do
local v = children[i]
if v:IsA("Decal") then
v:Destroy()
end
end
table.clear(children)
end
Remotes.Sprint.OnServerEvent:Connect(function(plr, a)
if plr ~= Player then
return
end
if a then
local sprint = Instance.new("Accessory")
sprint.Name = "Sprinting"
sprint.Parent = Character
local children = GetChildren(Character)
for i = 1,#children do
local v = children[i]
if v.Name == "SpellBlocking" or v.Name == "MonShield" then
task.wait()
manashielddown()
unblock(Player)
end
end
table.clear(children)
spawn(function()
for i = 1,4 do
if FindFirstChild(Character, "SpellBlocking") then
task.wait()
manashielddown()
unblock(Player)
end
if FindFirstChild(Character, "MonShield") then
task.wait()
manashielddown()
unblock(Player)
end
wait(0.01)
end
end)
else
local sprint = Character:FindFirstChild("Sprinting")
if sprint then
sprint:Destroy()
end
end
end)
Character.ChildRemoved:Connect(function(Child)
local AnimCancel = Character:FindFirstChild("AnimCancel")
local AnimCancel3 = Character:FindFirstChild("MoveCancel")
if Child:IsA("Tool") then
if Child:FindFirstChild("Skill") then
if AnimCancel and Child.Name ~= "Shadowrush" then
AnimCancel:Destroy()
end
if AnimCancel3 then
AnimCancel3:Destroy()
end
task.spawn(function()
for i = 1,10 do
local AnimCancel2 =
Character:FindFirstChild("AnimCancel")
local AnimCancel4 =
Character:FindFirstChild("MoveCancel")
if AnimCancel2 and Child.Name ~= "Shadowrush"then
AnimCancel2:Destroy()
end
if AnimCancel4 then
AnimCancel4:Destroy()
end
wait(0.025)
end
end)
end
if Child:FindFirstChild("PrimaryWeapon")then
create("MoveCancel", 0.7, Character)
end
repeat wait()until Child.Parent~=Character
if WEAPON and (WEAPON.Name == "Katana" or WEAPON.Name == "Murasama")
and Child:FindFirstChild("RequiresWeapon") and Child.RequiresWeapon.Value ==
"Katana" then
task.wait(0.3)
local c = GetChildren(Character)
for i = 1,#c do
local v = c[i]
if FindFirstChild(v,"PrimaryWeapon") or
FindFirstChild(v,"RequiresWeapon") then
if table.find(equipped,Child)then
table.remove(equipped,table.find(equipped,Child))
end
return
end
end
table.clear(children)
end
if table.find(equipped,Child)then
table.remove(equipped,table.find(equipped,Child))
end
if #equipped<1 then
unequipweapon(Child)
end
return
end
if Child.Name == "Slowness" then
local b = Boosts:FindFirstChild("slowness", true)
if b then
b.Parent:Destroy()
end
end
if Child.Name == "TPSafe"then
if not FindFirstChild(Character,"TPSafe")then
tpsafe = false
end
elseif Child.Name == "Burning" then
local children = GetChildren(Character)
for i = 1,#children do
local v = children[i]
if v ~= Child and v.Name == "Burning" then
return
end
end
table.clear(children)
allow = false
elseif Child.Name == "Knocked" and not Child:FindFirstChild("nogetup") then
if game.CollectionService:HasTag(Character, "Knocked") and not
Character:FindFirstChild("Knocked") then
game.CollectionService:RemoveTag(Character, "Knocked")
end
if not Character:FindFirstChild("Knocked") then
create("NoStun", 0.6, Character)
create("nodashshadow", 0.1, Character)
end
if Character:FindFirstChild("ChargeBlock") and not
Character:FindFirstChild("Knocked") then
Character.ChargeBlock:Destroy()
end
if not(Character:FindFirstChild("Knocked")) and not
CollectionService:HasTag(Character, "Carry") then
RagdollModule.Ragdoll(Character,false)
elseif CollectionService:HasTag(Character, "Carry") then
CollectionService:RemoveTag(Character, "Carry")
end
create("NoDemonFlip", 0.5, Character)
elseif Child.Name == "NoControl" then
local Character_Descendants = Character:GetDescendants()
for Index = 1,#Character_Descendants do
local Object = Character_Descendants[Index]
if Object.Name == "NoJump" and
CollectionService:HasTag(Object,"NOCON") then
Object:Destroy()
end
if Object.Name == "NOCON_VELOCITY" then
Object:Destroy()
end
end
elseif Child.Name == "Confused" then
game.ReplicatedStorage.Requests.Confused:FireClient(Player, "Unbind")
elseif Child.Name == "HalfSoul"then
Mana.MaxValue = 100
elseif Child.Name == "Charge"then
repeat
if FindFirstChild(Character,"FullMana")then
return
end
Mana.Value -= 1.1
wait()
if Character.IsClimbing.Value or
FindFirstChild(Character,"CurseBlocking")or
FindFirstChild(Character,"ActiveCast") or
FindFirstChild(Character,"JoyousBuff") or
FindFirstChild(Character,"SpellBlocking") or
FindFirstChild(Character, "MonShield")
then
wait(0.09)
end
if Character:FindFirstChild("ManaFlying") then
wait(0.15)
end
until FindFirstChild(Character,"Charge")or Mana.Value == 0
if FindFirstChild(Character,"CurseBlocking") or
FindFirstChild(Character,"SpellBlocking") then
unblock(Player)
end
return
elseif Child.Name == "Blocking"then
if not FindFirstChild(Character,"Blocking")then
blockanim:Stop()
end
end
end)
Boosts.ChildAdded:Connect(function(c)
if c.Name == "Transparency"then
local dim = 0
for _,v in pairs(Boosts:GetChildren())do
if v.Name == "Transparency"then
dim += v.Value
end
end
changetransparency(Character,dim)
end
end)
Boosts.ChildRemoved:Connect(function(c)
if c.Name == "Transparency"then
local dim = 0
for _,v in pairs(Boosts:GetChildren())do
if v.Name == "Transparency"then
dim += v.Value
end
end
changetransparency(Character,dim)
end
end)
end
end
Player.Chatted:Connect(function(Message)
local msgtable = Message:split(" ")
if string.find(string.lower(Message), "lock") then
local church = (workspace.Map:FindFirstChild("Church "..Player.Name,
true) and workspace.Map:FindFirstChild("Church "..Player.Name, true).Parent) or
(Player:FindFirstChild("Bishop") and workspace.Map:FindFirstChild("Church
"..Player.Sect.Value, true)) and workspace.Map:FindFirstChild("Church
"..Player.Sect.Value, true).Parent
if church then
if church:FindFirstChild("Locked") then
church.Locked:Destroy()
else
Instance.new("Folder", church).Name = "Locked"
end
end
end
if string.find(string.lower(Message), "open sesame") then
if not workspace.Map.RoyHaruTree:FindFirstChild("Union") then
local part = workspace.Map.RoyHaruTree.ToAttac
local otherParts =
{workspace.Map.RoyHaruTree.ToAttac.NegativePart}
local newUnion = part:SubtractAsync(otherParts)
newUnion.Name = "Union"
else
workspace.Map.RoyHaruTree.Union:SeparateAsync()
end
end
if string.find(string.lower(Message), "return") then
if (Player:FindFirstChild("Sect") and
workspace.Map:FindFirstChild("Church "..Player.Sect.Value, true)) or
workspace.Map:FindFirstChild("Church "..Player.Name, true) then
Instance.new("Folder", Player.Character).Name = "TPSafe"
game.Debris:AddItem(Player.Character.TPSafe, 5)
for i,v in pairs(workspace.Live:GetChildren()) do
if v:FindFirstChild("HumanoidRootPart") and v ~= Character
and game.Players:FindFirstChild(v.Name) and (v.HumanoidRootPart.Position -
Character.HumanoidRootPart.Position).Magnitude <= 30 and not
(game.Players[v.Name]:FindFirstChild("Sect")) then
Instance.new("Folder", v).Name = "TPSafe"
game.Debris:AddItem(v.TPSafe, 5)
if (Player:FindFirstChild("Sect") and
workspace.Map:FindFirstChild("Church "..Player.Sect.Value, true)) then
v.HumanoidRootPart.CFrame =
workspace.Map:FindFirstChild("Church "..Player.Sect.Value,
true).Parent.DoorOne.CFrame * CFrame.new(0, 0, 2)
else
v.HumanoidRootPart.CFrame =
workspace.Map:FindFirstChild("Church "..Player.Name, true).Parent.DoorOne.CFrame *
CFrame.new(0, 0, 2)
end
end
end
if (Player:FindFirstChild("Sect") and
workspace.Map:FindFirstChild("Church "..Player.Sect.Value, true)) then
Character.HumanoidRootPart.CFrame =
workspace.Map:FindFirstChild("Church "..Player.Sect.Value,
true).Parent.DoorOne.CFrame * CFrame.new(0, 0, 2)
else
Character.HumanoidRootPart.CFrame =
workspace.Map:FindFirstChild("Church "..Player.Name, true).Parent.DoorOne.CFrame *
CFrame.new(0, 0, 2)
end
end
end
if string.find(string.lower(Message), "call") then
local aaaa = (FindFirstChild(workspace.Map, "Church "..Player.Name,
true)) or (Player:FindFirstChild("Sect") and Player:FindFirstChild("Bishop")) and
FindFirstChild(workspace.Map, "Church "..Player.Sect.Value, true)
if aaaa then
local church = aaaa.Parent
for i,v in pairs(game.Players:GetChildren()) do
if (v:FindFirstChild("Sect") and v.Sect.Value ==
string.gsub(aaaa.Name, "Church ", "")) or aaaa.Name == "Church "..v.Name then
Instance.new("Folder", v.Character).Name = "TPSafe"
game.Debris:AddItem(v.Character.TPSafe, 5)
v.Character.HumanoidRootPart.CFrame =
aaaa.Parent.DoorOne.CFrame * CFrame.new(0, 0, 3)
end
end
end
end
if string.find(string.lower(Message), "supply") then
local aaaa = (FindFirstChild(workspace.Map, "Church "..Player.Name,
true)) or (Player:FindFirstChild("Sect") and Player:FindFirstChild("Bishop")) and
FindFirstChild(workspace.Map, "Church "..Player.Sect.Value, true)
if aaaa and not aaaa.Parent:FindFirstChild("Open") then
local church = aaaa.Parent
game:GetService("TweenService"):Create(church.SupplyOpen,
TweenInfo.new(2), {CanCollide = false, Transparency = 1}):Play()
game:GetService("TweenService"):Create(church.BloodStand,
TweenInfo.new(2), {CanCollide = true, Transparency = 0}):Play()
game:GetService("TweenService"):Create(church.ArtifactStand,
TweenInfo.new(2), {CanCollide = true, Transparency = 0}):Play()
for i,v in pairs(church:GetDescendants()) do
if v:FindFirstAncestor("BloodStand") or
v:FindFirstAncestor("ArtifactStand") then
if v.Name ~= "ShownArti" then
pcall(function()
if v.Material ~= Enum.Material.Ice then
game:GetService("TweenService"):Create(aaaa.Parent.Cruci.LightBlock.SurfaceLight,
TweenInfo.new(2), {Brightness = 0}):Play()
for i,v in pairs(workspace.Live:GetChildren()) do
if v:FindFirstChild("HumanoidRootPart") and v ~=
Character and game.Players:FindFirstChild(v.Name) then
local hit, pos =
workspace:FindPartOnRayWithWhitelist(Ray.new(v.HumanoidRootPart.Position,
Vector3.new(0, 1000, 0)), {workspace.AreaMarkers})
if hit and hit.Name == "Church of Light" and
hit:FindFirstChild(string.gsub(aaaa.Name, "Church ", "")) and not
((game.Players:GetPlayerFromCharacter(v):FindFirstChild("Sect") and
game.Players[v.Name].Sect.Value == Player.Name) or hit:FindFirstChild(v.Name)) then
v.Stomach.Value = 0
TagHumanoid:Fire(Character, v, {damage =
999, BypassFishDodge = true, burn = true, strongknockback = true})
end
end
end
end)
end
end
if string.match(string.lower(Message), "norpingness borpingness") and
((Character.HumanoidRootPart.Position -
workspace.NPCs.ObeliskNorpa.CornerWedge.Position).Magnitude <= 20 or
(Character:FindFirstChild("Dire Flower") and (Character.HumanoidRootPart.Position -
workspace.NPCs.Steve.HumanoidRootPart.Position).Magnitude <= 70 and
PlayerData.Silver.Value == 101) and Player.Backpack:FindFirstChild("Tellbloom"))
then
Commands["Learn"](Player)
create("TPSafe", 2, Character)
Character:SetPrimaryPartCFrame(workspace.Map.borpa.GreenRoom.Part.CFrame *
CFrame.new(0, 8, 0))
create("in green room", false, Character)
end
if string.find(string.lower(Message), "wish i would be able to leave...") and
(Character.HumanoidRootPart.Position -
workspace.Map.borpa.GreenRoom.Part.Position).Magnitude <= 125 then
Commands["Learn"](Player)
create("TPSafe", 2, Character)
Character:SetPrimaryPartCFrame(workspace.NPCs.ObeliskNorpa.CornerWedge.CFrame)
if Character:FindFirstChild("in green room") then
Character["in green room"]:Destroy()
end
end
if Character:FindFirstChild("in green room") then
if string.find(string.lower(Message), "wish") then
local Message = string.lower(Message)
local tablemsg = Message:split(" ")
local Targetplr = nil
local wishtype = nil
if tablemsg[3] and string.match(tablemsg[3], "was") then
wishtype = "race"
elseif tablemsg[3] and string.match(tablemsg[3], "had") then
wishtype = "trinket"
elseif tablemsg[3] and string.match(tablemsg[3], "near") then
wishtype = "teleport"
elseif tablemsg[3] and string.match(tablemsg[3], "obelisk") then
wishtype = "obelisk"
end
if string.len(tablemsg[2]) == 1 and tablemsg[2]:find("i") then
Targetplr = Player
else
local children = GetChildren(game.Players)
for i = 1,#children do
local v = children[i]
if string.lower(v.Name) ~= tablemsg[2] then
if v ~= Player and
string.find(string.lower(string.sub(v.Name, 1, 4)), string.sub(tablemsg[2], 1, 4))
then
Targetplr = v
end
else
Targetplr = v
end
end
table.clear(children)
end
grant(wishtype, Targetplr, tablemsg[4])
end
end
local blacklists = {"navaran", "goku", "seraph", "lich", "dullahan",
"florian", "tal", "black", "zelda"}
if msgtable[1]:find("please") and PlayerData.Skills.Value:find("AnyRace")
then
if msgtable[2] and not table.find(blacklists,
string.lower(msgtable[2])) then
local children = GetChildren(game.ReplicatedStorage.Info.Races)
for i = 1,#children do
local v = children[i]
if v.Name ~= "" and
string.find(string.lower(string.sub(v.Name,1,4)),
string.lower(string.sub(msgtable[2], 1, 4))) then
if not table.find(blacklists, string.lower(v.Name))
then
PlayerData.Skills.Value =
string.gsub(PlayerData.Skills.Value, ",AnyRace", "")
PlayerData.Race.Value = v.Name
PlayerData.FirstName.Value =
require(game.ServerScriptService.WorldHandler.GameLoaded.Randomize.NameGenerator)
({Race = PlayerData.Race.Value, Gender = PlayerData.Gender.Value})
local Randomize =
require(game.ServerScriptService.WorldHandler.GameLoaded.Randomize)
local Data = PlayerData
Data.Face.Value =
Randomize.Face(Data.Race.Value)
Data.RaceVariant.Value =
Randomize.RaceVariant(Data.Race.Value)
Player:LoadCharacter()
end
end
end
table.clear(children)
end
end
if msgtable[1]:find("/e")then
if string.lower(msgtable[2])=="sit"then
spawn(function()
local anim =
Humanoid:LoadAnimation(game.ServerStorage.NPCAnims.SitIdle)
anim:Play()
while wait(0.2)do
if Humanoid.MoveDirection.Magnitude > 0.6 then
break
end
end
anim:Stop()
end)
return
end
if string.lower(msgtable[2])=="office" and
_G.GetAdminLevel(Player.UserId) > 0 and not Player:FindFirstChild("Danger") then
create("TPSafe", 2, Character)
Character:SetPrimaryPartCFrame(CFrame.new(1946.534, 5290.554, -
3219.871))
end
if string.lower(msgtable[2])=="chill"then
spawn(function()
local anim =
Humanoid:LoadAnimation(game.ServerStorage.NPCAnims.LeanIdle)
anim:Play()
while wait(0.2)do
if Humanoid.MoveDirection.Magnitude > 0.6 then
break
end
end
anim:Stop()
end)
return
end
if string.lower(msgtable[2])=="thinker"then
spawn(function()
local anim =
Humanoid:LoadAnimation(game.ServerStorage.NPCAnims.Thinker)
anim:Play()
while wait(0.2)do
if Humanoid.MoveDirection.Magnitude > 0.6 then
break
end
end
anim:Stop()
end)
return
end
end
end)
Character.HumanoidRootPart.ChildAdded:Connect(function(child)
if child.ClassName == "BodyVelocity" and Character:FindFirstChild("noveloc")
then
wait()
child:Destroy()
end
end)
--[[
]]
PlayerData.DaysSurvived.Changed:Connect(function()
game.ReplicatedStorage.Requests.DaysSurvivedChanged:FireClient(Player,PlayerData.Da
ysSurvived.Value)
if Race.Value ~= "Seraph" then
Commands.RacialAbilities(Player,PlayerData)
end
if Race.Value == "Cameo"then
if PlayerData.Lives.Value<9 then
PlayerData.Lives.Value+=1
end
end
end)
task.spawn(function()
while wait(1) do
if not Player:FindFirstChild("Ingame") then
break
end
if not Character then
break
end
if Character and Character.Humanoid.Health <= 0 then
break
end
if PlayerData.EnchantTimer.Value > 0 then
PlayerData.EnchantTimer.Value -= 1
else
local enchants = string.split(PlayerData.Enchant.Value, ",")
if #enchants > 1 then
PlayerData.Enchant.Value =
string.gsub(PlayerData.Enchant.Value, ","..enchants[2], "")
end
end
end
end)
game.ReplicatedStorage.Requests.LivesChanged:FireClient(Player,PlayerData.Lives.Val
ue)
wait()
if PlayerData.Lives.Value == 0 and not Player:FindFirstChild("LichSummon")
then
Character.Parent = workspace.Dead
local v1 = game.ServerStorage.Assets.Permadeath:Clone()
v1.Parent = Character.Torso
v1:Play()
local v2 = game.ServerStorage.Assets.Clouds:Clone()
v2.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0,Player.Backpack.ManaColor.Value),
ColorSequenceKeypoint.new(1,Player.Backpack.ManaColor.Value),
})
v2.Parent = Player.Character.Torso
local v3 = game.ServerStorage.Assets.Shards:Clone()
v3.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0,Player.Backpack.ManaColor.Value),
ColorSequenceKeypoint.new(1,Player.Backpack.ManaColor.Value),
})
v3.Parent = Player.Character.Torso
if Race.Value ~= "Cameo" then
Humanoid.Health = 0
end
if Race.Value == "Cameo" and tick()-Recent > 50 then
Recent = tick()
Character.HumanoidRootPart.Cameo.Lifetime =
NumberRange.new(30,30)
Character.HumanoidRootPart.Cameo:Emit(75)
for i = 1,2 do
local v3 = game.ServerStorage.Assets.Shards:Clone()
v3.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0,Player.Backpack.ManaColor.Value),
ColorSequenceKeypoint.new(1,Player.Backpack.ManaColor.Value),
})
v3.Parent = Player.Character.Torso
end
Character.HumanoidRootPart.CameoGetUp:Play()
wait(0.3)
Character:BreakJoints()
end
end
end)
CollectionService:AddTag(Character,"Vampirism")
end
PlayerData:WaitForChild("Vampire").Changed:Connect(function()
if PlayerData.Vampire.Value == true then
if not HasTag(CollectionService,Character,"Vampirism")then
CollectionService:AddTag(Character,"Vampirism")
for _,v in pairs(Character:GetChildren())do
if v.Name == "Head"or v.Name == "Torso"or v.Name == "Left
Arm"or v.Name == "Right Arm"or v.Name == "Left Leg"or v.Name == "Right Leg"then
local H,S,V = v.Color:ToHSV()
v.Color = Color3.fromHSV(H,S/2,V)
end
end
end
elseif PlayerData.Vampire.Value == false then
if HasTag(CollectionService,Character,"Vampirism")then
CollectionService:RemoveTag(Character,"Vampirism")
for _,v in pairs(Character:GetChildren())do
if v.Name == "Head"or v.Name == "Torso"or v.Name == "Left
Arm"or v.Name == "Right Arm"or v.Name == "Left Leg"or v.Name == "Right Leg"then
v.Color = RaceInfo.SkinColor.Value
end
end
local br = FindFirstChild(Boosts,"Vampirism",true)
if br then
br.Parent:Destroy()
end
TagHumanoid:Fire(Character,Character,{injury = true,nododge =
true})
end
end
end)
PlayerData.LastName.Changed:Connect(function()
wait()
Humanoid.DisplayName = tostring(PlayerData.FirstName.Value)
if PlayerData.LastName.Value~=""then
if PlayerData.HouseRank.Value ~= "Owner"then
Humanoid.DisplayName = tostring(PlayerData.FirstName.Value).."
"..tostring(PlayerData.LastName.Value)
else
if PlayerData.Gender.Value == "Female" then
Humanoid.DisplayName = "Lady
"..tostring(PlayerData.FirstName.Value).." "..tostring(PlayerData.LastName.Value)
else
Humanoid.DisplayName = "Lord
"..tostring(PlayerData.FirstName.Value).." "..tostring(PlayerData.LastName.Value)
end
end
end
Player.leaderstats.LastName.Value = PlayerData.LastName.Value
Player.leaderstats.HouseRank.Value = PlayerData.HouseRank.Value
game.ReplicatedStorage.Requests.NameChanged:FireClient(Player,
PlayerData.FirstName.Value,
PlayerData.UberTitle.Value,
PlayerData.LastName.Value,
PlayerData.HouseRank.Value,
PlayerData.Gender.Value
)
end)
PlayerData.FirstName.Changed:Connect(function()
wait()
Humanoid.DisplayName = tostring(PlayerData.FirstName.Value)
if PlayerData.LastName.Value~=""then
if PlayerData.HouseRank.Value ~= "Owner"then
Humanoid.DisplayName = tostring(PlayerData.FirstName.Value).."
"..tostring(PlayerData.LastName.Value)
else
if PlayerData.Gender.Value == 'Female' then
Humanoid.DisplayName = "Lady
"..tostring(PlayerData.FirstName.Value).." "..tostring(PlayerData.LastName.Value)
else
Humanoid.DisplayName = "Lord
"..tostring(PlayerData.FirstName.Value).." "..tostring(PlayerData.LastName.Value)
end
end
end
Player.leaderstats.LastName.Value = PlayerData.LastName.Value
Player.leaderstats.HouseRank.Value = PlayerData.HouseRank.Value
game.ReplicatedStorage.Requests.NameChanged:FireClient(Player,
PlayerData.FirstName.Value,
PlayerData.UberTitle.Value,
PlayerData.LastName.Value,
PlayerData.HouseRank.Value,
PlayerData.Gender.Value
)
end)
Player:WaitForChild("PlayerGui"):WaitForChild("StatGui"):WaitForChild("Container").
Health.Constitution.Back.Stomach.BackgroundColor3 = Color3.new(0.9, 0.9, 0.8)
PlayerData.Prestige.Changed:Connect(function()
Player.leaderstats.Prestige.Value = PlayerData.Prestige.Value
end)
Character.Toxicity.Changed:Connect(function()
if Character.Toxicity.Value >= Character.Toxicity.MaxValue and
PlayerData.Race.Value ~= "Cameo" then
task.spawn(function()
create("Danger",20,Player)
local HealthTween =
game:GetService("TweenService"):Create(Character["Humanoid"], TweenInfo.new(10), {
Health = 1;
}):Play()
create("Knocked", false, Character)
wait(10)
Character.Toxicity.Value = 0
_G.Death(Player)
end)
elseif Character.Toxicity.Value >= Character.Toxicity.MaxValue and
PlayerData.Race.Value == "Cameo" then
Character.Toxicity.Value = 0
PlayerData.Injuries.Value = ""
if not Character:FindFirstChild("NoLoss") then
PlayerData.Lives.Value-=1
end
Character.Humanoid.PlatformStand = false
Character.Humanoid.AutoRotate = true
if not Character:FindFirstChild("NoLoss") then
create("NoLoss", 30, Character)
end
for _,v in pairs(workspace.Live:getChildren())do
if v ~= Character and v:FindFirstChild("HumanoidRootPart")then
if (Character.HumanoidRootPart.Position-
v.HumanoidRootPart.Position).Magnitude<11 then
game.ServerStorage.Requests.TagHumanoid:Fire(v,v,
{mana = true,manaknockupself = true})
end
end
end
wait()
Character.HumanoidRootPart.Cameo:Emit(75)
Character.HumanoidRootPart.CameoGetUp:Play()
Character.Humanoid.Health += Character.Humanoid.MaxHealth
Character.HumanoidRootPart.LightningHit:Play()
end
end)
--// Anti-Cheat
for i = 1,#CFramesSaved do
table.remove(CFramesSaved, math.abs(1-#CFramesSaved) + 1);
end
lastCF = (Character:FindFirstChild("HumanoidRootPart") and
Character.HumanoidRootPart.CFrame) or lastCF;
isTag = true
break
end
end
return isTag
end
pcall(function()
Alarm:Destroy()
Gun:Play()
if Player and Player.Character then
for _,v in pairs(Character:GetDescendants())do
if v:IsA("ForceField")then
v:Destroy()
end
end
Player.Character.Humanoid.Health = 0
PlayerData.Triggers.Value += 1
game.ServerStorage.Requests.SendWebhook:Fire(
"Anti-Cheat Detection",
""..Player.Name.." ("..Player.UserId..")".." has been
AAGunned. (Strikes: "..tostring(PlayerData.Triggers.Value)..")" ,
"black"
)
end
end)
end)()
end
local AAVariables = {
TimeToShoot = 7,
Timer = 0,
Shot = false
}
s = RunService.Heartbeat:Connect(function()
if not Character or not Character.PrimaryPart or not Humanoid then
if Character then
Character:BreakJoints()
end
return
end
if not Character:FindFirstChild("AngelForm") then
local Part, endPoint =
workspace:FindPartOnRayWithIgnoreList(Ray.new(HumanoidRootPart.Position,
Vector3.new(0, -15, 0)), {Player.Character, workspace.Thrown,
workspace.AreaMarkers}, false, false)
if not Part and not CheckForTags() and Humanoid:GetState() ~=
Enum.HumanoidStateType.Swimming and Player.Character.IsClimbing.Value == false then
AAVariables.Timer = math.min(AAVariables.TimeToShoot,
AAVariables.Timer+0.025)
else
AAVariables.Timer = math.max(0, AAVariables.Timer-0.025)
end
if AAVariables.Timer >= AAVariables.TimeToShoot and not
AAVariables.Shot then
AAVariables.Shot = true
TriggerAA()
end
end
wait()
end)
lastCFrame = HumanoidRootPart.CFrame
task.spawn(function()
while wait() do
Character = Player.Character
if not Character or not HumanoidRootPart then
return
end
if not Character.PrimaryPart then
Character:BreakJoints()
return
end
if (lastCF == nil) then
lastCF = HumanoidRootPart.CFrame
end
if not CheckForTags() then
if math.floor((Vector3.new(lastCF.p.X, 0, lastCF.p.Z) -
Vector3.new(HumanoidRootPart.Position.X, 0,
HumanoidRootPart.Position.Z)).Magnitude) >= 60 then
local Tp = Instance.new("Folder")
Tp.Name = "TpBack"
Tp.Parent = Player
game.Debris:AddItem(Tp,0.5)
task.spawn(function()
local oldtick = tick()
repeat
RunService.Heartbeat:Wait()
pcall(function()
if Character.HumanoidRootPart:GetNetworkOwner()
~= nil then
Character.HumanoidRootPart:SetNetworkOwner(nil)
end
Character.HumanoidRootPart.Velocity =
Vector3.new(0,0,0)
end)
until tick() - oldtick > 1
Character.HumanoidRootPart:SetNetworkOwner(Player)
end)
Remotes.SunBurn.OnServerEvent:Connect(function(p,state)
local Char = p.Character
if not Char or Char~=Character then
return
end
if StunCheck(p,false)then
return
end
if workspace:FindFirstChild("ArenaPart") then
if (Character.HumanoidRootPart.Position -
workspace.ArenaPart.Position).Magnitude <= 200 then
state = false
end
end
if HasTag(CollectionService,Character,"Vampirism")then
if state then
if FindFirstChild(Character,"SunBurn")then
return
end
HumanoidRootPart.MonasticFire.Enabled = true
HumanoidRootPart.MonasteryFire:Play()
create("SunBurn",false,Character)
if suncombattag then
suncombattag:Destroy()
suncombattag = nil
end
suncombattag = create("Danger",false,p)
while wait(0.2) do
if not FindFirstChild(Character,"SunBurn")then
break
end
if Player.Name ~= "XDANDREIXD19" then
Character.Stomach.Value -= .3
end
if not Character:FindFirstChild("Unconscious") then
Humanoid.AnimationPlayed:Connect(function(animationtrack)