-1

# How do you make it so players can't stand up from PlatformStand by pressing backspace?

Perci1 4988
7 years ago

I know this is possible, since Deathrun 2 has it.

plr = game.Players.LocalPlayer
mouse = plr:GetMouse()

mouse.KeyDown:connect(function(key)
if key:byte() == 8 then
wait(3)
plr.Character.Humanoid.PlatformStand = true
end
end)


But all it does is create a sort of super jump button. Anyways, I could use some help.

0
I change the wait(3) to many other numbers, and it still did not work. The wait() is not the problem, the entire idea is. Perci1 4988 — 7y
0
Nobody wants to help? Seriously? Perci1 4988 — 7y

1

I've been disliked too much for answering. This is my last answer. I hope this helps!

plr = game.Players.LocalPlayer
plr.Character.Humanoid.PlatformStand = false
mouse = plr:GetMouse()

mouse.KeyDown:connect(function(key)
if key:lower():byte() == 8 and plr.Character.Humanoid.PlatformStand == false then
for i = 0, 1 do
wait(3)
plr.Character.Humanoid.PlatformStand = true
plr.Character.Humanoid.PlatformStand = false
end
end
end)



As you can see, waits not that reliable. Instead I mixed it up a bit changing to check if the players platformstand is false, and if it is, it runs a for loop that waits 3 seconds to run. For loops are much more reliable then waits, waits glitch out alot and are buggy.

0
Thanks for trying to help, but I already messaged Wsly and he told me how he did it. I appreciate you trying to help, though. Perci1 4988 — 7y
0
e.e okay... joemom33 10 — 7y