I have a trampoline that works in studio but doesn't let you jump on it in regular online mode. The game is filtering enabled and the trampoline is in the workspace with the script directly under it along with a configurations folder the has a value for the jump force.
I appreciate any help with this.
Debounce = false
script.Parent.Touched:Connect(function(H)
local Human = H.Parent:FindFirstChildOfClass("Humanoid")
if Human and not Debounce then
Debounce = true
H.Parent.HumanoidRootPart.Velocity = Vector3.new(0,script.Parent.Configurations.JumpForce.Value,0)
delay(3, function()
Debounce = false
end)
end
end)

3 comments
why not just set the velocity with one line instead of making a complicated script?
Nothing complicated about it. I need to have a debounce so the players don't jump continuously and I check if it's a humanoid actually touching the part. None of that affects the issue I am having. My issue is getting it to work in online mode right now it's only working in studio.
Add some prints?