Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to make a hover device? (video linked)

Asked by 3 years ago

Video: https://www.youtube.com/watch?v=f9irPras66c

Timestamps: 18:35 - 19:02

(Without buttons)

1 answer

Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

You can make it so that the part or device is always a certain amount up the Y axis

Ex.

local RunService = game:GetService('RunService') -- faster than wait()
local part = -- your part
local baseplate = workspace.Baseplate -- optional, where do you want to compare the vector3 from?

RunService.Heartbeat:Connect(function() -- the middle of a frame (1/60th of a second)
    part.Position = Vector3.new(part.Position.X,baseplate.Position.Y + 10,part.Position.Z) -- basically the parts position but it is 10 studs up from the baseplate
end)

This would be a server script in workspace...hope this helps and if not I hope it leads you in the right direction

EDIT: VIDEO TUTORIAL: https://youtu.be/wVTAgxptjAw

0
I want the player to be able to stand on it and ride it using the controls w,a,s,d (q & e height controls) Philipceo90 18 — 3y
0
OH. Okay you would need to use InputService for the q & e part, and then if you want the device to move along with the player then you would just copy where the player goes, but always have under the player. Hold on i will make a script Omq_ItzJasmin 666 — 3y
0
https://web.roblox.com/games/6733616344/helloooooooo Here is an open studio game so you can copy: i will also put the scripts in my answer Omq_ItzJasmin 666 — 3y
1
interesting tutorial. Speedmask 661 — 3y
Ad

Answer this question