What should I do then to fix this?
Does Your Segway Have a Handle?
uhm, nope its ‘HandlessSegway’. I changed the name of it to ‘Segway’
That might be the Problem Try making a Handle for It I Suppose.
I suggest putting the tool inside ServerStorage. The will be something like this:
local MarketPlaceService = game:GetService("MarketplaceService")
local ServerStorage = game:GetService("ServerStorage")
game.Players.PlayerAdded:Connect(function(Player)
if MarketPlaceService:UserOwnsGamePassAsync(Player.UserId, GamepassId) then
local ToolClone = ServerStorage:FindFirstChild("Segway"):Clone()
ToolClone.Parent = Player.Backpack
end
end)
How would i do that im so confused on this
In server storage the tool isnt even in my inventory
Is the tool a free model? If it is, you need to customize it. Add a handle, enable the handle in the tool property, put in the ServerStorage. Make sure to get rid of the model, and the thumbnail camera within it. You will only need the tool.
how do i enable the handle in the tool property? ahhh please don’t think im dumb
Tool > RequiresHandle > True (In your properties tab)
First of all, you need to have a part in the tool with the name, “Handle”. This will be the part the player’s hand would go. Then, go into the tool, and scroll through the property. You should see a property, “RequiresHandle”. Make sure that this is enabled.
That box was already checked…
Once this is done, weld all the parts together, and put this script in ServerScriptService.
local MarketPlaceService = game:GetService("MarketplaceService")
local ServerStorage = game:GetService("ServerStorage")
local GamepassId = 123456789
game.Players.PlayerAdded:Connect(function(Player)
if MarketPlaceService:UserOwnsGamePassAsync(Player.UserId, GamepassId) then
local ToolClone = ServerStorage:FindFirstChild("Segway"):Clone()
ToolClone.Parent = Player.Backpack
end
end)
Check the children of the tool. Is there anything with the name, “Handle”?
Thats the exact tutorial I was watching. And yes there is a handle. Now the Segway shows up in my hand but when I click it dissapears.
If so, there is something wrong with your tool. I believe it is a free model, and you need to customize it. Create a part named, “Handle”, and enabled the “RequiresHandle” property in the tool. Take the tool out of the model, and delete the model and thumbnail camera. Enable the “Anchored” property of all parts in the tool, and weld them all together. If you still have trouble with this, I suggest using a different model.
Could you send me all the scripts in the tool? Look for scripts in all the parts.
Okay, I had tried looking for other ‘Segway’ models in the toolbox but there are all just copied.