someone made this following script for me:
local part = workspace["boxthing"]
local Player = game.Players.LocalPlayer
local character = Player.Character
con = game:GetService("RunService").RenderStepped:Connect(function()
part.Position = Vector3.new(character.HumanoidRootPart.Position.X,part.Position.Y,character.HumanoidRootPart.Position.Z)
end)
the issue is it doesnt interact with other things properly (this is in the StarterCharacterScripts) because its local, could someone rewrite this to be server-based? (max players per server is 1)