Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to make a stand behind your player? with vector 3

local repStorage = game:GetService("ReplicatedStorage")
local RemoteEventFolder = repStorage:WaitForChild("RemoteEvents")

local function SummonStand(plr)
	local Stand = repStorage.Stands.TheWorld.Stand:Clone()
	Stand.Parent = plr.Character
	Stand.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0,1,3)
end

RemoteEventFolder.SummonStand.OnServerEvent:Connect(SummonStand)

tried this script but vector 3 is not a valid member vector 3

Im kinda bad at vector3 and that type of stuff

Also will i need to take into the orienation of the player or is that not nessary

1 comment

0

Oh wait, is your stand a model?

1 answer

I think the stand is a model so you have to get the position of one of its parts not the whole model itself

2 comments

0

thats not it its a vector 3 error its something with the humanoidrootpart of the character

0

wait actully ur right

This discussion is preserved as it was. New answers, comments, and votes are closed.