VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 02:12 PM |
So if this makes sense, is there any possible way to script it so when a player clicks a GUI button, it kills the player and then teleports them to a specific position? I did have this, but it's only if you touch the object the script is binded to. If anyone still wants it for reference, it's here.
script.Parent.Touched:connect(function(object) pcall(function() object.Parent.Torso.CFrame = CFrame.new(-326,27.506,296) end) end)
|
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 23 Sep 2016 02:17 PM |
gui.MouseButton1orsomethinelse:connect(function() pcall(function() game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(-326,27.506,296) end) end)
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 02:23 PM |
Alright, so this line: gui.MouseButton1orsomethinelse:connect(function()
I'm trying to put 'game.Workspace.StarterGUI.["GUI"].Button' but it's not working, how could I target 1 specific button? o3o
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 02:25 PM |
Alright, so this line: gui.MouseButton1orsomethinelse:connect(function()
I'm trying to put 'game.Workspace.StarterGUI.["GUI"].Button' but it's not working, how could I target one specific button? :p
|
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 23 Sep 2016 02:31 PM |
put localscript in the gui button
do script.Parent.Button1down:connect
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 02:53 PM |
For some reason, it still doesn't let me teleport to the place specified (also, should I have mentioned it's supposed to be a skip to stage button as a developer product? o3o)
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 03:12 PM |
if you're making a game you should learn how to script first.
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 03:23 PM |
I already have made the game, I just need the developer product to function properly, also, I'm pretty sure this forum is for scripting HELP XD
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 03:24 PM |
>doesnt know how to put a script in a gui >begs people for scripts >"I made a game!! XDDDD"
doesn't add up
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 03:29 PM |
Loving the games you've made m8, 10/10.
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 03:30 PM |
i love how well you can script <3
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 03:34 PM |
But seriously, do you have anything useful to provide me relating to my problem? If not, please leave, it's a part of ROBLOX rules to not post helpful information ;P
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 03:35 PM |
you would assume that begging for scripts and making free model games would be against the rules but I guess not :/
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 03:36 PM |
No, it isn't, but guess what is?
'• Don’t Be Rude Rudeness is not welcome. Examples of what not to post, “Get out”, “dumb idea”, “no support”, “no, just no”. Those are all rude and not at all helpful.'
Key words here: 'not at all helpful'.
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 03:38 PM |
whatever, done replying. in the future maybe learn how to script before making a game that won't get >50 visits.
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 03:41 PM |
Have you even checked my profile, anyway, thanks for the help anyway I guess? .-.
|
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 23 Sep 2016 05:23 PM |
Very rude of you to discount other people's advice on a thread where you asking for help. I gave you a good basis for the script, if you actually read my first post you would realized the obvious error that needed fixing. I did not give actual code but psuedo code, the 2nd time I just thought it would be easier to help you. You do not give the script's output for us to find errors, you need to evaluate yourself and your behavior.
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 05:29 PM |
But he didn't give any advice whatsoever, he literally just said 'LEARN 2 SCRIPT BRUV' which is no help to my problem. Also, I tried putting what you told me to (and adjusted it for my MarketplaceService script) but still did not work. :(
P.S: There's an output log, please tell me where it is. ;-;
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 05:30 PM |
P.S : I can't script and I want you to do it for me because I'm too lazy to learn
ftfy
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 05:33 PM |
| VIShark, your game is a copy of speed run, and worse-built, and less stages. |
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 05:33 PM |
^ Too true it hurts :'D
Also, come back for more then? Are you going to actually contribute towards solving my problem this time? I would give you the script I need the teleportation code implemented too, but it hashtags a certain part :I
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 05:34 PM |
thegoodpuppy, it's in alpha state ;D And I don't have an imagination really, so it's only plausible I copy someone elses idea, because I 'can't script' and all :D
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 05:35 PM |
i dont think you understand that people aren't going to script for you. "script beggers" isnt a place
|
|
|
| Report Abuse |
|
|
VIShark15
|
  |
| Joined: 29 Apr 2016 |
| Total Posts: 39 |
|
|
| 23 Sep 2016 05:36 PM |
Did I mention I would pay? I don't think I did, oh well, I've said it now. XD
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 05:37 PM |
no
one
will
script
for
you
especially
for
something
like
50
robux
|
|
|
| Report Abuse |
|
|