i want it so if you say cake, a part that was following you the whole time become visible and unanchored?
my script doesn't seem to work..
local Prefix = "." local head = script.Parent:WaitForChild("Head") if msg:lower() == Prefix .. "cake" then head.Anchored = false head.Transparency = 0 script.Parent.Touched:connect(onTouched) local h = part.Parent:findFirstChild("Humanoid") if h then h.Health = h.MaxHealth wait(2) game.Workspace.Cake:Destroy() end end end) end end) end
Closed as Not Constructive by Griffi0n, User#20388, Thundermaker300, and User#21908
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?