local r=require(game.ReplicatedStorage:WaitForChild("\082\101\115\111\117\114\099\101\115"))while not r.Loaded do(game:GetService("\082\117\110\083\101\114\118\105\099\101")).Heartbeat:Wait()end local i=Random.new()local j={"\069\110\101\114\103\121";"\071\101\109\115","\078\097\116\105\118\101"}local t=script.Parent local x x=function()local x=r.Directory.Powers[r.Functions.table.random(j)]local E=r.Functions.table.random(x.tiers)local H=script.PowerFrame:Clone()local O=0+(H.AbsoluteSize.X*.5)/t.AbsoluteSize.X local n=1-(H.AbsoluteSize.X*.5)/t.AbsoluteSize.X local C=0+(H.AbsoluteSize.Y*.5)/t.AbsoluteSize.Y local R=1-(H.AbsoluteSize.Y*.5)/t.AbsoluteSize.Y H.power.Image=x.icon H.power.level.Text=E.title H.Position=UDim2.new(i:NextNumber(O,n),0,i:NextNumber(C,R),0)H.Parent=t local G=coroutine.wrap local s=H;(G(function()local i=s.Size s.Size=UDim2.new()local j=r.Functions.Tween local t=s local x={1,7;1;0;true}local E={}E.Size=i E.Rotation=0;(j(t,x,E)).Completed:Wait()local H=r.Functions.Tween local O=s local n={1,5,1,0;true}local C={}C.Size=UDim2.new();(H(O,n,C)).Completed:Wait()s:Destroy()end))()end CreatePower=x while true do CreatePower()r.Functions.Wait(.5)end
-- Decompiled with the Synapse X Luau decompiler.
--NOTE: Currently in beta! Not representative of final product.
local u1 = require(game.ReplicatedStorage:WaitForChild("Resources"))
while not u1.Loaded do
	game:GetService("RunService").Heartbeat:Wait()
end
local u2 = Random.new()
local u3 = {
	"Energy",
	"Gems",
	"Native",
}
local t_Parent_1 = script.Parent
local f_CreatePower
f_CreatePower = function() -- [line 9] CreatePower
	--[[
		Upvalues: 
			[1] = u1
			[2] = u3
			[3] = t_Parent_1
			[4] = u2
	--]]
	local v1 = u1.Directory.Powers[u1.Functions.table.random(u3)]
	local v2 = u1.Functions.table.random(v1.tiers)
	local v3 = script.PowerFrame:Clone()
	local v4 = 0 + ((v3.AbsoluteSize.X * 0.5) / t_Parent_1.AbsoluteSize.X)
	local v5 = 1 - ((v3.AbsoluteSize.X * 0.5) / t_Parent_1.AbsoluteSize.X)
	local v6 = 0 + ((v3.AbsoluteSize.Y * 0.5) / t_Parent_1.AbsoluteSize.Y)
	local v7 = 1 - ((v3.AbsoluteSize.Y * 0.5) / t_Parent_1.AbsoluteSize.Y)
	v3.power.Image = v1.icon
	v3.power.level.Text = v2.title
	v3.Position = UDim2.new(u2:NextNumber(v4, v5), 0, u2:NextNumber(v6, v7), 0)
	v3.Parent = t_Parent_1
	local v8 = coroutine.wrap
	local u4 = v3
	v8(function() -- [line 24] anonymous function
		--[[
			Upvalues: 
				[1] = u4
				[2] = u1
		--]]
		local v9 = u4.Size
		u4.Size = UDim2.new()
		local v10 = u1.Functions.Tween
		local v11 = u4
		local v12 = {
			1,
			7,
			1,
			0,
			true,
		}
		local v13 = {}
		v13.Size = v9
		v13.Rotation = 0
		v10(v11, v12, v13).Completed:Wait()
		local v14 = u1.Functions.Tween
		local v15 = u4
		local v16 = {
			1,
			5,
			1,
			0,
			true,
		}
		local v17 = {}
		v17.Size = UDim2.new()
		v14(v15, v16, v17).Completed:Wait()
		u4:Destroy()
	end)()
end
CreatePower = f_CreatePower
while true do
	CreatePower()
	u1.Functions.Wait(0.5)
end
