RobukMan01
(RobukMan01)
1
-
What do I want to achieve?
I want to make a require troll module that allows you to punch and kick people
-
What is the issue?
I can’t seem to find a way to detect inputs so the attacks can activate.
-
What solutions have I tried so far?
I tried putting a disabled local script under the module but it doesn’t run after I enable it.
Heres how the module is set up currently

BTW its being required as a model.
If anyone has an idea on how i can make the troll module detect inputs then ill appreciate it.
Katrist
(Katrist)
2
You can put a LocalScript in StarterPlayerScripts, or directly connect the input events inside the module.
1 Like
RobukMan01
(RobukMan01)
3
im trying to make this to be used in any game(that has the ability to run scripts)
Have you tried to change script’s RunContext to Client?
RobukMan01
(RobukMan01)
5
part of it is supposed to be server side and the inputs and stuff is supposed to be on client
also you cant change a module’s runcontext.
the module makes a remote event that the local script sends data to the module with
I was referring to the localscript’s RunContext. Because if it’s Legacy, it will not run unless you meet some specific criterias.
RobukMan01
(RobukMan01)
7
I swapped the regular local script with a script set to client run context and it works now
system
(system)
Closed
8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.