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

How do I make a floating tool?

Asked by 10 years ago

Let´s say, I drop a tool and it floats, how do I make that? Please help.

1
Uh.. Well you could have a fuction which adds a bodyposition to it when it is dropped, and make it so it keeps the y axis constant? TomsGames 225 — 10y

1 answer

Log in to vote
3
Answered by
ImageLabel 1541 Moderation Voter
10 years ago

You can use CFrame.. You'd have to do something like

[Handle].CFrame=CFrame.new(game.Players.LocalPlayer.Character.Torso.Position.X,
    game.Players.LocalPlayer.Character.Torso.Position.Y,
game.Players.LocalPlayer.Character.Torso.Position.Z)

You'd have to mess with the axis and stuff..

or you could use body position.. I'm not sure how ;[

Ad

Answer this question