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 » Scripters
Home Search
 

Re: Client-side explosion

Previous Thread :: Next Thread 
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
30 May 2015 08:17 PM
How to create a client-sided explosion?
Report Abuse
vacha is not online. vacha
Joined: 06 Jan 2011
Total Posts: 1993
30 May 2015 08:20 PM
Enable Filtering Enabled
Create an Explosion via localscript
Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
30 May 2015 08:22 PM
That's what I did. Nothing happens.

local Explosion = Instance.new("Explosion")
Explosion.BlastPressure = 500000
Explosion.BlastRadius = 75
Explosion.ExplosionType = "NoCraters"
Explosion.DestroyJointRadiusPercent = 1
Explosion.Position = script.Parent.Position
Explosion.Parent = script.Parent.House
Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
30 May 2015 08:27 PM
Solution?
Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
30 May 2015 08:34 PM
b1
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
30 May 2015 08:37 PM
Use BillboardGUIs instead.
Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
30 May 2015 08:38 PM
...
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
30 May 2015 08:39 PM
Idk, try parenting it to the player's PlayerGui or something. I don't use FE.
Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
30 May 2015 08:40 PM
Anyone?
Report Abuse
SneakySecretAgent is not online. SneakySecretAgent
Joined: 28 Sep 2011
Total Posts: 323
30 May 2015 09:29 PM
Filtering Enabled means that only the server can interact with the local, but not vice versa. Disable Filtering for an easier time in scripting.

Okay, we could make a clientside explosion by using a local script.

(local script)
local Cam = game.Workspace.CurrentCamera -- Important
Plr = game.Players.LocalPlayer -- Also important

local brick = Instance.new("Part")
brick.Size = Vector3.new(1,1,1)
brick.Transparency = 1 -- Well, you don't want to see the brick right?
brick.Anchored = true
brick.CanCollide = false
local expl = Instance.new("Explosion")
expl.Parent = brick
brick.Parent = Cam

Above is a working script, what it does is simply parents the part that holds the explosion to the player's camera, which will result in a client-side explosion.
Report Abuse
kindnesslord is not online. kindnesslord
Joined: 08 Aug 2012
Total Posts: 166
30 May 2015 09:31 PM
Free models:D
Report Abuse
SneakySecretAgent is not online. SneakySecretAgent
Joined: 28 Sep 2011
Total Posts: 323
30 May 2015 09:33 PM
No
Report Abuse
vacha is not online. vacha
Joined: 06 Jan 2011
Total Posts: 1993
30 May 2015 10:16 PM
sneaky WHAT are you talking about??
Local clients can communicate with the server via remote events w/ FE on!!!


while true do the do
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
30 May 2015 10:18 PM
FilteringEnabled stops most changes of the datamodel by clients. There are some whitelisted properties, though.
Report Abuse
SneakySecretAgent is not online. SneakySecretAgent
Joined: 28 Sep 2011
Total Posts: 323
30 May 2015 10:19 PM
Right, I totally forgot that.
Report Abuse
Froast is not online. Froast
Joined: 12 Mar 2009
Total Posts: 3134
30 May 2015 10:31 PM
Put the explosion in CurrentCamera.
It will still be able to kill others if they are in the BlastRadius (if FE is off) but they will not be able to see it.
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
30 May 2015 10:37 PM
The Only Solution is Too Make You're Place Not FE.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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