local script:
local repstore = game:GetService("ReplicatedStorage") local remote = repstore:WaitForChild("RemoteEvent") if game.Workspace.Gravity == 0 then remote:FireServer() end
server script:
local rep = game:GetService("ReplicatedStorage") local remote = rep:WaitForChild("RemoteEvent") remote.OnServerEvent:Connect(function(player) game.Workspace.world_kiIIer.HumanoidRootPart.CFrame = CFrame.new(1 ,1 ,1) print(player.name.." activated") end)
server script is in serverscriptservice and the local script is in StarterPack
planning to make it a text command but i cant make it work at all