|
| 30 Aug 2017 08:32 PM |
| I Want to make it so that there Is a floating Gui above the players head, But I Don,t know how, Iv'e tried making the Gui's parent The Players head, and iv'e tried ----- Instance.New("BillboardGui", Workspace.Lumberlegend.Head) but Still Nothing, Does anyone know what I'm doing wrong..... Ps I'm new at scripting |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 08:35 PM |
Your name is lumberlegend123, not Lumberlegend. Also, Workspace is deprecated. New should be lowercased. It takes 3-7 seconds for the character's head to load in, so the head probably doesn't exist. Instance.new(arg1,arg2) is deprecated And this will only work for you
|
|
|
| Report Abuse |
|
|
Firehoaxx
|
  |
| Joined: 24 Dec 2015 |
| Total Posts: 950 |
|
|
| 30 Aug 2017 08:39 PM |
Eyo, keep learning scripting, and when watching on tube, do it in studio while they show you
game.Workspace.BillboardGui.Parent = game.Workspace.Yourname.Head
|
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 08:43 PM |
Can I Have A Script example???? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Firehoaxx
|
  |
| Joined: 24 Dec 2015 |
| Total Posts: 950 |
|
|
| 30 Aug 2017 08:55 PM |
put billboardGui into workspace put this into script
game.Workspace.BillboardGui.Parent = game.Workspace.Yourexactname:WaitForChild("Head", 10) |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 08:59 PM |
| I Did exactly what you said and still nothing, does the script need to be in the Gui???? |
|
|
| Report Abuse |
|
|
Firehoaxx
|
  |
| Joined: 24 Dec 2015 |
| Total Posts: 950 |
|
|
| 30 Aug 2017 09:00 PM |
| no, but both need to be in workspace, and tell me what the output says |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 09:02 PM |
| The output says ----- Lumberlegend123 is not a valid member of Workspace ------- |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 09:25 PM |
game.Players.PlayerAdded:connect(function(plr) if plr.Name == "lumberlegend123" then Instance.new("BillboardGui",plr.Character) print("Done") end end)
|
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 09:34 PM |
| Ok i typed exactly what you typed and i got an output that said ------ Charecter is not a valid member of players ------ And also where is the Gui placed in once its created by the instance |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 09:38 PM |
| also the output was fixed, you spelled character wrong, but i think its working because i got no wrong output but i just can't find where the Gui was placed in, and it wont show because i need to add something in it for it to project, like a frame, could i just do the same thing with the frame to be placed inside of the billboardGui instead????? |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 09:38 PM |
https://www.youtube.com/watch?v=-MsFqGCtn2k&t=15s&ab_channel=AlvinBLOX
that should help you
|
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 09:39 PM |
sir i spelled Character right
|
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 09:53 PM |
| OH MY GOD THANK YOU SO MUCH, You just saved me a bunch of time in work :D |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 10:01 PM |
| And i have also learned the :Clone() script, :D now i can make tycoons, thank you soooo much!!! |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 10:10 PM |
Ok now i am having trouble with another thing, For the tycoon when the blocks thats dropped from the dropper touches the Part that collects them and gives you points, i have a touch sensor that works only if the parts that came from the dropper Touches it, i made it to where when it touches it, it disappears the problem is the script is wrote like this -------- Function Touch(hit) if hit.parent.Name == "Part" then Workspace.Part:destroy() End script.Parent.Touched:connect(Touch)------- The problem is it destroys everything named part so if there is another player with another tycoon his blocks will get destroyed aswell, is there a way i could do a :FindPart() Script or maybe something like that???????? |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2017 10:17 PM |
| also TRILLER_BOT could you add me you seem like you know alot about scripting, and i could use your help, i will pay you..... |
|
|
| Report Abuse |
|
|