Hey,
Note: I am a very advanced scripter, so don't be afraid do use complex grammar and/or scripting terminology.
I was wondering how to make players have a 3D part/model in their guis? I've seen many games having it. I've tried making the part offset in front of the camera, then realized that it could still affect the player.
My Code:
repeat wait() until script.Parent.Parent.Character local part = Instance.new("Part",game.Workspace) part.Anchored = true part.CanCollide = false local char = script.Parent.Parent.Character local cam = game.Workspace.CurrentCamera local mouse = game.Players.LocalPlayer:GetMouse() game.Players.LocalPlayer.CameraMode = "LockFirstPerson" cam.Changed:connect(function() part.CFrame = cam.CoordinateFrame + (cam.CoordinateFrame.lookVector*2) end)
If anyone out there know how to help, I'd be very appreciative.
Thanks ~ObscureEntity