Advertisement
BrokenVortex

Roblox Dead Winter Scripts

Nov 22nd, 2019
5,599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.02 KB | None | 0 0
  1. Crash Players (put usernames where it says shell it takes awhile for it to crash them)
  2.  
  3. for i = 1, 1000 do
  4. wait(0.1)
  5. game.Workspace.resources.events.snowSplat:FireServer(game.Players.Shell)
  6. game.Workspace.resources.events.snowSplat:FireServer(game.Players.Shell)
  7. game.Workspace.resources.events.snowSplat:FireServer(game.Players.Shell)
  8. game.Workspace.resources.events.snowSplat:FireServer(game.Players.Shell)
  9. game.Workspace.resources.events.snowSplat:FireServer(game.Players.Shell)
  10. end
  11.  
  12. Infinite Health / Kill Script (Remove the - in -99999999999999 to make it become a kill script)
  13.  
  14. People = game.Players.LocalPlayer.Character
  15. game.Workspace.resources.events.humTakeDamage:FireServer(People.Humanoid, -99999999999999)
  16.  
  17. Spawner Gui 1
  18.  
  19. local spawner = Instance.new("ScreenGui")
  20. local Main = Instance.new("Frame")
  21. local ItemFrame = Instance.new("ScrollingFrame")
  22. local ItemSearch = Instance.new("TextBox")
  23. local SpawnButton = Instance.new("TextButton")
  24. local Title = Instance.new("TextLabel")
  25.  
  26.  
  27. spawner.Name = "spawner"
  28. spawner.Parent = game.CoreGui
  29.  
  30. Main.Name = "Main"
  31. Main.Parent = spawner
  32. Main.BackgroundColor3 = Color3.new(0.701961, 0.701961, 0.701961)
  33. Main.BorderSizePixel = 0
  34. Main.Position = UDim2.new(0, 667, 0, 228)
  35. Main.Size = UDim2.new(0, 266, 0, 244)
  36. Main.Active = true
  37. Main.Draggable = true
  38.  
  39. ItemFrame.Name = "ItemFrame"
  40. ItemFrame.Parent = Main
  41. ItemFrame.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
  42. ItemFrame.BorderSizePixel = 0
  43. ItemFrame.Position = UDim2.new(0, 56, 0, 76)
  44. ItemFrame.Size = UDim2.new(0, 155, 0, 92)
  45. ItemFrame.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  46. ItemFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  47. ItemFrame.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  48.  
  49. ItemSearch.Name = "ItemSearch"
  50. ItemSearch.Parent = Main
  51. ItemSearch.BackgroundColor3 = Color3.new(0.533333, 0.533333, 0.533333)
  52. ItemSearch.BorderSizePixel = 0
  53. ItemSearch.Position = UDim2.new(0, 56, 0, 53)
  54. ItemSearch.Size = UDim2.new(0, 155, 0, 25)
  55. ItemSearch.Font = Enum.Font.SourceSansBold
  56. ItemSearch.FontSize = Enum.FontSize.Size14
  57. ItemSearch.Text = "Search for an item!"
  58. ItemSearch.TextColor3 = Color3.new(1, 1, 1)
  59. ItemSearch.TextScaled = true
  60. ItemSearch.TextSize = 14
  61. ItemSearch.TextWrapped = true
  62.  
  63. SpawnButton.Name = "SpawnButton"
  64. SpawnButton.Parent = Main
  65. SpawnButton.BackgroundColor3 = Color3.new(0.027451, 1, 0.482353)
  66. SpawnButton.BorderSizePixel = 0
  67. SpawnButton.Position = UDim2.new(0, 34, 0, 186)
  68. SpawnButton.Size = UDim2.new(0, 199, 0, 35)
  69. SpawnButton.ZIndex = 2
  70. SpawnButton.AutoButtonColor = false
  71. SpawnButton.Font = Enum.Font.ArialBold
  72. SpawnButton.FontSize = Enum.FontSize.Size14
  73. SpawnButton.Text = "SPAWN"
  74. SpawnButton.TextColor3 = Color3.new(1, 1, 1)
  75. SpawnButton.TextScaled = true
  76. SpawnButton.TextSize = 14
  77. SpawnButton.TextWrapped = true
  78.  
  79. Title.Name = "Title"
  80. Title.Parent = Main
  81. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  82. Title.BackgroundTransparency = 1
  83. Title.BorderSizePixel = 0
  84. Title.Size = UDim2.new(0, 266, 0, 30)
  85. Title.Font = Enum.Font.SourceSansBold
  86. Title.FontSize = Enum.FontSize.Size14
  87. Title.Text = "Pancake Haxx"
  88. Title.TextColor3 = Color3.new(1, 1, 1)
  89. Title.TextScaled = true
  90. Title.TextSize = 14
  91. Title.TextWrapped = true
  92.  
  93. local backgroundObjects = Instance.new('Folder', spawner.Main)
  94. backgroundObjects.Name = 'BackgroundObjects'
  95.  
  96. local SpawnButton = Instance.new("TextButton", backgroundObjects)
  97. SpawnButton.Name = "SpawnButton"
  98. SpawnButton.Parent = game.CoreGui.spawner.Main.BackgroundObjects
  99. SpawnButton.BackgroundColor3 = Color3.new(0.0196078, 0.729412, 0.34902)
  100. SpawnButton.BorderSizePixel = 0
  101. SpawnButton.Position = UDim2.new(0, 34, 0, 193)
  102. SpawnButton.Size = UDim2.new(0, 199, 0, 35)
  103. SpawnButton.AutoButtonColor = false
  104. SpawnButton.Font = Enum.Font.SourceSans
  105. SpawnButton.FontSize = Enum.FontSize.Size14
  106. SpawnButton.Text = ""
  107. SpawnButton.TextSize = 14
  108.  
  109. local gui = spawner.Main
  110. local box = gui:WaitForChild('ItemSearch')
  111. local items = gui:WaitForChild('ItemFrame')
  112. local path = Game.Lighting.assets.itemModels
  113. local btn = gui:WaitForChild('SpawnButton')
  114. local pos = gui:WaitForChild('BackgroundObjects').SpawnButton.Position
  115.  
  116.  
  117. local function search(text)
  118. local items = {}
  119. for i, v in next, path:GetChildren() do
  120. if text:upper() == v.Name:sub(1, string.len(text)):upper() then
  121. table.insert(items, v.Name)
  122. end
  123. end
  124. return items
  125. end
  126.  
  127. local function bind(thing, f)
  128. thing.MouseButton1Click:connect(function()
  129. f()
  130. end)
  131. end
  132.  
  133. box.Changed:connect(function()
  134. local list = search(box.Text)
  135. if box.Text:gsub("", "") == "" then
  136. items.CanvasSize = UDim2.new(0, 0, 0, 0)
  137. items:ClearAllChildren()
  138. return
  139. end
  140. items.CanvasSize = UDim2.new(0, 0, 0, 0)
  141. items:ClearAllChildren()
  142. for i, v in next, list do
  143. local yPos = ((20 * i) - 20)
  144. local s = Instance.new('TextButton', items)
  145. s.BorderSizePixel = 0
  146. s.Font = Enum.Font.ArialBold
  147. s.TextScaled = true
  148. s.Text = v
  149. s.Name = v
  150. s.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
  151. s.TextColor3 = Color3.new(0, 0, 0)
  152. s.Size = UDim2.new(0, 155, 0, 20)
  153. s.Position = UDim2.new(0, 0, 0, yPos)
  154. bind(s, function()
  155. box.Text = s.Text
  156. items:ClearAllChildren()
  157. items.CanvasSize = UDim2.new(0, 0, 0, 0)
  158. end)
  159. end
  160. items.CanvasSize = UDim2.new(0, 0, 0, (20 * #list))
  161. end)
  162.  
  163. local People = game.Players.LocalPlayer.Name
  164. btn.MouseButton1Click:connect(function()
  165. game.Workspace.resources.events.createItemInWorld:FireServer(49,box.Text,Game.Workspace[People].Torso.CFrame,100)
  166. end)
  167.  
  168. Spawner Gui 2
  169.  
  170. local SpawnGui = Instance.new("ScreenGui")
  171. local ItemName = Instance.new("TextBox")
  172. local TextButton = Instance.new("TextButton")
  173. local Count = Instance.new("TextBox")
  174. local TextButton_2 = Instance.new("TextButton")
  175. local Hide = Instance.new("TextButton")
  176. local Show = Instance.new("TextButton")
  177. local SpawnButton = Instance.new("TextButton")
  178.  
  179. -- Properties
  180.  
  181. SpawnGui.Name = "SpawnGui"
  182. SpawnGui.Parent = game.CoreGui
  183.  
  184. ItemName.Name = "ItemName"
  185. ItemName.Parent = SpawnGui
  186. ItemName.BackgroundColor3 = Color3.new(0.529412, 0.529412, 0.529412)
  187. ItemName.Position = UDim2.new(0, 0, 0, 300)
  188. ItemName.Size = UDim2.new(0, 200, 0, 50)
  189. ItemName.Font = Enum.Font.SciFi
  190. ItemName.FontSize = Enum.FontSize.Size14
  191. ItemName.Text = "Item"
  192.  
  193. TextButton.Parent = ItemName
  194. TextButton.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  195. TextButton.Position = UDim2.new(0, 200, 0, 0)
  196. TextButton.Size = UDim2.new(0, 50, 0, 50)
  197. TextButton.Font = Enum.Font.SciFi
  198. TextButton.FontSize = Enum.FontSize.Size10
  199. TextButton.Text = "Item OK!"
  200.  
  201. Count.Name = "Count"
  202. Count.Parent = SpawnGui
  203. Count.BackgroundColor3 = Color3.new(0.529412, 0.529412, 0.529412)
  204. Count.Position = UDim2.new(0, 0, 0, 350)
  205. Count.Size = UDim2.new(0, 200, 0, 50)
  206. Count.Font = Enum.Font.SciFi
  207. Count.FontSize = Enum.FontSize.Size14
  208. Count.Text = "Stack in item"
  209.  
  210. TextButton_2.Parent = Count
  211. TextButton_2.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  212. TextButton_2.Position = UDim2.new(0, 200, 0, 0)
  213. TextButton_2.Size = UDim2.new(0, 50, 0, 50)
  214. TextButton_2.Font = Enum.Font.SciFi
  215. TextButton_2.FontSize = Enum.FontSize.Size10
  216. TextButton_2.Text = "Stack OK!"
  217.  
  218. Hide.Name = "Hide"
  219. Hide.Parent = SpawnGui
  220. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  221. Hide.Position = UDim2.new(0, 0, 0, 264)
  222. Hide.Size = UDim2.new(0, 50, 0, 35)
  223. Hide.Font = Enum.Font.SciFi
  224. Hide.FontSize = Enum.FontSize.Size10
  225. Hide.Text = "Hide <"
  226.  
  227. Show.Name = "Show"
  228. Show.Parent = SpawnGui
  229. Show.BackgroundColor3 = Color3.new(1, 1, 1)
  230. Show.Position = UDim2.new(0, 0, 0, 264)
  231. Show.Size = UDim2.new(0, 50, 0, 35)
  232. Show.Visible = false
  233. Show.Font = Enum.Font.SciFi
  234. Show.FontSize = Enum.FontSize.Size10
  235. Show.Text = "Show >"
  236.  
  237. SpawnButton.Name = "SpawnButton"
  238. SpawnButton.Parent = SpawnGui
  239. SpawnButton.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  240. SpawnButton.Position = UDim2.new(0, 0, 0, 451)
  241. SpawnButton.Size = UDim2.new(0, 250, 0, 40)
  242. SpawnButton.Font = Enum.Font.SciFi
  243. SpawnButton.FontSize = Enum.FontSize.Size10
  244. SpawnButton.Text = "Spawn!"
  245. SpawnButton.TextColor3 = Color3.new(0, 0, 0)
  246.  
  247. lightup = function(button)
  248. coroutine.resume(coroutine.create(function()
  249. local origincolor = button.BackgroundColor3
  250. button.BackgroundColor3 = Color3.new(0, 1, 0)
  251. wait(0.1)
  252. button.BackgroundColor3 = origincolor
  253. end))
  254. end
  255.  
  256. function changename()
  257. lightup(TextButton)
  258. nameofitem = ItemName.Text
  259. end
  260. TextButton.MouseButton1Down:connect(changename)
  261.  
  262. function changeamount()
  263. lightup(TextButton_2)
  264. Amount = tonumber(Count.Text)
  265. end
  266. TextButton_2.MouseButton1Down:connect(changeamount)
  267.  
  268. HideGui = function()
  269. lightup(Hide)
  270. for _, v in pairs (SpawnGui:GetChildren()) do
  271. v.Visible = false
  272. end
  273. Show.Visible = true
  274. end
  275. Hide.MouseButton1Down:connect(HideGui)
  276.  
  277. ShowGui = function()
  278. lightup(Show)
  279. for _, v in pairs (SpawnGui:GetChildren()) do
  280. v.Visible = true
  281. end
  282. Show.Visible = false
  283. end
  284. Show.MouseButton1Down:connect(ShowGui)
  285.  
  286. local player = game.Players.LocalPlayer
  287. local user = player.Character;
  288. local cam = workspace.CurrentCamera;
  289.  
  290. function spawnitem()
  291. lightup(SpawnButton)
  292. if Amount and nameofitem then
  293. for i = 1, Amount do
  294. local player = game.Players.LocalPlayer
  295. local user = player.Character;
  296. local cam = workspace.CurrentCamera;
  297. local hit, position = workspace:FindPartOnRayWithIgnoreList(Ray.new((user.Torso.CFrame*CFrame.new(0, 0, -5)).p, Vector3.new(0, -60, 0)), {cam, workspace.Terrain});
  298. local area = CFrame.new(position+Vector3.new(0, 3, 0))*CFrame.Angles(0, math.rad(math.random(0, 359)), 0);
  299. local origin = game.Players.LocalPlayer.Character.Torso.CFrame;
  300. local cframe = area*origin:toObjectSpace(game.Players.LocalPlayer.Character.Torso.CFrame);
  301. game.Workspace.resources.events.createItemInWorld:FireServer(10, tostring(nameofitem), cframe)
  302. end
  303. end
  304. end
  305.  
  306. SpawnButton.MouseButton1Down:connect(spawnitem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement