frame = script.Parent:WaitForChild("Frame")
local Power = game.Workspace:WaitForChild("Powers").HOHPower
local Enabled = true
Power.Changed:Connect(function()
if Power.Value == true then
Enabled = false
frame.Position = UDim2.new(-1, 0, 0.815, 0)
frame:TweenPosition(UDim2.new(0.45, 0, 0.815, 0), 'Out', 'Quad', 1)
wait(3)
frame:TweenPosition(UDim2.new(1.3, 0, 0.815, 0), 'Out', 'Quad', 1)
Enabled = true
Power.Value = false
end
end)
I have a button where when you click a text button, the power will change. I know the power changes in roblox studio, but not in roblox. I've been trying to figure out how to fix this like all day. It is soppose to make a thing pop up on all players screen once the power changes. I'm really confused and don't know what to do, I've tried everything I could. It only works in Roblox studio play mode.

2 comments
Is the game Filtering Enabled?
no its not filtering enabled