i pretty much explained why it whould work and maybe its a problem on your module…
checking if its module problems
try putting a print after the if statement and if it prints its a module problemo
i pretty much explained why it whould work and maybe its a problem on your module…
try putting a print after the if statement and if it prints its a module problemo
Let me explain to you what problems were in your script.
if GloveMode.JumpPlatform() then
will return nothing if you have no returns in your script + won’t work like that.wait, i dont think its any tool error or module error
a mode changing system for glove is attached to the right click so the part one cant work
omg i see the problem now
ah makes sense… hey @BuilderityRBLX try putting the module to ReplicatedStorage and not ServerScriptService since you cant access the Server with Clients
No. It’s probably not that as well.
In your video, you require the script from serverscriptstorage which will not work since clients do not have access to the server.
highly suggest doing this too loool
yeah it does make a lot of sense if you think about it…
i tried the thing you told me and @WhatDid_HeDo’s idea (changing location)
and nope
doesnt work even the print one
i found this post where same problem, and the solution as you can see is putting the module scriot to replicated
i tried changing to replicated and it still didnt work
oof… i really dont know why that occurs
ya same… im thinking of rewriting every script but i see no point on doing it
no no no… never give up!! i mean rick astley never gave you up so dont give up on your ideals!!!
bruh.
I did not say to put the return in there. Here, let me give an example.
(GloveMode JumpPlatform())
function GloveModes.JumpPlatform()
script.Parent.HandNeon.BrickColor = BrickColor.new("Alder")
script.Parent.WireNeon.BrickColor = BrickColor.new("Alder")
return true
end
(Clickdetector Script)
local clickdetector = game.workspace:FindFirstChild("TheNameOfTheClickDetectorPart").ClickDetector
clickdetector.RightMouseClick:Connect(function()
local PlatformMode = require(game.ReplicatedStorage.PlatformMode)
local GloveMode = require(game.Players.LocalPlayer.Backpack.Tool.GloveModule)
local modulefunction = GloveMode.JumpPlatform()
if modulefunction == true then
PlatformMode.JumpPlatform()
end
end)
i mean… yeah it is important to put where something belongs to so maybe thats why???
it gives this error when i try no matter the mode
assuming this is the localscript in the starterpack the line is this
Changed the script a bit, try again. It should work now.
still the same error 30 chaaracterssss
Are you sure that the GloveModule is in the Tool?
If it is then, are you sure that you put the return true
in GloveModes.JumpPlatform?
I made a typo in the previous script, you need to change the GloveModule to GloveMode. in line 5.
still same error when i fixed it