ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 10250

[RELEASE]STAT CHANGER GUI

by anonymous5044 - 04-28-2017 - 02:53 AM
#1
ENJOY   is a simple Stat Changer :D
Images
Spoiler Show
I cant bcuz is my first post

Script
Spoiler Show

Code:
--[[
|-|-|
AllCredit: "Anonymous5044"
|-|-|
ChangeLog:
*Menu sound added
*Added Closing Animation
*Added Sound To buttons
*Chack System
|-|-|
Version:
v0.6
--]]
--Settings--
local MenuSong = "467369212"
local CustomMenuSong = true
------------
local WindowH = Instance.new("ScreenGui")
local Window = Instance.new("Frame")
local TopBar = Instance.new("Frame")
local X = Instance.new("ImageButton")
local HeaderOfTopBar = Instance.new("TextLabel")
local ChangeList = Instance.new("TextButton")
local Content = Instance.new("Frame")
local StatsList = Instance.new("ScrollingFrame")
local StatButton = Instance.new("TextButton")
local Buttons = Instance.new("Frame")
local Change = Instance.new("TextButton")
local CurrentStat = Instance.new("TextLabel")
local Value = Instance.new("TextBox")
local Value2 = Value
local CurrentPlayer = Instance.new("TextLabel")
local PlayerList = Instance.new("ScrollingFrame")
local PlayerButton = Instance.new("TextButton")
local sound = Instance.new("Sound")
local selectSound = Instance.new("Sound")
-- Properties

WindowH.Name = "WindowH"
WindowH.Parent = game.Players.LocalPlayer.PlayerGui

Window.Name = "Window"
Window.Parent = WindowH
Window.Active = true
Window.BackgroundColor3 = Color3.new(0.666667, 0, 0)
Window.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
Window.Draggable = true
Window.Position = UDim2.new(0, 177, 0, 137)
Window.Size = UDim2.new(0, 471, 0, 322)

TopBar.Name = "TopBar"
TopBar.Parent = Window
TopBar.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
TopBar.BorderSizePixel = 0
TopBar.Size = UDim2.new(0, 471, 0, 28)

X.Name = "X"
X.Parent = TopBar
X.BackgroundColor3 = Color3.new(1, 1, 1)
X.Position = UDim2.new(0, 437, 0, 0)
X.Size = UDim2.new(0, 35, 0, 29)
--X.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
X.BackgroundTransparency = 1
X.Image = "rbxassetid://170952405"

HeaderOfTopBar.Name = "HeaderOfTopBar"
HeaderOfTopBar.Parent = TopBar
HeaderOfTopBar.BackgroundColor3 = Color3.new(0, 0, 0)
HeaderOfTopBar.BackgroundTransparency = 1
HeaderOfTopBar.Size = UDim2.new(0, 322, 0, 28)
HeaderOfTopBar.Font = Enum.Font.Cartoon
HeaderOfTopBar.FontSize = Enum.FontSize.Size14
HeaderOfTopBar.Text = "Welcome to Anonymous's StatChanger GUI"
HeaderOfTopBar.TextColor3 = Color3.new(0, 1, 0.498039)
HeaderOfTopBar.TextScaled = true
HeaderOfTopBar.TextSize = 14
HeaderOfTopBar.TextWrapped = true
HeaderOfTopBar.TextXAlignment = Enum.TextXAlignment.Left

ChangeList.Name = "Change List"
ChangeList.Parent = TopBar
ChangeList.BackgroundColor3 = Color3.new(1, 1, 1)
ChangeList.Position = UDim2.new(0, 322, 0, 0)
ChangeList.Size = UDim2.new(0, 114, 0, 28)
ChangeList.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
ChangeList.Font = Enum.Font.ArialBold
ChangeList.FontSize = Enum.FontSize.Size11
ChangeList.Text = "Change List"
ChangeList.TextColor3 = Color3.new(1, 0, 0)
ChangeList.TextSize = 11
ChangeList.TextWrapped = true

Content.Name = "Content"
Content.Parent = Window
Content.BackgroundColor3 = Color3.new(0, 0, 0)
Content.BackgroundTransparency = 0.5
Content.BorderColor3 = Color3.new(0.611765, 0.611765, 0.611765)
Content.Position = UDim2.new(0, 0, 0, 29)
Content.Size = UDim2.new(0, 471, 0, 293)

StatsList.Name = "StatsList"
StatsList.Parent = Content
StatsList.BackgroundColor3 = Color3.new(1, 1, 1)
StatsList.BackgroundTransparency = 0.89999997615814
StatsList.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
StatsList.Position = UDim2.new(0, 235, 0, 0)
StatsList.Size = UDim2.new(0, 236, 0, 293)

