I want to make a script where the floor becomes slippery but when i run it, it says "friction cannot be assigned to" I am very confused, This is my script.
local RandomNumber = math.random (1,1)
if RandomNumber == 1 then
game.Workspace.Baseplate.Material = "Ice"
game.Workspace.Baseplate.CustomPhysicalProperties.Friction = 0
game.Workspace.Baseplate.CustomPhysicalProperties.FrictionWeight = 100
end

1 comment
THANK YOU!!