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: I need a script (Info Inside) Good Pay!

Previous Thread :: Next Thread 
lolifail1212 is not online. lolifail1212
Joined: 09 Feb 2013
Total Posts: 211
13 Aug 2017 10:28 PM
In need of a script

-When 4 player are on a part they get tp'ed at different locations (All locations are specific)

-Need to works 4 times (Having 4 of them will work)

-(auto duels tp pad for exemple)

Discord: PulseFire#2958


Report Abuse
iiNemo is online. iiNemo
Joined: 22 Jul 2013
Total Posts: 2380
13 Aug 2017 10:35 PM
k wats the pay
Report Abuse
lolifail1212 is not online. lolifail1212
Joined: 09 Feb 2013
Total Posts: 211
13 Aug 2017 10:37 PM
What's the price? :3


Report Abuse
iiNemo is online. iiNemo
Joined: 22 Jul 2013
Total Posts: 2380
13 Aug 2017 10:37 PM
Offer
Report Abuse
lolifail1212 is not online. lolifail1212
Joined: 09 Feb 2013
Total Posts: 211
13 Aug 2017 10:39 PM
Idk what's the work needed and I have no idea about scripts so tell me a price for you to do it


Report Abuse
iiNemo is online. iiNemo
Joined: 22 Jul 2013
Total Posts: 2380
13 Aug 2017 10:40 PM
give a reasonable range
Report Abuse
lolifail1212 is not online. lolifail1212
Joined: 09 Feb 2013
Total Posts: 211
13 Aug 2017 10:42 PM
100-300??


Report Abuse
iiNemo is online. iiNemo
Joined: 22 Jul 2013
Total Posts: 2380
13 Aug 2017 10:42 PM
eh I think ill pass that's like nothing tbh, maybe u will find a kid who will do it.
Report Abuse
lolifail1212 is not online. lolifail1212
Joined: 09 Feb 2013
Total Posts: 211
13 Aug 2017 10:44 PM
500??


Report Abuse
lolifail1212 is not online. lolifail1212
Joined: 09 Feb 2013
Total Posts: 211
13 Aug 2017 11:14 PM
Bump


