Advertisement
FiftySix

Stop it slender! 2

Oct 28th, 2018
6,289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Keys = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local Script = Instance.new("Frame")
  7. local Frame = Instance.new("Frame")
  8. local Frame_2 = Instance.new("Frame")
  9. local TextLabel_2 = Instance.new("TextLabel")
  10. local TextButton = Instance.new("TextButton")
  11.  
  12. -- Properties
  13.  
  14. ScreenGui.Parent = game.CoreGui
  15.  
  16. Keys.Name = "Keys"
  17. Keys.Parent = ScreenGui
  18. Keys.BackgroundColor3 = Color3.new(1, 1, 1)
  19. Keys.Size = UDim2.new(0, 144, 0, 143)
  20.  
  21. TextLabel.Parent = Keys
  22. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  23. TextLabel.Size = UDim2.new(0, 144, 0, 143)
  24. TextLabel.Font = Enum.Font.SourceSans
  25. TextLabel.Text = "keys : \nZ : Gives you all generators, just click these glowing boxes.\nX : Shows You All Pages Through Walls, Use If You Wanna Guide A Friend, Otherwise Use The B Button\nC : Toggle/UnToggle Part\nV : Make Slender Visible\nB : Teleports You To The Next Page"
  26. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  27. TextLabel.TextScaled = true
  28. TextLabel.TextSize = 14
  29. TextLabel.TextWrapped = true
  30.  
  31. Script.Name = "Script"
  32. Script.Parent = ScreenGui
  33. Script.Active = true
  34. Script.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  35. Script.Position = UDim2.new(0.381235182, 0, 0.118980169, 0)
  36. Script.Selectable = true
  37. Script.Size = UDim2.new(0, 263, 0, 268)
  38.  
  39. Frame.Parent = Script
  40. Frame.Active = true
  41. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  42. Frame.BorderSizePixel = 0
  43. Frame.Position = UDim2.new(0.00100702047, 0, -0.000422812998, 0)
  44. Frame.Selectable = true
  45. Frame.Size = UDim2.new(0, 263, 0, 28)
  46.  
  47. Frame_2.Parent = Script
  48. Frame_2.Active = true
  49. Frame_2.BackgroundColor3 = Color3.new(0, 0, 0)
  50. Frame_2.BorderSizePixel = 0
  51. Frame_2.Position = UDim2.new(0.00100702047, 0, 0.895881772, 0)
  52. Frame_2.Selectable = true
  53. Frame_2.Size = UDim2.new(0, 263, 0, 28)
  54.  
  55. TextLabel_2.Parent = Script
  56. TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0)
  57. TextLabel_2.BackgroundTransparency = 0.89999997615814
  58. TextLabel_2.Position = UDim2.new(0.178707212, 0, 0.156716421, 0)
  59. TextLabel_2.Size = UDim2.new(0, 168, 0, 32)
  60. TextLabel_2.Font = Enum.Font.SourceSans
  61. TextLabel_2.Text = "Slender Hotkeys"
  62. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  63. TextLabel_2.TextScaled = true
  64. TextLabel_2.TextSize = 14
  65. TextLabel_2.TextWrapped = true
  66.  
  67. TextButton.Parent = Script
  68. TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
  69. TextButton.BackgroundTransparency = 0.89999997615814
  70. TextButton.Position = UDim2.new(0.285171092, 0, 0.574626923, 0)
  71. TextButton.Size = UDim2.new(0, 112, 0, 59)
  72. TextButton.Font = Enum.Font.SourceSans
  73. TextButton.Text = "USE"
  74. TextButton.TextColor3 = Color3.new(0, 0, 0)
  75. TextButton.TextScaled = true
  76. TextButton.TextSize = 14
  77. TextButton.TextWrapped = true
  78.  
  79. Keys.Visible = false
  80.  
  81. TextButton.MouseButton1Click:connect(function()
  82. local Player = game.Players.LocalPlayer
  83. local Mouse = Player:GetMouse()
  84. local GameValues = game.Workspace.GameValues
  85.  
  86. -- Objects
  87.  
  88. local SISGUI = Instance.new("ScreenGui")
  89. local Slender = Instance.new("TextLabel")
  90. local Credits = Instance.new("TextLabel")
  91.  
  92. -- Properties
  93.  
  94. SISGUI.Name = "SISGUI"
  95. SISGUI.Parent = game.Players.LocalPlayer.PlayerGui
  96. SISGUI.ResetOnSpawn = false
  97.  
  98. Slender.Name = "Slender"
  99. Slender.Parent = SISGUI
  100. Slender.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  101. Slender.BackgroundTransparency = 1
  102. Slender.Position = UDim2.new(0, 0, 0.960784316, 0)
  103. Slender.Size = UDim2.new(0, 290, 0, 16)
  104. Slender.Font = Enum.Font.SourceSans
  105. Slender.FontSize = Enum.FontSize.Size24
  106. Slender.Text = "Current Slender : "..GameValues.CurrentSlender.Value
  107. Slender.TextColor3 = Color3.new(0, 0.666667, 1)
  108. Slender.TextSize = 20
  109. Slender.TextXAlignment = Enum.TextXAlignment.Left
  110.  
  111. Credits.Name = "Credits"
  112. Credits.Parent = SISGUI
  113. Credits.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  114. Credits.BackgroundTransparency = 1
  115. Credits.Position = UDim2.new(0.593556404, 0, 0.960784316, 0)
  116. Credits.Size = UDim2.new(0, 328, 0, 16)
  117. Credits.Font = Enum.Font.SourceSans
  118. Credits.FontSize = Enum.FontSize.Size24
  119. Credits.TextColor3 = Color3.new(0, 0.666667, 1)
  120. Credits.TextSize = 20
  121.  
  122. game.Workspace.GameValues.CurrentSlender.Changed:Connect(function()
  123. Slender.Text = "Current Slender : "..game.Workspace.GameValues.CurrentSlender.Value
  124. end)
  125.  
  126. local function GetGens()
  127. local Char = Player.Character
  128. local Hrp = Char.HumanoidRootPart
  129. local Map = game.Workspace.MAP
  130. local Gen = Map.GENS:GetChildren()
  131. local Add = 0
  132. for i, v in pairs(Gen)do
  133. Add = Add + v.GLOW.Size.Z
  134. v.GLOW.CFrame = Hrp.CFrame + Vector3.new(0,0,Add)
  135. end
  136. end
  137.  
  138. local function GetPages()
  139. local Char = Player.Character
  140. local Hrp = Char.HumanoidRootPart
  141. local Map = game.Workspace.MAP
  142. local Pages = Map.Pages:GetChildren()
  143. for i, v in pairs(Pages)do
  144. if v:IsA("Part") and v.Transparency == 0 then
  145. -- Objects
  146.  
  147. local BGUI = Instance.new("BillboardGui")
  148. local Shower = Instance.new("TextLabel")
  149.  
  150. -- Properties
  151.  
  152. BGUI.Name = "BGUI"
  153. BGUI.Parent = v
  154. BGUI.AlwaysOnTop = true
  155. BGUI.Size = UDim2.new(0, 50, 0, 50)
  156.  
  157. Shower.Name = "Shower"
  158. Shower.Parent = BGUI
  159. Shower.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  160. Shower.Size = UDim2.new(0, 50, 0, 50)
  161. Shower.Font = Enum.Font.SourceSans
  162. Shower.FontSize = Enum.FontSize.Size32
  163. Shower.Text = "Page"
  164. Shower.TextColor3 = Color3.new(0, 0.666667, 1)
  165. Shower.TextSize = 30
  166. v.Changed:Connect(function()
  167. if v.Transparency == 1 then
  168. BGUI:Destroy()
  169. end
  170. end)
  171. end
  172. end
  173. end
  174.  
  175. local function TeleportToPage()
  176. local Char = Player.Character
  177. local Map = game.Workspace.MAP
  178. local Pages = Map.Pages:GetChildren()
  179. for i, v in pairs(Pages)do
  180. if v:IsA("Part") and v.Transparency == 0 then
  181. Char.HumanoidRootPart.CFrame = v.CFrame + (v.CFrame.lookVector*3)
  182. end
  183. end
  184. end
  185.  
  186. local function TeleportToNextPlayer()
  187.  
  188. end
  189.  
  190. local function TeleportToPlayer()
  191. local Citizens = game.Workspace.GameEvents.Citizens:GetChildren()
  192. for i, v in pairs(Citizens)do
  193. if v.died.Value == false then
  194. local Victim = game.Players:FindFirstChild(v.Name)
  195. if Victim ~= nil then
  196. local VChar = Victim.Character
  197. if VChar ~= nil then
  198. Player.Character.HumanoidRootPart.CFrame = VChar.HumanoidRootPart.CFrame + (VChar.HumanoidRootPart.CFrame.lookVector*3)
  199. end
  200. end
  201. end
  202. end
  203. end
  204.  
  205. local function MakeSlenderVisible()
  206. local GameValues = game.Workspace.GameValues
  207. local CurrentSlender = GameValues.CurrentSlender.Value
  208. local Players = game.Players:GetPlayers()
  209. for i, v in pairs(Players)do
  210. if v.Character~= nil and v.Name == CurrentSlender then
  211. -- Objects
  212.  
  213. local BGUI = Instance.new("BillboardGui")
  214. local Shower = Instance.new("TextLabel")
  215.  
  216. -- Properties
  217.  
  218. BGUI.Name = "BGUI"
  219. BGUI.Parent = v.Character.HumanoidRootPart
  220. BGUI.AlwaysOnTop = true
  221. BGUI.Size = UDim2.new(0, 200, 0, 50)
  222.  
  223. Shower.Name = "Shower"
  224. Shower.Parent = BGUI
  225. Shower.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  226. Shower.Size = UDim2.new(0, 200, 0, 50)
  227. Shower.Font = Enum.Font.SourceSans
  228. Shower.FontSize = Enum.FontSize.Size32
  229. Shower.Text = "Slender"
  230. Shower.TextColor3 = Color3.new(0, 0.666667, 1)
  231. Shower.TextSize = 30
  232. for e, x in pairs(v.Character:GetDescendants())do
  233. if x:IsA("Part") or x:IsA("MeshPart") then
  234. x.Transparency = 0
  235. end
  236. end
  237. end
  238. end
  239. end
  240.  
  241. Mouse.KeyDown:Connect(function(Key)
  242. if Key == "z" then
  243. GetGens()
  244. elseif Key == "x" then
  245. GetPages()
  246. elseif Key == "v" then
  247. MakeSlenderVisible()
  248. elseif Key == "c" then
  249. Mouse.Target:Destroy()
  250. elseif Key == "b" then
  251. TeleportToPage()
  252. elseif Key == "e" then
  253. TeleportToPlayer()
  254. end
  255.  
  256. end)
  257.  
  258. Script:Destroy()
  259. Keys.Visible = true
  260. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement