llaserxJoin Date: 2011-12-10 Post Count: 53069 |
i am poor ;-;
All Hail Holy Glob, NarkWhales |
|
llaserxJoin Date: 2011-12-10 Post Count: 53069 |
b1
All Hail Holy Glob, NarkWhales |
|
|
make me empty skript for 2 ticket |
|
chimmihcJoin Date: 2014-09-01 Post Count: 17143 |
maek meh a noodle!1!!111
i pay u 17 tixes!1!1one1!! |
|
DbsiszeroJoin Date: 2014-10-05 Post Count: 2188 |
needs 2 see if legit
I put 1 simple mistake find it m8
Apparently the exploding script does not kill the player.
local barrel = script.Parent
local damageModel = barrel.Humanoid
local fire = barrel.Torso.Fire
local smoke = barrel.Torso.Smoke
local maxHealth = barrel.Humanoid.MaxHealth
local startedBurning = false
damageModel.Health = maxHealth
local burnPart = Instance.new("Part", barrel)
burnPart.CanCollide = false
burnPart.Anchored = true
burnPart.Transparency = 1
burnPart.Name = "BurnPart"
burnPart.Size = Vector3.new(1,1,1)
fire.Parent = burnPart
smoke.Parent = burnPart
if game.Workspace.FilteringEnabled then
if not game.ReplicatedStorage:FindFirstChild("ROBLOXExplodingBarrelEvent") then
local explodeEvent = Instance.new("RemoteEvent", game.ReplicatedStorage)
explodeEvent.Name = "ROBLOXExplodingBarrelEvent"
end
game.Players.PlayerAdded:connect(function(player)
local backpack = player:WaitForChild("Backpack")
if not backpack:FindFirstChild("ROBLOXBarrelLocalScript") then
local localScript = barrel.ROBLOXBarrelLocalScript:clone()
localScript.Parent = player:WaitForChild("Backpack")
end
end)
end
local function getConfig(configName, default)
local configs = barrel:FindFirstChild("Configurations")
if configs and configs:FindFirstChild(configName) then
return configs:FindFirstChild(configName).Value or default
end
return default
end
local blastPressure = getConfig("BlastPressure", 0)
local blastRadius = getConfig("BlastRadius", 6)
local function burn()
while damageModel.Health > 0 do
damageModel.Health = damageModel.Health - 2
wait(.3)
end
return
end
local burnThread = coroutine.create(burn)
local healthConnection
local diedConnection
local function onDied()
healthConnection:disconnect()
diedConnection:disconnect()
local explosion = Instance.new("Explosion", barrel.Torso)
explosion.BlastPressure = blastPressure
explosion.Position = barrel.Torso.Position
explosion.BlastRadius = blastRadius
explosion.DestroyJointRadiusPercent = 1
if game.Workspace.FilteringEnabled then
game.ReplicatedStorage.ROBLOXExplodingBarrelEvent:FireAllClients(barrel)
else
for _, part in pairs(barrel:GetChildren()) do
if part and part:IsA("BasePart") and part.Name ~= "BurnPart" and part.Name ~= "Torso" and part.Name ~= "Head" then
part.CanCollide = true
local firePart = Instance.new("Part", barrel)
firePart.CanCollide = false
firePart.Anchored = true
firePart.Transparency = 1
local partFire = Instance.new("Fire", firePart)
partFire.Enabled = true
partFire.Size = math.ceil(2 * (part.Size.X + part.Size.Y + part.Size.Z) / 3)
local burnOutThread = coroutine.create(function()
local start = os.time()
local waitTime = math.random(3, 5)
while partFire.Size > 2 do
if os.time() - start > waitTime then
start = os.time()
partFire.Size = partFire.Size - .5
end
firePart.Position = part.Position
wait()
end
firePart:Destroy()
wait(waitTime)
part:Destroy()
end)
coroutine.resume(burnOutThread)
end
end
end
fire.Enabled = false
smoke.Enabled = false
barrel.Torso.CanCollide = false
barrel.Torso.Transparency = 1
wait(1)
burnPart:Destroy()
barrel.Torso:Destroy()
barrel.Head:Destroy()
barrel.Humanoid:Destroy()
end
healthConnection = damageModel.HealthChanged:connect(function(health)
if health < maxHealth / 3 then
if not startedBurning then
startedBurning = true
coroutine.resume(burnThread)
end
fire.Enabled = true
fire.Size = 8
smoke.Enabled = true
elseif health < maxHealth * 2 / 3 then
if not startedBurning then
startedBurning = true
coroutine.resume(burnThread)
end
fire.Enabled = true
fire.Size = 5
elseif health < maxHealth then
fire.Enabled = true
fire.Size = 3
end
if health <= 0 then
onDied()
end
end)
diedConnection = damageModel.Died:connect(onDied)
damageModel:ChangeState(Enum.HumanoidStateType.Physics)
while true do
--damageModel:ChangeState(Enum.HumanoidStateType.Ragdoll)
if barrel:FindFirstChild("Torso") and barrel:FindFirstChild("BurnPart") then
burnPart.Position = barrel.Torso.Position
end
wait()
end |
|
SerGregorJoin Date: 2010-07-17 Post Count: 7957 |
lol db, nice try
just ask the guy what metamethods does |
|
DbsiszeroJoin Date: 2014-10-05 Post Count: 2188 |
no its not that hard 2 find just change the blast radius 2 5000 not 0 lel |
|
llaserxJoin Date: 2011-12-10 Post Count: 53069 |
its
bascially a exploding barrel?
All Hail Holy Glob, NarkWhales |
|
llaserxJoin Date: 2011-12-10 Post Count: 53069 |
wow
rlly...
All Hail Holy Glob, NarkWhales |
|
llaserxJoin Date: 2011-12-10 Post Count: 53069 |
i ned money ;-;
All Hail Holy Glob, NarkWhales |
|
WrathsongJoin Date: 2012-07-05 Post Count: 22393 |
how to print hello world |
|
|
lol at how that kid just took the free model exploding barrel and pasted the script |
|
llaserxJoin Date: 2011-12-10 Post Count: 53069 |
im poor ;-;
this is serious
Great Glob and Apple Sauce |
|
|
turret
I will pay in august when I haz money
maybe earlier
make the firing speed and damage and shots before reload customizable (in value pls)
I would like to have it done fast |
|
llaserxJoin Date: 2011-12-10 Post Count: 53069 |
wew
Great Glob and Apple Sauce |
|
|
:_: lolz am so poor can you help me out? |
|
|
y r u bumping posts 3 months old |
|