#Shotgun won't fire

1 messages · Page 1 of 1 (latest)

faint shadow
#

i tried making a scattergun using fe gun kit and it just refuses to fire

#

output:

solemn plume
#

idk how to help with this, but that's a sick tf2 remake so far

faint shadow
#

thanks, its still in the very early stages

topaz lake
faint shadow
#

oh right i forgot to send it mb

#

line 3351 :

                            local X, Y = TempModule3.SpreadPattern[ii][1], TempModule3.SpreadPattern[ii][2]
                            local Pattern = CFrame.Angles(math.rad(Spread * Y / 50), math.rad(Spread * X / 50), 0)
                            cframe = cframe * Pattern
                            svCframe = svCframe * Pattern
                        else
                            local SpreadNormal = CFrame.Angles(math.rad(math.random(-Spread, Spread) / 50), math.rad(math.random(-Spread, Spread) / 50), 0)
                            cframe = cframe * SpreadNormal
                            svCframe = svCframe * SpreadNormal                                
                        end
#

line 4081 :

        OnFiring()
    elseif Input.UserInputType == Enum.UserInputType.MouseButton2 and CanADS then
        SetADS()
    end
    if InputType then
        if Input.KeyCode == Module[InputType].Reload then
            Reload()
        elseif Input.KeyCode == Module[InputType].HoldDown then
            OnHoldingDown()
        elseif Input.KeyCode == Module[InputType].Inspect then
            OnInspecting()
        elseif Input.KeyCode == Module[InputType].Switch then
            OnSwitching()
        elseif Input.KeyCode == Module[InputType].ToogleAim then
            SetADS()
        elseif Input.KeyCode == Module[InputType].Melee then
            OnMeleeAttacking()
        elseif Input.KeyCode == Module[InputType].AltFire then
            OnAlting()
        end            
    end
end

end)

hollow tapir
#

the blue text screenshot doesn't really help

#

wheres the red text

faint shadow
#

this is all i got from it

hollow tapir
faint shadow
#

wdym?

topaz lake
#

there, now debug

hollow tapir
#

Module is nil

faint shadow
topaz lake
#

instead of posting what i assume is part of the gun kit

#

can you script to a minimal extent?

faint shadow
#

i mean i know what some things do but i cant really script

topaz lake
#

yea gg

#

best i can tell you is rewatch the gun kit tutorial and pay attention closely

faint shadow
#

there is no tutorial

pastel tundra
#

Is that a free model? Why does it have the usual free model ammo counter

faint shadow
#

its fe gun kit

pastel tundra
#

Oh mb

#

Any errors?