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

Hello! Could I Get Some Help With This BackPack Script In A Gui?

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local laser = ReplicatedStorage.LaserTool
local classic = ReplicatedStorage.ClassicTool

script.Parent.MouseButton1Click:Connect(function(Player)
	if game.Workspace.ColorBrick.BrickColor == BrickColor.new("Really red") then
		local laserclone = laser:Clone()
		laserclone.Parent = Player.Backpack
		script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Backpack.Highlighter:Destroy()
		laserclone.Name = "InsertGoodName"
	end

im trying to make it that when It Changes A Color It Gives The Player A Tool

2 comments

1 answer

hey!! I think I know a way to help you. https://www.youtube.com/watch?v=jFt7PzfTF7s. this video is about how to create backpack gui scripts. please accept my answer if you think you like this video. if you have any more further question even after watching the video, please message me on roblox.

I hope this helped!!

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