of     1   

SatanVIII
#184798957Saturday, March 05, 2016 5:34 PM GMT

Equipped = script.Parent.Parent.Equip script.Parent.MouseButton1Click:connect(function(player) if player.leaderstats.Money >= 50 then player.leaderstats.Money = player.leaderstats.Money - 50 Equipped.Image = "rbxassetid://19283901" end end) its saying player is nil? I ᴄᴀɴᴛ ᴅʀᴏᴡɴ ᴍʏ ᴅᴇᴍᴏɴs ᴛʜᴇʏ ᴋɴᴏᴡ ʜᴏᴡ ᴛᴏ sᴡɪᴍ
TwistyTies
#184799320Saturday, March 05, 2016 5:39 PM GMT

>Make sure it's in a localscript local player = game.Players.LocalPlayer Equipped = script.Parent.Parent.Equip script.Parent.MouseButton1Click:connect(function(player) if player.leaderstats.Money >= 50 then player.leaderstats.Money = player.leaderstats.Money - 50 Equipped.Image = "rbxassetid://19283901" end end) If money grew on trees... It would be as valuable as leaves. | Twitter: @TwisterRBLX
SatanVIII
#184799565Saturday, March 05, 2016 5:42 PM GMT

12:41:31.476 - Players.Player.PlayerGui.Shop.Killer.BlackSword.LocalScript:5: attempt to compare number with userdata local player = game.Players.LocalPlayer Equipped = script.Parent.Parent.Equip script.Parent.MouseButton1Click:connect(function() if player.leaderstats.Money >= 50 then player.leaderstats.Money = player.leaderstats.Money - 50 Equipped.Image = "rbxassetid://18184867" end end) I ᴄᴀɴᴛ ᴅʀᴏᴡɴ ᴍʏ ᴅᴇᴍᴏɴs ᴛʜᴇʏ ᴋɴᴏᴡ ʜᴏᴡ ᴛᴏ sᴡɪᴍ
TwistyTies
#184799793Saturday, March 05, 2016 5:45 PM GMT

local player = game.Players.LocalPlayer Equipped = script.Parent.Parent.Equip script.Parent.MouseButton1Click:connect(function() if player.leaderstats.Money.Value >= 50 then player.leaderstats.Money.Value = player.leaderstats.Money.Value - 50 Equipped.Image = "rbxassetid://18184867" end end) If money grew on trees... It would be as valuable as leaves. | Twitter: @TwisterRBLX
LuluPls
#184800220Saturday, March 05, 2016 5:50 PM GMT

MouseButton1Click isn't an event, its Button1Down Equip isnt an event either, its Equipped
SatanVIII
#184800418Saturday, March 05, 2016 5:53 PM GMT

Equip is the name of one of my items. and MouseButton1Click is an event I ᴄᴀɴᴛ ᴅʀᴏᴡɴ ᴍʏ ᴅᴇᴍᴏɴs ᴛʜᴇʏ ᴋɴᴏᴡ ʜᴏᴡ ᴛᴏ sᴡɪᴍ
SatanVIII
#184800520Saturday, March 05, 2016 5:55 PM GMT

@Twister Thanks you fixed it. I ᴄᴀɴᴛ ᴅʀᴏᴡɴ ᴍʏ ᴅᴇᴍᴏɴs ᴛʜᴇʏ ᴋɴᴏᴡ ʜᴏᴡ ᴛᴏ sᴡɪᴍ
LuluPls
#184800554Saturday, March 05, 2016 5:55 PM GMT

https://gyazo(dot)com/0887c4a085b063acedb06e9c8336eda6 these are the only events for mouse

    of     1