Hello, I finally did it. Sorry for the very long delay.
It didn’t work. I tried including a print(“testing”) to see if it works when I say the specific word. It also printed the word, but there is no errors.
I’m a bit lost right now. If anybody can find an error in my script, please tell me.
local Debounce = true
local Pillar = script.Parent:WaitForChild("Pillar")
local function Up()
Pillar.CFrame = CFrame.new(Pillar.Position) + Vector3.new(0,.5,0)
end
game.Players.PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(massage)
if massage == "dragon1" and Debounce then
Debounce = false
for i = 1,3000 do
Up()
wait()
end
Debounce = true
end
end)
end)
I have a feeling the pillar is being destroyed at runtime. This could be due to unanchored, non-collidable base parts. Just as a check. Add a script into the workspace and print the parts name on runtime.
Try what? I’m a bit confused though. Maybe it’s because I’m reading this in the middle of the night, but I’m not sure I understand. Could you elaborate?