StatButton.Name = "StatButton"
StatButton.Parent = StatsList
StatButton.BackgroundColor3 = Color3.new(1, 1, 1)
StatButton.Size = UDim2.new(0, 219, 0, 50)
StatButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
StatButton.Font = Enum.Font.Cartoon
StatButton.FontSize = Enum.FontSize.Size14
StatButton.Text = "Stat Names"
StatButton.TextColor3 = Color3.new(1, 0.666667, 0)
StatButton.TextScaled = true
StatButton.TextSize = 14
StatButton.TextWrapped = true

Buttons.Name = "Buttons"
Buttons.Parent = Content
Buttons.BackgroundColor3 = Color3.new(0.227451, 0, 0.227451)
Buttons.Size = UDim2.new(0, 236, 0, 293)

Change.Name = "Change"
Change.Parent = Buttons
Change.BackgroundColor3 = Color3.new(1, 1, 1)
Change.Size = UDim2.new(0, 236, 0, 50)
Change.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
Change.Font = Enum.Font.Cartoon
Change.FontSize = Enum.FontSize.Size14
Change.Text = "Change"
Change.TextColor3 = Color3.new(0.333333, 0, 0)
Change.TextScaled = true
Change.TextSize = 14
Change.TextWrapped = true

CurrentStat.Name = "CurrentStat"
CurrentStat.Parent = Buttons
CurrentStat.BackgroundColor3 = Color3.new(1, 1, 1)
CurrentStat.BackgroundTransparency = 1
CurrentStat.Position = UDim2.new(0, 0, 0, 267)
CurrentStat.Size = UDim2.new(0, 236, 0, 26)
CurrentStat.Font = Enum.Font.SourceSans
CurrentStat.FontSize = Enum.FontSize.Size14
CurrentStat.Text = "Current Stat"
CurrentStat.TextColor3 = Color3.new(0.666667, 0.219608, 0)
CurrentStat.TextScaled = true
CurrentStat.TextSize = 14
CurrentStat.TextStrokeTransparency = 0
CurrentStat.TextWrapped = true
CurrentStat.TextXAlignment = Enum.TextXAlignment.Left

Value.Name = "Value"
Value.Parent = Buttons
Value.BackgroundColor3 = Color3.new(0, 1, 0.85098)
Value.Position = UDim2.new(0, 0, 0, 75)
Value.Size = UDim2.new(0, 214, 0, 32)
Value.Font = Enum.Font.SourceSans
Value.FontSize = Enum.FontSize.Size14
Value.Text = "Value here"
Value.TextColor3 = Color3.new(0, 0.00784314, 0.498039)
Value.TextScaled = true
Value.TextSize = 14
Value.TextWrapped = true

CurrentPlayer.Name = "CurrentPlayer"
CurrentPlayer.Parent = Buttons
CurrentPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
CurrentPlayer.BackgroundTransparency = 1
CurrentPlayer.Position = UDim2.new(0, 0, 0, 241)
CurrentPlayer.Size = UDim2.new(0, 236, 0, 26)
CurrentPlayer.Font = Enum.Font.SourceSans
CurrentPlayer.FontSize = Enum.FontSize.Size14
CurrentPlayer.Text = game.Players.LocalPlayer.Name
CurrentPlayer.TextColor3 = Color3.new(1, 1, 1)
CurrentPlayer.TextScaled = true
CurrentPlayer.TextSize = 14
CurrentPlayer.TextStrokeTransparency = 0
CurrentPlayer.TextWrapped = true
CurrentPlayer.TextXAlignment = Enum.TextXAlignment.Left

PlayerList.Name = "PlayerList"
PlayerList.Parent = Content
PlayerList.BackgroundColor3 = Color3.new(1, 1, 1)
PlayerList.BackgroundTransparency = 0.89999997615814
PlayerList.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
PlayerList.Position = UDim2.new(0, 235, 0, 0)
PlayerList.Size = UDim2.new(0, 236, 0, 293)
PlayerList.Visible = false

PlayerButton.Name = "PlayerButton"
PlayerButton.Parent = PlayerList
PlayerButton.BackgroundColor3 = Color3.new(1, 1, 1)
PlayerButton.Size = UDim2.new(0, 219, 0, 50)
PlayerButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
PlayerButton.Font = Enum.Font.Cartoon
PlayerButton.FontSize = Enum.FontSize.Size14
PlayerButton.Text = "Player List"
PlayerButton.TextColor3 = Color3.new(0, 0, 0)
PlayerButton.TextScaled = true
PlayerButton.TextSize = 14
PlayerButton.TextWrapped = true

sound.Parent = WindowH
sound.Volume = 0.1
sound.Looped = true
sound:Play()

selectSound.Parent = WindowH
selectSound.SoundId = "rbxassetid://146730311"
if CustomMenuSong == false then
sound.SoundId = "rbxassetid://331531857"
else
local what = tostring(CustomMenuSong)
print("CustomMenuSong=["..what.."]")
sound.SoundId = "rbxassetid://"..MenuSong
end

