So I have a ROBLOX Build Battle game, with my custom stamper tool. It works all good and well, but it is WAY too precise. It's about 1 stud precision, which is WAY too much! The code snippet (below) should help, but I want to know if it is possible to use LESS precision, SH was a last resource, because i've tried almost everything else.
round = function(num) return math.floor(num) -- Here is the function I would like to change end local sel = game.Lighting.SEL:Clone() sel.Parent = game.Players.LocalPlayer.Character m.Move:connect(function() if mode == "place" then sel.Box.Transparency = 0 sel.Position = Vector3.new(0,2.25,0) + Vector3.new(round(m.Hit.X),round(m.Hit.Y),round(m.Hit.Z)) print(sel.Position) elseif mode == "delete" then if m.Target.ClassName == "Part" and m.Target.Name == "Part" and not m.Target.Locked then script.Parent.Selector.Adornee = m.Target script.Parent.Selector.TargetSurface = m.TargetSurface sel.Box.Transparency = 1 elseif mode == "select" then if m.Target.ClassName == "Part" and m.Target.Name == "Part" and not m.Target.Locked then script.Parent.Selector.Adornee = m.Target sel.Box.Transparency = 1 end end end end)

1 comment
Thanks! I'll try this out, if it works I'll accept this answer.