Advertisement
Jan_Simon12

Stop it, Slender! script

Jun 6th, 2022
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local Pages = Instance.new("TextLabel")
  10. local Generators = Instance.new("TextLabel")
  11. local Slender = Instance.new("TextLabel")
  12.  
  13. --Properties:
  14.  
  15. ScreenGui.Parent = game.CoreGui
  16. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  17.  
  18. Frame.Parent = ScreenGui
  19. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  20. Frame.BackgroundColor3 = Color3.fromRGB(58, 58, 58)
  21. Frame.Position = UDim2.new(0.0873715281, 0, 0.5, 0)
  22. Frame.Selectable = true
  23. Frame.Size = UDim2.new(0.100000001, 0, 0.300000012, 0)
  24.  
  25. UICorner.Parent = Frame
  26.  
  27. Pages.Name = "Pages"
  28. Pages.Parent = Frame
  29. Pages.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  30. Pages.BorderSizePixel = 0
  31. Pages.Position = UDim2.new(0, 0, 0.119189508, 0)
  32. Pages.Size = UDim2.new(1, 0, 0.189511254, 0)
  33. Pages.Font = Enum.Font.SourceSans
  34. Pages.Text = "Show Pages (Z)"
  35. Pages.TextColor3 = Color3.fromRGB(255, 255, 255)
  36. Pages.TextScaled = true
  37. Pages.TextSize = 14.000
  38. Pages.TextWrapped = true
  39.  
  40. Generators.Name = "Generators"
  41. Generators.Parent = Frame
  42. Generators.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  43. Generators.BorderSizePixel = 0
  44. Generators.Position = UDim2.new(0, 0, 0.69129914, 0)
  45. Generators.Size = UDim2.new(1, 0, 0.189511254, 0)
  46. Generators.Font = Enum.Font.SourceSans
  47. Generators.Text = "Show Generators (X)"
  48. Generators.TextColor3 = Color3.fromRGB(255, 255, 255)
  49. Generators.TextScaled = true
  50. Generators.TextSize = 14.000
  51. Generators.TextWrapped = true
  52.  
  53. Slender.Name = "Slender"
  54. Slender.Parent = Frame
  55. Slender.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  56. Slender.BorderSizePixel = 0
  57. Slender.Position = UDim2.new(0, 0, 0.40524435, 0)
  58. Slender.Size = UDim2.new(1, 0, 0.189511254, 0)
  59. Slender.Font = Enum.Font.SourceSans
  60. Slender.Text = "Show Slender (C)"
  61. Slender.TextColor3 = Color3.fromRGB(255, 255, 255)
  62. Slender.TextScaled = true
  63. Slender.TextSize = 14.000
  64. Slender.TextWrapped = true
  65.  
  66. -- Scripts:
  67.  
  68. local function TCIFN_fake_script() -- Pages.PageScript
  69. local script = Instance.new('LocalScript', Pages)
  70.  
  71. local InS = game:GetService("UserInputService")
  72.  
  73. local function createGuiPages(parent)
  74. if parent.Transparency == 0 then
  75. local BGui = Instance.new("BillboardGui")
  76. BGui.Parent = parent
  77. BGui.AlwaysOnTop = true
  78. BGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  79. BGui.StudsOffset = Vector3.new(0, 3, 0)
  80. BGui.Size = UDim2.new(5, 0, 1.5, 0)
  81.  
  82. local text = Instance.new("TextLabel")
  83. text.Parent = BGui
  84. text.Text = "Page"
  85. text.TextScaled = true
  86. text.BackgroundTransparency = 1
  87. text.Size = UDim2.new(1, 0, 1, 0)
  88. text.TextColor3 = Color3.fromRGB(255, 0, 0)
  89. else
  90.  
  91. end
  92. end
  93.  
  94.  
  95. InS.InputBegan:Connect(function(input, GPE)
  96. if input.KeyCode == Enum.KeyCode.Z then
  97. if game.Workspace.MAP.Pages ~= nil and game.Workspace.MAP.HPageSpawns ~= nil then
  98.  
  99. local model1 = game.Workspace.MAP.Pages
  100.  
  101. for _, v in pairs(model1:GetChildren()) do
  102. createGuiPages(v)
  103.  
  104. v.Changed:Connect(function()
  105. if v.Transparency == 1 then
  106.  
  107. local BGui = v.BillboardGui
  108. BGui:Destroy()
  109. end
  110. end)
  111. end
  112.  
  113. local model2 = game.Workspace.MAP.HPageSpawns
  114.  
  115. for _, v in pairs(model2:GetChildren()) do
  116. createGuiPages(v)
  117.  
  118. v.Changed:Connect(function()
  119. if v.Transparency == 1 then
  120.  
  121. local BGui = v.BillboardGui
  122. BGui:Destroy()
  123. end
  124. end)
  125. end
  126. end
  127. end
  128. end)
  129. end
  130. coroutine.wrap(TCIFN_fake_script)()
  131. local function WBNHNPG_fake_script() -- Generators.GenScript
  132. local script = Instance.new('LocalScript', Generators)
  133.  
  134. local InS = game:GetService("UserInputService")
  135.  
  136. local function createGuiGens(parent)
  137. local BGui = Instance.new("BillboardGui")
  138. BGui.Parent = parent
  139. BGui.AlwaysOnTop = true
  140. BGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  141. BGui.StudsOffset = Vector3.new(0, 3, 0)
  142. BGui.Size = UDim2.new(5, 0, 1.5, 0)
  143.  
  144. local text = Instance.new("TextLabel")
  145. text.Parent = BGui
  146. text.TextScaled = true
  147. text.BackgroundTransparency = 1
  148. text.Size = UDim2.new(1, 0, 1, 0)
  149. text.TextColor3 = Color3.fromRGB(0, 255, 0)
  150. text.Text = "Generator"
  151.  
  152. if parent:FindFirstChild("On") then
  153.  
  154. if parent.On.Value == true then
  155. text.Text = "Generator (Activated)"
  156. text.TextColor3 = Color3.fromRGB(255, 150, 0)
  157. end
  158. end
  159. end
  160.  
  161. InS.InputBegan:Connect(function(input, GPE)
  162. if input.KeyCode == Enum.KeyCode.X then
  163.  
  164. local model = game.Workspace.MAP.GENS
  165. for _, v in pairs(model:GetChildren()) do
  166. createGuiGens(v)
  167.  
  168. if v:FindFirstChild("On") then
  169. local isOn = v.On
  170.  
  171. isOn.Changed:Connect(function()
  172. v.BillboardGui.TextLabel.Text = "Generator (Activated)"
  173. v.BillboardGui.TextLabel.TextColor3 = Color3.fromRGB(255, 150, 0)
  174. end)
  175. else
  176.  
  177. end
  178. end
  179.  
  180. end
  181. end)
  182. end
  183. coroutine.wrap(WBNHNPG_fake_script)()
  184. local function DXQRVQV_fake_script() -- Slender.SlenderScript
  185. local script = Instance.new('LocalScript', Slender)
  186.  
  187. local InS = game:GetService("UserInputService")
  188.  
  189. local function createGuiSlender(parent)
  190. local BGui = Instance.new("BillboardGui")
  191. BGui.Parent = parent
  192. BGui.AlwaysOnTop = true
  193. BGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  194. BGui.StudsOffset = Vector3.new(0, 3, 0)
  195. BGui.Size = UDim2.new(5, 0, 1.5, 0)
  196.  
  197. local text = Instance.new("TextLabel")
  198. text.Parent = BGui
  199. text.Text = "SLENDER"
  200. text.TextScaled = true
  201. text.BackgroundTransparency = 1
  202. text.Size = UDim2.new(1, 0, 1, 0)
  203. text.TextColor3 = Color3.fromRGB(255, 255, 255)
  204. end
  205.  
  206.  
  207. InS.InputBegan:Connect(function(input, GPE)
  208. if input.KeyCode == Enum.KeyCode.C then
  209.  
  210. for _, v in pairs(game.Workspace:GetChildren()) do
  211. if v:FindFirstChild("SlenderProp") then
  212. createGuiSlender(v)
  213. end
  214. end
  215. end
  216.  
  217. end)
  218. end
  219. coroutine.wrap(DXQRVQV_fake_script)()
  220. local function LSGPTFK_fake_script() -- Frame.HideShow
  221. local script = Instance.new('LocalScript', Frame)
  222.  
  223. local frame = script.Parent
  224. local InS = game:GetService("UserInputService")
  225.  
  226. InS.InputBegan:Connect(function(input, GPE)
  227. if input.KeyCode == Enum.KeyCode.LeftControl then
  228. if frame.Visible == true then
  229. frame.Visible = false
  230. else
  231. frame.Visible = true
  232. end
  233. end
  234. end)
  235. end
  236. coroutine.wrap(LSGPTFK_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement