local player = game.Players.LocalPlayer
local reloadAnim = tool.Animations.R6GlockReload
local reloadSound = tool.Animations.ReloadSound
local reloadEvent = local reloadEvent = replicatedstorage.glockEvents.ReloadEvent
function reload()
if ammo.Value ~= ammoCapacityStat then
local ammoToTake = ammoCapacityStat - ammo.Value
if reserveAmmo.Value <= 0 then
print("no reserve")
else
if reloading == false then
reloading = true
reloadEvent:FireServer(player,reloadAnim,reloadSound)
Hey guys im trying to send this data to a server script to play a reload animation and reload sound from the server
replicatedStorage.glockEvents.ReloadEvent.OnServerEvent:Connect(function(player,reloadAnim,reloadSound)
print (player)
print (reloadAnim)
print (reloadSound)
However when this second script outputs instead of outputting like this as i would expect:
StarDestroy, R6GlockReload, ReloadSound
it outputs like this instead
StarDestroy, StarDestroy, R6GlockReload
To me it seems like the script is mixing up the parameters and i don't understand why. I even have this same setup in another part of my script and it works fine. How can i solve this?

2 comments
ah that makes sense thanks man
no probss!