I want to destroy the gravity controller script for that player only when that player touchs the floor part anyone know how I can fix this? I dont want the gravity controller deleted for everyone though, just for that player!
local part = script.Parent
part.Touched:Connect(function(hit)
if part.Name == "Floor" then
script.GravityController:Destroy()
end
end)

2 comments
gravity controller is script..
the gravity controller is a script