Forum > Scripts >

(HELP) I need Help with a Script

Posts: 6

Threads: 3

Joined: Sep, 2022

Reputation: 0

Posted

I need Help. 

 

local item = game:GetService("Players").zockerhd26.currentSwordEquipped.Value

 

_G.lift = true 

while _G.lift == true do

local args = {

    [1] = item

}

 

game:GetService("ReplicatedStorage").Events.RemoteEvents.GiveSword:FireServer(unpack(args))

wait()

end

 

how do i check when local item changes? because when it change the value (sword) it still does the old one

  • 0

icedmilke222

Squidward

Posts: 51

Threads: 15

Joined: May, 2022

Reputation: 2

Replied

Idk if this would help

but Instance.Changed might work,

https://developer.roblox.com/en-us/api-reference/event/Instance/Changed

  • 0

what sup

i lo re c++

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )