Roblox script
-
local part = script.Parent.Parent --Сам парт
local monster = workspace.ghost --Монстр
local startpos = Vector3(0,0,0) --Позиция стартовая
local endpos = Vector3(0,0,0) --Позиция конечная
local sound = script.Parent
local runcount = 0function monsteron()
if runcount == 0 then
monster.CFrame = Vector3.new(startpos)
wait(0.5)
monster.CFrame = Vector3.new(endpos)
sound.Playing = true
end
runcount = runcount + 1
endpart.Touched:Connect(monsteron)
-
For those of us Notepad++ users who don’t know Roblox, how is this funny and Notepad++ related?