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

How to make a button that makes your character hover?

Asked by 5 years ago

Trying to make a script like in this game: https://www.roblox.com/games/2147708657/FAIRY-FOREST-STAR-SORORITY

If you click a button it makes your character hover above ground and welds 3D shoes to your feet to give an illusion of standing on heels. I've tried multiple morphing scripts but it just makes the shoes clip into the ground and act weird (even if CanCollide is on)

I honestly have the welding part all figured out but am still stuck on how to make your character hover when clicking a button. !heels clipping into floor

0
What your looking for is flight not hovering The_Pr0fessor 595 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

The button part is simple, however with my limited knowledge of scripting I apologize for not being able to answer the second part.

1: Create a ScreenGui inside StarterGui 2: Create a TextButton inside that ScreenGui 3: Add a LocalScript inside

LocalScript:

-- function

script.Parent.MouseButton1Click:Connect(function()

-- any code below, will be placed in effect once pressed.
-- this is where you would apply your "hover script"

--test
print("Clicked")

end)
Ad

Answer this question