can you make me a strong man sim game like the popular one put the items are on your…
- User
can you make me a strong man sim game like the popular one put the items are on your back and you carry them to the finish line on roblox and i want you to give me a command to make the game
Assistant
Sure! I can help you create a "Strong Man Sim"-style game in Roblox, where players carry items on their back and race to the finish line. Below is a basic setup with:
- A command (a script) that spawns items.
- A system for players to pick up items onto their back.
- A finish line that checks if they have all items.
🔧 Game Structure Overview
1. Workspace Objects
SpawnLocation– Where the player startsItemSpawns– Folder containing parts where items spawnFinishLine– A part or trigger zone at the endItems– Folder containing item models (like barbells, tires, etc.)
2. Scripts
- LocalScript (for UI/feedback)
- ServerScript (main logic: pickup, win condition)
🧠 Main Logic Summary
- Items randomly spawn at pre-defined locations (
ItemSpawns) - When the player touches an item, it attaches to their character’s back
- Once all items are picked up, player must reach the
FinishLine - If successful, show a win message
✅ Step-by-Step Setup in Roblox Studio
1. Create the Following Folders & Parts in Workspace:
Items(folder)ItemSpawns(folder)- Inside
ItemSpawns, add multiple parts (e.g.,BarbellSpawn,TireSpawn, etc.)
- Inside
FinishLine(part)- Make it transparent and size it so the player can walk into it
📜 ServerScript (Main Command Script)
Place this in ServerScriptService
-- StrongManSim Game Logic local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") -- Create a folder in ReplicatedStorage called "Items" local ITEM_FOLDER = Instance.new("Folder", ReplicatedStorage) ITEM_FOLDER.Name = "Items" -- Table of items to be used in the game local ITEMS_TO_SPAWN = { { Name = "Barbell", MeshId = "http://www.roblox.com/asset/?id=1234567890", -- Replace with actual mesh ID TextureId = "http://www.roblox.com/asset/?id=0987654321", -- Optional Weight = 50 }, { Name = "Tire", MeshId = "http://www.roblox.com/asset/?id=2345678901", TextureId = "", Weight = 30 } } -- Spawning Items function SpawnItems() local spawns = workspace.ItemSpawns:GetChildren() for i, itemData in ipairs(ITEMS_TO_SPAWN) do local spawnPart = spawns[i] if not spawnPart then continue end local item = Instance.new("Part") item.Name = itemData.Name item.Shape = Enum.PartType.Block item.Size = Vector3.new(2, 2, 4) item.Anchored = false item.CanCollide = true item.Position = spawnPart.Position -- Mesh local mesh = Instance.new("SpecialMesh") mesh.MeshId = itemData.MeshId if itemData.TextureId ~= "" then mesh.TextureId = itemData.TextureId end mesh.Scale = Vector3.new(1, 1, 1) mesh.Parent = item -- Make grabbable local clickDetector = Instance.new("ClickDetector") clickDetector.MaxActivationDistance = 10 clickDetector.Parent = item item.Parent = ITEM_FOLDER end end -- Pickup Item when clicked ITEM_FOLDER.ChildAdded:Connect(function(item) local clickDetector = item:FindFirstChild("ClickDetector") if clickDetector then clickDetector.MouseClick:Connect(function(player) local character = player.Character if not character then return end local humanoidRootPart = character:FindFirstChild("HumanoidRootPart") if not humanoidRootPart then return end -- Weld the item to the back local weld = Instance.new("WeldConstraint") item.Parent = workspace weld.Part0 = item weld.Part1 = humanoidRootPart weld.C1 = CFrame.new(0, 1.5, -2) -- Behind the player weld.Parent = item -- Tag item as carried local carriedTag = Instance.new("BoolValue") carriedTag.Name = "Carried" carriedTag.Value = true carriedTag.Parent = item end) end end) -- Finish Line Detection workspace.FinishLine.Touched:Connect(function(hit) local player = Players:GetPlayerFromCharacter(hit.Parent) if not player then return end local character = player.Character if not character then return end local carriedItems = {} for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") and part:FindFirstChild("Carried") then table.insert(carriedItems, part) end end if #carriedItems == #ITEMS_TO_SPAWN then print(player.Name .. " has completed the challenge!") -- You can fire a remote event here to show a win GUI end end) -- Run the command spawn(SpawnItems)
💬 How to Use It
- Open Roblox Studio
- Insert this script into ServerScriptService
- Set up your map with:
- Player start
ItemSpawnsfolder with partsFinishLinepart
- Add item meshes or use default blocks
- Playtest!
🎮 Optional Enhancements
- Add stamina/speed reduction based on number of items
- Add a countdown timer
- Add a leaderboard using
leaderstats - Add sound effects and particle effects for carrying items
- Add animations or custom models
Would you like me to generate a
.rbxlfile or give you a sample model pack for download?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.