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: anyone knows how to make a script that...

Previous Thread :: Next Thread 
DANNYHA7 is not online. DANNYHA7
Joined: 26 Sep 2008
Total Posts: 415
27 Oct 2015 04:46 PM
anyone know howto make a script that makes everyone in the server randomly trip (sit) at once?

for how much time until someone trips, make it a math.random please. im not a good enough scripter to do this.

if you could also make it play an audio when it happens that'd be really awesome.


Developer | Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
27 Oct 2015 04:47 PM
"Developer"

No

MUSIC BISQUE
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
27 Oct 2015 04:49 PM
Aren't you from RT?

u sicko!
Report Abuse
ShadowAlphaLord is not online. ShadowAlphaLord
Joined: 20 Jun 2013
Total Posts: 124
27 Oct 2015 04:50 PM
local p = game.Players:GetChildern()
local audio = AUDIO
for i=1,#p do
p[i].Character.Humanoid.Sit = true
audio:Play()
end
Report Abuse
DANNYHA7 is not online. DANNYHA7
Joined: 26 Sep 2008
Total Posts: 415
27 Oct 2015 04:53 PM
@dermon

i should probably remove that because i quit the developing business a while ago (as in building for ppl but i guess thats not developing)


Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324


Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324
Report Abuse
DANNYHA7 is not online. DANNYHA7
Joined: 26 Sep 2008
Total Posts: 415
27 Oct 2015 04:56 PM
@shadow

thanks, but where is the seconds waiting?


Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324
Report Abuse
DANNYHA7 is not online. DANNYHA7
Joined: 26 Sep 2008
Total Posts: 415
27 Oct 2015 04:59 PM
b123


Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324
Report Abuse
LeitrisArcade is not online. LeitrisArcade
Joined: 15 May 2010
Total Posts: 2127
27 Oct 2015 05:01 PM
while wait(math.random(1,5)) do
for i,v in pairs(game.Players:GetChildren()) do
v.Character.Humanoid.Sit = true
end
end


FilteringDisabled is for squares
Report Abuse
DANNYHA7 is not online. DANNYHA7
Joined: 26 Sep 2008
Total Posts: 415
27 Oct 2015 05:06 PM
@leitris

may you make it so an audio plays at the same time as they sit?


Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx324
Report Abuse
DANNYHA7 is not online. DANNYHA7
Joined: 26 Sep 2008
Total Posts: 415
27 Oct 2015 05:19 PM
BringUpMyPost of guidance


Builder | Alt of Dannyha,DANNYHA7 R$1337 Tx330
Report Abuse
LeitrisArcade is not online. LeitrisArcade
Joined: 15 May 2010
Total Posts: 2127
27 Oct 2015 05:28 PM
soundID = PUTSOUNDIDHERE
soundVolume = 1 --Number between 0 & 1

while wait(math.random(1,5)) do
for i,v in pairs(game.Players:GetChildren()) do
local character = v.Character
local slipSound = Instance.new('Sound',character.HumanoidRootPart)
slipSound.SoundId = "rbxassetid://"..soundID
slipSound.Volume = soundVolume
v.Character.Humanoid.Sit = true
slipSound:Play()
slipSound.Ended:connect(function()
slipSound:Destroy()
end)
end
end


FilteringDisabled is for squares
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