#Scripts not working when equipped using a gui

1 messages · Page 1 of 1 (latest)

twilit dagger
#

So i have a custom inventory for swords and when i equip it and try attacking something the audio in it doesn't play and it does not damage

wary pecan
#

Ok

twilit dagger
lean spear
#

@twilit dagger

#

try maybe changing the way you made the sound play?

#

idk how since im a beginner but im pretty sure that works

twilit dagger
#

it works just fine whenever used in the starterpack but when trying to clone it through a gui it does not

crude ether
#

just dont send us the script then

#

👍

tulip estuary
#

Also

twilit dagger
tulip estuary
twilit dagger
tulip estuary
#

Localscripts dont get registered on the server

twilit dagger
#

oh

tulip estuary
#

Ao if it's a serverscriptnin the tool it won't work

twilit dagger
#

ohh

tulip estuary
#

If you want to understand more when testing you can switch to server mode and look in the char

#

The tool won't be there

twilit dagger
#

let me try

cunning acornBOT
#

studio** You are now Level 1! **studio

twilit dagger
#

your rightt

twilit dagger
tulip estuary
#

Like

#
--localscript
Event:FireServer(tool)

-- receiving end

Event.OnServerEvent:Connect(function(plr, tool)
--equip it here
end)
cunning acornBOT
#

studio** You are now Level 8! **studio

wary pecan
twilit dagger
tulip estuary
twilit dagger
tulip estuary
lavish talon
cunning acornBOT
#

studio** You are now Level 1! **studio

lavish talon
#

😭

tulip estuary
lavish talon
twilit dagger
lavish talon