Advertisement
Guest User

Survivor GUI

a guest
Jul 15th, 2017
4,565
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.16 KB | None | 0 0
  1. -- Objects
  2.  
  3. local SurvivorBeta = Instance.new("ScreenGui")
  4. local DRAGGABLE = Instance.new("TextButton")
  5. local UI = Instance.new("Frame")
  6. local Version = Instance.new("TextLabel")
  7. local Title = Instance.new("TextLabel")
  8. local Idols = Instance.new("TextButton")
  9. local Advantages = Instance.new("TextButton")
  10. local EnableMouselock = Instance.new("TextButton")
  11. local Teleport = Instance.new("TextButton")
  12. local PNAME = Instance.new("TextBox")
  13. local ClickTele = Instance.new("TextButton")
  14. local TELEMODE = Instance.new("TextLabel")
  15.  
  16. -- Properties
  17.  
  18. SurvivorBeta.Name = "Survivor (Beta)"
  19. SurvivorBeta.Parent = game.CoreGui
  20.  
  21. DRAGGABLE.Name = "DRAGGABLE"
  22. DRAGGABLE.Parent = SurvivorBeta
  23. DRAGGABLE.BackgroundColor3 = Color3.new(1, 1, 1)
  24. DRAGGABLE.BackgroundTransparency = 1
  25. DRAGGABLE.BorderSizePixel = 0
  26. DRAGGABLE.Draggable = true
  27. DRAGGABLE.Position = UDim2.new(0.5, -250, 0.5, -200)
  28. DRAGGABLE.Size = UDim2.new(0, 500, 0, 400)
  29. DRAGGABLE.Font = Enum.Font.SourceSans
  30. DRAGGABLE.FontSize = Enum.FontSize.Size14
  31. DRAGGABLE.Text = ""
  32. DRAGGABLE.TextSize = 14
  33.  
  34. UI.Name = "UI"
  35. UI.Parent = DRAGGABLE
  36. UI.BackgroundColor3 = Color3.new(0.0392157, 0.847059, 0.933333)
  37. UI.BackgroundTransparency = 0.80000001192093
  38. UI.BorderColor3 = Color3.new(1, 1, 1)
  39. UI.BorderSizePixel = 5
  40. UI.Position = UDim2.new(0.5, -200, 0.5, -150)
  41. UI.Size = UDim2.new(0, 400, 0, 300)
  42.  
  43. Version.Name = "Version"
  44. Version.Parent = UI
  45. Version.BackgroundColor3 = Color3.new(1, 1, 1)
  46. Version.BackgroundTransparency = 1
  47. Version.Position = UDim2.new(0, 345, 0, 265)
  48. Version.Size = UDim2.new(0, 50, 0, 50)
  49. Version.Font = Enum.Font.Code
  50. Version.FontSize = Enum.FontSize.Size14
  51. Version.Text = "V.1.0.6"
  52. Version.TextColor3 = Color3.new(1, 1, 1)
  53. Version.TextSize = 14
  54.  
  55. Title.Name = "Title"
  56. Title.Parent = UI
  57. Title.BackgroundColor3 = Color3.new(0.658824, 0.658824, 0.658824)
  58. Title.BackgroundTransparency = 0.30000001192093
  59. Title.BorderColor3 = Color3.new(0, 0, 0)
  60. Title.BorderSizePixel = 0
  61. Title.Size = UDim2.new(0, 400, 0, 50)
  62. Title.Font = Enum.Font.SourceSansLight
  63. Title.FontSize = Enum.FontSize.Size48
  64. Title.Text = "Survivor (Beta) Gui"
  65. Title.TextColor3 = Color3.new(1, 1, 1)
  66. Title.TextSize = 45
  67.  
  68. Idols.Name = "Idols"
  69. Idols.Parent = UI
  70. Idols.BackgroundColor3 = Color3.new(0.14902, 0.929412, 1)
  71. Idols.BackgroundTransparency = 0.5
  72. Idols.BorderSizePixel = 0
  73. Idols.Position = UDim2.new(0, 25, 0, 75)
  74. Idols.Size = UDim2.new(0, 150, 0, 50)
  75. Idols.Font = Enum.Font.SourceSansLight
  76. Idols.FontSize = Enum.FontSize.Size28
  77. Idols.Text = "Idols"
  78. Idols.TextColor3 = Color3.new(1, 1, 1)
  79. Idols.TextSize = 25
  80.  
  81. Advantages.Name = "Advantages"
  82. Advantages.Parent = UI
  83. Advantages.BackgroundColor3 = Color3.new(0.14902, 0.929412, 1)
  84. Advantages.BackgroundTransparency = 0.5
  85. Advantages.BorderSizePixel = 0
  86. Advantages.Position = UDim2.new(0, 25, 0, 150)
  87. Advantages.Size = UDim2.new(0, 150, 0, 50)
  88. Advantages.Font = Enum.Font.SourceSansLight
  89. Advantages.FontSize = Enum.FontSize.Size28
  90. Advantages.Text = "Advantages"
  91. Advantages.TextColor3 = Color3.new(1, 1, 1)
  92. Advantages.TextSize = 25
  93.  
  94. EnableMouselock.Name = "EnableMouselock"
  95. EnableMouselock.Parent = UI
  96. EnableMouselock.BackgroundColor3 = Color3.new(0.14902, 0.929412, 1)
  97. EnableMouselock.BackgroundTransparency = 0.5
  98. EnableMouselock.BorderSizePixel = 0
  99. EnableMouselock.Position = UDim2.new(0, 25, 0, 225)
  100. EnableMouselock.Size = UDim2.new(0, 150, 0, 50)
  101. EnableMouselock.Font = Enum.Font.SourceSansLight
  102. EnableMouselock.FontSize = Enum.FontSize.Size28
  103. EnableMouselock.Text = "EnableMouselock"
  104. EnableMouselock.TextColor3 = Color3.new(1, 1, 1)
  105. EnableMouselock.TextSize = 25
  106.  
  107. Teleport.Name = "Teleport"
  108. Teleport.Parent = UI
  109. Teleport.BackgroundColor3 = Color3.new(0.14902, 0.929412, 1)
  110. Teleport.BackgroundTransparency = 0.5
  111. Teleport.BorderSizePixel = 0
  112. Teleport.Position = UDim2.new(0, 225, 0, 75)
  113. Teleport.Size = UDim2.new(0, 150, 0, 50)
  114. Teleport.Font = Enum.Font.SourceSansLight
  115. Teleport.FontSize = Enum.FontSize.Size28
  116. Teleport.Text = "Teleport"
  117. Teleport.TextColor3 = Color3.new(1, 1, 1)
  118. Teleport.TextSize = 25
  119.  
  120. PNAME.Name = "PNAME"
  121. PNAME.Parent = UI
  122. PNAME.BackgroundColor3 = Color3.new(0.14902, 0.929412, 1)
  123. PNAME.BackgroundTransparency = 0.20000000298023
  124. PNAME.BorderSizePixel = 0
  125. PNAME.Position = UDim2.new(0, 225, 0, 125)
  126. PNAME.Size = UDim2.new(0, 150, 0, 30)
  127. PNAME.Font = Enum.Font.SourceSansLight
  128. PNAME.FontSize = Enum.FontSize.Size24
  129. PNAME.Text = "Enter Playername"
  130. PNAME.TextColor3 = Color3.new(1, 1, 1)
  131. PNAME.TextSize = 20
  132.  
  133. ClickTele.Name = "ClickTele"
  134. ClickTele.Parent = UI
  135. ClickTele.BackgroundColor3 = Color3.new(0.14902, 0.929412, 1)
  136. ClickTele.BackgroundTransparency = 0.5
  137. ClickTele.BorderSizePixel = 0
  138. ClickTele.Position = UDim2.new(0, 225, 0, 178)
  139. ClickTele.Size = UDim2.new(0, 150, 0, 50)
  140. ClickTele.Font = Enum.Font.SourceSansLight
  141. ClickTele.FontSize = Enum.FontSize.Size28
  142. ClickTele.Text = "ClickTele"
  143. ClickTele.TextColor3 = Color3.new(1, 1, 1)
  144. ClickTele.TextSize = 25
  145.  
  146. TELEMODE.Name = "TELEMODE"
  147. TELEMODE.Parent = UI
  148. TELEMODE.BackgroundColor3 = Color3.new(0.14902, 0.929412, 1)
  149. TELEMODE.BackgroundTransparency = 0.20000000298023
  150. TELEMODE.BorderSizePixel = 0
  151. TELEMODE.Position = UDim2.new(0, 225, 0, 228)
  152. TELEMODE.Size = UDim2.new(0, 150, 0, 30)
  153. TELEMODE.Font = Enum.Font.SourceSans
  154. TELEMODE.FontSize = Enum.FontSize.Size24
  155. TELEMODE.Text = "DISABLED"
  156. TELEMODE.TextColor3 = Color3.new(1, 1, 1)
  157. TELEMODE.TextSize = 20
  158.  
  159. -- Script
  160.  
  161. warn('--// V3RMILLION @NIJAE K. //--')
  162. warn('Idea Inspired by: V3RMILLION @TOHAK')
  163.  
  164. --// Anti-Exploit //--
  165.  
  166. for _,v in pairs(game.Players.LocalPlayer.PlayerGui:GetChildren()) do
  167. if v:IsA('LocalScript') then
  168. v:Destroy()
  169. end
  170. end
  171.  
  172. for _,v in pairs(game.StarterGui:GetChildren()) do
  173. if v:IsA('LocalScript') then
  174. v:Destroy()
  175. end
  176. end
  177.  
  178. --// Variables //--
  179.  
  180. survivorgui = game.CoreGui['Survivor (Beta)']
  181. UI = survivorgui.DRAGGABLE.UI
  182.  
  183. --// Idols //--
  184.  
  185. UI.Idols.MouseButton1Down:connect(function()
  186. local idols = game.Workspace.Misc.Idols:GetChildren()
  187. local lp = game.Players.LocalPlayer.Character
  188.  
  189. for i = 1,#idols do
  190. if #idols>0 then
  191. lp:MoveTo(idols[i].Position)
  192. wait(2)
  193. end
  194. end
  195.  
  196. if #idols == 0 then
  197. print('No idols were found.')
  198. end
  199. end)
  200.  
  201. --// Advantages //--
  202.  
  203. UI.Advantages.MouseButton1Down:connect(function()
  204. local advantages = game.Workspace.Misc.Advantages:GetChildren()
  205. local lp = game.Players.LocalPlayer.Character
  206.  
  207. for i = 1,#advantages do
  208. if #advantages>0 then
  209. lp:MoveTo(advantages[i].Position)
  210. end
  211. end
  212.  
  213. if #advantages == 0 then
  214. print('No advantages were found.')
  215. end
  216. end)
  217.  
  218. --// EnableMouselock //--
  219.  
  220. UI.EnableMouselock.MouseButton1Down:connect(function()
  221. game.ReplicatedStorage.LocalEvents.Mouselock:FireServer(true)
  222. end)
  223.  
  224. --// Teleport //--
  225.  
  226. UI.Teleport.MouseButton1Down:connect(function()
  227. game.Players.LocalPlayer.Character:MoveTo(game.Players[UI.PNAME.Text].Character.Torso.Position)
  228. end)
  229.  
  230. --// ClickTele //--
  231.  
  232. UI.ClickTele.MouseButton1Down:connect(function(a)
  233. if UI.TELEMODE.Text=='DISABLED' then
  234. UI.TELEMODE.Text='ENABLED'
  235. local mouse=game.Players.LocalPlayer:GetMouse()
  236. mouse.Button1Down:connect(function(b)
  237. if UI.TELEMODE.Text=='ENABLED' then
  238. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=mouse.Hit+Vector3.new(0,10,0)
  239. end
  240. end)
  241. else
  242. UI.TELEMODE.Text='DISABLED'
  243. end
  244. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement