View difference between Paste ID: dPRGk8Vy and ZK3kNmVa
SHOW: | | - or go back to the newest paste.
1
-- Spawn Item
2
local Item = "Sniper Ammo" -- Exact Item Name
3
local Amount1 = 1000 -- This is for if your spawning ammo, you can change how much ammo in each mag
4
local Amount2 = 5 -- This is how much your spawning
5
local Position = CFrame.new(game:GetService"Players".LocalPlayer.Character.HumanoidRootPart.Position)Vector3.new(2,1,2)
6
game:GetService("Workspace").resources.events.createItemInWorld:FireServer(58, Item, Position, Amount1, Amount2)
7
8
-----
9
10
-- God Mode
11-
local Plr = game:GetService("Workspace").PlayerName.Humandoid -- "PlayerName" replace with ur name
11+
local Plr = game:GetService("Workspace").lafur2.Humandoid -- "PlayerName" replace with ur name
12
game:GetService("Workspace").resources.events.humTakeDamage:FireServer(Plr,1)
13
game:GetService("Workspace").resources.events.humTakeDamage:FireServer(Plr,10)
14
game:GetService("Workspace").resources.events.humTakeDamage:FireServer(Plr,-10)
15
game:GetService("Workspace").resources.events.humTakeDamage:FireServer(Plr,-100)
16
game:GetService("Workspace").resources.events.humTakeDamage:FireServer(Plr,-1000)
17
game:GetService("Workspace").resources.events.humTakeDamage:FireServer(Plr,-10000)
18
game:GetService("Workspace").resources.events.humTakeDamage:FireServer(Plr,-100000)
19
game:GetService("Workspace").resources.events.humTakeDamage:FireServer(Plr,-1000000)