I want to turn a Model into a Tool, because so that the player can equip the items, but I also wanted to turn the Tool into a Model, so I can use SetPrimaryPartCFrame to make the tool available in the workspace when player fire remote event to set the item location, as well as prevent the player from taking it.
Insert Object – > Tool
After you have the tool drag the model that you want the player to hold into the tool.
Next inside the model name the part where you want the player to hold “Handle”.
Finally to do the vice versa just drag the model thats inside the tool out into workspace.
(Im not sure if you meant this or threw a script.)
To turn a Model into a Tool, just take your Model, and parent it to a Tool object with RequiresHandle set to false, and set its .Grip appropriately. To turn a Tool into a Model in the Workspace, just un-parent it from the Tool, and delete the Tool afterward.
A quick google search gets you to the developer wiki:
This is on live server, not in studio, I want the player able to do it
Then you may want to explain that in your post since you aren’t very clear about that.
You’ll have to set it up in Studio so that a player can make it happen in your live server (game) though.
Hello! I was looking Into this, and I assume that you are not talking about, Roblox studio as I have read the other comments from, another awesome developers, Basically you need to go In Roblox studio, and modify tool there since you cannot do It Ingame because Roblox studio Is the app, you modify / change / create games with Roblox studio, so after going In the studio you will have to click “Insert object” and “Tool” then you will have to put the handle of the model (that you want to turn as a tool) In Object tool and If you want you can change It like everyone can have It via putting the Tool In “StarterPack” If you want It for your “favorite” people then add admin commands In your game or just put them In a whitelist script.
See the whole tutorial right here!: In-Experience Tools | Documentation - Roblox Creator Hub and Tool | Documentation - Roblox Creator Hub
Thanks, but my original plan is like an auction house, where player can sell their tools, that y I created this topic, not for admin and stuff, I found an easier alt already but thank you
I made a plugin for this because someone asked for it.
Here’s the code behind it.
local tool = PATH.TO.TOOL;
local model = Instance.new("Model");
for _, obj in ipairs(tool:GetChildren()) do
if obj:IsA("BasePart") then
obj.Parent = model;
end;
end;
model.Name = tool.Name;
model.PrimaryPart = tool:FindFirstChild("Handle");
model.Parent = workspace;
tool:Destroy();
Oh then, you can try this! https://education.roblox.com/en-us/resources/adventure-game-selling-items
thanks for ur help, but its about player to player deal, not game to player
So you want players to create a model in a game, turn it into a tool, then sell it to other players?
You have to do all of that by scripts in the Studio version of the game so it can happen in your game online.
It’s tough to understand from your original post.
well I did a simple search and I found here.