i made a ladder tool and if i drop it it dissapears, it doesnt dissapear if i start with “play here” it only dissapears when i do play, any help?
can you give me more information
like uh i put a ladder tool in the workspace and if u click it u get a ladder tool, and u have to drop it to climb somewhere because i disabled jumping… but if i drop the ladder tool it just dissapears
Is this a game like steep steps?
nah its not like steep steps, its a game where u have to collect something each level, so on one level i put the object on top of a cupboard and u cant jump so u have to drop the ladder to climb on top of it to collect the object
Ok so could you screenshot the ladder being used in the game and the properties of the ladder as well? Can you share any code you may have used as well?
this is the drop code because it would auto collect if dropped
local Tool = script.Parent
Tool.Unequipped:Connect(function()
if Tool.Parent == workspace then
Tool.Handle.CanTouch = false
task.wait(5)
Tool.Handle.CanTouch = true
end
end)
Is this a LocalScript inside of the actual Tool or does the Tool contain the ladder and the LocalScript is in the ladder? I really need a screenshot of the properties tab of the tool so I can see what’s going on
It could be that you used CanTouch instead of CanCollide but I don’t know for sure yet
its a server script inside the tool, also i need collision or else they cant climb ladder and also i gtg rn so if u can do some help il check a few hours later
CanTouch is the same as CanCollide except if you use CanTouch you cannot touch the part at all (it never registers) but if you use CanCollide you can’t collide with the part but you can still touch it
All your code is doing is checking if the tool is in the workspace when it is unequipped and then setting CanTouch to false for 5 seconds then setting CanTouch back to true so you can’t even climb the ladder for 5 seconds
And I don’t know why it only happens when you hit play instead of play here it has to be something else causing it
Also what is that other ladder in the video that could be causing it
im back now and uh i just checked and like currently there are 4 levels, so when i do a “play here” in the 4th level it works, but if i do a play here or a play in any other level and teleport to the 4th level with a proximity prompt ( thats how u collect the object ) then it doesnt work
i also added hd admin to use noclip to check where the ladder would go when it dissapeared, and i found out that when i drop it in the 4th level, it gets teleported to the 2nd level for some reason, and if i drop it in the 2nd level it dissapears
@DonaldDuck5150 i just realized it doesnt matter if its a play here or just play, if i use a proximity prompt that teleports u somewhere, it then will disappear if dropped
Try opening the explorer while running the game, and look for the tool and check .
if u dont see the tool in the workspace after task.wait check the backpack
ok i just tried what u did, the first time i dropped it, it got teleported to another level, when i noclipped there with hd admin, picked it up and then dropped it, it wasnt anywhere in the explorer