50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
game.StarterGui:SetCore("SendNotification", {
|
|
Title = "Loading Version 0.2.1 Fixed";
|
|
Text = "Please Wait...";
|
|
Duration = 3;
|
|
})
|
|
|
|
game.Players.LocalPlayer.PlayerValues.Inventory.BearSkins:ClearAllChildren()
|
|
game.Players.LocalPlayer.PlayerValues.Inventory.SocialGears:ClearAllChildren()
|
|
game.Players.LocalPlayer.PlayerValues.Inventory.KillEffects:ClearAllChildren()
|
|
local plr = game.Players.LocalPlayer
|
|
local Datas = game.ReplicatedStorage.GameContent
|
|
local PlayerData = plr.PlayerValues.Inventory
|
|
|
|
for i, ServerGears in pairs(Datas.SocialGears:GetChildren()) do
|
|
local Sk = Instance.new("StringValue")
|
|
Sk.Name = ServerGears.Name
|
|
Sk.Value = ""
|
|
Sk.Parent = PlayerData.SocialGears
|
|
end
|
|
for i, ServerEffects in pairs(Datas.KillEffects:GetChildren()) do
|
|
local Sk = Instance.new("StringValue")
|
|
Sk.Name = ServerEffects.Name
|
|
Sk.Value = ""
|
|
Sk.Parent = PlayerData.KillEffects
|
|
end
|
|
for i, ServerSkins in pairs(Datas.BearSkins:GetChildren()) do
|
|
local Sk = Instance.new("StringValue")
|
|
Sk.Name = ServerSkins.Name
|
|
Sk.Value = ""
|
|
Sk.Parent = PlayerData.BearSkins
|
|
end
|
|
|
|
game.StarterGui:SetCore("SendNotification", {
|
|
Title = "Sucess";
|
|
Text = "All Skins, Gears and Kill Effects Unlocked. Script by ModMaker Spiki, Fixed by CatsPn=wed";
|
|
Duration = 10;
|
|
})
|
|
|
|
game.StarterGui:SetCore("SendNotification", {
|
|
Title = "Info";
|
|
Text = "I fixed only some strings in code, just add me to credits, because will sound cool :sunglasses:";
|
|
Duration = 10;
|
|
})
|
|
game.StarterGui:SetCore("SendNotification", {
|
|
Title = "WARNING";
|
|
Text = "You can't equip unlocked assets! Its just Visual in your inventory!";
|
|
Button1 = "OK";
|
|
Duration = 99999;
|
|
})
|