#Pls remove shift lock (watch video)

1 messages · Page 1 of 1 (latest)

vestal estuary
marble sierra
#

.

vestal estuary
#

uhh

#

thank god i can see deleted messages

#

@heady kayak yes i asked chat gpt it didnt do nothing

#

oh its just a mod i have installed

#

no one else can see ur messages but me

#

the model i used was from roblox

#

i can send it to you

heady kayak
#

I mean now

#

verified

heady kayak
#

wow xD

#

but no need thanks

#

Anyways look

vestal estuary
#

i did what u said it didnt work

heady kayak
#

hm

#

mb

#

let me see then ig

silent marlinBOT
#

studio** You are now Level 2! **studio

vestal estuary
#

there is something in the gun thats making it shift lock

heady kayak
#

1 minute ig

heady kayak
vestal estuary
vestal estuary
#

like the gun disapeared after doing it

heady kayak
#

I am a little confused

#

So, you already have shift lock disabled in your game

#

but when you add the gun, it enables shift lock right?

vestal estuary
#

in the guns code

heady kayak
#

Ye so what I understood is correct right?

#

it's getting enabled by the gun

#

as you said so

#

can you send me the gun code so that I check it out

#

nvm you posted here

#

I will check it out

vestal estuary
vestal estuary
#

idk why

heady kayak
#

1 min

#

I was afk ehm

vestal estuary
heady kayak
vestal estuary
#

So did you fine the issue?

silent marlinBOT
#

studio** You are now Level 2! **studio

vestal estuary
#

like I mean you found a way to fix it

heady kayak
#

I am close

#

not yet

vestal estuary
#

ok thanks man

#

even if you can’t do it thanks for trying

vestal estuary
heady kayak
heady kayak
heady kayak
# vestal estuary Pls do ping me if you did do it

Yo, so I have been searching, and first thing I found is this script "ShoulderCamera" which modifies the camera

I also found in this script called "WeaponsSystem" the line which enables the camera once the player joins, it's line 186 as in the screenshots attached, I have commented it and the issue was fixed, I am not good in scripting but will try to make it only enable the camera when the player holds the shotgun

vestal estuary
#

thank you so much

#

i set the camera as false and it worked

#

thank you so much

heady kayak
#

My pleasure! : D

#

You are welcome

#

Thanks God it worked 😄

But uh btw the aiming with the shotgun is a little broken so I am trying to find a solution

heady kayak
# vestal estuary thank you so much

Honestly I can't really find a way to make the camera toggle when the player holds the shotgun, I tried many ways, including this script:

local thisTool = script.Parent




thisTool.Equipped:Connect(function()
    local WeaponsSystem = require(game.ReplicatedStorage.WeaponsSystem.WeaponsSystem)
    WeaponsSystem.ToggleCameraOn()
    print("TestOn")
end)

thisTool.Unequipped:Connect(function()
    local WeaponsSystem = require(game.ReplicatedStorage.WeaponsSystem.WeaponsSystem)
    WeaponsSystem.ToggleCameraOff()
    print("Test")
end)```

By adding this part in the WeaponsSystem module script:

```LUA

function ToggleCameraOn() 
    WeaponsSystem.camera:setEnabled(true)
end

function ToggleCameraOff() 
    WeaponsSystem.camera:setEnabled(false)
end```
#

but

#

I always get this error:

CameraGLGW:8: attempt to call a nil value

vestal estuary
#

Imma do it tmr

vestal estuary
#

idk i turned it to false then the shooting was bad

vestal estuary