Hello again! I'm making a game similar to Hello Neighbor and I'm developing traps! The trap needs to completely stop you and I've gotten that part, until you press the run key... I'm using a free-modeled run script the imports a local run script into the player. Is there any way I could access the player to disable the script and then after that enable the script until the wait() is over? I'm not asking for a script, I'm just asking if there is any way to do what I said. Thanks!
COMMUNITY QUESTION
Can you define and change a player through a regular script?
2 answers
Yes, you can. Since you asked for no code, I won't give any, if you did want some, sorry :P
2 comments
0
nice answer
0
'Yes'
yes, try this:
game.Players.PlayerAdded:connect(function(player) --Player is the player located under game.Players
--Now you can do something like this:
local character = player.Character
character.Humanoid.Health = character.Humanoid.Health - 50
--Or whatever you want
end)
1 comment
0
What does this have to do with the question?
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Couldn't you just anchor the player's torso or something so they can't move?