Alright, found the error I guess, the ClickDetector script works fine, but there’s something wrong in the JumpPlatform() function. Can you run the game and tell me every single error in the output?
before i do here is something i realized:
the clickdetector needs to work with right click right?
but there is another function attached to right click (which is changing glove modes)
is there a option to change this to left click?
anyways here is the video
another thing i realized is it changes mode even when the tool is unequipped
Even if there are 2 functions getting fired from clicking the right click, it should work fine. You can change it from RightMouseClick
to MouseClick
if you want.
i realized it cant click on the part when the tool is equipped…
if i need to click i need to unequip the tool.
I tried it myself and the script works perfectly fine.
Try to change the require(game.Players.LocalPlayer.Backpack.Tool.GloveModule)
to require(script.Parent.GloveModule)
the tool already uses that.
if you dont mean the tool then
there is no point in using it because it doesnt have a glovemodule in other scripts
Uh, what? I didn’t understand what you said.
didnt you say use script parent for requiring the glovemodule?
it can only be used in the tool’s local script
it wont work on other script unless i add the glovemodule to that script’s parent
You can always use require(script.Parent.GloveModule)
if you want to require the script as long as the script is in the tool.
thats wrong.
it gives this error.
What’s the name of the module?
Change the GloveModule to the name of the Module.
the name of the module is GloveModule
which is in the tool
which you cant do a script parent because its in the tool
Please use :Connect(function()
.
You can. Can you show me where the local script and the module is located?
im already doing that as you can already see
Put the localscript inside the Tool.
ive been gone srry, anyways as ive seen you guys havent figured it out yet??
it now gives that one line 5 error