Advertisement
iiFlamez

Handle Decompiled

Nov 12th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. -- params : ...
  2.  
  3. Player = game.Players.LocalPlayer
  4. while game:IsLoaded() == false and game:IsLoaded() == false do
  5. wait()
  6. end
  7. wait(1)
  8. Player:WaitForChild("TextureGui")
  9. wait(0.5)
  10. for u,c in pairs(Player.PlayerGui:GetChildren()) do
  11. if c.ClassName == "Sound" then
  12. c:remove()
  13. end
  14. end
  15. local a = math.random(1, 6)
  16. local Sound = game.Lighting.Music.Adventurous:FindFirstChild("Adventurous" .. a):Clone()
  17. Sound.Parent = Player.PlayerGui
  18. Sound:Play()
  19. Player.Character.UpperTorso.CFrame = CFrame.new(math.random(-10, 10), 800, math.random(-10, 10))
  20. Player.Character.UpperTorso.Anchored = true
  21. game.Workspace.CurrentCamera.CameraType = "Scriptable"
  22. local JailTime = game.Workspace.RemoteEvents:FindFirstChild("DataBaseCheck"):InvokeServer("JailTime", "Data")
  23. if JailTime <= 0 then
  24. game.Workspace.CurrentCamera.CoordinateFrame = game.Workspace:FindFirstChild("Cam" .. Player.TextureGui.TextureId.SpawnPoint.Value).CFrame
  25. else
  26. game.Workspace.CurrentCamera.CoordinateFrame = game.Workspace:FindFirstChild("CamJail").CFrame
  27. end
  28. for i = 1, 30 do
  29. wait(0.1)
  30. script.Parent.FullDark.BackgroundColor3 = Color3.fromRGB(75 + i * 7, 75 + i * 7, 75 + i * 7)
  31. script.Parent.FullDark.BackgroundTransparency = 0 + i / 35
  32. end
  33. wait()
  34. script.Parent.Play.Visible = true
  35. script.Parent.Play:TweenPosition(UDim2.new(0.005, 0, 0.5, 0))
  36. script.Parent.Rule:TweenPosition(UDim2.new(0, 0, 0, 0))
  37. -- params : ...
  38.  
  39. Player = game.Players.LocalPlayer
  40. while game:IsLoaded() == false and game:IsLoaded() == false do
  41. wait()
  42. end
  43. wait(1)
  44. Player:WaitForChild("TextureGui")
  45. wait(0.5)
  46. for u,c in pairs(Player.PlayerGui:GetChildren()) do
  47. if c.ClassName == "Sound" then
  48. c:remove()
  49. end
  50. end
  51. local a = math.random(1, 6)
  52. local Sound = game.Lighting.Music.Adventurous:FindFirstChild("Adventurous" .. a):Clone()
  53. Sound.Parent = Player.PlayerGui
  54. Sound:Play()
  55. Player.Character.UpperTorso.CFrame = CFrame.new(math.random(-10, 10), 800, math.random(-10, 10))
  56. Player.Character.UpperTorso.Anchored = true
  57. game.Workspace.CurrentCamera.CameraType = "Scriptable"
  58. local JailTime = game.Workspace.RemoteEvents:FindFirstChild("DataBaseCheck"):InvokeServer("JailTime", "Data")
  59. if JailTime <= 0 then
  60. game.Workspace.CurrentCamera.CoordinateFrame = game.Workspace:FindFirstChild("Cam" .. Player.TextureGui.TextureId.SpawnPoint.Value).CFrame
  61. else
  62. game.Workspace.CurrentCamera.CoordinateFrame = game.Workspace:FindFirstChild("CamJail").CFrame
  63. end
  64. for i = 1, 30 do
  65. wait(0.1)
  66. script.Parent.FullDark.BackgroundColor3 = Color3.fromRGB(75 + i * 7, 75 + i * 7, 75 + i * 7)
  67. script.Parent.FullDark.BackgroundTransparency = 0 + i / 35
  68. end
  69. wait()
  70. script.Parent.Play.Visible = true
  71. script.Parent.Play:TweenPosition(UDim2.new(0.005, 0, 0.5, 0))
  72. script.Parent.Rule:TweenPosition(UDim2.new(0, 0, 0, 0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement