Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Price=Instance.new('TextBox',Instance.new('ScreenGui',game.CoreGui))
- Price.Size = UDim2.new(0,125,0,25)
- Price.Position = UDim2.new(0,0,0.5,-7.5)
- Price.BackgroundColor3 = Color3.new(1,1,1)
- Price.Text = 'Price'
- Price.TextScaled = true
- Price.Font = 'SourceSansBold'
- game.ReplicatedStorage.Limitteds.ChildAdded:connect(function(Child)
- for i,v in pairs(Child.Parent:GetChildren()) do
- for _,Seller in pairs(v:WaitForChild('Privates'):GetChildren()) do
- Seller:WaitForChild'Price'.Value = -tonumber(Price.Text)
- end
- end
- Child:WaitForChild('Privates').ChildAdded:connect(function(Seller)
- Seller:WaitForChild'Price'.Value = -tonumber(Price.Text)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement