-
What do you want to achieve? Make my character untouchable.
-
What is the issue? Im trying to make my character untouchable using CanTouch = false but its not working.
-
What solutions have you tried so far? I tried to set the HumanoidRootPart CanTouch = false but it din’t working.
robloxapp-20221006-2042580.wmv (677.3 KB)
script:
local event = game.ReplicatedStorage:WaitForChild("JoinEvent")
event.OnServerEvent:Connect(function(player)
local char = player.Character
char["HumanoidRootPart"].CanTouch = false
end)
Why this isn’t working?