I tried
local function epicvbuck(objecttouched ,toucher)
print("whateva")
objecttouched.Anchored = false
end
game.Players.LocalPlayer.Character.Humanoid.Touched:Connect()(epicvbuck)
this but in output whenever I touch something it reads "attempt to read a nil value"
it only prints "whateva" one time then stops I would also like to refer to the whole player not a single bodypart
I want it whenevera player touches any brick itll unanchor and fall i dont want to have to copy and paste a touched script into every single part in my game thanks in advance

1 comment
GetPlayerFromCharacter(), also, don't use Touched on the client. Use it on the server.