#i need help looking over this script

3 messages · Page 1 of 1 (latest)

noble hare
#

local plr = game:GetService("Players").LocalPlayer
local ClicktoGainJump = script.Parent
local Power = plr.leaderstats.Power

ClicktoGainJump.Activated:Connect(function()
Power.Value = Power.Value + 1
end)

vocal lark
#
local Players = game:GetService("Players")

local localPlayer = Players.LocalPlayer

local button = script.Parent

button.Activated:Connect(function()
        localPlayer.leaderstats.Power.Value += 1
end)