Ok so I have a textbutton in a gui that when clicked, its supposed to check if a boolvalue in the player is true, and if so it will clone a specified tool from replicated storage, but it doesnt work. Any ideas why? Script:
script.Parent.MouseButton1Down:Connect(function()
local player = game.Players.LocalPlayer
local Sharingan = game.ReplicatedStorage.KG:FindFirstChild("Itachi Mangekyou"):Clone()
local ItaShar = player.KGvalues:FindFirstChild("Sharingan")
ItaShar:GetPropertyChangedSignal("Value"):Connect(function()
if ItaShar.Value == true then
Sharingan.Parent = player.Backpack
end
end)
end)
Its in a localscript btw

1 comment
Oh ok, ill try it