HumanoidRootPart is not a valid member of Model "Workspace.Model"

You can write your topic however you want, but you need to answer these questions:

  1. **What do you want to achieve?
    A jump pad

  2. What is the issue?
    The issue is it keeps showing an error when it works.

HumanoidRootPart is not a valid member of Model “Workspace.Model”

  1. What solutions have you tried so far?

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

script.Parent.Touched:Connect(function(h)
	h.Parent.HumanoidRootPart.Velocity = Vector3.new(0,100,0)
end)

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

You need to check if the HumanoidRootPart exists.

script.Parent.Touched:Connect(function(h)
if h.Parent:FindFirstChild("HumanoidRootPart") then
	h.Parent.HumanoidRootPart.Velocity = Vector3.new(0,100,0)
end
end)

It works and then after it doesn’t

u need to check if the hit.Parent is a player

script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("HumanoidRootPart") then
        hit.Parent.HumanoidRootPart.Velocity = Vector3.new(0, 100, 0)
    end
end)

What do you mean, can you be more specific please.

This is what happens
it works
https://gyazo.com/9d85f1849e6eb41afb34e4c9a6764cdc
then it doesn’t
https://gyazo.com/6b3f0a836a071f988636728198a931c0

Are there any errors? So it works a few times then stops working?

There are no errors, it works a few times and then doesn’t

use bodyforce/velocity instead of .Velocity

Consider making use of print() to print things like the part that touched the jumppad. It makes debugging much easier.

v3 = Vector3
local velocity = Instance.new('BodyVelocity',hrp)
velocity.Velocity = v3.new(0,100,0)
game:GetService('Debris'):AddItem(velocity,.3)

Just check if the one that touched the jump pad is a player, then proceed with changing the Velocity of the HumanoidRootPart.

local Players = game:GetService("Players")
script.Parent.Touched:Connect(function(hit)
        local Character = hit.Parent
        if Character ~= nil and Players:GetPlayerFromCharacter(Character) then
               Character.HumanoidRootPart.Velocity = Vector3.new(0,100,0)
        end
end)