Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
hokyboy 270 Moderation Voter
4 years ago
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

0
Oh wait, is your stand a model? Pidgeyottoe 1 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

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

0
thats not it its a vector 3 error its something with the humanoidrootpart of the character hokyboy 270 — 4y
0
wait actully ur right hokyboy 270 — 4y
Ad

Answer this question