hello! so i have this script for a balloon, and when you hold the tool it's supposed to make the player holding the script gravity to decrease, but it makes all players gravity decrease. and i'm sure i know why it doesn't that because i'm pretty sure ("Players") is what's doing it. but i genuinely don't know what else to put. can somebody help me? i'll attach a photo of what the setup for this tool looks like
local Players = game:GetService("Players")
-- Constants
local GRAVITY_REDUCTION = 85
local ORIGINAL_GRAVITY = workspace.Gravity
local function onEquipped()
local player = Players:GetPlayerFromCharacter(Tool.Parent)
if player then
workspace.Gravity = GRAVITY_REDUCTION
Tool.Unequipped:Wait()
workspace.Gravity = ORIGINAL_GRAVITY
end
end
Tool.Equipped:Connect(onEquipped)```
the disabled script is the script above ^
these scripts are in serverscriptservice