question_score
stringclasses
21 values
title
stringlengths
6
119
question_userid
stringlengths
4
10
question_user
stringlengths
3
20
question_user_score
stringclasses
496 values
question_datetime
stringdate
2014-02-01 23:57:31
2023-04-02 01:40:15
question
stringlengths
0
11k
question_id
stringlengths
1
6
answer_count
stringclasses
8 values
answer_id
stringlengths
0
6
answer_score
stringclasses
18 values
answer_userid
stringclasses
946 values
answer_user
stringclasses
963 values
answer_user_score
stringclasses
692 values
answer_datetime
stringlengths
0
19
answer
stringlengths
0
10.7k
0
Script refuses to run function? (print lines directly after function isn't showing up)
160198246
sesamert16
31
2020-02-01 21:01:03
<p>This bug has been driving me absolutely crazy for the past two days. I'm trying to dabble in scripting/developing again for like the millionth time and this time I am NOT letting a bug like this frustrate me into abandoning the game entirely.</p> <p>Basically, I'm trying to incorporate FE and remotes into old value-...
93958
1
86780
4
49773669
cowsoncows
926
2020-02-01 22:58:35
<p>I assume you're trying to run the second script when you fire the RemoteEvent.</p> <p>Your second script will need to be run on the client, so it must be a LocalScript. Additionally, it needs to be placed somewhere on the client, I recommend <code>StarterPlayerScripts</code>. Also, your RemoteEvent needs to be place...
0
Event Fired Clinet Parameter is Nil why???
190357083
THUNDER_WOW
203
2020-07-28 07:28:33
<p>I cannot share the full script due to reasons, but I can tell about the following... I have this main script, a regular script in server script service, which picks a random part from the workspace and it fires to a client by.. Event:FireClient(Player, Part.Position). On the receiving end in another script, a local ...
110144
1
101240
3
245864252
xInfinityBear
1777
2020-07-28 12:39:07
<p>OnClientEvent doesn't have a Player parameter as you can see <a target="_blank" href="https://developer.roblox.com/en-us/api-reference/event/RemoteEvent/OnClientEvent">here</a>. You can get the player from just using <code>game.Players.LocalPlayer</code> since it's a local script. If you try printing 'Player' you'll...
1
How do I get data from a player who clicks a TextButton?
8831680
Redinosaur
0
2015-05-12 02:43:33
<p>I've been working on an inventory GUI and I want to change the stats of a player when they click this button. I've tried making my own code but it hasn't worked out so far. This is what I've tried</p> <pre class="brush: lua">function click(player) local stats = player:FindFirstChild("leaderstats") if stats then if s...
17459
1
20871
2
41100413
BSIncorporated
640
2015-05-12 03:57:58
<p>Well you don't need <code>if</code>:stats<code>then</code> twice...</p> <pre class="brush: lua">script.Parent.MouseButton1Down:connect(function()) local player = game.Players.LocalPlayer local stats = player:FindFirstChild("leaderstats") if stats then local cash = stats:findFirstChild("Genie") script.Parent.Visible ...
0
how do i make a player spawn with a basketball?
174398
marioman66
1
2017-12-28 22:57:22
<p>can i do this with welds or do i have to make it a tool</p>
51100
0
PlayerGui Script Wont Enable Screen GUI?
1680108820
JmoneyPlayzOfficial
49
2023-03-21 09:30:06
<p>This script is supposed to do that when it detects that the <code>BoolValue</code> equals <code>True</code>, then the image will change after waiting and then will delete it from <code>PlayerGui</code> after. Still, for some reason, the image won't change, I checked the dev panel and it doesn't come up with anything...
133221
0
Why is this code dealing too much damage?
323565609
18890miki
4
2023-03-15 14:05:04
<p>I made script that infects others when infected player touch them, but it deals too much damage than it should (i also noticed player that is infected also gets damaged too much)</p> <pre class='brush: lua'><br />game.Players.PlayerAdded:Connect(function(Player) Player.CharacterAdded:Connect(function(Character) ...
133191
0
How to trigger a function when dialog choice is selected?
163641015
AbsurdAwesome101
56
2020-03-31 03:24:09
<p>I was making a NPC that had some dialog and he would offer you an item. If the player clicked yes, the script was supposed to find an item from ServerStorage and put it in their Backpack. The only problem is that every tutorial I try says to use "DialogChoiceSelected" but Output says "DialogChoiceSelected is not a v...
97626
1
90201
1
303361292
Twinbrotato
543
2020-03-31 07:22:20
<p>The error says <code>DialogChoiceSelected is not a valid member if DialogChoice</code> because DialogChoice objects do not have a DialogChoiceSelected event. However, Dialog objects do. So put your script inside the Dialog object, not DialogChoice.</p> <p>The DialogChoiceSelected event also passes the player who sel...
0
Trying to trigger this function. Will someone tell me how to call this function correctly?
332695720
nafey200
52
2021-04-14 11:35:23
<p>I'm making a keycard so when it touches the keycardblock it calls a function (no errors in the output). It would be nice if someone could suggest a efficient way to trigger this function, I did the best I could but nothing happens.</p> <pre class='brush: lua'>local KeyCardBlock = game.workspace.KeyCardBlock local Ke...
122371
1
How to remove character control?
15288675
emite1000
335
2014-07-25 03:35:11
<p>How do you make it so that a player loses control of their character? As in, when they press the arrow keys they do not move? I thought that what gave Players control was the HumanoidRootPart, but deleting it just made my character sink through the ground, so now I'm stumped.</p> <p>(what I'm really trying to accomp...
8653
0
How to make player stay on rotating part?
1204864571
MarkoFANTASTINE1
0
2022-06-17 18:54:39
<p>Whenever a player stands on my rotating part, the part moves below without taking the players with it. My goal is to make the part hold the player.</p> <p>I tried 2 ways of doing this:</p> <p>The first is just changing the CFrame angle of it (the blue part). I also tried using hinge constraints with attachments, but...
130382
0
Surfacegui not showing the same for different users?
1567118459
TheEggGamerRobloxYT
0
2023-03-21 16:28:37
<p>I made a Self-Checkout that scans items and then lets you pay. In testing I had no issues with it but when there were multiple people in 1 server, it completely started breaking.</p> <p>For example if someone clicked "Pay" it would still show the main screen for others.</p> <p>and when the payment completes, it does...
133223
0
[PLEASE HELP] GUI content gets deleted for plugin?
114942345
DragonSpawner12
56
2020-09-14 01:39:00
<p>So, I had the idea of making a plugin. It had a GUI. But, when I tested the plugin, all the content of a Frame in the ScreenGui got deleted. What is happening? Link to the file is here:</p> <p><a target="_blank" href="https://bit.ly/unpackplugindownloadlink">Click me to download the file</a></p>
113145
0
How do I make the shop GUI button open?
115296508
Welovegod1029384756
25
2017-08-17 00:27:00
<p>So, I've been making this game. I know how to make the shop GUI button, but how do I make it open a GUI? I suck at scripting, so I came here.</p>
46913
2
47593
0
137505940
GameBoyOtaku
63
2017-08-18 00:32:13
<p>Simple make a local script in the GUI you want to make visible or open</p> <pre class='brush: lua'>script.Parent.MouseButton1Down:connect(function() script.Parent.Parent.YourFrame.Visible = not script.Parent.Parent.YourFrame.Visible end) -Line was too short put them together and it should work </pre>
0
What are these old roblox guns called?
559014652
Sp00ked1
6
2020-06-17 11:32:37
<p>There was some old roblox guns back in 2009 that broke in 2018 and I want to fix them so can someone please tell me what they are called? Hitscan, raycasting or what is it called?</p> <p>Inside that gun it has a Bullet script, recoil value, local script called Shooter, BackupWelds, StoredAmmo value, Ammo value, and ...
106619
0
how do i make my weapon hurt only npcs and not players and make it work in R15?
105098872
dylancrazy88
10
2021-05-05 00:01:01
<p>Tool = script.Parent Handle = Tool:WaitForChild("Handle")</p> <p>Sparkles1 = Handle:WaitForChild("Sparkles1") Sparkles2 = Handle:WaitForChild("Sparkles2") Light1 = Handle:WaitForChild("Light1") Light2 = Handle:WaitForChild("Light2")</p> <p>Players = game:GetService("Players") Debris = game:GetService("Debris") RunSe...
123108
1
Sword doesn't work when cloned into the Backpack?
167536064
MelodicSea5914
21
2020-08-20 18:10:28
<p>Ok, so I have a sword shop that when I press the button the sword from the ReplicatedStorage goes to the Backpack. That works fine. The problem is that it doesn't seem to deal damage when I activate it even though it had worked fine when I tested it by putting it in the Starterpack. Please help.</p> <p>Sword client ...
111776
1
102623
0
260954816
TheLeader_TimJunior
144
2020-08-20 18:14:45
<p>Any scripts that come from ReplicatedStorage will not transfer well to Workspace.</p> <p>Try cloning it from Workspace or lighting.</p> <p>Edit: Have to tool in StarterPack and disable it. Enable when the player should use/have it.</p> <p>Happy scripting, Tim</p>
1
Script on stringvalues and leaderstats won't work?
424755598
Mystical_Un1verse
9
2022-06-22 05:20:07
<p>I have a script that when a leaderstat in a player is changed to a specific word, the value of the StringValue will change to the players name with the keyword. The problem is, there are two StringValues and they both have essentially the same script just with different keywords, and only one of them will work at a ...
130451
0
Help with KeyDown?
40973680
InfinitivePixelsJr
542
2015-09-02 21:52:44
<p>Can anyone tell me why this script won't work? Output show's no error's. I am trying to make a Custom-Chat GUI, But this KeyDown thing won't work.</p> <pre class='brush: lua'>wait(1) -- Variables local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() local Text = script.Parent.TextFrame.TextBox -- M...
22263
0
What is wrong with the new chat system?
68116035
AxonMega
0
2016-12-15 21:21:19
<p>You chat color doesn't switch to your team color anymore and half the time it won't even let you chat at all! Is there any way I can fix this or are these bugs that roblox is currently working on?</p>
38031
0
Why can't I set the CustomPhysicalProperties of a character's parts?
71739181
Noonekirby
162
2020-02-12 02:27:04
<p>Sorry, my last question was incorrect for what I was looking for. For some reason, I can't set or print the CustomPhysicalProperties of a character's parts. [https://developer.roblox.com/en-us/api-reference/property/BasePart/CustomPhysicalProperties]</p> <pre class='brush: lua'>local function onPlayerJoin(player) ...
94483
0
Radio Script Not Detecting If The Audio Is Deleted And Still Creates Sound Asset To Try To Play It?
158695937
LuaDLL
253
2021-09-13 22:31:51
<p>The Script Is Supposed To Check If The Asset Is Valid and not Invalid and/or Content Deleted but it always returns true?</p> <pre class='brush: lua'>sg.ui.play.MouseButton1Click:Connect(function() local id = sg.ui.id local Audio = false local notanumber = false if tonumber(id.Text) th...
127421
4
[SOLVED] Checking personal server info?
157510912
General_Scripter
425
2016-03-30 20:26:41
<p>From a script in any game is there any way to check if the game is a personal server and, if so, the level of permission people in the game have? I've looked on the wiki and couldn't find anything and searched on here for a few different things but haven't found anything helpful. Any ideas?</p>
29055
2
32488
1
16865204
JamesLWalker
297
2016-03-30 20:31:58
<p>There is <strong>no way</strong> to find the personal server. Though there is a way to find a group or player created place. Here is what I found on the wiki page. You can use <a target="_blank" href="http://wiki.roblox.com/index.php?title=API:Class/DataModel/CreatorType">CreatorType</a>, which will output this.</p>...
1
Sideways tools?
14483678
beyryan
10
2014-02-25 07:32:42
<p>Hi all, i'm new to scripting and don't know much, But it seems i have a problem with alot of tool meshes (Gear made by ROBLOX), And not quite sure how to fix it. <a href="http://imgur.com/XESSrt5">http://imgur.com/XESSrt5</a> Any help?</p>
292
3
529
1
64408300
RaverKiller
668
2014-02-25 08:14:00
<p>This doesn't really have anything to do with scripting- you must rotate the handle so it's facing straight forward, I suggest you use the properties tab on the handle and set FrontSurface to Hinge so you can find the front of the sword.</p>
0
The script I made is skipping lines. Help?
536049572
NiroTurtle
83
2020-02-09 01:32:28
<p>So I'm making a script where if a model's health hits 0, the script resets the game. But the script is skipping the line where it makes the model's health 5000. Help~!</p> <p>Also another script I had that uses this kinda code works fine, it's just this one..</p> <pre class='brush: lua'>game.Workspace.Helicopter_.Hu...
94332
3
87240
1
1126954614
Lord_WitherAlt
186
2020-02-11 16:21:13
<p>This is happening because the script doesn't skip the line, but the humanoid is dead and it's health can't be changed anymore as far as I know, instead clone the model at the start of the script and parent the model to workspace after destroying the original, the edited code:</p> <pre class='brush: lua'>clonedmodel ...
2
How do I put a data persistence in a value of a player?
25444514
JonathanW123
10
2014-04-15 01:03:50
<p>In a player on my game, there's a value called Rank(string value) in game.Players.PlayerName</p> <p>How do I make it so the string is saved and will appear as the same string next time they join a server</p>
1385
1
Why won't SubtractAsync() CSG Negate?
125299045
zboi082007
270
2020-05-15 18:01:44
<pre class='brush: lua'>game.Players.PlayerAdded:Connect(function(player) local char = player.Character or player.CharacterAdded:Wait() local hitboxClone = game.Workspace.Hitbox:Clone() hitboxClone.Parent = char hitboxClone.Position = char.HumanoidRootPart.Position hitboxClone.Anchored = false h...
103242
1
95314
1
251936426
youtubemasterWOW
2741
2020-05-15 18:24:55
<p>Hello. This has a really simple fix.</p> <hr /> <p><strong>Problem:</strong></p> <ul> <li>You forgot to parent the union to Workspace.</li> </ul> <hr /> <p><strong>Solution:</strong></p> <ul> <li>Parent it to Workspace by using <code>SubtractUnion.Parent = workspace</code>.</li> </ul> <hr /> <p><strong>Recommendatio...
0
My loading screen doesn't work correctly? Also, what does % do in the second script?
29413559
alphawolvess
1784
2015-03-16 11:00:32
<p>It's pretty simple and I decided to just add Tweening but I get a Userdata error on line 8 of my script. <strong>I'd love a well detailed answer</strong></p> <p>Here's the script:</p> <pre class='brush: lua'>script.Parent:RemoveDefaultLoadingScreen() local LoadingScreen = game.ReplicatedFirst.ScreenGui:Clone() Loadi...
15811
1
How do I remove my cloned Oxygen value after leaving the ToucherPart Zone?
25240799
BearKranz
41
2022-10-30 07:55:53
<p>Working on making an oxygen system for a game. Magnitude works fine for planets, but for ships and shuttles I need to use Zones of some sort for each individual room and hallway. I need to add a method to check if the player is no longer in the ToucherPart to delete the Oxygen Value.</p> <pre class="brush: lua">whil...
132078
0
I want to know how to make a gui that has a button that when you click it gives instructions.
4694638
alan3401
28
2014-03-02 01:28:11
<p>I want to know how to make a gui that has a button that when you click it gives instructions on how to play the game.</p>
425
0
Leaderboard fail, need help?
70655232
mikeCONronald
25
2014-12-09 01:30:25
<p>I am making a tycoon with a leaderboard for cash.</p> <pre class='brush: lua'>-- leaderboard made by roboy5857 function onPlayerEntered(newPlayer) local stats = Instance.new("IntValue") stats.Name = "leaderstats" local Moneyz = Instance.new("IntValue") Moneyz.Name = "Moneyzz" Moneyz.Value = 5 ...
13117
1
16155
1
51384921
Mauvn
100
2014-12-09 01:37:12
<p>Try this instead.</p> <pre class='brush: lua'>function onPlayerEntered(newPlayer) local stats = Instance.new("IntValue") stats.Name = "leaderstats" local cash = Instance.new("IntValue") cash.Name = "Moneyzz" cash.Value = 5 cash.Parent = stats stats.Parent = newPlayer end game.Players.Chil...
0
How do you use Script.Source with multiple lines?
1179331769
Cooldoodle2019
4
2022-12-20 18:13:48
<p>im making a plugin, and it should make a script but i dont know how it would make multiple lines, my current code</p> <pre class="brush: lua">local toolbar = plugin:CreateToolbar("Create Part") local CHS = game:GetService("ChangeHistoryService") local button = toolbar:CreateButton("Add leaderstats", "Creates quicker...
132619
2
119748
0
130661594
wf_sh
15
2022-12-20 20:16:06
<p>You can create a multi-line string literal using either double square brackets or the \n (newline) escape sequence.</p> <pre class="brush: lua">print([[ Hello World! ]]) print("Hello\nWorld!") </pre> <p>In your case, I would simply use the first option and copy paste the code into the string.</p>
2
Everything Runs, Text Won't Change!?
31953400
thesit123
509
2017-07-09 14:44:40
<p><strong>Background -</strong> I have a 2 scripts, <em>local</em>, that shows the number of games that are current being held and the numbers of available games <em>(Which is, when no games are being held, 25)</em>.</p> <p><strong>PROBLEM -</strong> So everything runs fine, I added <code>print()</code> to show that i...
45024
1
46026
1
14357591
Perci1
4988
2017-07-09 15:18:20
<p>I appreciate that you actually tried to solve it yourself, kudos for that.</p> <pre class='brush: lua'>local ag = script.Parent.AvaGames.Text </pre> <p>The problem here is that you made the variable equal to an object's property (Text). When you do that, the variable will become equal to the property's <em>value,</e...
1
The following &quot;First Person Only&quot; script does not work. [SOLVED]
2669002
Corogl
0
2014-02-21 03:21:59
<p>This script, when placed in a Script and then placed in ServerScriptService does not work. I am confused whether or not I need a LocalScript and where it should be going. If this is the correct place/object, what is wrong with the script? I would like it to force the player into 1st person but not by using a GUI tha...
190
4
341
2
1546726
nate890
495
2014-02-21 04:19:56
<p>As stated by Fattycat, it should indeed be ran through a localscript, otherwise it will <strong>only</strong> work in solo mode. However, earlier I was playing with CameraMode (see <a target="_blank" href="http://www.roblox.com/Forum/ShowPost.aspx?PostID=126292650"><strong>this thread</strong></a>) and came across a...
2
Trying to have a dialog option kill the player when selected?
70166935
Asalea
25
2023-01-17 20:14:24
<pre class='brush: lua'>function Chosen(player, dialog) dialog.Name = "KillsYou" if dialog.Name == "KillsYou" then game.Players.LocalPlayer.Character.Humanoid.Health = 0 end end script.Parent.DialogChoiceSelected:connect(Chosen) </pre> <p>I currently am trying to setup a dialog option where when you...
132878
3
120009
0
845235190
blue_bunny0fficl
98
2023-01-17 23:09:47
<p>To fix error u need do this</p> <pre class='brush: lua'>local dialog = script.parent-- do parent until the dialog name comes up </pre>
1
How to detect when a player is moving?
148007899
TheJeffyBrothers69
9
2020-08-11 12:19:29
<p>So I was playing one of those speed city games and I though I could probably make one of those so I tried to make a moving detection script cause thats pretty much the entire game lol but I cant get mine to work, I know there are plenty of easier ways to make one compared to mine but I dont understand them that well...
111161
1
102054
2
31504923
rabbi99
714
2020-08-11 12:31:55
<p>There are two ways (or more idk):</p> <p>This includes MoveDirection:</p> <pre class='brush: lua'>Character.Humanoid.Changed:Connect(function() if Character.Humanoid.MoveDirection.Magnitude ~= 0 then -- moving else -- not moving end end) </pre> <p>There's also an event:</p> <pre class='br...
0
[SOLVED!] Why doesn't my remote event fire?
561329525
Desmondo1
36
2021-01-14 06:34:13
<p>I'm making a winning system. And the way I show the winning gui is to move the gui from server storage to the winners backpack. All of that has been succesful. But I also need to activate the local script so I used a remote event. But whenever I fire the remote event it doesn't do anything.</p> <p>Edit: I basically ...
118672
0
&quot;Character is not a valid member of Model &quot;Workspace.Player&quot; &quot;; what'd I do wrong?
37085603
flamethower2002
50
2021-04-07 22:35:48
<p>I am trying to change a players model - I did some research into the matter and butchered a few different scripts together to match what I was trying to do. The main script works, I can control the new model as intended; the problem lies within the camera. It stays where the previous players model lies - as expected...
122131
0
Can someone help me with this bug which is effecting me majorly?
104415244
CrazyCorrs
98
2019-02-20 20:10:26
<p>Hello. I have made a script which is meant to remove a house when a player leaves or types a command. I made this a function. This seems to work fine but whenever around 8 people start playing I get this error saying "Infinate yield possible on". This is really annoying because I know for a fact it's there and I kee...
76564
1
71855
1
266723646
AIetheo
236
2019-02-20 20:50:12
<p>My first guess is that its because you used ipairs which stops once it finds a nil arguement, and that you used WaitForChild instead of FindFirstChild.</p> <pre class='brush: lua'>function remove(booth) for i, child in pairs(game.ReplicatedStorage.Information:GetChildren()) do if child:FindFirstChild("Pl...
0
How would I make something that I click revert when I click it again?
118061211
jacksworld2808
15
2020-05-22 05:17:22
<p>I have a part which as a fire effect, so far I have it that when you click it the fire will be enabled. I don't how to make it when I click it again the fire will be disabled.</p> <p>Current Script -</p> <pre class='brush: lua'>local fire = script.Parent.Fire script.Parent.ClickDetector.MouseClick:Connect(function(p...
103944
1
Can I hide COREGUI for only one player?
10051780
Badfitz60
13
2014-09-06 07:03:42
<p>I'm trying to make a generic copy of murder mystery, got everything down but I need to make sure dead players can't chat.</p>
10623
1
help with making a color changing part?
1521480603
NexterDev
11
2020-11-22 16:13:36
<p>how do i make a rainbow part?</p> <p>do i have to do like this?</p> <pre class='brush: lua'>part.BrickColor = BrickColor.new("Bright red") part.BrickColor = BrickColor.new("Lapis") part.BrickColor = BrickColor.new("Black") part.BrickColor = BrickColor.new("Pink") </pre>
116161
0
How to remove Datastore from offline players?
698186957
sign_there
0
2020-07-27 06:18:00
<p>I have a leaderboard in my game and a player cheated their way up and now the player has stopped playing the game. How will i remove the player from the leaderboard. i have tried</p> <pre class='brush: lua'>local DataStoreService = game:GetService("DataStoreService") local coinsDataStore = DataStoreService:GetDataSt...
110056
0
why doesn't my shield disappear after dying the 2nd time?
105098872
dylancrazy88
20
2021-10-07 17:02:49
<pre class='brush: lua'>-- Variables -- local Char = script.Parent["Remilia Scarlet"] -- npc name local Shield = script.Parent.Shield local Hum = script.Parent["Remilia Scarlet"].Minor local Health = script.Parent["Remilia Scarlet"].Minor.Health local FractionOfMaxHealth = script.Parent["Remilia Scarlet"].Minor.MaxHeal...
127811
0
[SOLVED] How do I make a toggleable button that makes parts appear and disappear?
1316268318
Dave_Robertson
20
2020-10-18 11:55:23
<p><strong>Information:</strong></p> <ul> <li>I am not getting any errors</li> <li>I already attempted this, it didn't work.</li> <li>The parent of the script game.StarterGui.GraphicsGui.GraphicsButton</li> <li>The script is a LocalScript</li> <li>When I click the button nothing happens.</li> <li>The folder :<a target=...
114514
0
Why doesn't this part tween script work with multiple parts?
11545405
greybird700
63
2017-06-16 02:04:38
<p>I have added GetChildren so that it will do the following to all of the children but it's not working? Any fixes/explanations?</p> <pre class='brush: lua'>local TweenService = game:GetService("TweenService") local part = script.Parent:GetChildren() local Info = TweenInfo.new( 3, -- Length Enum.EasingStyle.Elastic, -...
44080
1
45274
0
60263778
KingLoneCat
2642
2017-06-16 02:12:47
<p>Hey greybird700,</p> <h3>The issue with your script is that you are putting in a table as the argument for <code>TweenService's :Create()</code> function and that can't happen because you need a <code>UserData Value</code>, not an <code>Array</code>. So, there's an easy fix for this, all you have to do is just use a...
0
My Player.Backpack script isn't working. I dont know why but I am pretty sure I did it right though?
421187998
ChrisDev_YT
0
2021-10-25 02:16:46
<p>local Sword = script.Parent local ReplicatedStorage = game:FindService("ReplicatedStorage") local SwordGive = ReplicatedStorage.ClassicSword</p> <p>Sword.ProximityPrompt.Triggered:Connect(function(player) local SwordCopy = Sword:Clone() SwordCopy.Parent = player.Backpack end)</p> <p>this is the script and it seems v...
127974
0
How to fix something wen you join there is nothing there, when I join?
1260501243
olythic
0
2021-05-01 09:34:52
<p>Whenever I join my game there is nothing there, in studio I have saved and published many times!</p>
122984
1
How do I check if an item is in the players backpack?
1561550920
tumtindy
36
2023-01-19 18:43:42
<p>So, I want to only allow the player to exchange their tool for another one if they already have it in their inventory. I made a simple script which works, but you can just make the tool appear out of no where without having the thing you need to craft it. I don't know if i'm just being stupid because it sounds so si...
132896
1
120029
1
140399066
Uniplier
83
2023-01-19 18:55:35
<p>You would check the player's backpack instead of the player's character.</p> <pre class="brush: lua">player.Character:FindFirstChild(RemoveItem) --instead of this player.Backpack:FindFirstChild(RemoveItem) --you would do this </pre> <p>Let me know if this helps</p> <p>Since you want to disable the prompt if they don...
0
Can You Use &quot;game.Players.LocalPlayer&quot; in a normal Script?
9892401
sidekick83
80
2015-02-22 20:16:17
<p>I was having some issues with scripts earlier, the problem seemed to be this line of code:</p> <pre class='brush: lua'>game.Players.LocalPlayer </pre> <p>I was wondering if "game.Players.LocalPlayer" was functional in a normal script.</p> <p>(The script ended up working when I copied it into a LocalScript)</p>
15222
2
18302
0
386992
BlueTaslem
17922
2015-02-22 21:42:59
<p>Normal "Script" objects are run by the server; that means it doesn't have a notion of one particular player being "special", so it can't pick the LocalPlayer.</p> <hr /> <p>In Test Solo, Scripts <em>will</em> identify the LocalPlayer -- it's unambiguous, since there can only be <em>one</em>. I think this is done so ...
0
Sub-Table data doesn't load, invalid arguement #1 to 'ipairs'?
1038671897
NickyPlayz2011
82
2021-09-28 21:40:56
<p>Ok so, I'm making a mining simulator, and I want to make a tool DataStore. For some reason, the data won't load properly.</p> <p>Script I used:</p> <pre class='brush: lua'>local DataStoreService = game:GetService("DataStoreService") local DS = DataStoreService:GetDataStore("MinerzData") local function loadData(playe...
127736
0
Making a car damaging system with FE Gun Kit But i have trouble damaging the car???
1400234436
KoalaKo_XD
27
2022-07-27 20:26:11
<p>So I'm making a car damaging system. I have the function for turning the car into a pile of scrap once it reaches 0 health, but I have trouble for making the car take damage once a player shoots at it with a gun from FE Gun Kit. Here is my code so far:</p> <pre class="brush: lua">while true do wait(0.1) for ...
130968
0
How do I insert an R6 dummy into Workspace with a script?
86132377
ViktorRamstrom
15
2023-01-29 13:21:56
<p>How do I insert an R6 dummy into Workspace with a script?</p>
132970
0
On Roblox Studio, everything is invisible. Does anybody know what I should do?
1314599390
NuggetHasJoined
7
2021-02-22 09:35:52
<p>On Roblox Studio, I decided to work on my new game. However, when I opened it, everything was invisible, however, the transparency was 0. I opened a new baseplate template, and the same thing happened. I've tried uninstalling it, but that didn't work, either. Does anybody know how I can fix this?</p>
120505
0
GUIs not replicating to PlayerGui but staying in StarterGui?
17458936
Raven_Caedes
95
2015-11-28 13:39:41
<p>I've been experiencing an issue with my game's GUIs. The GUIs do not replicate themselves to the player's PlayerGui, and the properties change in StarterGui instead of PlayerGui. I am using a normal script to control each GUI.</p> <p>The Output gave me no errors.</p> <pre class='brush: lua'>Mainbar = game.StarterGui...
24775
2
28365
2
23783573
docrobloxman52
407
2015-11-28 15:37:42
<p>You have two errors in your script. One is that you forgot an end, and two is you didn't define the playergui. You can't just change the text in startergui you have to change the text in the playergui. So you have to define all the players in the game than get all of their playerguis. Like this:</p> <pre class='brus...
0
How do you make a game Tbc only?
33810106
TroytheDestroyer
75
2014-11-15 15:36:02
<p>I was messing around with my next big game, and I want only TBC and OBC members to be able to play to prevent guests from hacking/ruining others' game experience. Here is my script:</p> <pre class='brush: lua'>local player = game.Players.LocalPlayer game.Players.PlayerAdded:connect(function(player) if player.Members...
12471
2
15516
0
1002773
Spongocardo
1991
2014-11-15 15:41:57
<p>When comparing Enums, you have to be exact and can't use strings. Also, try using :Kick() instead of :Destroy(), it actually disconnects the player. Make sure this is in a normal script.</p> <p>Also, you don't need the player variable, there is already one made when the PlayerAdded event fires.</p> <pre class='brush...
0
Why is the tween not playing?
324047348
BoomerNEW_GEN
11
2020-09-16 04:17:00
<p>The Function "StartLoad" runs since it changes the GUI to enabled. Although, there is a tween for the loadingRing. This doesn't play. The code below is the code i'm having problems with:</p> <pre class='brush: lua'>local TweenService = game:GetService("TweenService") local function StartLoad() script.Parent.Pare...
113219
0
Timer that counts down locally with the format of &ldquo;0.000.&rdquo; Do you guys know how to do this?
1335490779
ExoticBloxed
0
2022-05-09 01:09:26
<p>No clue on how to do this. Timers are hard.</p>
129964
0
table.unpack with subsequent arguments?
121672610
Speedmask
80
2021-04-07 16:00:23
<p>hello, I was using the table.unpack method and I noticed some strange behavior.</p> <pre class='brush: lua'>function func(supplement, data1, data2) print(supplement, data1, data2) end local data = { "Isaiah", "Daniel" } func("Camilla", table.unpack(data)) -- output: Camilla, Isaiah, Daniel </pre> <p>noti...
122120
1
111254
1
65765854
eLunate
5136
2021-04-07 16:22:57
<p>That's really simple, and it's just basic Lua variadic behaviour. For any function which has multiple returns, it will be reduced to its first term if it is added anywhere but the tail of a tuple.</p> <p>Consider this</p> <pre class='brush: lua'>function r2() return "a", "b" end </pre> <p>This returns two values, ...
0
My script isn't functioning as I intend it to?
1073917569
Puppy_lovertheawsome
6
2022-10-30 08:56:31
<p>I bet the answer is super simple but here it is:</p> <pre class='brush: lua'>game.Players.PlayerAdded(function(player) local leaderstats = Instance.new("Folder",player) leaderstats.name = "leaderstats" local Level = Instance.new("IntValue", leaderstats) Level.name = "Level" end) </pre>
132080
1
119294
0
72153531
0x5y
90
2022-10-30 11:19:19
<p>When posting, you should describe the issue you are having in detail, and also describe anything you have tried to fix the issue.</p> <p>By looking at your code, there doesn't seem to be anything wrong at first, but I do notice you are missing a :Connect()</p> <p>Here's how to fix it:</p> <pre class='brush: lua'>gam...
0
? Http Request failed: Http requests can only be executed by game server
1396466215
1BMH
0
2020-10-03 14:08:26
<p>Welp, please help me the output just say Http Request failed: Http requests can only be executed by game server thank you very much if u help me my guy!</p> <pre class="brush: lua">delay(0.1, function(Api) local HttpService = game:GetService("HttpService") local function request() local response = Ht...
113959
0
if statements are stopping my function?
106244825
oXDestroyerXo
28
2022-09-15 15:09:43
<p>I want to make a random map selector, but it seems that the selector is picking a map and not continuing, I want it to pick a map and then keep repeating</p> <pre class="brush: lua">local function changed() if game.Workspace.time.Value == 0 then local e = math.random(1,2) if e == 1 then ...
131630
1
118879
0
1104970547
SuperPuiu
497
2022-09-15 15:37:34
<p>Hello!</p> <p>I didn't understood much, but I think I found the problem.</p> <pre class="brush: lua">local function changed() if game.Workspace.time.Value &lt;= 0 then local e = math.random(1,2) if e == 1 then choice = map2 end if e == 2 then choice = map1 ...
0
Disable Gravity for a Specific Part?
1661478101
Bob4koolest
78
2020-11-14 03:44:24
<p>I have a gun that creates and shoots out an unanchored bullet (so it can trigger the touched event when it hits certain destructible blocks). However, unanchoring it just causes it to fall through the ground almost immediately once it's fired due to gravity, so how can I disable it just for this one part (nothing el...
115739
1
106259
4
49773669
cowsoncows
926
2020-11-14 03:54:18
<p>What you would need to do is apply a force to the part that is equal but opposite to the force of gravity. To do this you can use a BodyMover like BodyForce, or one of the newer physics constraints like VectorForce, and, using Newton's Second Law we can figure out the force we need to apply.</p> <p>Newton's second l...
6
UserInputService doesn't detect mouse movement?
39250676
ScriptGuider
5640
2016-08-03 17:05:26
<p>This has been an issue for me for quite some time now. Initially, I was unsure if this was ROBLOX's fault or my fault. But after waiting this long I'm just not sure anymore...</p> <p>Here's a seemingly viable example of checking for mouse movement with <code>UserInputService</code>. I'm not sure if I'm missing somet...
34072
0
Why I cant give tool to player with equipped tool gui?
1413288617
testmiskobay
0
2021-04-06 03:16:02
<p>I want to make a script that I can give a tool to player with equipped tool gui. When I press TextButton it nothing happens and on output doesnt print any error.</p> <p>Here is localscript that is on tool:</p> <pre class='brush: lua'>local Player = game.Players.LocalPlayer local ScreenGui = script.Parent.Parent loca...
122056
0
How do i give player points to a player when the player enters the game?
57249717
iluvmaths1123
198
2014-06-01 03:08:48
<p>How do i give player points to a player when the player enters the game?</p>
5968
0
Teleporting people to other maps, how?
111151120
Drbluecrown
0
2021-04-07 13:28:42
<p>I am really bad at scripting. In my game I made a map changer. I need something to add on to it so after the map disappears all players will get teleported to a block on the other map, then after the map changes again they will teleport to another block in the other map. I have tried many methods but as I said I am ...
122113
0
Why is this head-creating script not working right?
6954343
CoolJohnnyboy
121
2015-04-22 00:24:44
<p>So this script is supposed to change the color of the new head part to your current head's color. However, it is not working, and I have no idea why, as output was not of much use. Can someone please help me?</p> <p>Here's the script:</p> <pre class='brush: lua'>function spn(NewP) wait() local mesh = NewP.Ch...
16908
0
How to get a mask/hat by touch?
392000535
Tyranozauru
0
2020-11-21 17:06:51
<p>So i had this problem lately for my latest project. I dont know how to like get a mask when touched something. So i though to ask here. <strong>((How to get a mask/hat on touch of block))</strong><br /> I would really appriciate if somebody would help me on that, thank you!</p>
116107
0
Setting the camera to another player?
29814376
systematicaddict
295
2014-04-26 04:33:46
<p>How would I set the players camera to another players camera? would it be game.Players.playername.Camera? or</p>
3562
1
4962
0
37346832
infalliblelemon
145
2014-04-26 04:51:00
<p>You would set the CurrentCamera's CameraSubject to another player's humanoid.</p> <pre class='brush: lua'>--local script local Players = game.Players:GetChildren() local PlayerSubject = Players[math.random(1, #Players)] --Setting it to a random player local Camera = game.Workspace.CurrentCamera --Note that the Curre...
1
How do I change a player's team color on entry?
16754553
Minifig77
190
2014-03-14 00:40:55
<p>I threw together a simple script that was supposed to change a player's team color on entry. It didn't work. I traced the problem down to the player's team color simply not changing. If I replaced the line that changed the team color with any other arguments, it would run. How do I change a player's team color on en...
676
1
1093
2
29251132
HexC3D
830
2014-03-14 12:26:44
<pre class='brush: lua'>game.Players.PlayerAdded:connect(function(newPlayer) if newPlayer:IsInGroup(311892) then newPlayer.TeamColor = game.Teams["Really Black"].TeamColor -- Make a team called Really Black then make it's team color really black. if (newPlayer.TeamColor = = game.Teams["Really Black"].TeamCol...
0
'Teleport' the player right where their standing? (So they don't move)
3200702
Michael007800
144
2015-05-08 17:52:46
<p>Hey guys!</p> <p>I just want to quickly know to if it is possible to 'teleport' a player into the place they are standing.</p> <p>This is the script I have so far.</p> <pre class="brush: lua">player[i].Character:MoveTo(Vector3.new()) </pre> <p>So in the Vector3.new() I need something in the brackets that ensures tha...
17364
1
20748
1
13416513
Merely
2122
2015-05-08 18:13:27
<p>The humanoid root part is the center of the character model, so just grab its current position.</p> <pre class="brush: lua">local character = player[i].Character local humanoidRootPart = character:FindFirstChild("HumanoidRootPart") if humanoidRootPart then character:MoveTo(humanoidRootPart.Position) else -- ...
0
How to teleport a player on brick touch?
45803743
DrCylonide
158
2014-04-27 04:16:01
<p>I have a large brick. I would like a player to teleport to a certain area on humanoid touch, but not sure how to script it.</p>
3676
4
5093
5
9000604
xDeathBear
90
2014-04-27 04:28:50
<p>Put this script in the block being touched.</p> <pre class='brush: lua'>place = CFrame.new(0,0,0) -- Where you want the player to go on touched script.Parent.Touched:connect(function(p)--Creating the function local humanoid = p.Parent:findFirstChild("Humanoid")--Trying to find the humanoid if (humanoid ~= nil) then ...
1
Why is the if statement I made not working?
37745860
BunjiBloxxer
51
2022-12-24 23:45:31
<p>I wrote an if statement that is supposed to make a model appear if someone types the correct word into a textbox and presses the enter button:</p> <pre class='brush: lua'>local gui = script.Parent local frame = gui.JournalFrame local player = game.Players.LocalPlayer local sound = script.Parent.JournalFrame.X.Journa...
132655
1
119775
1
8451
amanda
1059
2022-12-25 07:26:17
<p>You are checking the contents of the <code>TextBox</code> whenever the script is first loaded. What you are intending to do is check the contents of the <code>TextBox</code> whenever the <code>GuiButton</code> is <code>Activated</code>.</p> <p>I have not over analyzed or made any additional changes to your code asid...
0
How do I detect if a DriveSeat/VehicleSeat touched a part?
1324981341
BESTGAMERS582
0
2022-08-02 02:02:18
<p>I need a script that detects if a DriveSeat/VehicleSeat touched a part.</p>
131053
0
Welding a red or blue above player's head. No error. How do I fix it?
71297724
Reallystop132
0
2021-10-02 00:42:07
<p>This used to work like 4/5 days ago, but when I came back to it, it doesn't work There's no error or anything Also sometimes it works once in a while</p> <p>Pictures: <a target="_blank" href="http://">https://ibb.co/Fs6kJFJ</a> <a target="_blank" href="http://">https://ibb.co/LhFCSph</a> <a target="_blank" href="htt...
127774
0
Character cannot be found even with great amounts of time?
1998193337
MrBucketOfficial
39
2022-11-23 23:50:19
<p>So I have this code below, and nothing is wrong with it as it warns me that there is no character and there is no errors, but since it never finds the character, I'm wondering why it doesn't find it as when I looked at myself in the player list, my Character was listed as a property.</p> <pre class='brush: lua'>loca...
132357
1
119543
0
1014156252
Puppynniko
983
2022-11-24 01:09:37
<p>The “character” is not a child of player instead it’s a property of player use CharacterAdded:Wait() this will ensure the script resumes after the character is added</p>
0
**RESOLVED** PlayerGui is not a valid member of Player?
3495457
Cubes4Life
20
2015-07-08 03:26:50
<p><strong>RESOLVED BUT KEEPING UP IN CASE SOMEONE WHO NEEDS HELP WITH THIS LATER ON STUMBLES OVER THIS</strong></p> <hr /> <p>The issue with this was that I was trying to access other players' PlayerGuis from a local script, which is in fact, impossible. What you need to do is use remoteevents. Cheers!</p> <hr /> <p>H...
19485
0
How do I make it where my gun aims down when the right mouse button is held down?
86745980
Sergiomontani10
236
2020-06-14 10:31:34
<p>I am trying to make my gun be able to aim down and move the camera a bit closer to the camera when i hold down the right mouse button, the right mouse button work and all but I am unsure on how to make it where the camera zooms a bit closer into the gun while you aim it down. I was thinking something like a shift lo...
106352
1
97934
2
169428835
Cynical_Innovation
595
2020-06-14 16:15:43
<p>Here's a script that does that. Works for me and it should work for you.</p> <pre class='brush: lua'>local RunServ = game:GetService("RunService") local originalView = Camera.FieldOfView local zooming = false local UIS = game:GetService("UserInputService") local Camera = workspace.CurrentCamera UIS.InputBegan:Connec...
0
Hiding new roblox top bar?
49574115
DrShibe
17
2015-05-12 22:39:12
<p>How do I remove the top-bar? It adds conflict to my game?</p>
17484
0
FireServer not firing event from localscript. Why?
364796628
Funnyskyswagway3
30
2022-08-08 00:20:19
<p>FireServer isnt actually firing from my local script to the server script but for some reason there are zero erros</p> <pre class='brush: lua'>local plr = game.Players.LocalPlayer local char = plr.Character or plr.CharacterAdded:Wait() local mouse = plr:GetMouse() local TweenService = game:GetService("TweenService")...
131140
3
How would I be able to even the number of people on a team?
22194708
billybobtijoseph
1
2014-04-16 00:03:37
<p>How can I be able to have a(n) even number of people on 2 different teams? or at least 1 person off?? I'm not sure how the code would work.</p>
1955
1
How to make a top-down camera but the player can't move it?
1303818551
Garfird1231
5
2022-05-21 18:19:24
<p>I'm making a game where the camera is set to be top-down, I've made the script to make it top-down but I don't want the player to move it when walking. Any idea on how to fix this?</p> <pre class='brush: lua'>[local RunService = game:GetService("RunService") local camera = workspace.CurrentCamera local player = game...
130066
0
How Do I fire a remote event after my NPC health is 0?
314237817
JoePlato
5
2020-05-14 19:59:42
<p>Hi, so I have a normal script inside of an NPC/rig and I want that script to fire a remote event So that my quest GUIs value on the screen will change to 1 and I really need help with this.When ever I try and fire a remote event it says that I need a player function when I have the function connected to the player f...
103116
0
Alternative to Humanoid:MoveTo() for a local script?
544996667
Andy_Wirus
72
2019-09-09 02:47:37
<p>Recently, I've been developing an engine for turn-based battle mechanics, very similar to Paper Mario. The extremely early and primitive engine can be found <a target="_blank" href="https://www.roblox.com/games/1510317501">here</a> if you would like to review it. The first tactic I've been trying to script is a jump...
87224
1
80782
0
163623121
GGRBXLuaGG
417
2019-09-09 02:54:00
<p>You can listen to input from the client and send it through a RE. The server then will use :MoveTo() itself.</p> <p>You can also very easily listen to that input by using Roblox's built-in control modules:</p> <pre class='brush: lua'>local Player = game.Players.LocalPlayer local ControlModule = require(Player:WaitFo...
0
Is there a way to fix a .5 Sec deley?
28144023
masterbeyblade21
0
2014-03-07 00:45:44
<p>Theres a 0.5 sec delay on the Moving bricks and Lighting changes due to so many scripts running at one time any way to fix it or shorten the delay with out lowering the wait( ) time?</p>
536
0
How is this thing called? I want to try to do it myself.
733270183
typedkeyboard
0
2021-07-22 01:45:30
<p>I found this short video of a scripter doing something cool which I cant find out how to do. If anyone knows what this is called or how this is scripted please help. Thanks. Here is the link to it, I think it needs to be downloaded: https://cdn.discordapp.com/attachments/748708423478280273/862770067190841364/fuelcel...
125575
0
How to disable or enable Player's ShiftLock with a script(not changing StarterPlayer properties)?
1017674450
Sarturex857
54
2021-10-12 18:06:16
<p>So I tried to disable or enable player's shiftlock for a gun system, but I can't find the way to do it(I tried changing the camera CFrame, making the Humanoid.AutoRotate false, but it didn't work as I wanted to.) Is there a way to do it?</p>
127848
0
Why can I not tween a players camera from a script?
1551208865
noah01q
0
2021-01-13 20:17:24
<p>Hello everyone! When I try to tween a players camera from a localscript it works and if I do it from a script it does not. I am trying to make a button that makes all of the players camera to one so I was trying to use this script. local cam = game.Workspace.Camera local service = game:GetService("TweenService") loc...
118651
1
Attempting to get random from a table returns an error??
419000434
Omq_ItzJasmin
666
2021-03-24 21:11:04
<p>Hello...I'm trying to select a random color value from a table but it returns with <code>Workspace.Scripts.randomNPC:14: invalid argument #2 to 'random' (interval is empty)</code></p> <p>Here is a snippet of my script:</p> <pre class='brush: lua'>local Colors = { Color1 = Color3.fromRGB(255,229,180), Color2 ...
121644
1
110811
1
54346951
k3du53
152
2021-03-24 21:32:32
<p>Try making the index for each value of <code>Colors</code> an integer 1, 2, or 3 instead of Color1, etc.</p> <p>The reason for the error is that <code>#Colors</code> equals 0, and (1,0) is an empty interval.</p> <p>(You have a dictionary instead of an array)</p>
0
How to make a feedback GUI? (Without using discord)
1399623678
EmJay10101
7
2022-07-29 07:46:30
<p>I'm just wondering if there is some sort of app that I could use to receive my feedback information? If someone else has a better idea, I'd love to hear it. I also had the idea to transfer the data to another Roblox game that could be private, but I am not sure if that's the best solution. Thank you!</p>
130989
1
Error: Attempt to Index Number with Number. What's the issue?
350255127
FrolloTheOne
5
2022-10-31 02:26:02
<p>So, I'm trying to do a script that involves not only races, but also another factor (Will of D), but that part is somewhat irrelevant. Each time I run the game, an error appears in Roblox Studio's output:</p> <p>ServerScriptService.RaceScript:20: attempt to index number with number</p> <p>Here's the script from line...
132094
0
Why does this make the background color of the textbutton black? [SOLVED]
5474129
anthonypjo
5
2019-02-23 17:24:53
<pre class='brush: lua'>b = Instance.new("TextButton") b.Name = deptlist[i].Name b.BorderSizePixel = 0 b.BackgroundTransparency = 1 print(BrickColor.new(deptlist[i].Color).Color) b.BackgroundColor3 = Color3.new(BrickColor.new(deptlist[i].Color).Color) b.Text = string.uppe...
76708
0
I need help making a character into a different one?
17697026
Disorbed
0
2015-03-08 23:05:06
<p>Not like someones avatar, like one I made myself in studio. It's humanoid and uses parts from a robloxian, just with retextured hats and whatnot. It's called BaseCharacter and I can't seem to get the character to morph into it. Here's the script I'm using:</p> <pre class='brush: lua'>local plr = game.Players.LocalPl...
15622
1
InsertService and Plugins
25691148
FromLegoUniverse
264
2014-03-06 19:07:03
<p>Can a plugin call the InsertService to insert a plugin?</p>
528
1
862
0
4785454
Everesty
1006
2014-03-06 22:18:56
<p>It is not possible to insert a plugin at all, but it is possible to insert a model or gear with <a target="_blank" href="http://wiki.roblox.com/index.php/InsertService">InsertService</a> via the <a target="_blank" href="http://wiki.roblox.com/index.php/LoadAsset">LoadAsset</a> method.</p>
0
My part does not move to mouse position?
1522202318
NathanBlox_Studios
113
2020-08-02 17:06:25
<pre class='brush: lua'>local player = game.Players.LocalPlayer local mouse = player:GetMouse() local humanoid = player.Character:FindFirstChild("Humanoid") local animate local par = humanoid.Parent:WaitForChild("LeftHand") local db = false local ball = game.ReplicatedStorage.Energy local function shootenergy() wai...
110547
0
How can I modify my gun script so It shoots where the player Is facing?
1961959172
imnotaguest1121
362
2022-11-22 02:31:52
<p>Hello Developers!</p> <p>As the title says, below this text Is a script, the script shoots out a bullet which deals damage on contact, the problem however Is that I want to learn how to make bullets shoot where the player Is facing</p> <pre class="brush: lua">local Tool = script.Parent Tool.RemoteEvent.OnServerEvent...
132338
1
How to use data stores via local script through remote events/functions?
443643048
Soban06
410
2020-07-09 11:41:00
<p>So I have a skip stage system in my game. I have a GUI. Inside that GUI, I have a local script.</p> <p>There is a limits variable which checks how many skip stages do you have left. Default is 3. So whenever a player uses a skip stage, the game checks if he has at least 1 skip stage left and if he does, the game red...
108603
0
Simple: Torso vs HumanoidRootPart?
136245173
SharkRayMaster
81
2022-09-14 23:27:49
<p>Sorry If this question is dumb, I just can't decide which should I use when teleporting players, Is one better than the other?, are they EXACTLY the same?</p> <p><em>As an example, let's say I want to teleport player A to player B</em></p> <blockquote> <p>Should I change player A's Torso position to player B's ?</p>...
131625
2
118877
1
106244825
oXDestroyerXo
28
2022-09-15 15:17:22
<p>Well, the humanoidrootpart is the primary part of the model, so if you wanted to teleport a player I would probably use that, The difference is that, one is primary part (which from my observations is there so that you can animate the torso and controls some things with character movement and stuff) and the other no...
1
How do I make system messages using ServerScripts?
295727993
Lakodex
711
2020-01-08 05:06:26
<p>So, I am making a system where if a person does not have a license for my ScoopyProtect script it will put a message in chat each minute for advertising (Very D move I know) BUT its a modulescript. I just wanted to ask if its possible. OH and here's the script I did but it said it had to be a localscript which kind ...
92734
2
85805
1
1544635624
haba_nero
386
2020-01-08 14:06:41
<p>Server:</p> <pre class='brush: lua'>game.ReplicatedStorage.Event:FireAllClients({ Text = "This is a system message"; --The chat message Color = Color3.fromRGB(0, 255, 255); --Chat message color, defaults to white Font = Enum.Font.SourceSansBold; --Chat message font, defaults to SourceSansBold TextSize = 18 --Text si...
0
How do you make it so the Topbar gets removed?
51714312
Rawblocky
217
2016-04-10 20:29:25
<p>I saw this on twitter <strong>@RbxDevTips</strong>. For some reason, when I put this code, it won't make the Topbar not enabled!</p> <pre class='brush: lua'>game.StarterGui:SetCore("TopbarEnabled",false) </pre> <p>Can someone please help? Thanks!</p>
29470