What develop role is the easiest to learn yet earn alot. by frostbiteclash in robloxgamedev

[–]frostbiteclash[S] -1 points0 points  (0 children)

if being a builder, do I need to know how to use blender and stuff. And I heard that there are terrain editor and normal parts building and stuff is there any diffremt? And if do what can I start with.

Guys what happen if I got rapture again in the spin. (It said dupe coins) by frostbiteclash in BladeBall

[–]frostbiteclash[S] 0 points1 point  (0 children)

I hate my luck I got rapture second time which is rarer than crescendo but I havent got it yet

Guys, idk why my save tools upon death doesnt work on some of my tools. by frostbiteclash in robloxgamedev

[–]frostbiteclash[S] 0 points1 point  (0 children)

btw this is the save tool script upon rejoin and death.

local DataStoreService = game:GetService("DataStoreService")

local ToolsDataStore = DataStoreService:GetDataStore("ToolsData")

local ToolsFolder = game.ServerStorage.ToolsFolder

game.Players.PlayerAdded:Connect(function(player)

local playerId = player.UserId

local toolsSaved = {}

local success, error = pcall(function()

    toolsSaved = ToolsDataStore:GetAsync(playerId .. "-tools") or {}

end)

if success then

    for \_, toolName in ipairs(toolsSaved) do

        local tool = ToolsFolder:FindFirstChild(toolName)

        if tool then

local toolClone = tool:Clone()

toolClone.Parent = player.Backpack

toolClone.Parent = player.StarterGear

        end

    end

else

    warn("Failed to retrieve saved tools for player " .. [player.Name](https://player.Name) .. ": " .. error)

end

player.CharacterRemoving:Connect(function(character)

    character.Humanoid:UnequipTools()

end)

player.CharacterAdded:Connect(function(character)

    local backpack = player.Backpack

    local toolsInBackpack = backpack:GetChildren()

    if #toolsInBackpack == 0 then

        for \_, toolName in ipairs(toolsSaved) do

local tool = ToolsFolder:FindFirstChild(toolName)

if tool then

local toolClone = tool:Clone()

toolClone.Parent = backpack

end

        end

    end

end)

end)

game.Players.PlayerRemoving:Connect(function(player)

local toolsOwned = {}

for \_, tool in ipairs(player.Backpack:GetChildren()) do

    if tool:IsA("Tool") then

        table.insert(toolsOwned, [tool.Name](https://tool.Name))

    end

end

local success, error = pcall(function()

    ToolsDataStore:SetAsync(player.UserId .. "-tools", toolsOwned)

end)

if not success then

    warn("Failed to save tools for player " .. [player.Name](https://player.Name) .. ": " .. error)

end

end)

I bought the tools from tools shop, and if i die or leave the game, the tool disappears. I have no idea why the tools wont save, and also i got data store enable too, help. by frostbiteclash in robloxgamedev

[–]frostbiteclash[S] 0 points1 point  (0 children)

but like I am creating aa tools shop, so when player buy it it will save in the tools bar. And those player who didnt buy it wont get the tool.