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: Would this work if you were trying to delay... *URGENT PLS*

Previous Thread :: Next Thread 
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 02:43 AM
The spawn time, only until someone clicks a textbutton?

plr = game.Players.LocalPlayer

c = plr.Character

h = c.Humanoid

if h.Health == 0 then

c.Parent = game.ServerStorage

end

Then on the button's script:

c.Parent = game.Workspace


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 02:46 AM
b1


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 02:48 AM
so inactive qq


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
29 Dec 2014 03:16 AM
i cri u uneficient i stp lua script for 2 year i learn java syntax i still better
Report Abuse
Varyze is not online. Varyze
Joined: 19 Feb 2012
Total Posts: 3135
29 Dec 2014 03:17 AM
make the countdown timer, and when the timer gets to 0. make them respawn.



but if they click a text box, then...



use the onClick function for the textbox, so onClick - then teleport the player to one of the spawns

Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 03:21 AM
@var

You don't understand this concept.

I'm trying to delay the spawn.

This would work, and you don't need on click.

You could just do script.Parent.MouseButton1Click:connect(function()

end)

easier^

I'm wondering if this would work to hold the character until the person clicks.


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
29 Dec 2014 03:23 AM
u destroy the cahracter as soon as it respawns if u want da ppl to see them selves die then u do load character and make a cool bool
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 03:24 AM
@Chop

Use real English then talk to me.

I'm going to actually try this first.


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Varyze is not online. Varyze
Joined: 19 Feb 2012
Total Posts: 3135
29 Dec 2014 03:25 AM
Being rude to people isn't going to get you anywhere while asking for help.


I was gonna be nice and try to script this for you, but you got this.
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 03:27 AM
I do have this, better than you.

You really don't understand scripting well enough to answer threads, from the things I've seen post.




Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Varyze is not online. Varyze
Joined: 19 Feb 2012
Total Posts: 3135
29 Dec 2014 03:28 AM
it aint easy being cheesy

































btw im not even trying to be helpful in threads, im just posting random junk that people believe is legit, l0l
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
29 Dec 2014 03:28 AM
Ok, you want to "delay" the spawning of a character. You are simply using the wrong word.

YOU WANT TO STOP THE SPAWNING OF A CHARACTER.

Then spawn the character when certain conditions are met. Making things sound complicated.
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 03:29 AM
that's about what I thought


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 03:30 AM
@Chop

No, I do want to delay it, not stop it.

Stopping it = not letting it spawn anytime, anywhere

Delaying = waiting for something to happen


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
29 Dec 2014 03:31 AM
Ok you've proven my point I've mentioned in the other thread. You are ignorant/stupid and I can not fix that. I refuse to help you now.
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 03:37 AM
>Implying you could ever help me

I doubt you know how to use print.


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
29 Dec 2014 03:40 AM
I'll complete this tomorrow when I'm rested.


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
29 Dec 2014 04:08 AM
local plr = game.Players.LocalPlayer
local chr = plr.Character

script.Parent.MouseButton1Click:connect(function()
if chr:WaitForChild("Humanoid").Health ~= 0 then
chr.Humanoid.Health = 0
end)

-- make a script and put all of this in it [this is a comment]
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
29 Dec 2014 05:15 AM
--------------------------------- LOCAL SCRIPT IN PLAYER GUI
Player = game:GetService("Players").LocalPlayer
repeat wait() until Player.Character
wait(1)
Character = Player.Character
Humanoid = Character:WaitForChild("Humanoid")
DeadGui= game:GetService("ReplicatedStorage"):WaitForChild("DeadGui")

h.Died:connect(function()
DeadGui:Clone().Parent = Player:WaitForChild("PlayerGui")
end)

-------------------------------- BUTTON SCRIPT IN DEADGUI
local Player = game:GetService("Players").LocalPlayer
local DeadGui = script.Parent
local DeadButton = DeadGui:WaitForChild("DeadButton")
local RemoteEvent = game:GetService("RemoteEvent")
DeadButton.Button1Up:connect(function()
RemoteEvent:Fire("Respawn", Player)
end)

-------------------------------- SERVER SCRPIT IN SERVERSCRIPTSERVICE
local Players = game:GetService("Players")
local RemoteEvent = game:GetService("RemoteEvent")

Players.CharacterAutoLoads = false

RemoteEvent.Event:connect(function(Sort, Player)
if Sort == "Respawn" then
Players:WaitForChild(Player):LoadCharacter()
end
end)

Players.PlayerAdded:connect(function(Player)
Player:LoadCharacter()
end

~Master bug finder twitch.tv/ROBLOX/c/4691695 14:08~
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