Professional Documents
Culture Documents
Tycoon Script (CẤM XÓA)
Tycoon Script (CẤM XÓA)
script.Parent.Button.Touched:Connect(function(Hit)
if Hit.Parent:FindFirstChild("Humanoid")then
local Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
local Tool = game.ReplicatedStorage.Tools.ClassicSword
if Player:WaitForChild("Backpack"):FindFirstChild(Tool.Name) or
Hit.Parent:FindFirstChild(Tool.Name) then
print("Player Already Has Tool")
wait(1)
Debounce = false
else
Tool:Clone().Parent = Player:WaitForChild("Backpack")
wait(1)
Debounce = false
end
end
end
end)
Script leaderstats:
game.Players.PlayerAdded:Connect(function(Player)
local leaderstats = Instance.new("Folder",Player)
leaderstats.Name = "leaderstats"
while wait() do
script.Parent.TextLabel.Text = "Cash:$"..Player.leaderstats.Cash.Value
end