I need helping scripting a face changer gui, how do I use the removevent functions and what would I put in it?

This is what I have so far,

`wait()
local player = game.Players.LocalPlayer
local button = script.Parent
local title = button:WaitForChild("Title")
local facename = button:WaitForChild("FaceName")
local imageid = button:WaitForChild("ImageID")

title.Text = facename.Value
button.Image = "rbxassetid://" ..imageid.Value

button.MouseButton1Click:connect(function()
	local char = player.Character
	local face = char:WaitForChild("Head").face
	face.Texture = "rbxassetid://" ..imageid.Value
end)`

for my facechangergui. I have value id's and ect. setup. How would I rework it so the events can work?

1 comment

0

Try http://www.roblox.com/asset/?id= Instead of rbxassetid://