I have it so a billboard goes to my character and I have it so it should connect mousebutton1click but for some reason it does not work
local NetWork = require(game.ReplicatedStorage.NetWork)
local CharNV = require(script.Parent.CharNetVars)
--
CharNV.CharAssets.ArrestGUI.Parent = script.Parent
script.Parent.ArrestGUI.AddFeatures.Handcuff.MouseButton1Click:connect(function(plr)
print("Clicked")
print(plr.Character.CharacterSettings.Cop.Value)
if plr.Character.CharacterSettings.Cop.Value == true then
CharNV.CharHumanoid.WalkSpeed = 0
CharNV.CharHumanoid.JumpPower = 0
script.Parent.UpperTorso.ArrestGUI.AddFeatures.Visable = false
script.Parent.UpperTorso.ArrestGUI.RemoveFeatures.Visable = true
end
end)
script.Parent.ArrestGUI.AddFeatures.Handcuff.MouseButton1Click:connect(function(plr)
print("Clicked")
print(plr.Character.CharacterSettings.Cop.Value)
if plr.Character.CharacterSettings.Cop.Value == true then
CharNV.CharHumanoid.WalkSpeed = 16
CharNV.CharHumanoid.JumpPower = 15
script.Parent.ArrestGUI.AddFeatures.Visable = true
script.Parent.ArrestGUI.RemoveFeatures.Visable = false
end
end)

1 comment
i'm not so sure about this, because I've never used the "require" statement, but maybe it is the fact that you are using the require statement and NOT just saying it out in the open?