I’ve been trying to make a placeable flag for a long time and I can’t. I tried this script
local part11 = game.Workspace.Part11 local PlacePoint1 = part11:WaitForChild("PlacePoint1") local FlagModel = game.ServerStorage:WaitForChild("FlagModel") local function onPromptActivated(activator) print("onPromptActivated called with activator:", activator) local tool = activator.Backpack:FindFirstChild("Flag") if tool then local flag = FlagModel:Clone() flag.Parent = PlacePoint1 end end local prompt = game.Workspace.PrisonDoor.Door.PromptAttachment.ProximityPrompt prompt.Activated:Connect(onPromptActivated)
if anyone can fix it or tell me another method please do.
New contributor
Walrus25 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.