I’m having a really stupid problem where despite doing: Humanoid.PlatformStand = true
via a local script, it’s very difficult for it to be actually true. I can set it manually during playtest but I really wish I could do that with a local script :>
What’s funny is that it worked fine yesterday…
Here’s a video of what I mean
It’s supposed to be set to true whenever “jet enabled” is printed out.
But it doesn’t seem to be working, you can see in the video that it worked once, but other than that it’s usually not setting PlatformStanding to true
local function ToggleJets()
if JetsEnabled then
print("jet enabled")
JetForce.Enabled = true
Humanoid.PlatformStand = true-- this here doesnt work
cas:BindActionAtPriority("JetInput", HandleJetInput, false, 2, unpack(JetInputList))
RunService:BindToRenderStep("JetControl", 1, function()
local ObjSpaceVector = Camera.CFrame:VectorToWorldSpace(FlattenVector(FlyVector) * MaxSpeed)
JetForce.VectorVelocity = ObjSpaceVector + Vector3.new(0, FlyVector.Y * MaxSpeed.Y, 0)
end)
else
print("jet disabled")
JetForce.Enabled = false
Humanoid.PlatformStand = false
RunService:UnbindFromRenderStep("JetControl")
cas:UnbindAction("JetInput")
end
end