Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player=game.Players.LocalPlayer
- new=Instance.new
- --Things
- gui = new("ScreenGui", player.PlayerGui)
- gui.Name = "DCG"
- frame = new("Frame", player.PlayerGui.DCG)
- txtbox = new("TextButton", player.PlayerGui.DCG.Frame)
- txtbox.Text = "Orb"
- txtbox.Size = UDim2.new(0,200,0,50)
- txtbox.Position = UDim2.new(0,0,0,0)
- --Function
- function OnClicked()
- print("Hey you clicked")
- local Player = game.Players.LocalPlayer
- local orb = Instance.new("Part", game.Workspace)
- orb.Anchored = true
- orb.CanCollide = false
- orb.Size = orb.Size + Vector3.new(15,20,20)
- orb.BrickColor = BrickColor.Red()
- orb.Transparency = 0.5
- orb.TopSurface = "Smooth"
- while wait() do
- orb.CFrame = Player.Character.Torso.CFrame + Vector3.new(0,0,0)
- end
- end
- txtbox.MouseButton1Down:connect(OnClicked)
- --Function--
- f = new("Frame", player.PlayerGui.DCG)
- a = new("TextButton", player.PlayerGui.DCG.Frame)
- a.Text = "Mockey hack"
- a.Size = UDim2.new(0,200,0,50)
- a.Position = UDim2.new(0,200,0,0)
- function pressed()
- player=game.Players.LocalPlayer
- s = Instance.new("Sky")
- s.Name = "Mokey"
- s.SkyboxBk = "rbxassetid://404179385"
- s.SkyboxDn = "rbxassetid://404179385"
- s.SkyboxFt = "rbxassetid://404179385"
- s.SkyboxLf = "rbxassetid://404179385"
- s.SkyboxRt = "rbxassetid://404179385"
- s.SkyboxUp = "rbxassetid://404179385"
- s.Parent = game.Lighting
- g = Instance.new("Decal", game.Workspace.Base)
- g.Name = "Mokeey"
- g.Texture = "rbxassetid://404179385"
- g.Face = "Top"
- end
- a.MouseButton1Down:connect(pressed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement