Works now :) (Posted as a comment)
When a decal is inside the part, I want this script to check if the part has a value inside it.
If not, create a value.
Thats it.
Full Script
repeat wait()
until
script.Parent:FindFirstChildOfClass("Decal") ~= nil
and script.Parent:FindFirstChildOfClass("Decal"):FindFirstChildOfClass("StringValue") == nil
--while true do
wait(2)
local f = Instance.new("StringValue")
f.Name = "House"
f.Value = "b1"
f.Parent = script.Parent:FindFirstChildOfClass("Decal")
--end
This script creates a string, but if I remove the created string, it doesnt create another one.
Another attempt just creates the string every 2 seconds.

2 comments
Hey. It didn't work, but I managed to alter it a bit and it now works perfectly. :)
No problem! Glad to help.