Ad
Log in to vote
0

I'm making a Roblox JoJo game and I don't know how to fix fireserver, can someone help me?

Asked by 16 days ago

Script :local mainFolder = game.ReplicatedStorage.StandFolder

local Summon = mainFolder.RemoteEvents.Summon local Punching = mainFolder.RemoteEvents.Punching

local UIS = game:GetService("UserInputService")

local summonDebounce = false local isActive = false local Attack = false

local resetTime = 0 local nextCombo = 1

UIS.InputBegan:Connect(function(key) if key.KeyCode == Enum.KeyCode.Q then if summonDebounce == false and isActive == false then summonDebounce = true isActive = true

        Summon:FireServer(isActive)
        wait(1.55)
        summonDebounce = false
    elseif summonDebounce == false and isActive == true then
        summonDebounce = true
        isActive = false

        Summon:FireServer(isActive)
        wait(1.55)
        summonDebounce = false
    end
elseif key.UserInputType == Enum.UserInputType.MouseButton1 then
    if isActive == true and Attack == false then
        Attack = true

        resetTime = tick()

        if nextCombo > 3 then
            nextCombo = 1
        end

        local current = nextCombo
        nextCombo += 1

        Punching:Fireserver(current)

        if nextCombo > 3 then
            wait(0.2)
        end

        wait(0.6)

        Attack = false

        wait(2)

        if tick() - resetTime >= 1.5 then
            nextCombo = 1
        end
    end
end

end)

And i get 19:09:32.306 Baseplate auto-recovery file was created - Studio 19:09:35.570 Fireserver is not a valid member of RemoteEvent "ReplicatedStorage.StandFolder.RemoteEvents.Punching" - Client - Summon:45 19:09:35.570 Stack Begin - Studio 19:09:35.570 Script 'Players.Kazibit.Backpack.Summon', Line 45 - Studio - Summon:45 19:09:35.570 Stack End - Studio 19:09:38.451 Disconnect from ::ffff:127.0.0.1|59898 - Studio from output

0
I also want to say im following a tutorial on this and its not my code which is why i cannot fix it myself Kazibit 0 — 16d
0
Try messaging the creator of the tutorial theking66hayday 119 — 16d
0
If you want, I can help you script for your jojo game. As for the script, I don't see where the problem is but I have some advice. Store your debounces and everything on the server, not the localscripts, or exploiters will be able to use nocooldown. If you want to talk, im iNi#2238 Kingu_Criminal 111 — 15d

Answer this question