#Bug when grabbing a player with weld.
6 messages · Page 1 of 1 (latest)
also the hitbox has collide and query off and massless on
LocalScript for the player that got grabbed:
local inGrabEvent = game.ReplicatedStorage.Events.InGrab
local controls = require(plr.PlayerScripts:WaitForChild("PlayerModule")):GetControls()---GetControls
local function setGrab(isGrabbed)
if isGrabbed then
plr.Character:FindFirstChild("Humanoid").AutoRotate = false
controls:Disable()
else
plr.Character:FindFirstChild("Humanoid").AutoRotate = true
controls:Enable()
end
end
inGrabEvent.OnClientEvent:Connect(function(isGrabbed)
setGrab(isGrabbed)
end)```
network ownership
bascially what is doing the pyshics calculations so in this case the player being grabbed is still doing their own movement when it should be transfered to the person who has grabbed them