I have code that breaks a weld from the player:
01 | local ReplicatedStorage = game:GetService( "ReplicatedStorage" ) |
03 | local createPartEvent = ReplicatedStorage:WaitForChild( "CreatePartEvent" ) |
07 | local player = game.Players.LocalPlayer |
09 | local mouse = player:GetMouse() |
17 | mouse.Button 3 Down:Connect( function () |
19 | if game.workspace.Values.have.Value = = 1 then |
21 | game.workspace.Values.have.Value = 0 |
23 | createPartEvent:FireServer() |
25 | player.Character.Weld:Destroy() |
I put button3down, it is wrong. How do you detect it??