#Balloon Script

7 messages · Page 1 of 1 (latest)

limpid vessel
#

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
limpid vessel
wanton heron
#

tho im pretty sure it could work either way lemme try

#

yea u can just put the script in a local script normally

wanton heron