Advertisement
Upscalefanatic3

Dead Winter Scripts

Jan 17th, 2018
7,904
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.35 KB | None | 0 0
  1. -- [Simple Godmode] - Don't use any type of healing item as it will reset your health to 100
  2.  
  3. People = game.Players.LocalPlayer.Character
  4. game.Workspace.resources.events.humTakeDamage:FireServer(People.Humanoid, -9999999)
  5.  
  6. -- [Godmode other players]
  7.  
  8. People = game.Players[PlayerName].Character
  9. game.Workspace.resources.events.humTakeDamage:FireServer(People.Humanoid, -99999999)
  10.  
  11. -- [Kill script] - Try not to kill them when they are in the safe zone as it will backfire and kill you
  12.  
  13. People = game.Players[PlayerName].Character
  14. game.Workspace.resources.events.humTakeDamage:FireServer(People.Humanoid, 9999999)
  15.  
  16.  
  17.  
  18. -- [Spawn GUI]
  19.  
  20. local spawner = Instance.new("ScreenGui")
  21. local Main = Instance.new("Frame")
  22. local ItemFrame = Instance.new("ScrollingFrame")
  23. local ItemSearch = Instance.new("TextBox")
  24. local SpawnButton = Instance.new("TextButton")
  25. local Title = Instance.new("TextLabel")
  26.  
  27.  
  28. spawner.Name = "spawner"
  29. spawner.Parent = game.CoreGui
  30.  
  31. Main.Name = "Main"
  32. Main.Parent = spawner
  33. Main.BackgroundColor3 = Color3.new(0.701961, 0.701961, 0.701961)
  34. Main.BorderSizePixel = 0
  35. Main.Position = UDim2.new(0, 667, 0, 228)
  36. Main.Size = UDim2.new(0, 266, 0, 244)
  37. Main.Active = true
  38. Main.Draggable = true
  39.  
  40. ItemFrame.Name = "ItemFrame"
  41. ItemFrame.Parent = Main
  42. ItemFrame.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
  43. ItemFrame.BorderSizePixel = 0
  44. ItemFrame.Position = UDim2.new(0, 56, 0, 76)
  45. ItemFrame.Size = UDim2.new(0, 155, 0, 92)
  46. ItemFrame.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  47. ItemFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  48. ItemFrame.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  49.  
  50. ItemSearch.Name = "ItemSearch"
  51. ItemSearch.Parent = Main
  52. ItemSearch.BackgroundColor3 = Color3.new(0.533333, 0.533333, 0.533333)
  53. ItemSearch.BorderSizePixel = 0
  54. ItemSearch.Position = UDim2.new(0, 56, 0, 53)
  55. ItemSearch.Size = UDim2.new(0, 155, 0, 25)
  56. ItemSearch.Font = Enum.Font.SourceSansBold
  57. ItemSearch.FontSize = Enum.FontSize.Size14
  58. ItemSearch.Text = "Search for an item!"
  59. ItemSearch.TextColor3 = Color3.new(1, 1, 1)
  60. ItemSearch.TextScaled = true
  61. ItemSearch.TextSize = 14
  62. ItemSearch.TextWrapped = true
  63.  
  64. SpawnButton.Name = "SpawnButton"
  65. SpawnButton.Parent = Main
  66. SpawnButton.BackgroundColor3 = Color3.new(0.027451, 1, 0.482353)
  67. SpawnButton.BorderSizePixel = 0
  68. SpawnButton.Position = UDim2.new(0, 34, 0, 186)
  69. SpawnButton.Size = UDim2.new(0, 199, 0, 35)
  70. SpawnButton.ZIndex = 2
  71. SpawnButton.AutoButtonColor = false
  72. SpawnButton.Font = Enum.Font.ArialBold
  73. SpawnButton.FontSize = Enum.FontSize.Size14
  74. SpawnButton.Text = "SPAWN"
  75. SpawnButton.TextColor3 = Color3.new(1, 1, 1)
  76. SpawnButton.TextScaled = true
  77. SpawnButton.TextSize = 14
  78. SpawnButton.TextWrapped = true
  79.  
  80. Title.Name = "Title"
  81. Title.Parent = Main
  82. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  83. Title.BackgroundTransparency = 1
  84. Title.BorderSizePixel = 0
  85. Title.Size = UDim2.new(0, 266, 0, 30)
  86. Title.Font = Enum.Font.SourceSansBold
  87. Title.FontSize = Enum.FontSize.Size14
  88. Title.Text = "DeadWinter"
  89. Title.TextColor3 = Color3.new(1, 1, 1)
  90. Title.TextScaled = true
  91. Title.TextSize = 14
  92. Title.TextWrapped = true
  93.  
  94. local backgroundObjects = Instance.new('Folder', spawner.Main)
  95. backgroundObjects.Name = 'BackgroundObjects'
  96.  
  97. local SpawnButton = Instance.new("TextButton", backgroundObjects)
  98. SpawnButton.Name = "SpawnButton"
  99. SpawnButton.Parent = game.CoreGui.spawner.Main.BackgroundObjects
  100. SpawnButton.BackgroundColor3 = Color3.new(0.0196078, 0.729412, 0.34902)
  101. SpawnButton.BorderSizePixel = 0
  102. SpawnButton.Position = UDim2.new(0, 34, 0, 193)
  103. SpawnButton.Size = UDim2.new(0, 199, 0, 35)
  104. SpawnButton.AutoButtonColor = false
  105. SpawnButton.Font = Enum.Font.SourceSans
  106. SpawnButton.FontSize = Enum.FontSize.Size14
  107. SpawnButton.Text = ""
  108. SpawnButton.TextSize = 14
  109.  
  110. local gui = spawner.Main
  111. local box = gui:WaitForChild('ItemSearch')
  112. local items = gui:WaitForChild('ItemFrame')
  113. local path = Game.Lighting.assets.itemModels
  114. local btn = gui:WaitForChild('SpawnButton')
  115. local pos = gui:WaitForChild('BackgroundObjects').SpawnButton.Position
  116.  
  117.  
  118. local function search(text)
  119. local items = {}
  120. for i, v in next, path:GetChildren() do
  121. if text:upper() == v.Name:sub(1, string.len(text)):upper() then
  122. table.insert(items, v.Name)
  123. end
  124. end
  125. return items
  126. end
  127.  
  128. local function bind(thing, f)
  129. thing.MouseButton1Click:connect(function()
  130. f()
  131. end)
  132. end
  133.  
  134. box.Changed:connect(function()
  135. local list = search(box.Text)
  136. if box.Text:gsub("", "") == "" then
  137. items.CanvasSize = UDim2.new(0, 0, 0, 0)
  138. items:ClearAllChildren()
  139. return
  140. end
  141. items.CanvasSize = UDim2.new(0, 0, 0, 0)
  142. items:ClearAllChildren()
  143. for i, v in next, list do
  144. local yPos = ((20 * i) - 20)
  145. local s = Instance.new('TextButton', items)
  146. s.BorderSizePixel = 0
  147. s.Font = Enum.Font.ArialBold
  148. s.TextScaled = true
  149. s.Text = v
  150. s.Name = v
  151. s.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
  152. s.TextColor3 = Color3.new(0, 0, 0)
  153. s.Size = UDim2.new(0, 155, 0, 20)
  154. s.Position = UDim2.new(0, 0, 0, yPos)
  155. bind(s, function()
  156. box.Text = s.Text
  157. items:ClearAllChildren()
  158. items.CanvasSize = UDim2.new(0, 0, 0, 0)
  159. end)
  160. end
  161. items.CanvasSize = UDim2.new(0, 0, 0, (20 * #list))
  162. end)
  163.  
  164. local People = game.Players.LocalPlayer.Name
  165. btn.MouseButton1Click:connect(function()
  166. game.Workspace.resources.events.createItemInWorld:FireServer(49,box.Text,Game.Workspace[People].Torso.CFrame,2000000000)
  167. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement