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

?Trying To Make It So That When Color Is Red It Gives A Player An Item And Deletes An Old Item

script.Parent.MouseButton1Click:Connect(function(Player)
	if game.Workspace.SeesWhatHighlighterYouChoseDuring.BrickColor == 
BrickColor.new("Really red") then
		local laser = game.ReplicatedStorage.HighlighterWithLaserBackSights:Clone()
		laser.Parent = Player.BackPack
		Player.BackPack.Highlighter:Destroy()
		laser.Name = "Highlighter"
	end

1 answer

I dont think that you have mentioned the part where you have to delte old stuff and give new ones

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