So, I know there’s probably a really simple answer to this question, and I feel embarrassed to have to be asking this, but how can I make a brick that will make the player jump upon touching it? I’m not good at scripting, and I can’t seem to find a way to do it. I’ve looked online but nothing really helps.
script.Parent.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
player.Character.Humanoid.Jump = true
end
end)