-----------------------------------------------------
local stats = {}
local pos = 0
for _,v in pairs(game.Players.LocalPlayer.leaderstats:GetChildren()) do
table.insert(stats, v)
pos = pos+50
button = StatButton:Clone()
button.Parent = StatsList
button.Position = UDim2.new(0,0,0,pos)
button.Name = v.Name
button.Text = "[Stat]: "..v.Name

end
for _,v in pairs(StatsList:GetChildren()) do
if v.Name ~= "StatButton" then
v.MouseButton1Down:connect(function()
CurrentStat.Text = v.Name
selectSound:Play()
end)
end
end
local pos2 = 0
for _,p in pairs(game.Players:GetChildren()) do
pos2 = pos2+50
playerbutton = PlayerButton:Clone()
playerbutton.Parent = PlayerList
playerbutton.Position = UDim2.new(0,0,0,pos2)
playerbutton.Name = p.Name
playerbutton.Text = p.Name
for _,p in pairs(PlayerList:GetChildren()) do
_G.p = p
if p.Name ~= "PlayerButton" then
p.MouseButton1Down:Connect(function()
selectSound:Play()
CurrentPlayer.Text = p.Name
end)
end
end
end
local back = HeaderOfTopBar.Text
local colorback = HeaderOfTopBar.TextColor3
Change.MouseButton1Down:Connect(function()
selectSound:Play()
HeaderOfTopBar.Text = "Changing "..CurrentStat.Text.." to ["..Value2.Text.."]"

wait(1)
local Wait = .6
game.Players[CurrentPlayer.Text].leaderstats[CurrentStat.Text].Value = Value2.Text
HeaderOfTopBar.Text = "Checking..."
wait(1)
local statVal = tonumber(Value2.Text)


if game.Players[CurrentPlayer.Text].leaderstats[CurrentStat.Text].Value == statVal and game.Players[CurrentPlayer.Text].leaderstats[CurrentStat.Text].ClassName ~= "StringValue" then
HeaderOfTopBar.Text = "Done!"
print("Value= ["..statVal.."]")
elseif game.Players[CurrentPlayer.Text].leaderstats[CurrentStat.Text].ClassName == "StringValue" and game.Players[CurrentPlayer.Text].leaderstats[CurrentStat.Text].Value == Value2.Text then
HeaderOfTopBar.Text = "Done!"
print("Value= ["..Value.Text.."]")
else
HeaderOfTopBar.TextColor3 = Color3.new(255,0,0)
HeaderOfTopBar.Text = "ERROR: Check your Value or The game has anti Stat Change"

warn("Check your Value or The game has anti Stat Change")
print("Value= ["..statVal.."]")
Wait = 5
end
wait(Wait)
HeaderOfTopBar.Text = back
HeaderOfTopBar.TextColor3 = colorback
end)
local backSize = Window.Size
X.MouseButton1Down:Connect(function()
selectSound:Play()
if Window.Size == backSize

then
posBack = Window:Clone()
for _, x in pairs(Window:GetChildren()) do
if x.Name ~= "TopBar" then
x.Visible = false
ChangeList.Visible = false
Window:TweenSize(UDim2.new(0, 471,0, 26), "Out", "Quad", 1)
Window.BackgroundColor3 = Color3.new(5,100,55)
Window:TweenPosition(UDim2.new(0,0,0),"Out", "Quad", .5)
X.Image = "rbxassetid://170952383"
end
end
elseif Window.Size ~= backSize then

for _, x in pairs(Window:GetChildren()) do
if x.Name ~= "TopBar" then
Window:TweenSize(UDim2.new(0, 471,0, 322), "Out", "Quad", .8)
Window.BackgroundColor3 = Color3.new(170,0,0)
Window:TweenPosition(posBack.Position,"Out", "Quad", 1)
X.Image = "rbxassetid://170952405"
print(tostring(posBack.Position))
wait(.9)

x.Visible = true
ChangeList.Visible = true
end
end
end
end)

ChangeList.MouseButton1Down:Connect(function()
selectSound:Play()
if PlayerList.Visible == true and StatsList.Visible == false then
PlayerList.Visible = false
StatsList.Visible = true
elseif PlayerList.Visible == false and StatsList.Visible == true then
PlayerList.Visible = true
StatsList.Visible = false
end
end)
player = _G.p
game.Players.PlayerRemoving:Connect(function(plr)
if player.Name == plr.Name then
player:Destroy()
pos2 = pos2-50
end
end)
Reply
#2
Anyone else test this?
Reply
#3
(04-29-2017 - 02:17 PM)killamods1 Wrote: Anyone else test this?

i would love to but don't have a lvl 7 
:cry:
Reply
#4
This is so good bro, wow! :D
Reply
#5
this works for any game?
Reply
#6
this looks nice man
Reply
#7
Thanks dude! It's great
Reply
#8
Sweet, this is awesome!!
Reply
#9
does it really work then its cool
Reply
#10
does it work ???????????????????
Reply

Users browsing: 1 Guest(s)