game:GetService("Players").PlayerAdded:connect(function(Player)
Player.Chatted:connect(function(Message)
if Message == "joe mama" then
game.Workspace.Sounds.TP:Play()
local Gate = Instance.new("Part",game.Workspace)
local Humanoid = Player.Character.HumanoidRootPart -- this probably has something to do with it
Gate.Anchored = true
Gate.Material = Enum.Material.Neon
Gate.BrickColor = BrickColor.new("Institutional white")
Gate.Position = Humanoid.Position -- how do i make this be below the humanoid
Gate.Shape = Enum.PartType.Cylinder
Gate.Size = Vector3.new(0.05, 8.8, 5.39)
Gate.Orientation = Vector3.new(0, 0, -90)
end
end)
end)
✓ ANSWER ACCEPTED
How do I create a instance that is below my humanoid?
1 answer
✓ Accepted answer
Try this.
game:GetService("Players").PlayerAdded:connect(function(Player)
Player.Chatted:connect(function(Message)
if Message == "joe mama" then
game.Workspace.Sounds.TP:Play()
local Gate = Instance.new("Part",game.Workspace)
local Humanoid = Player.Character.HumanoidRootPart -- this probably has something to do with it
Gate.Anchored = true
Gate.Material = Enum.Material.Neon
Gate.BrickColor = BrickColor.new("Institutional white")
Gate.CFrame = Humanoid.CFrame + Vector3.new(0, 3, 0)
Gate.Shape = Enum.PartType.Cylinder
Gate.Size = Vector3.new(0.05, 8.8, 5.39)
Gate.Orientation = Vector3.new(0, 0, -90)
end
end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
https://i.gyazo.com/8f139f5a41432f0f93764408010fefd3.png
example of what i need