Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clicker dropper script:
- wait(2)
- workspace:WaitForChild("PartStorage")
- deb = true
- script.Parent.Clicker.ClickDetector.MouseClick:connect(function(wat)
- if deb == true then
- deb = false
- local part = Instance.new("Part",workspace.PartStorage)
- part.BrickColor=script.Parent.Parent.Parent.DropColor.Value
- part.Material=script.Parent.Parent.Parent.MaterialValue.Value
- local cash = Instance.new("IntValue",part)
- cash.Name = "Cash"
- cash.Value = 1 -- How much the drops are worth
- part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.3,0)
- part.FormFactor = "Custom"
- part.Size=Vector3.new(1, 1, 1) -- Size of the drops
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- game.Debris:AddItem(part,20) -- How long until the drops expire
- wait(.15)
- deb = true
- end
- end)
- dropper script:
- wait(2)
- workspace:WaitForChild("PartStorage")
- while true do
- wait(1.5) -- How long in between drops
- local part = Instance.new("Part",workspace.PartStorage)
- part.BrickColor=script.Parent.Parent.Parent.DropColor.Value
- part.Material=script.Parent.Parent.Parent.MaterialValue.Value
- local cash = Instance.new("IntValue",part)
- cash.Name = "Cash"
- cash.Value = 5 -- How much the drops are worth
- part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.4,0)
- part.FormFactor = "Custom"
- part.Size=Vector3.new(1.2, 1.2, 1.2) -- Size of the drops
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- game.Debris:AddItem(part,20) -- How long until the drops expire
- end
- upgrader:
- script.Parent.Upgrader.Touched:connect(function(Part)
- if Part:FindFirstChild("Cash") then
- Part.Cash.Value = Part.Cash.Value + 5 -- Try not to use * because if the game lags, parts may be worth millions each due to debounce
- end
- end)
- ownerdoorbuttonscript:
- v = script.Parent.Parent.Value
- click = script.Parent.ClickDetector
- function wat(player)
- if player.TeamColor == script.Parent.Parent.Parent.Parent.TeamColor.Value then
- if v.Value == true then
- v.Value = false
- script.Parent.BrickColor = BrickColor.new("Really red")
- for i,v in pairs(script.Parent.Parent.Lasers:GetChildren()) do
- v.BrickColor = BrickColor.new("Bright green")
- v.Transparency = .8
- end
- elseif v.Value == false then
- v.Value = true
- script.Parent.BrickColor = BrickColor.new("Lime green")
- for i,v in pairs(script.Parent.Parent.Lasers:GetChildren()) do
- v.BrickColor = BrickColor.new("Bright red")
- v.Transparency = .2
- end
- end
- end
- end
- click.MouseClick:connect(wat)
- owner killbrickscript:
- val = script.Parent.Parent.Parent.Value
- function touc(part)
- local plr = game.Players:FindFirstChild(part.Parent.Name)
- if plr then
- local h = part.Parent:FindFirstChild("Humanoid")
- if h then
- if val.Value == true then
- if part.Parent.Name ~= script.Parent.Parent.Parent.Parent.Parent.Owner.Value.Character.Name then
- h.Health = 0
- end
- end
- end
- end
- end
- script.Parent.Touched:connect(touc)
- colorizers:
- for i,v in pairs(script.Parent.Buttons:GetChildren()) do
- v.ClickDetector.MouseClick:connect(function()
- script.Parent.Parent.Parent.DropColor.Value = v.BrickColor
- script.Parent.Showing.BrickColor = v.BrickColor
- end)
- end
- mtirial sizersc:
- for i,v in pairs(script.Parent.Buttons:GetChildren()) do
- v.ClickDetector.MouseClick:connect(function()
- script.Parent.Parent.Parent.MaterialValue.Value = v.Material.Name
- script.Parent.Showing.Material = v.Material.Name
- end)
- end
- Gate Control:
- script.Parent.Head.Touched:connect(function(hit)
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- if player ~= nil then
- local PlayerStats = game.ServerStorage.PlayerMoney:FindFirstChild(player.Name)
- if PlayerStats ~= nil then
- local ownstycoon = PlayerStats:FindFirstChild("OwnsTycoon")
- if ownstycoon ~= nil then
- if ownstycoon.Value == nil then
- if script.Parent.Parent.Parent.Owner.Value == nil then
- if hit.Parent:FindFirstChild("Humanoid") then
- if hit.Parent.Humanoid.Health > 0 then
- script.Parent.Parent.Parent.Owner.Value = player
- ownstycoon.Value = script.Parent.Parent.Parent
- script.Parent.Name = player.Name.."'s Tycoon"
- script.Parent.Head.Transparency = 0.6
- script.Parent.Head.CanCollide = false
- player.TeamColor = script.Parent.Parent.Parent.TeamColor.Value
- end
- end
- end
- end
- end
- end
- end
- end)
- ---------------------------------------------------------------------------------------------------------
- wepon giver script:
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- Infinite cash:
- deb = false
- script.Parent.Touched:connect(function(part)
- if game.Players:FindFirstChild(part.Parent.Name) then
- if deb == false then
- deb = true
- local plr = game.ServerStorage.PlayerMoney:FindFirstChild(part.Parent.Name)
- script.Parent.BrickColor = BrickColor.new("Bright red")
- plr.Value = plr.Value + script.Parent.Parent.Amount.Value
- wait(script.Parent.Parent.TimeToWait.Value)
- deb = false
- script.Parent.BrickColor = BrickColor.new("Bright green")
- end
- end
- end)
- display script:
- script.Parent.Text = "$"..script.Parent.Parent.Parent.Parent.Parent.Parent.CurrencyToCollect.Value
- -- Shows initial value if anything is currently in the CurrencyToCollect
- script.Parent.Parent.Parent.Parent.Parent.Parent.CurrencyToCollect.Changed:connect(function(money)
- script.Parent.Text = "$"..money
- end)
- cod emastersc
- Code = "2323" --change To any numbers You like
- Input = ""
- --This Is for my buddy siros
- --created by
- ------------------------------------------
- --Clear And Enter
- function Clear()
- print("Cleared")
- Input = ""
- end
- script.Parent.Clear.ClickDetector.MouseClick:connect(Clear)
- function Enter()
- if Input == Code then
- print("Entered")
- Input = ""
- local door = script.Parent.Parent.Door
- door.CanCollide = false
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = 0.8
- wait(3)--
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = 0
- door.CanCollide = true
- return end
- Input = ""
- print("Wrong Code")
- end
- script.Parent.Enter.ClickDetector.MouseClick:connect(Enter)
- ------------------------------------------
- --Digets
- function Click0()
- Input = Input..0
- print("0")
- script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=2767674"
- wait(0.1)
- script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=2761903"
- end
- script.Parent.B0.ClickDetector.MouseClick:connect(Click0)
- function Click1()
- Input = Input..1
- print("1")
- script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=2767677"
- wait(0.1)
- script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=2761913"
- end
- script.Parent.B1.ClickDetector.MouseClick:connect(Click1)
- function Click2()
- Input = Input..2
- print("2")
- script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=2767680"
- wait(0.1)
- script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=2761922"
- end
- script.Parent.B2.ClickDetector.MouseClick:connect(Click2)
- function Click3()
- Input = Input..3
- print("3")
- script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=2767686"
- wait(0.1)
- script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=2761927"
- end
- script.Parent.B3.ClickDetector.MouseClick:connect(Click3)
- function Click4()
- Input = Input..4
- print("4")
- script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=2767693"
- wait(0.1)
- script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=2761938"
- end
- script.Parent.B4.ClickDetector.MouseClick:connect(Click4)
- function Click5()
- Input = Input..5
- print("5")
- script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=2767695"
- wait(0.1)
- script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=2761943"
- end
- script.Parent.B5.ClickDetector.MouseClick:connect(Click5)
- function Click6()
- Input = Input..6
- print("6")
- script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=2767699"
- wait(0.1)
- script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=2761948"
- end
- script.Parent.B6.ClickDetector.MouseClick:connect(Click6)
- function Click7()
- Input = Input..7
- print("7")
- script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=2767701"
- wait(0.1)
- script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=2761956"
- end
- script.Parent.B7.ClickDetector.MouseClick:connect(Click7)
- function Click8()
- Input = Input..8
- print("8")
- script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=2767707"
- wait(0.1)
- script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=2761961"
- end
- script.Parent.B8.ClickDetector.MouseClick:connect(Click8)
- function Click9()
- Input = Input..9
- print("9")
- script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=2767714"
- wait(0.1)
- script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=2761971"
- end
- script.Parent.B9.ClickDetector.MouseClick:connect(Click9)
- ope n sc (plz num 0 in script
- door = script.Parent.Parent.Door
- function clicked()
- if script.Value.Value == 0 then
- print("Opened")
- script.Value.Value = 1
- local door = script.Parent.Parent.Door
- door.CanCollide = false
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = 0.8
- wait(3)--
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = 0
- door.CanCollide = true
- script.Value.Value = 0
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(clicked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement