Why is my current method for trying to stop a player from moving not working, or if there are any better alternatives please let me know.
script.Parent.RasenganActivate.OnServerEvent:Connect(function(player)
player.Character.Rasengan.Handle.Transparency = 0.3
player.Character.Rasengan.Part.Transparency = 0.3
for i, v in pairs(player:GetChildren()) do
if v:IsA("Part")then
v.Anchored = true
end
end