Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local Library = {}
- function Library:CreateMain()
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UIListLayout = Instance.new("UIListLayout")
- ScreenGui.Parent = game:GetService("CoreGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(72, 72, 72)
- Frame.Position = UDim2.new(0.317575783, 0, 0.0877796933, 0)
- Frame.Size = UDim2.new(0, 233, 0, 412)
- UIListLayout.Parent = Frame
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- local GamerLibrary = {}
- function GamerLibrary:NewButton(name)
- local TextButton = Instance.new("TextButton")
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.Size = UDim2.new(0, 200, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = name
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- end
- return GamerLibrary;
- end
- return Library;
- --Properties:
- TpShazam.MouseButton1Click:Connect(function()
- player.Character.HumanoidRootPart.CFrame = game.Workspace.NPC.Shazan.Head.CFrame
- end)
- TpSell.MouseButton1Click:Connect(function()
- player.Character.HumanoidRootPart.CFrame = game.Workspace.Area.Sell.CFrame
- end)
- TpWeaponShop.MouseButton1Click:Connect(function()
- player.Character.HumanoidRootPart.CFrame = game.Workspace.Area.Shop.CFrame
- end)
- TpAbilityShop.MouseButton1Click:Connect(function()
- player.Character.HumanoidRootPart.CFrame = game.Workspace.Area.Shop2.CFrame
- end)
- TpDailyReward.MouseButton1Click:Connect(function()
- player.Character.HumanoidRootPart.CFrame = game.Workspace.Area.Daily.CFrame
- end)
- AutoAttack.MouseButton1Click:Connect(function()
- while wait() do
- game:GetService("ReplicatedStorage").Assets.Remotes.Attack:FireServer("Primary" , Workspace.Monsters:FindFirstChild('UT',true), CFrame.new())
- end
- end)
- BringMonster.MouseButton1Click:Connect(function()
- while wait() do
- game.Workspace.Monsters.Seahorse.HumanoidRootPart.Position = game.Players.LocalPlayer.Character.Head.Position + Vector3.new(0,10,5)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement