So… I Made A Text Label Updates The Text With Your Postion But…
This What Happened…
How to Make My Position Shorter?
Script I Made:
wait(5)
while true do
script.Parent.Text = tostring(game.Players.LocalPlayer.Character.PrimaryPart.Position)
wait(0.1)
end
1 Like
local Vector = game.Players.LocalPlayer.Character.PrimaryPart.Position
local x,y,z = math.ceil(Vector.X),math.ceil(Vector.Y),math.ceil(Vector.Z)
print(x,y,z)
2 Likes
By The Way What Does math.ceil()
Do?
1 Like
Grabs a float number like 52.843516 , and takes it to the next int number which would be 53.
math.floor does the opposite, bringing the number to down, while ceil brings the number up
1 Like
system
(system)
Closed
February 4, 2023, 11:26am
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.