Advertisement
Marvin2001NL

No fall Damage

Jan 5th, 2022
4,366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.77 KB | None | 0 0
  1. -- Made by Matsumae for game: Natural Disaster Survival
  2. -- Update 0.1 - Scrolling Frame instead
  3.  
  4. local goi = game.CoreGui:FindFirstChild("NaturalDisasterGui")
  5. if goi then
  6. goi:Destroy()
  7. end
  8. local CAS = game:GetService('ContextActionService')
  9. local Gui = Instance.new("ScreenGui")
  10. local Frame = Instance.new("ScrollingFrame")
  11. local Label = Instance.new("TextLabel")
  12. local Button1 = Instance.new("TextButton")
  13. local Button2 = Instance.new("TextButton")
  14. local Button3 = Instance.new("TextButton")
  15. local Button4 = Instance.new("TextButton")
  16. local Button5 = Instance.new("TextButton")
  17. local Button6 = Instance.new("TextButton")
  18. local Open = Instance.new("TextButton")
  19. local Close = Instance.new("TextButton")
  20. local Message = Instance.new("TextLabel")
  21. local CoreGui = game:GetService('CoreGui')
  22. local plrs = game:GetService("Players")
  23. local plr = plrs.LocalPlayer
  24. local TeleportService = game:GetService('TeleportService')
  25. ----------------------------------------------------------------------
  26. Gui.Name = 'NaturalDisasterGui'
  27. Gui.Parent = game.CoreGui
  28.  
  29. Frame.Name = 'Frame'
  30. Frame.Parent = Gui
  31. Frame.BorderSizePixel = 1
  32. Frame.Position = UDim2.new(0.006, 0,0.536, 0)
  33. Frame.Size = UDim2.new(0, 210,0, 320)
  34. Frame.BackgroundColor3 = Color3.fromRGB(0,0,0)
  35. Frame.BorderColor3 = Color3.fromRGB(20,20,20)
  36. Frame.Selectable = true
  37. Frame.Active = true
  38. Frame.Visible = false
  39.  
  40. Label.Name = 'Label'
  41. Label.Parent = Frame
  42. Label.Position = UDim2.new(0,0,0,0)
  43. Label.Size = UDim2.new(0, 200,0, 74)
  44. Label.BackgroundColor3 = Color3.new(255,255,255)
  45. Label.BackgroundTransparency = 1
  46. Label.Text = "Natural Disaster Gui"
  47. Label.TextSize = 14
  48. Label.TextColor3 = Color3.fromRGB(145,124,126)
  49. Label.Font = Enum.Font.Code
  50. Label.TextScaled = true
  51.  
  52. Open.Name = 'Open'
  53. Open.Parent = Gui
  54. Open.Position = UDim2.new(0.006, 0,0.460, 0)
  55. Open.Size = UDim2.new(0, 166,0, 50)
  56. Open.BackgroundColor3 = Color3.fromRGB(0,0,0)
  57. Open.BorderColor3 = Color3.fromRGB(20,20,20)
  58. Open.Selectable = true
  59. Open.Active = true
  60. Open.Font = Enum.Font.Code
  61. Open.TextColor3 = Color3.fromRGB(145,124,126)
  62. Open.TextScaled = true
  63. Open.Text = "OPEN"
  64.  
  65. Close.Name = 'Close'
  66. Close.Parent = Gui
  67. Close.Position = UDim2.new(0.006, 0,0.460, 0)
  68. Close.Size = UDim2.new(0, 166,0, 50)
  69. Close.BackgroundColor3 = Color3.fromRGB(0,0,0)
  70. Close.BorderColor3 = Color3.fromRGB(20,20,20)
  71. Close.Selectable = true
  72. Close.Active = true
  73. Close.Font = Enum.Font.Code
  74. Close.TextColor3 = Color3.fromRGB(145,124,126)
  75. Close.TextScaled = true
  76. Close.Visible = false
  77. Close.Text = "CLOSE"
  78.  
  79. Message.Name = 'Message'
  80. Message.Parent = Gui
  81. Message.Position = UDim2.new(0.367, 0,-0.030, 0)
  82. Message.Size = UDim2.new(0, 363,0, 71)
  83. Message.BackgroundColor3 = Color3.fromRGB(0,0,0)
  84. Message.Text = "Next Disaster Is:"
  85. Message.TextSize = 14
  86. Message.TextColor3 = Color3.fromRGB(145,124,126)
  87. Message.Font = Enum.Font.Code
  88. Message.TextScaled = true
  89. Message.Selectable = true
  90. Message.Active = true
  91. Message.Visible = false
  92.  
  93. Button1.Name = 'Button1'
  94. Button1.Parent = Frame
  95. Button1.Position = UDim2.new(0.085, 0,0.060, 0)
  96. Button1.Size = UDim2.new(0, 166,0, 50)
  97. Button1.BackgroundColor3 = Color3.fromRGB(0,0,0)
  98. Button1.BorderColor3 = Color3.fromRGB(20,20,20)
  99. Button1.Selectable = true
  100. Button1.Active = true
  101. Button1.Font = Enum.Font.Code
  102. Button1.TextColor3 = Color3.fromRGB(145,124,126)
  103. Button1.TextScaled = true
  104. Button1.Text = "Disable Fall Damage"
  105.  
  106. Button2.Name = 'Button2'
  107. Button2.Parent = Frame
  108. Button2.Position = UDim2.new(0.085, 0,0.105, 0)
  109. Button2.Size = UDim2.new(0, 166,0, 50)
  110. Button2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  111. Button2.BorderColor3 = Color3.fromRGB(20,20,20)
  112. Button2.Selectable = true
  113. Button2.Active = true
  114. Button2.Font = Enum.Font.Code
  115. Button2.TextColor3 = Color3.fromRGB(145,124,126)
  116. Button2.TextScaled = true
  117. Button2.Text = "Teleport To China Version"
  118.  
  119. Button3.Name = 'Button3'
  120. Button3.Parent = Frame
  121. Button3.Position = UDim2.new(0.085, 0,0.150, 0)
  122. Button3.Size = UDim2.new(0, 166,0, 50)
  123. Button3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  124. Button3.BorderColor3 = Color3.fromRGB(20,20,20)
  125. Button3.Selectable = true
  126. Button3.Active = true
  127. Button3.Font = Enum.Font.Code
  128. Button3.TextColor3 = Color3.fromRGB(145,124,126)
  129. Button3.TextScaled = true
  130. Button3.Text = "Open Vote Menu"
  131.  
  132. Button4.Name = 'Button4'
  133. Button4.Parent = Frame
  134. Button4.Position = UDim2.new(0.085, 0,0.150, 0)
  135. Button4.Size = UDim2.new(0, 166,0, 50)
  136. Button4.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  137. Button4.BorderColor3 = Color3.fromRGB(20,20,20)
  138. Button4.Selectable = true
  139. Button4.Active = true
  140. Button4.Font = Enum.Font.Code
  141. Button4.TextColor3 = Color3.fromRGB(145,124,126)
  142. Button4.Visible = false
  143. Button4.TextScaled = true
  144. Button4.Text = "Close Vote Menu"
  145.  
  146. Button5.Name = 'Button5'
  147. Button5.Parent = Frame
  148. Button5.Position = UDim2.new(0.085, 0,0.195, 0)
  149. Button5.Size = UDim2.new(0, 166,0, 50)
  150. Button5.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  151. Button5.BorderColor3 = Color3.fromRGB(20,20,20)
  152. Button5.Selectable = true
  153. Button5.Active = true
  154. Button5.Font = Enum.Font.Code
  155. Button5.TextColor3 = Color3.fromRGB(145,124,126)
  156. Button5.Visible = true
  157. Button5.TextScaled = true
  158. Button5.Text = "Start Auto Farm"
  159.  
  160. Button6.Name = 'Button6'
  161. Button6.Parent = Frame
  162. Button6.Position = UDim2.new(0.085, 0,0.793, 0)
  163. Button6.Size = UDim2.new(0, 166,0, 50)
  164. Button6.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  165. Button6.BorderColor3 = Color3.fromRGB(20,20,20)
  166. Button6.Selectable = true
  167. Button6.Active = true
  168. Button6.Font = Enum.Font.Code
  169. Button6.TextColor3 = Color3.fromRGB(145,124,126)
  170. Button6.Visible = false
  171. Button6.TextScaled = true
  172. Button6.Text = "Stop Auto Farm"
  173. ----------------------------------------------------------------------
  174. local TweenService = game:GetService('TweenService')
  175. local object = CoreGui.NaturalDisasterGui.Frame.Label
  176. local object1 = CoreGui.NaturalDisasterGui.Frame.Button1
  177. local object2 = CoreGui.NaturalDisasterGui.Frame.Button2
  178. local object3 = CoreGui.NaturalDisasterGui.Frame.Button3
  179. local object4 = CoreGui.NaturalDisasterGui.Frame
  180. local object5 = CoreGui.NaturalDisasterGui.Open
  181. local object6 = CoreGui.NaturalDisasterGui.Close
  182. local object7 = CoreGui.NaturalDisasterGui.Frame.Button4
  183. local object8 = CoreGui.NaturalDisasterGui.Message
  184. local object9 = CoreGui.NaturalDisasterGui.Frame.Button5
  185. local object10 = CoreGui.NaturalDisasterGui.Frame.Button6
  186. local tweenInfo = TweenInfo.new(1.8)
  187.  
  188. Open.MouseButton1Click:Connect(function()
  189. Open.Visible = false
  190. Close.Visible = true
  191. Frame.Visible = true
  192. end)
  193.  
  194. Close.MouseButton1Click:Connect(function()
  195. Close.Visible = false
  196. Open.Visible = true
  197. Frame.Visible = false
  198. end)
  199.  
  200. Button1.MouseButton1Click:Connect(function()
  201. if game:GetService("Workspace")[plr.Name]:FindFirstChild("FallDamageScript") then
  202. game:GetService("Workspace")[plr.Name]:FindFirstChild("FallDamageScript"):Destroy()
  203. game.StarterGui:SetCore("SendNotification", {
  204. Title = "Fall Damage Has Disabled";
  205. Text = ""
  206. })
  207. end
  208. end)
  209.  
  210. Button2.MouseButton1Click:Connect(function()
  211. game.StarterGui:SetCore("SendNotification", {
  212. Title = "Teleporting...";
  213. Text = ""
  214. })
  215. TeleportService:Teleport(3696971654,plr)
  216. end)
  217.  
  218. Button3.MouseButton1Click:Connect(function()
  219. if plr.PlayerGui.MainGui.MapVotePage.Visible == false then
  220. plr.PlayerGui.MainGui.MapVotePage.Visible = true
  221. Button3.Visible = false
  222. Button4.Visible = true
  223. end
  224. end)
  225.  
  226. Button4.MouseButton1Click:Connect(function()
  227. if plr.PlayerGui.MainGui.MapVotePage.Visible == true then
  228. plr.PlayerGui.MainGui.MapVotePage.Visible = false
  229. Button3.Visible = true
  230. Button4.Visible = false
  231. end
  232. end)
  233.  
  234. Button5.MouseButton1Click:Connect(function()
  235. if game:GetService('Players').LocalPlayer.Character then
  236. local char = game:GetService('Players').LocalPlayer.Character
  237. if char:FindFirstChild('HumanoidRootPart') ~= nil then
  238. Button5.Visible = false
  239. Button6.Visible = true
  240. Event = game.RunService.Stepped:Connect(function()
  241. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-273, 179.5, 394)
  242. end)
  243. end
  244. end
  245. end)
  246.  
  247. Button6.MouseButton1Click:Connect(function()
  248. Button5.Visible = true
  249. Button6.Visible = false
  250. Event:Disconnect()
  251. end)
  252.  
  253. function disableFallDmg(actionName, inputState, inputObject)
  254. if inputState == Enum.UserInputState.Begin then
  255. if game:GetService("Workspace")[plr.Name]:FindFirstChild("FallDamageScript") ~= nil then
  256. game:GetService("Workspace")[plr.Name]:FindFirstChild("FallDamageScript"):Destroy()
  257. game.StarterGui:SetCore("SendNotification", {
  258. Title = "Fall Damage Has Disabled";
  259. Text = ""
  260. })
  261. end
  262. end
  263. end
  264.  
  265. CAS:BindAction('disableFallDmg', disableFallDmg, true, Enum.KeyCode.LeftControl)
  266.  
  267. while wait(1) do
  268. local r, g, b = math.random(), math.random(), math.random()
  269. local goal = {TextColor3 = Color3.new(r, g, b)}
  270. local goal1 = {BorderColor3 = Color3.new(r, g, b)}
  271.  
  272. local tween = TweenService:Create(object, tweenInfo, goal)
  273. local tween1 = TweenService:Create(object1, tweenInfo, goal)
  274. local tween2 = TweenService:Create(object2, tweenInfo, goal)
  275. local tween3 = TweenService:Create(object3, tweenInfo, goal)
  276. local tween4 = TweenService:Create(object5, tweenInfo, goal)
  277. local tween5 = TweenService:Create(object6, tweenInfo, goal)
  278. local tween6 = TweenService:Create(object7, tweenInfo, goal)
  279. local tween7 = TweenService:Create(object8, tweenInfo, goal)
  280. local tween8 = TweenService:Create(object1, tweenInfo, goal1)
  281. local tween9 = TweenService:Create(object2, tweenInfo, goal1)
  282. local tween10 = TweenService:Create(object3, tweenInfo, goal1)
  283. local tween11 = TweenService:Create(object4, tweenInfo, goal1)
  284. local tween12 = TweenService:Create(object5, tweenInfo, goal1)
  285. local tween13 = TweenService:Create(object6, tweenInfo, goal1)
  286. local tween14 = TweenService:Create(object7, tweenInfo, goal1)
  287. local tween15 = TweenService:Create(object8, tweenInfo, goal1)
  288. local tween16 = TweenService:Create(object9, tweenInfo, goal1)
  289. local tween17 = TweenService:Create(object9, tweenInfo, goal)
  290. local tween18 = TweenService:Create(object10, tweenInfo, goal1)
  291. local tween19 = TweenService:Create(object10, tweenInfo, goal)
  292. local SurvivalTag = plr.Character:FindFirstChild("SurvivalTag")
  293. if SurvivalTag then
  294. Message.Visible = true
  295. Message.Text = "Next Disaster Is: "..SurvivalTag.Value
  296. else
  297. Message.Visible = false
  298. end
  299. tween:Play()
  300. tween1:Play()
  301. tween2:Play()
  302. tween3:Play()
  303. tween4:Play()
  304. tween5:Play()
  305. tween6:Play()
  306. tween7:Play()
  307. tween8:Play()
  308. tween9:Play()
  309. tween10:Play()
  310. tween11:Play()
  311. tween12:Play()
  312. tween13:Play()
  313. tween14:Play()
  314. tween15:Play()
  315. tween16:Play()
  316. tween17:Play()
  317. tween18:Play()
  318. tween19:Play()
  319. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement