Hello, I Really Need Help With This Script Cause Im Making A Simulator Game And I Was Wondering If Anyone Could Add A OP Leaderstats giver ont his one. And We Can Select The Players. For Example : "iamastaffmember" Like That!

local db = false
local tool = script.Parent
repeat wait() until tool.Parent.Parent:IsA("Player")
local plr = tool.Parent.Parent
local character = plr.Character
	 
tool.Activated:Connect(function()
	if not db then
	      db = true
	       plr.leaderstats.Technology.Value = plr.leaderstats.Technology.Value + 1
	       wait(1)
	       db = false
	   end
	end)

Thanks!

2 comments

0

what exactaly you want? Can you explain a bit more?

0

If We add A Name On The Script Like : "ROBLOX" the player gets 500000 Of The leaderstats