Way to automatically mount skateboard?

As the title implies, i’d like the character to mount the skateboard without touching it. is this possible?

What normally makes the player mount the skateboard? Does the touched event fire something?

Would you like the character to mount the skateboard by clicking on it? Do you just want it to be within a specific range?

Yes, the SkateboardPlatform's ‘Touched’ event/signal welds the ‘SkateboardPlatform’ to the touching character.

Any method without physically touching the board with your player model.

If you were to do it with a ProximityPrompt for pressing E it would be:
Local Script:

local Player = game:GetService("Players").LocalPlayer
local ProximityPromptService = game:GetService("ProximityPromptService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEvent")
local Skateboard = game.Workspace.Skateboard -- or whatever skateboard is
local SkatePrompt = Instance.new("ProximityPrompt")
SkatePrompt.Parent = Skateboard
-- here you could change whatever preferences you want about the prompt

Server Script:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvent = Instance.new("RemoteEvent", ReplicatedStorage)

function WeldSkateboard(player)
	 --weld player to the skateboard here

If you want this to be on a mouse click I can write that as well.

Would welding the character to the board automatically enable the controls to the board?

Could you show me what you have for your controls so I can better understand you question?

I’m using roblox’s deprecated SkateboardPlatform.

By connecting it to your object, does it automatically connect?

When a SkateboardPlatform is touched, it locks you to the platform. i was just inquiring if there was an alternative way to lock to the board without touching it.

i think i figured something out, however.

Could you send me your code? This would help me understand this better. Or an example of it***

Nevermind, i figured out my issue… or at least an alternative to the desired solution.

1 Like