How can I make it so I can ride a Snowboard?

I’m trying to make it so I can stand on a snowboard I already have my snowboard moving I just need to be able to ride it I tried placing a seat and playing an animation but that didn’t work. How could I be able to ride my snowboard?

video https://gyazo.com/20f25646c9f214d747ba23a6e2fbf36d

1 Like

This has no context what so ever, please explain further on if you made the snowboard, the values, the current scripting, etc.

1 Like

I just need to know what stuff I could be using to make it so I can ride my snowboard

1 Like

You need to detect when they stand on your snowboard, than assign the ownership or what not, it really depends on your script but we have been given no information. :thinking:

1 Like

I dont have a script to detect when someone is standing on it

Well you can detect if a player touched the board with the touched event. Then, you can change their position and anchor them.

If you anchor them that freezes the board then the bodyvelocity will not work

1 Like

I have this https://gyazo.com/20f25646c9f214d747ba23a6e2fbf36d but i’m sitting not standing and I want to be able to stand

1 Like

Do you have a seat on the board??

1 Like

You’d probably need to use ContextActionService/UserInputService for this on a LocalScript, & replicate the effects with a RemoteEvent so that it’s visible server-sided

  • ContextActionService will allow you to create your own custom actions
  • UserInputService will detect any Inputs made by the Local Player
  • RemoteEvents can be used to transfer stuff from the client, to the server

Yes I do someone told me I could play an animation while sitting and make it look I would be standing but that didn’t work

I’m using these two
Maybe ContextActionService will make it work

Keep in mind that you’ll also need to adjust the BodyVelocity whenever a key is pressed for the Input Services to detect

Probably something like this:

local UIS = game:GetService("UserInputService")
local MovementVelocity = workspace.Snowboard.BodyVelocity

UIS.InputBegan:Connect(function(Key, Chatted)
    if Chatted then
        return
    end

    if Key.KeyCode == Enum.KeyCode.A then --Left
        MovementVelocity.Velocity = Vector3.new(20, 0, 0)
    end
end)

May wanna use a BodyForce possibly?

I’ve already have done that
My board moves just fine i just want to be able to stand on it

If you want to achieve a ROBLOX Skateboard like stand, you can use this:

Humanoid.PlatformStand = true

After that, you can use a Local Script to detect if the Player is on the Snowboard:

UIS.InputBegan:Connect(function(Input, GameProcessed)
if Humanoid.PlatformStand = true then
-- Do Stuff
end
end)

We need more context. We really can’t help you if you ask a question like “How can I make a Snowboard”. However, we can help with the issues you will run into while making the snowboard. Developing in Roblox doesn’t have one central thread, it’s a bunch of tools that if used right create the right outcome!

Alright, do you think you could follow my posts to see when I post to help me with errors, I’ve already encountered a bunch of errors so far.

I just get the error attempt to index nill with ‘CharacterAdded’

local Player = game:GetService("Players").LocalPlayer;
local Character = Player.CharacterAdded:Wait();
local humanoid = Character.Humanoid

humanoid.PlatformStand = true

This is in a local script, right?

No, Just made it LocalScript but I don’t get a skateboard stance.
image

local Player = game:GetService("Players").LocalPlayer;
local Character = Player.CharacterAdded:Wait();
local humanoid = Character.Humanoid

humanoid.PlatformStand = true