iirc, Your can Just do humanoid.Jump = true you might want to set the gravity lower to make the player jump higher.
If you don’t want to do that though you can set the velocity on the y axis on the gel to be equal to some number (Like 300, or 400, or something). Make sure the gel part is anchored to do this.
ok im gonna try that, but hey uh do i use the humanoid jump true thing directly or i use it on a script that has on touch function thingy? (sorry im a beginner to scripts)
gel.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
humanoid.Jump = true
workspace.Gravity = 196.2 -- Set this to whatever you want though
elseif hit.Parent.Parent:FindFirstChild("Humanoid") then
humanoid.Jump = true
workspace.Gravity = 196.2 -- Set this to whatever you want though
end
end)
gel.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent:FindFirstChild("Humanoid").Jump = true
workspace.Gravity = 196.2 -- Set this to whatever you want though
elseif hit.Parent.Parent:FindFirstChild("Humanoid") then
hit.Parent.Parent:FindFirstChild("Humanoid").Jump = true
workspace.Gravity = 196.2 -- Set this to whatever you want though
end
end)