Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

The decal change script is not working?

Hello, I wanted to ask why my script is not working. I put this script into the "Server Script Service" and I don't know why it doesn't work in advance, thanks in advance.

god = game.Players.DontBlinkDrWho 
function onChatted(msg)
	if msg == "!Change" then
		game.Workspace.alertzone.Decal.Transparency = "7726603141"
	end 
end 

god.Chatted:connect(onChatted) 

Thanks

1 answer

✓ Accepted answer

You forgot to add to id rbxassetid://, here's the working code Also you was trying to change Trasnparency.

god = game.Players.DontBlinkDrWho 
function onChatted(msg)
    if msg == "!Change" then
        game.Workspace.alertzone.Decal.Texture = "rbxassetid://7726603141"
    end 
end 

god.Chatted:connect(onChatted) 

3 comments

0

thanks

0

Mark it as the answer ?

0

Not working and i have a question Where i must put this?

This discussion is preserved as it was. New answers, comments, and votes are closed.