generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Skripting 4 Money

Previous Thread :: Next Thread 
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
01 Jul 2015 05:11 PM

i am poor ;-;


All Hail Holy Glob, NarkWhales
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
01 Jul 2015 06:05 PM
b1



All Hail Holy Glob, NarkWhales
Report Abuse
cookiedude42 is not online. cookiedude42
Joined: 09 Jun 2010
Total Posts: 2158
01 Jul 2015 06:06 PM
make me empty skript for 2 ticket
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
01 Jul 2015 06:08 PM
maek meh a noodle!1!!111

i pay u 17 tixes!1!1one1!!
Report Abuse
Dbsiszero is not online. Dbsiszero
Joined: 05 Oct 2014
Total Posts: 2188
01 Jul 2015 07:24 PM
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
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
01 Jul 2015 07:37 PM
lol db, nice try

just ask the guy what metamethods does
Report Abuse
Dbsiszero is not online. Dbsiszero
Joined: 05 Oct 2014
Total Posts: 2188
01 Jul 2015 07:38 PM
no its not that hard 2 find just change the blast radius 2 5000 not 0 lel
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
01 Jul 2015 08:02 PM
its
bascially a exploding barrel?


All Hail Holy Glob, NarkWhales
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
01 Jul 2015 08:05 PM
wow
rlly...


All Hail Holy Glob, NarkWhales
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
01 Jul 2015 08:06 PM
i ned money ;-;



All Hail Holy Glob, NarkWhales
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
01 Jul 2015 08:37 PM
how to print hello world
Report Abuse
cookiedude42 is not online. cookiedude42
Joined: 09 Jun 2010
Total Posts: 2158
02 Jul 2015 12:13 PM
lol at how that kid just took the free model exploding barrel and pasted the script
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
02 Jul 2015 12:18 PM
im poor ;-;

this is serious



Great Glob and Apple Sauce
Report Abuse
DerpyMerpKing is not online. DerpyMerpKing
Joined: 05 Feb 2011
Total Posts: 2553
02 Jul 2015 12:31 PM
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
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
02 Jul 2015 12:34 PM
wew



Great Glob and Apple Sauce
Report Abuse
Toews55 is not online. Toews55
Joined: 31 Jul 2014
Total Posts: 2
09 Oct 2015 11:14 PM
:_: lolz am so poor can you help me out?
Report Abuse
Lucargia is not online. Lucargia
Joined: 25 Jan 2013
Total Posts: 371
10 Oct 2015 01:14 AM
y r u bumping posts 3 months old
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image