First of all I want to say that I used two codes and both of them don't work in team test but do in solo. Both do the same function but written differently. My partner and I believe it's roblox updates but are not sure.. Please help.
script.Parent.Touched:connect(function(dood)
if dood.Parent and dood.Parent:FindFirstChild("Humanoid") then
dood.Parent.Torso.Velocity = Vector3.new(0,250,0)
end
end)
And
v = 250
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(0,v,0)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)

1 comment
Try just using velocity setting(I think that's the name) for the trampoline. It's under properties and it worked for my trampoline game. Hope this helps!