Report Abuse
SatanxD666 is not online. SatanxD666
Joined: 08 Feb 2017
Total Posts: 77
13 Aug 2017 11:25 PM
pay me 22.5k and i'll do it
Report Abuse
DevSpec is not online. DevSpec
Joined: 01 Apr 2017
Total Posts: 295
13 Aug 2017 11:27 PM
local prt = script.Parent
local loc = {
Vector3.new(0,0,0),
Vector3.new(10,0,0),
Vector3.new(0,0,10),
Vector3.new(10,0,10)
}
local on = {}
prt.Touched:connect(function(h)
local humanoid = h.Parent:FindFirstChild("Humanoid") or h.Parent.Parent:FindFirstChild("Humanoid")
if humanoid then
local chr = humanoid.Parent
local plr = game.Players:GetPlayerFromCharacter(chr)
if plr then
table.insert(on, chr)
if #on==4 then
for i,v in pairs(on) do
v:MoveTo(loc[i] + Vector3.new(0,v:GetExtentsSize()/2,0)
end
end
end
end
end)
prt.TouchedEnded:connect(function(h)
local humanoid = h.Parent:FindFirstChild("Humanoid") or h.Parent.Parent:FindFirstChild("Humanoid")
if humanoid then
local chr = humanoid.Parent
local plr = game.Players:GetPlayerFromCharacter(chr)
if plr then
for i,v in paris(on) do
if v==chr then
table.remove(on, i)
end
end
end
end
end)


Report Abuse
DevSpec is not online. DevSpec
Joined: 01 Apr 2017
Total Posts: 295
13 Aug 2017 11:29 PM
No pay necessary, I was bored. Not sure if it works as I haven't tested, but it should, unless there's a small typo or something.

prt is the pad you want them to have to stand on
loc is an array of locations you want them to be teleported to



oh, and I just found an issue, change the line starting with
v:MoveTo

to this:

v:MoveTo(loc[i] + Vector3.new(0,v:GetExtentsSize().Y/2,0))


Report Abuse
SlimeMan22 is online. SlimeMan22
Joined: 10 Mar 2012
Total Posts: 1210
13 Aug 2017 11:37 PM
^ Thanks for being the kind of person I wish this sub(forum) was made up of

Šçrätčh ïïś üśëd bÿ łëvëł 17 äñöñ DÖŠ HTMŁ hæx0rs whö üsë ŚQŁ++ ïïńśpëçt ëłæmęñtïïñg
Report Abuse
lolifail1212 is not online. lolifail1212
Joined: 09 Feb 2013
Total Posts: 211
13 Aug 2017 11:41 PM
^^ I just tried it and it works when there is only 1 player on it and I get tped to a random location

Still thank you for you time and help


Report Abuse
DevSpec is not online. DevSpec
Joined: 01 Apr 2017
Total Posts: 295
13 Aug 2017 11:45 PM
Hang on, I'll fix it. Give me a second


Report Abuse
DevSpec is not online. DevSpec
Joined: 01 Apr 2017
Total Posts: 295
13 Aug 2017 11:52 PM
I'm about 95% sure that this will work

local prt = script.Parent
local loc = {
Vector3.new(0,0,0),
Vector3.new(10,0,0),
Vector3.new(0,0,10),
Vector3.new(10,0,10)
}
local on = {}
function inTable(tab, obj)
for i,v in pairs(tab) do
if v==obj then
return true
end
end
return false
end
prt.Touched:connect(function(h)
local humanoid = h.Parent:FindFirstChild("Humanoid") or h.Parent.Parent:FindFirstChild("Humanoid")
if humanoid then
local chr = humanoid.Parent
local plr = game.Players:GetPlayerFromCharacter(chr)
if plr and not inTable(on, plr) then
table.insert(on, plr)
if #on==4 then
for i,v in pairs(on) do
v.Character:MoveTo(loc[i] + Vector3.new(0,v.Character:GetExtentsSize().Y/2,0))
end
for i=1,#on do
table.remove(on,i)
end
end
end
end
end)
prt.TouchEnded:connect(function(h)
local humanoid = h.Parent:FindFirstChild("Humanoid") or h.Parent.Parent:FindFirstChild("Humanoid")
if humanoid then
local chr = humanoid.Parent
local plr = game.Players:GetPlayerFromCharacter(chr)
if plr then
for i,v in pairs(on) do
if v==plr then
table.remove(on, i)
end
end
end
end
end)



Report Abuse
lolifail1212 is not online. lolifail1212
Joined: 09 Feb 2013
Total Posts: 211
13 Aug 2017 11:56 PM
Thank you so much! We need more people like you in the community.

Now I need to find 3 other player to test it ;-;

And how do I select the loc I want (I place 4 loc parts on different locations?)


Report Abuse
DevSpec is not online. DevSpec
Joined: 01 Apr 2017
Total Posts: 295
14 Aug 2017 12:34 AM
See where I put

local loc = {
Vector3.new(0,0,0),
Vector3.new(10,0,0),
Vector3.new(0,0,10),
Vector3.new(10,0,10)
}



Put 4 parts on the map at each location. Select each part, open the Properties window, and copy the Position property of the part. Paste it in one of the Vector3.new()

For example, say it says 1,8.4,1 in the Position property. You would change the loc array to this:

local loc = {
Vector3.new(1,8.4,1),
Vector3.new(10,0,0),
Vector3.new(0,0,10),
Vector3.new(10,0,10)
}


and repeat for each of the parts


Report Abuse
DevSpec is not online. DevSpec
Joined: 01 Apr 2017
Total Posts: 295
14 Aug 2017 12:36 AM
Also, to test, in studio go to the "Test" tab, you can start a server with 4 'fake' players in it that you control


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