Datasets:
Tasks:
Question Answering
Modalities:
Text
Formats:
parquet
Sub-tasks:
closed-domain-qa
Languages:
English
Size:
10K - 100K
License:
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Is It possible to disable the default idle animation? | 216815068 | ShineBright2775 | 30 | 2020-06-29 03:32:29 | <p>I was wounder if it is possible to disable the default idle animation when a tool is equipped, then enabling it when the tool is unequipped, because i have my own idle animation but the default still plays. I've tried many things, like changing the id to nothing when equipped and putting the default id back, but not... | 107700 | ||||||||
0 | im trying to make it so when you click on all items it kicks you out. it wont work how do i do it? | 518263070 | hudstir | 0 | 2022-10-03 00:15:22 | <p>so i made this game where you have to get everything on a shopping list, then you completed the game, but when you collect all the items, im not sure how to kick the player out, i used the gui as the thing that kicks you out, heres the script: "</p>
<p>local player = game.Players.LocalPlayer or game.Players.PlayerAd... | 131788 | ||||||||
0 | My model has no option to sell. Why is this? | 290652683 | kingofpronoobs | 0 | 2018-06-06 21:53:04 | <p>By "sell my model", I don't mean sell it for robux. It wont let me make it available to other players.</p>
| 59783 | ||||||||
0 | Why is my projectile not firing? | 1784172640 | IsaacFriend808 | 6 | 2021-09-16 12:33:44 | <pre class='brush: lua'><br />local tool = script.Parent
local projectile_shooter = tool.Handle
local repstorage = game.ReplicatedStorage
local bullet = repstorage:WaitForChild("Bullet")
local effective_distance = 200
local speed = 200
local target = nil
local dmg = 10
while tool.Equipped do
wait()
tool.Activat... | 127482 | ||||||||
0 | How to find the closest humanoid with a local script? | 80144491 | turbomegapower12345 | 48 | 2018-06-22 02:02:47 | <p>Hi, I am trying to figure out how to make a script that blasts the person closest to you. So far I have not gotten any luck trying to figure out how to attack the nearest person.</p>
<p>This is what I have got:</p>
<pre class='brush: lua'>local player = game.Players.LocalPlayer
character = player.CharacterAdded:wait... | 60884 | ||||||||
0 | Problems maybe with PhysicsService? | 74686131 | kristupas12344 | 26 | 2021-06-08 15:47:56 | <p>Hello, i am trying to make that specific zombies would be able to walk through specific walls but i always get this error "Unable to cast value to Object". And one more thing how can i get zombies walk through walls if i added more of them in the folder.</p>
<pre class='brush: lua'>local PhysicsService = game:GetSer... | 124194 | ||||||||
0 | How can I detect when a player goes near to a part? | 1600676 | MasterDaniel | 320 | 2015-07-14 13:06:48 | <p>I want to detect when a player moves, say, within 20 studs of a part. How would I do this? Are there any methods I could use or is this something that is hard, if not impossible, to do within ROBLOX?</p>
<p>Help much appreciated.</p>
<p>EDIT: I'm aware of .magnitude and how it could be used in this scenario, but as ... | 19833 | ||||||||
0 | How to make button what change GUI button script teleporting you to the first checkpoint to next? | 621720819 | SashaPro336 | 21 | 2021-10-12 14:50:41 | <p>Ok i made the button with a script that teleports you to the obby. So i need to make button on part what changing part you teleport on. Or you touching part and you now teleporting on this part when start obby button was clicked. Something like that.</p>
<p>Theres a button script:</p>
<p>local checkpoint = game.Work... | 127846 | ||||||||
0 | a timed zombie spawner? | 489669653 | deezychesse | 0 | 2021-02-23 09:16:26 | <p>Hi, I'm making a Roblox game where the goal is to survive zombies. I've already coded the round system and now I just need a script to make a timed spawner that limits how many zombies can spawn on a spawner and kills all zombies when the round is over also you will be featured if you give an answer bye!</p>
| 120550 | ||||||||
0 | How do I stop and start a script? | 733270183 | typedkeyboard | 0 | 2021-07-09 22:21:50 | <p>I'm trying to make an elevator work when I click a button. The only way it should work is if the player is touching the platform of the elevator while clicking the button. So if the player clicks the button without touching the platform then the elevator should not work. I'm having an issue with the touched event co... | 125194 | ||||||||
0 | Is it possible to reward your UGC item to player's inventory using badges? | 559514967 | T3_MasterGamer | 0 | 2021-09-14 04:54:59 | <p>Is it possible to reward your UGC item to player's inventory using badges? If possible, how can I award players my UGC item to their inventory using badges?</p>
<p>Thank You :D</p>
| 127429 | ||||||||
1 | How to convert Part.Orientation in HumanoidRootPart.CFrame.LookVector and back? | 1253546982 | MrFireKREO | 5 | 2023-01-14 18:51:41 | <p>I'm trying to create wall running, and I want the character not to break away from wall during holding a key, if you look to the sides.
The idea is that the character's motion vector would coincide with the orientation vector of the wall. Problem is the data types inside Roblox is different and I can't just equate t... | 132837 | ||||||||
0 | "Player is not valid member of workspace"? [Solved] | 57420009 | yogipanda123 | 120 | 2015-04-15 01:36:34 | <p>The output says that player is not a valid member of workspace! Why is that?
here is my finishedscript</p>
<pre class='brush: lua'><br /> repeat
wait(1)
if workspace:findFirstChild("Player") then
if script.Parent.Value == 1 and script.Parent.Parent.CamValue.Value == 1 then
script.Parent.Parent.Mec... | 16718 | ||||||||
0 | Trouble making a leaderboard for my game? | 532667774 | CBROHa | 0 | 2021-05-03 16:43:33 | <p>Hello people.</p>
<p>I'm trying to make a Roblox game with a leaderboard but it isn't going great.
I'm not getting any errors but the script is still not working. By not working I mean nothing pops up on the Leaderboard.
Nothing pops up in the console when I go into the game, only if I test it in Roblox Studio.
Here... | 123058 | ||||||||
0 | How to make a gui appear upon player joining the server | 673732 | TheTiredHippo | 30 | 2014-03-04 05:33:37 | <p>I need to know how to script something where when a player enters the game they get a certain GUI that appears in front of them and closes after they said okay. It won't show up again if the player dies.</p>
| 479 | 2 | 804 | 3 | 1546726 | nate890 | 495 | 2014-03-04 13:31:23 | <p>Put a script in the button gui that you want to close the gui when clicked and put this code in it:</p>
<pre class="brush: lua">local gui = script.Parent.Parent --the gui to be removed, screengui
local button = script.Parent --the button (gui.button) textbutton/imagebutton
button.MouseButton1Down:connect(function()
... |
0 | Ragdoll button wont stop killing my character? | 881309557 | THEGOBLINTOPLAD | 0 | 2020-08-02 13:43:01 | <p>Ok so I wanna make a ragdoll button, but it wont kill the player, it just ragdolls them and if they click the button again theyll just stand back to normal where they are</p>
<pre class='brush: lua'>local button = script.Parent
local player = game.Players.LocalPlayer
local c = player.Character
... | 110541 | ||||||||
0 | Why does this Money on Kill script only work with a sword and not a gun? | 358735162 | epicnmac | 8 | 2020-07-31 19:58:31 | <p>Hello Scripters I am using a script that gives 20 money for a kill of a zombie NPC. It gives me 20 money when i kill the zombie with a sword, but when I kill it with a gun it does not give me any money. Can you guys help me modify the script so it works with a gun?
Here is the script which is inside the zombie:</p>
... | 110403 | ||||||||
0 | How do i clone parts with a script, but make the original part uneffected? | 1865523181 | pakancina | 19 | 2022-08-01 13:54:19 | <p>so i need to clone a part. it needs to have a script which removes the part after 6 seconds, but i want the original part to stay (not to get removed) any ideas?</p>
| 131041 | 1 | 118381 | 0 | 385960399 | Artemiygogolev | 23 | 2022-08-01 14:28:20 | <p>hello, the question is a bit confusing but i understanded it like: you clone a part, and the cloned part will remove after 6 seconds.
very simple though, you need to use the :Clone function</p>
<pre class='brush: lua'>local Part = game.Workspace.Part --make your variable a part, so you can access it
local Part2 = Pa... |
0 | Text and object value not being set in Player Removing function? | 106155155 | SamZeKat | 28 | 2022-10-07 03:34:08 | <pre class='brush: lua'>local owner = script.Parent.Parent.Parent.Owner
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local text = script.Parent.BillboardGui.TextLabel
local defaultText = "Claim"
local Players = game:GetService("Players")
Players.PlayerRemoving:Connect(function(player)
if player.Ch... | 131818 | ||||||||
0 | How do I make my Damage Indicator color the same color as the team the Player is in? | 407180563 | robloxtitanic584 | 87 | 2021-06-10 16:21:24 | <p>How do I make my Damage Indicator color the same color as the team the Player is in?</p>
<pre class="brush: lua"> function Track(Humanoid)
local Last = Humanoid.Health
local function HealthChanged(Left)
if Left < Last then
local Part = Humanoid.Parent:FindFirstChildWhichIsA("BasePa... | 124248 | 1 | 113297 | 1 | 1752724383 | Xyternal | 145 | 2021-06-11 13:59:17 | <p>So in the code I'm posting, in a team or not. You can modify the code to fit your needs</p>
<pre class='brush: lua'>local teams = game:GetService("Teams")
local function checkPlayerTeam(player)
if player.Team == "YouTeam" then
print("You are in this team")
else
print("you are not in new team"... |
0 | Really Simple Help with Values? | 46382260 | SpazzMan502 | 133 | 2014-11-29 17:08:39 | <p>Okay, so I'm making a "real life simulator" game. And I want the toaster to do more damage the hotter it gets.</p>
<p>So I have 2 scripts, one is damage, the other is adding to damage.</p>
<p>This one is for the damage itself when touched:</p>
<pre class='brush: lua'>Damage = script.Parent:WaitForChild("Damage").Val... | 12848 | ||||||||
0 | Solitary is not a valid member of Teams "Teams"? this would be a sever script | 1933759051 | DisasterHotelGiant | 0 | 2022-09-11 18:59:11 | <p>--[[
Brief : Solitary Confinement Manager
Author : Hereticia/AloysiusLazvari/DeverusLazvari/Dev_Chaos
Description : Module utilized to manage and keep stored all Solitary Confinement Data.
Notes : No, this isn't for credit because only people who look at this damned script will see it. It's for maintenance and knowl... | 131595 | ||||||||
0 | Why does this script when a player sits on a certain seat is not working? | 100172682 | SonGohan6 | 8 | 2020-12-26 19:05:18 | <p>I'm trying to make is a script that will give the player a tool when you sit on a certain seat. Then, when the player jumps off the seat, the tool should be gone from their backpack.</p>
<p>The code below is what I'm using and I cannot get it to work.</p>
<pre class='brush: lua'>function onChildAdded(child)
if child... | 117723 | ||||||||
0 | Why is my part not being CFramed correctly? | 47189013 | farrizbb | 465 | 2018-12-16 14:35:09 | <p>I'm trying to CFrame a cylinder part, so that it's start is in the middle of a sphere. The cylinder and the part both vary in the size as they grow,but their base is 4,4,4(sphere) and 8,4,4(cylinder).</p>
<p>I CFrame the part with this part of the script.</p>
<pre class='brush: lua'>Blast.CFrame = Player.Character.... | 72399 | ||||||||
0 | How i can remove collide from Head? | 55174990 | sO_Ov | 275 | 2020-11-20 01:19:26 | <p>I'm trying remove collision of my head to look same this:
<a target="_blank" href="https://gyazo.com/deef971fd965308b450aa6ef13f94441">GIF</a></p>
<p>Current script</p>
<pre class='brush: lua'>local Players = game:GetService('Players')
local PS = game:GetService('PhysicsService')
local PlayerGroup = PS:CreateCollisi... | 116031 | ||||||||
0 | It is showing Dominus is not in Folder in output i need help? | 791392321 | DuckyRobIox | 280 | 2019-02-04 23:39:23 | <pre class='brush: lua'>local open = false
local db = true
script.Parent.Parent.TextButton.MouseButton1Click:connect(function()
script.Parent.Question.Text = "ARE YOU SURE YOU WANT TO BE REBORN?"
if not open then
script.Parent.Visible = true
open = true
else
script.Parent.Visible = f... | 75736 | ||||||||
0 | How to make a gui move? | 23781091 | LordEgypt | 0 | 2014-04-13 11:57:30 | <p>When I make a change name gui for my fort I cannot figure out how to make a different gui move when you click a button on another gui.</p>
<p>Example: My Change Team gui is on the right side, with only that part of the gui. When I click the Change Name gui then two gui's move from off the screen, to on the screen. W... | 1277 | ||||||||
1 | Are you able to use variables for finding parts? | 958002 | Mystdar | 352 | 2015-01-03 10:39:07 | <p>Would I be able to do:</p>
<pre class='brush: lua'>a = Torso
b = game.workspace.a
</pre>
<p>Or:</p>
<pre class='brush: lua'>a = "Torso"
b = game.workspace[a]
</pre>
<p>Would either of those try to find A part called torso (wanted) in the workspace or will they just look for a part called a (unwanted)</p>
<p>This is ... | 13948 | 1 | 16995 | 7 | 157510912 | General_Scripter | 425 | 2015-01-03 10:55:52 | <p>You can define parts using variables. I always use:</p>
<pre class='brush: lua'>a = game.Workspace:FindFirstChild("PartName")
</pre>
<p>But the 2nd way you've done it will work (I'm not sure about the first), there are loads of ways of defining a part in a place. But your current function will not work, you have a c... |
0 | I did something wrong while following this tutorial by AlvinBlox. can somebody help me find it? | 334180455 | Banhamr | 0 | 2018-12-16 23:17:29 | <p>This is the code from the episode with the problem...</p>
| 72441 | ||||||||
0 | My Intermission Script Doesnt Work. Pls Help. How i Solve it? ._. my title is spesific | 506839197 | Omerevkizel | 16 | 2020-06-29 19:47:59 | <pre class='brush: lua'>game.Players.PlayerAdded:Connect(function()
game.ServerStorage.Playernum.Value = game.ServerStorage.Playernum.Value + 1
if game.ServerStorage.Playernum.Value > 1 then
LocalScript.Disabled = false
LocalScripte.Disabled = true
else
LocalScript.Disabled = true... | 107774 | ||||||||
1 | Getting Backpack from Player, and removing Children? | 25842304 | bloxxyz | 274 | 2014-03-03 22:35:59 | <p>I have been trying to figure this out for 3 days. I'm creating a minigame, and I was easily able to add the tools, but removing them has been my problem. I've manipulated this little line of code forever and just cannot figure it out, if someone can help and give me a brief explanation of my problem that would be aw... | 468 | ||||||||
0 | Sound when player dies script? | 36774734 | TheEpix1557 | 5 | 2014-12-23 23:18:13 | <p>I've tried putting in everything I know- nothing would work...
I'm trying to make a script like when a player dies, play a sound, or well go down through the list of ID/sounds and not make it play the same thing over and over, but once at the end of list, repeat...
or maybe even randomly play the sound...</p>
| 13566 | 1 | 16597 | 1 | 8624595 | gigabite176 | 20 | 2014-12-24 02:15:04 | <p>The script below may or may not work (if it doesnt, any scripter pros pls correct it as i just started two weeks ago, also answer my question about the gui!!!!!) and if it does work vote please! Also here is a link just for good info to eat wiki.roblox.com/index.php?title=Sounds</p>
<pre class='brush: lua'>local sou... |
0 | Player is in radius but npc doesn't attack, how do I fix this? | 1169890595 | ghostgamer90391 | 9 | 2022-12-04 12:57:00 | <p>So I want to make an NPC that follows you and when it's close enough it kills you, but for some weird reason the if statement doesn't fire. I replaced the less than sign with the greater than sign, and that seemed to work but it kills you anywhere, please help.</p>
<pre class='brush: lua'>if (script.Parent.HumanoidR... | 132467 | ||||||||
0 | How to make a Stun Skill with P to activate and keep looping it unless i press P again? | 438845010 | Ariirael | 15 | 2020-09-16 02:10:29 | <p>guys, im making a stun skill what if i press P if get active and keep looking for ppl what get close to me for stun them, and if i press P again it stop look for ppl, but its not working, can you guys see my script pls?</p>
<pre class='brush: lua'>game.ReplicatedStorage.StunThingP.OnServerEvent:Connect(function(play... | 113215 | ||||||||
1 | I have a big problem with importing meshes in roblox studio.Can anyone help me? | 1202005489 | SiperStrengh35974 | 5 | 2021-03-19 10:54:02 | <blockquote>
<p>i was trying to import a .obj file and it always says "retry limit hit.Try again later" and when i try .fbx file it shows the same thing. What do i do?</p>
</blockquote>
| 121474 | ||||||||
0 | How to make this script fire items so other players can see? | 118916341 | awesomemode14 | 66 | 2020-03-26 01:08:36 | <p>This script is local, only the local player can see. I know that a remote event can help other players see. I don't know how due to the velocity of the part. Do I make a new part in the server and add the body velocity there and send the coordinates or is there an easier way? I cannot figure it out.</p>
<p>Here is t... | 97093 | ||||||||
0 | "This rig contains a cycle between the connections of certain parts" How do I fix this? | 412620656 | GingerChil | 0 | 2020-08-27 19:36:04 | <p>I'm new to custom animation. I've been trying to figure out what <em>This rig contains a cycle between the connections of certain parts</em> means to no avail. If someone knows how I can fix this or whatnot that'd be awesome!
I would ask this on the Roblox DevForum but I'm not a high enough level to ask questions. K... | 112248 | ||||||||
0 | Clicks are not detected by script, code doesn't prop any errors? | 264266720 | Kriner2 | 0 | 2022-09-08 08:12:54 | <pre class='brush: lua'>local badgeservice = game:GetService("BadgeService")
local id = 2128449719
local part = script.Parent
local detector = part.ClickDetector
detector.MouseClick:Connect(function(player)
print("clicked")
local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
badgeservice:AwardBadge(... | 131550 | ||||||||
1 | How can I make an animation play on button hit? | 45803743 | DrCylonide | 158 | 2014-06-04 19:27:10 | <p>In my game, players are supposed to have a custom animation to walk, but I don't know how to trigger the animation on key hit. (Like, the player presses "W" and the animation plays).</p>
<p>Thank you.</p>
| 6164 | ||||||||
0 | How detect key presses through serverscript? | 140399066 | Uniplier | 33 | 2022-10-30 22:46:49 | <p>I have this localscript put in the character to detect when the key "v" is pressed. There are a plethora of problems it causes, other players can't see the change in skin color, and the main part of the script won't work either. It might be because i put it in the character and not player, how do I detect key presse... | 132092 | 1 | 119305 | 1 | 245864252 | xInfinityBear | 1335 | 2022-10-31 01:29:19 | <p>You can only detect user input through local scripts as they are running on the player's computer; unlike the server, which has no relation with any of the clients.</p>
<p>However, there's an easy way around this, and that's by using a Remote Event.</p>
<p>A Remote Event allows communication between the server and t... |
0 | Can Lerps of a Part be printed? | 1675553647 | MOJANGcreator091 | 45 | 2022-11-16 09:12:50 | <p>Idk im just curious if i can actually print it or not ?
If it can be printed, how do you even do it?</p>
| 132293 | 1 | 119484 | 2 | 73170429 | imKirda | 4428 | 2022-11-16 18:48:48 | <p>You can pretty much print everything here's an example of what you <em>probably</em> want:</p>
<pre class='brush: lua'>local part = game.Workspace.Part
local start_cframe = CFrame.new(-5, 10, 0)
local end_cframe = CFrame.new(5, 10, 0)
for alpha = 0, 1, 0.1 do
local lerped_cframe = start_cframe:Lerp(end_cframe, a... |
0 | Player is not a valid member of DataModel?? | 70669247 | KnownDev | 0 | 2015-01-03 21:07:09 | <p>I am trying to make SurfaceGUI script that shows a GUI to someone who clicked it. I am trying to stock who clicked it with <strong>playerWhoClicked</strong>. Here's the script</p>
<p><strong>Please ignore the massive amount's of Parent's.</strong></p>
<pre class='brush: lua'>script.Parent.MouseButton1Down:connect(fu... | 13961 | ||||||||
0 | Weird Bug when opening Animation Editor? | 815337571 | DogeIXX | 172 | 2019-09-01 19:05:28 | <p>Hey, I just tried to make a new animation and I got this error:</p>
<p><code>Plugin_AnimationEditor.rbxm.AnimationEditorRigBuilder.AnimationEditor.Code.GUIScripts.GUIScriptScrollZoomControl:25: attempt to index a nil value</code></p>
<p>This happens when I try to open the Animation Editor.</p>
<p>(I had this more of... | 86871 | ||||||||
0 | How to make a clock count down? | 76619411 | devSpeed | 0 | 2015-02-03 02:17:23 | <pre class='brush: lua'>AwayS = script.Parent.workspase
Clock = script.Parent.workspace
HomeS = script.Parent.workspace
LTeam = script.Parent.workspace
Quarter = script.Parent.workspace
RTeam = script.Parent.workspace
script.Parent.workspace.Function("Clock")
script.Parent.workspace = function "IsRunning"
if true then
... | 14713 | ||||||||
0 | What are _G and _VERSION, what they are used for and how to use them? | 189450999 | DangerousKillerTimur | 54 | 2020-04-22 14:38:36 | <p>I have noticed when I use for _, these _G and _VERSION were popping out. Can someone please explain what those are, what they are for and how to use them?</p>
| 100276 | 1 | 92663 | 5 | 244452876 | JesseSong | 3916 | 2020-04-22 14:57:15 | <p>_G are global variables mostly used in module scripts you might have seen it in games/plugin
Basically _G is a table that you can assign things such as keys and values _G saves scripts like cross - scripts</p>
<p>You can access variables from different server side scripts.
If you have this in one script</p>
<pre cla... |
0 | Monsters in droplets rpg kit drop items and award stats to the player who hit it first? | 267716004 | dabro_9 | 0 | 2022-07-31 03:03:38 | <p>So me and my friend decided to make an rpg game that is based off of another game, and we decided to use droplets rpg kit, this was going great until we finished the game to a certain point and were ready to publish, we had some friends test the game, and we found out that if you hit a boss or another really challen... | 131027 | ||||||||
0 | How to fix 'Attempt to index nil with Play'? | 308572986 | bittyboy1234 | 91 | 2023-01-23 00:02:43 | <p>I'm having this error when I try to use TweenService. The error is on line 132. This is the code.</p>
<pre class="brush: lua">tweenmodule = require(game.ReplicatedStorage.TMmoduleV2)
db = false
pinsdown = {}
Tweens = {}
local ts = game:GetService("TweenService")
eg = {}
eg.Position = Vector3.new(41.413, 10.676, 164.... | 132918 | ||||||||
0 | ImageColor3 isnt changing color in script? | 320569198 | DFROBUXX | 13 | 2020-08-01 16:25:41 | <p>Hello, i am basically making a ui that leads u to ur personal Journal.
I want to make a color selection system that the chosen color is the color of the Journals background (ImageColor3),
Problem is it doesnt change, or at least not to the correct color.
I have no idea why this isnt working, it seems like it should ... | 110480 | ||||||||
0 | What type of script and/or event should I use for this? | 178628425 | Jac_00b | 157 | 2020-08-04 19:38:17 | <p>So, I made a script that once you click a book and have enough in-game currency, it will give you a unique sitting position. However, the script breaks when used in a local script (I already tried it inside of StarterPlayerScripts so it did run) and since it's not in a local script, that means that once a single per... | 110707 | 1 | 101679 | 0 | 459692218 | Nckripted | 580 | 2020-08-04 20:10:01 | <p>Use remote events. Execute this code on the server for when they click, and you should be fine.</p>
<p>Hope this helped!</p>
|
0 | Why can’t I animate certain parts? | 907460104 | batboy0776 | 4 | 2022-05-21 15:16:35 | <p>I am animating a model where a character swings an axe, and I can only move body parts, even though the axe is part of the model</p>
| 130064 | ||||||||
0 | BindableFunction pauses entire script. Why? | 56140227 | Kampfkarren | 215 | 2016-08-20 19:14:20 | <p>Hello.</p>
<p>I have a simple Script in a BindableFunction in ServerStorage with the code:</p>
<pre class='brush: lua'>script.Parent.OnInvoke = function()
print(1)
end)
</pre>
<p>However, when trying to call it (from a Script of course), it pauses the entire script's execution and doesn't print anything.</p>
<p>... | 34815 | 1 | 37408 | 1 | 39250676 | ScriptGuider | 5640 | 2016-08-20 20:27:09 | <h2>Nothing runs in ServerStorage</h2>
<p><a target="_blank" href="http://wiki.roblox.com/index.php?title=API:Class/ServerStorage#Methods_2">ServerStorage</a> was basically created to replace the Lighting service in terms of storing items you did not actually want shown in your game. This also means (like the Lighting ... |
0 | what is the best way to start | 10380653 | omaraa | 0 | 2014-02-18 15:07:55 | <p>whats the best way i should start scripting, i do not know anything but i want to start.</p>
| 61 | ||||||||
0 | how do i make a cutscene happen locally? | 1566239960 | lqveries | 17 | 2023-02-01 06:08:55 | <p>so basically i wanna know how to make a cutscene and some stuff in the workplace appear for only one client. is that possible?</p>
| 132989 | ||||||||
0 | I write a function that works but I rewrite with a different gui and nothing happens? | 22464995 | ILikepie2100 | 20 | 2014-12-18 16:22:45 | <p>Mario Logo and NintendoToSega does not work! PLEASE HELP!</p>
<p>wait(1)
player = game.Players.LocalPlayer
button = script.Parent</p>
<p>function teleportToArena()
torso = player.Character.Torso
torso.CFrame = game.Workspace.MarioTP.CFrame
end</p>
<p>button.MouseButton1Click:connect(teleportToArena)</p>
<p>local Mar... | 13388 | ||||||||
1 | why is my game is deleting everything in ServerStorage? | 332695720 | nafey200 | 52 | 2021-05-04 02:31:18 | <p>I haven't got any Plugins installed in Roblox Studio, but whenever I test my game ServerStorage is completely blank. Does anyone know why this is happening to me?</p>
| 123075 | ||||||||
1 | Randomly chosen positions? [SOLVED] | 46332524 | Grenaderade | 525 | 2015-04-08 03:18:59 | <p>I tried to make a random position script inside a part to go into randomly chosen CFrames that are being held in a variable.</p>
<pre class='brush: lua'>positions = "-5.8, 0.1, -11.3" , "8.2, 0.1, -25.3" , "-25.8, 0.1, -14.7" , "8.6, 0.1, 6.3"
while true do
wait(1)
script.Parent.CFrame = Vector3.new(1, #posi... | 16477 | ||||||||
1 | Is there a better way to get the keyboard input from a player than using remote events? | 338950628 | RedcommanderV2 | 1256 | 2018-05-01 14:46:23 | <p><em>I will not include any code as it is not neccesary for my question</em></p>
<p>As you guys probably know, userinputservice is only clientside wich means for a server to access it, you need remote events.</p>
<p>But a lot of remote events signals shouldn't be the best way to get the input. Is there any other way ... | 57778 | 1 | 56440 | 0 | 537472621 | Avigant | 2374 | 2018-05-01 14:47:54 | <p>Generally speaking there's no reason the server needs to be informed of every single keystroke a client makes, as you can just perform the actions client-side. Yes, remotes would be the way for you to go if you really did want to send keystrokes to the server, but you should consider rethinking your approach to netw... |
18 | How could I create a mirror image of a player's character? | 18989219 | Thewsomeguy | 448 | 2014-03-04 00:35:26 | <p>How would I go about making a mirror image of a player's character?</p>
| 471 | 1 | 3789 | 4 | 386992 | BlueTaslem | 18071 | 2014-04-18 18:56:28 | <p>To mirror a part, you simply have to mirror its CFrame. That can be done something like this:</p>
<pre class='brush: lua'>function mirrorCFrame(cf)
local mi = Vector3.new(-1,1,1);
local np = cf.p * mi;
local mi = CFrame.new( np , np + cf.lookVector * mi * -1 );
local up = CFrame.new(cf.p,cf.p + cf.lo... |
0 | place to place teleporter | 21886467 | abcdbag123 | 10 | 2014-03-11 22:33:49 | <p>i want to make a roblox mall that would teleport you to other places when you walk into the store
so if you walk in a store within the mall it teleports you to a place like kestral store
like in the winter games lobby</p>
| 639 | 3 | 1021 | 3 | 25290541 | ultrabug | 306 | 2014-03-12 02:33:13 | <p>Use the teleport service then. Example:</p>
<pre class="brush: lua">ts=game:GetService("TeleportService")
game.Workspace.Part.Touched:connect(function(hit)
if hit.Parent and hit.Parent.Humanoid then
ts:Teleport(5837573, game.Players:GetPlayerFromCharacter(hit.Parent))--the number is the id of the place.
... |
0 | How do I set only the Orientation of a CFrame? | 17737884 | UnityAlex | 36 | 2017-07-12 13:18:26 | <p>As far as I understand, a CFrame can generally be broken down like this:
CFrame.new(Vector3 pos, Vector3 lookAt)
My last question was about using welding to allow for rotation, which I solved using constraints. I needed to allow rotation because I want a gun to point at the mouse (think Metroid Prime). Here's my cod... | 45171 | 2 | 46144 | 1 | 79000540 | kazeks123 | 195 | 2017-07-12 19:03:24 | <p>I think you could use BodyGyro to rotate the Parent of the script. That way you would only need to rotate BodyGyro's CFrame and since BodyGyro doesn't apply any force to keep its position, but does only to rotate it's parent, there should be no worry of CFrames position. Tutorial on body movers (BodyGyro at the end ... |
0 | Mouselock movement | 2001745 | Virtual3D | 0 | 2014-03-13 22:15:23 | <p>I'm trying to replicate mouselock in hopes of avoiding the camera glitches that come with mouselock. I have the camera set up, but I do not know how to get the player to move side to side as opposed to facing left or right then move.</p>
| 675 | ||||||||
1 | Npc That When Out Of Range Goes Back to Starting Point? | 1234901344 | Dxv_ne | 7 | 2022-11-16 04:22:45 | <p>Working on a one piece game
And wanna know How can i make a npc where it chases you than if your out of range it goes back to its starting position heres my script so far :</p>
<p>local list = game.Workspace:children()
local torso = nil
local dist = 10
local temp = nil
local human = nil
local temp2 = nil
for x = 1, ... | 132292 | ||||||||
0 | Why is the GUI going away when the player respawns? [Solved!] | 1352464792 | surpriser231 | 0 | 2023-01-24 03:24:31 | <p>Why does the GUI that I created go away when the player respawns? It's coded to show when the player dies and to only go away when you click the close button.</p>
<p>It's a local script placed in starter player scripts. This is the code:</p>
<pre class="brush: lua">local players = game:GetService("Players")
local pl... | 132930 | ||||||||
0 | Help with Mouse and GUIs? | 44579150 | MixCorp | 70 | 2014-04-26 16:16:33 | <p>My question is, When I have a GUI Frame, and I want to use MouseWheelForward, How do I make it fire the MouseWheelForward event, Without Scrolling in on the Player's Character?
For Example:</p>
<pre class='brush: lua'>script.Parent.Parent.Frame.MouseWheelForward:connect(function()
print("He is going forward")
end)
<... | 3601 | 1 | 4999 | 0 | 386992 | BlueTaslem | 18044 | 2014-04-26 16:45:14 | <p>Specifying the frame as <code>Active</code> blocks all mouse actions from doing anything the ROBLOX way (but will still trigger the events). (This is equivalent to the behavior of using a <code>TextButton</code> instead of a <code>Frame</code>)</p>
<p>If you still want to be able to click through, you can only <em>m... |
0 | How would I check, if the value in a player is the lowest out of the server? | 1880161 | excellentAnarchy | 50 | 2015-09-12 01:53:31 | <p>I've given it a go, and I'm stuck on the part in the comment,
**local place **is created within the player when he joins by another script,
please ask me questions, if more info is needed.</p>
<pre class="brush: lua">local badgeID = 295786284
local badgeService = game:GetService("BadgeService")
function OnTouch(part... | 22618 | ||||||||
0 | How do I get my NPC to use an animation on repeat? | 1073917569 | Puppy_lovertheawsome | 84 | 2022-10-26 05:29:59 | <p>I have tried everything I can think of so if anyone can help me I would be grateful</p>
| 132043 | 3 | 119250 | 0 | 162601825 | TabooAntonioiscool | 42 | 2022-10-27 07:58:28 | <p>First, when making your animation, make sure it has the loop setting on so it plays continuously.</p>
<p><strong>Instructions:</strong></p>
<p>Place a server script inside of your NPC model</p>
<p>Inside of that server script, place an animation and set the animation ID</p>
<p>Now enter this code into the server scr... |
0 | How do I go about making a Proximity Prompt to drag NPC dead bodies? | 444613248 | BloomFlame1 | 2 | 2023-01-29 15:42:04 | <p>I'm making a game where one of the main features is killing NPCs and then dragging their corpses. I already have the killing part down, but I want to make it so that a Proximity Prompt appears for the NPC when they're dead and then using the Proximity Prompt to drag the NPC along with some sort of trigger to let go ... | 132972 | ||||||||
0 | If Tool is Touched By a Player then, put in their inventory help? | 554038428 | Auxatier | 59 | 2020-01-29 09:20:15 | <p>I've been having trouble trying to figure out why my code isn't working, basically- I'm trying to make that if it is touched by a player, it will be put into their inventory.</p>
<p>Code:</p>
<pre class="brush: lua">tool = script.Parent
Handle = tool.Parent
enabled = false
script.Parent.Touched:Connect(functi... | 93779 | 2 | 86643 | 2 | 15438711 | pwx | 1581 | 2020-01-29 09:29:02 | <p>Although the tool itself does not have a Touched() event, the handle does. You almost have it just a few adjustments needed.</p>
<pre class="brush: lua">Tool = script.Parent -- Define your tool.
Handle = Tool:WaitForChild('Handle') -- Define the thing that needs to be touched, in this case your handle.
Players = gam... |
0 | Why isn't my VIP script working? | 30372619 | Roboy5857 | 20 | 2014-05-18 02:26:38 | <pre class='brush: lua'> local vipmembers = {"Roboy5857", "tyresse"}
vip = game.Workspace.VIPDoor
function onTouched(vip)
if vipmembers:onTouched(vip) then
vip.Transparency = 1
vip.CanCollide = false
wait(2)
vip.Transparency = 0
vip.CanCollide = true
end
end
script.Parent... | 5017 | ||||||||
0 | Script only giving tool once and I want to to give it an infinite amount of times? | 118061211 | jacksworld2808 | 15 | 2020-04-19 06:41:22 | <p>I'm making a dinner, I have food on plates around on random tables and want you to be able to click on the food and get it given to you. This is the script I have</p>
<pre class='brush: lua'>local tool = game.ServerStorage.Burger -- Burger is the food item I want given
local clone = tool:clone()
script.Parent.ClickD... | 99843 | 1 | 92218 | 0 | 393921810 | TheluaBanana | 946 | 2020-04-19 06:46:26 | <p>first of all you gotta put the clone <em>in</em> the function:</p>
<pre class='brush: lua'>local tool = game.ServerStorage.Burger -- Burger is the food item I want given
script.Parent.ClickDetector.MouseClick:Connect(function(plr)
local clone = tool:clone()
clone.Parent = plr.Backpack -- you can skip the che... |
1 | Ban System | 38717324 | foxy83 | 15 | 2014-02-17 14:06:40 | <p>I am having trouble making a ban System. What I mean is that I will be able to use ROBLOX studio
and type in the players name and they are banned from the server.</p>
| 33 | 5 | 64 | 3 | 947798 | MrNicNac | 855 | 2014-02-17 14:31:05 | <p>Here's a way that uses indexes instead of table values. It makes searching for the name a lot faster. Don't worry about the <em>=true;</em> part and just copy the style.</p>
<pre class='brush: lua'>local BannedList = {
["MrNicNac"] = true;
["Lycan"] = true;
["Shedletsky"] =true;
}
function NewPlayer(pl)
... |
0 | What's the best way to find the position of the end of a gun's barrel? | 929847335 | TheDude646 | 19 | 2021-09-06 18:35:33 | <p>I'm trying to code guns for a game and i want to have the bullets come from the end of the gun's barrel but i can't think of a way to get the position of the end of the barrel without welding an invisible part to the end. any better ideas?</p>
| 127255 | 2 | 115507 | 0 | 2012384734 | theegggod142 | 20 | 2021-09-06 20:25:36 | <p>If it is a part, then get the paths for the position of the barrel. if its a meshpart, then get the position of the mesh part then add vector3 coordinates on top of the position. Change the vector3 value until it's just right.</p>
<pre class='brush: lua'>local Meshpart = Path
local tool = script.Parent
local functio... |
0 | How do i find a player with their name? | 145701075 | preston1196 | 22 | 2020-05-11 01:54:18 | <pre class='brush: lua'>local Players = game:GetService("Players")
local player = game:WaitForChild(Players[script.Parent.Parent.Value.Value])
</pre>
<p>The Value is a string value containing the player's name. but the error i'm getting says that preston1196 is not a valid member of Players. So it can't find my usernam... | 102680 | 3 | 94817 | 0 | 145701075 | preston1196 | 22 | 2020-05-11 02:26:56 | <p>I did a bit of messing around and found out a space got into the string and thats what caused it not to find it.</p>
|
1 | "Wait(5)" Preventing my door from closing? | 76734233 | generalYURASKO | 99 | 2021-01-28 22:13:42 | <p>Basically, im trying to make a door, and I made a script that works with only one button, however, I wanted to add a debounce so it can't be spammed. Only when I added it, it screwed up my script.</p>
<pre class='brush: lua'>if DoorDebounce == false then
DoorDebounce = true
if DoorIsUp then
... | 119314 | 1 | 108947 | 1 | 754480402 | sleazel | 1207 | 2021-01-28 22:54:06 | <p><code>wait()</code> is not the problem, however it shows you what is. You are unanchoring the doors during the tween. Tweens should be only played on anchored parts, otherwise Roblox physics interrupt them. Without <code>wait()</code> your doors will quickly anchor back when the tween starts, and remain anchored for... |
0 | Tool not replacing clothes? | 1961959172 | imnotaguest1121 | 74 | 2022-06-19 18:35:28 | <p>So I'm working on a tool that whenever its activated plays a animation then puts on the clothes, however It appears to remove the clothes and play the animation, however doesn't appear to add the clothes</p>
<p>script:</p>
<pre class='brush: lua'>local tool = script.Parent
local Animation = tool.Animation
local Woos... | 130411 | 1 | 117754 | 1 | 96373787 | hattim00 | 75 | 2022-06-20 12:49:33 | <p>[IF THIS WORKS MARK THIS ANSWER AS ACCEPTED]</p>
<p>The reason the clothing isn't loading is because their asset id's have not been loaded in game. The easiest way to load them is to create a shirt and pants in ReplicatedStorage with the clothingId's you want to change to.</p>
<p><a target="_blank" href="https://prn... |
0 | What are substitutes for MoveToFinished? | 2479393 | Dfzoz | 489 | 2020-02-02 19:57:53 | <p>I am developing an AI and already made the pathfinding system using a sort of A*. the function returns a table of positions where my bot have to go in order to reach the destination. I made another function which walked through these paths using Humanoid.MoveTo, like this:</p>
<pre class='brush: lua'>function walkPa... | 94024 | ||||||||
0 | Datastore2 is not saving. Even though it says Saved DATA in the output. (?) | 432744209 | Baselistic | 79 | 2020-09-13 15:56:41 | <p>Hi! So, I'm using Datastore2 to try and save the data that I want to be saved but, It does not save</p>
<p>Have a look at the script (I tried using Remote Events and normally and they both did not work).</p>
<pre class='brush: lua'>local datastore2 = require(game.ServerScriptService.MainModule)
datastore2.Combine("D... | 113120 | ||||||||
1 | is it possible to do this: a.Text = Variable"string" ? | 47282267 | FrozenWinterz | 50 | 2015-01-21 14:49:58 | <p>so my variable is a string but for some reason it won't work?
is it possible to say:
example = "Hello"
a.Text = example" World"
all in one line?</p>
| 14387 | 2 | 17437 | 3 | 5193371 | Shrekerly | 70 | 2015-01-21 14:55:58 | <p>Yes, it is very possible to set the Text of a Gui to a variable, you would use two dots to combine the variable with a string. Like so:</p>
<pre class='brush: lua'>example = "Hello"
a.Text = example.." World"
</pre>
|
0 | when do you use these () [] {} brackets in Roblox studio? | 233224360 | mastercheeseit | 77 | 2020-12-10 17:03:36 | <p>Why and when do we use this kind of brackets () {} [] in Roblox studio I don't get how and when they should be used please give me an example of these things I can't figure out how and when to use these.</p>
| 117027 | 2 | 107290 | 1 | 432744209 | Baselistic | 103 | 2020-12-10 17:57:18 | <p>() are used for parameters like in here:</p>
<pre class='brush: lua'>function()
example:Destroy()
example:Clone()
</pre>
<p>[] are used for "complicated" explorer paths, like for example:
if an item in the explorer has a space in it. You can use [] to gets its path in scripts</p>
<pre class='brush: lua'>local exampl... |
1 | ScreenGUI oooonly opening once? | 102254161 | squidiskool | 200 | 2020-05-08 11:36:10 | <p>For some reason, my ScreenGUI is only opening once. It's from a ClickDetector. This is a server script. Also don't tell me to use "Visible" because that's not a property in ScreenGUIs.</p>
<pre class='brush: lua'>local clickdetector = game.Workspace.SELECT.ClickDetector
clickdetector.MouseClick:Connect(function(play... | 102357 | ||||||||
1 | how to make player damage every time he is inside of part? | 107552898 | ThiagoGamestar | 9 | 2020-05-30 05:28:05 | <p>I used this script to make the player damage.</p>
<pre class='brush: lua'>script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid:TakeDamage(5)
wait(1)
end
end)
</pre>
<p>But I don't know how to make the player take damage every 1 second h... | 104809 | 2 | 96672 | 0 | 73170429 | imKirda | 1188 | 2020-05-30 08:56:24 | <p>Make a script inside of the part:</p>
<pre class='brush: lua'>local damage_delay = 1
local damage = 5
local part = script.Parent
local region = Region3.new(part.Position - (0.5 * part.Size), part.Position + (0.5 * part.Size))
while wait(damage_delay)
do
for _, part in pairs(workspace:FindPartsInRegion3(region, n... |
0 | I want to make it so when i press shift then i start running? | 51701207 | Skydoeskey | 108 | 2019-07-05 11:10:58 | <p>local player = game.Players.LocalPlayer
local character = player.Character
local humanoid = character.Humanoid
local mouse = player:GetMouse()
local origSpeed = humanoid.WalkSpeed
local runSpeed = 100 --modify this value to be the speed you want when running</p>
<p>mouse.KeyDown:connect(function(key)
if key:lower() ... | 83007 | ||||||||
0 | how do get badge if something gets triggered i really need help because im new? | 1087471180 | lennyfunny1_pc | 2 | 2023-01-12 20:56:56 | <p>i wanted to do this on a button.</p>
| 132818 | 1 | 119954 | 1 | 1357830938 | DindinYT37 | 246 | 2023-01-12 21:02:52 | <p>You should use <code>BadgeService:AwardBadge</code> in a <code>Script</code> for this, guessing that you're talking about UI-Button and listen to a <code>RemoteEvent</code>.</p>
<p>First, you'd have to listen for the user clicking on the button:</p>
<pre class="brush: lua">local Button = script.Parent -- guessing th... |
0 | why is localscript not cloning to character? | 95639712 | proROBLOXkiller5 | 41 | 2021-04-06 13:58:03 | <p>basically im trying to parent this clone of a localscript that is parented to a script in serverscriptservice to the player's character</p>
<p>but when i play the game the localscript wasnt there in the character model but the output printed ok which means it did work so i dont know where it went</p>
<pre class='bru... | 122074 | ||||||||
1 | Does anyone know how I can stream a video in a roblox game, as they do in events? | 926452419 | BrennoMaturino1 | 10 | 2020-08-01 13:25:42 | <h2>Does anyone know how I can stream a video in a game on roblox, as they do in events</h2>
<p>At roblox events, like "one world together at home", they broadcast on youtube and in the game at the same time, how can I do that?</p>
<p>[BRENNO FROM BRAZIL]</p>
| 110464 | ||||||||
0 | Having trouble with changing the time, how do I change it? | 1048659559 | zandefear4 | 90 | 2020-03-25 23:09:03 | <p>I've tried making scripts to change the time, but it just doesn't seem to work. I tried changing clock time, and time of day but it doesn't work. What am I suppose to use to change the time?</p>
| 97081 | 1 | 89636 | 1 | 1120781899 | Tusi_1 | 17 | 2020-03-25 23:21:15 | <p>The roblox use ,,MinutesAfterMidnight " for hour ! For example 10:00 is 10 * 60 for roblox</p>
<pre class='brush: lua'>minutesAfterMidnight = 600
while true do
minutesAfterMidnight = minutesAfterMidnight + 3
game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight)
wait(1)
end
</pre>
|
0 | How to fix Incomplete statement error? | 194498095 | DBoi941 | 57 | 2020-02-08 13:58:47 | <p>I get an error on line 9 saying "Incomplete statement: expected assignment or a function call"
I am not sure what is happen here never seen this before.</p>
<pre class='brush: lua'>db = false
brick.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFr... | 94309 | ||||||||
0 | Taghumanoid(I dont understand it)? | 92518991 | GodOfRBLX | 21 | 2015-11-20 02:47:33 | <p>Recently I have been attempting to learn how to make gun's from scratch and, when I try to see things about it (Free models and stuff), for the damage it says taghumanoid, what does it mean?
Thanks for reading!</p>
| 24485 | ||||||||
1 | [Solved] How do you make a custom leaderboard? | 1447452702 | KochbananemitGuave | 167 | 2020-07-05 21:16:55 | <pre class='brush: lua'>local players = game:GetService('Players')
TextButton = script.Parent.TextButton
Difference = 0
function UpdateList()
for _,Button in pairs(script.Parent:WaitForChild("Frame"):GetChildren())
do
Difference = 0
Button:Destroy()
end
-- Clear all Names.
for _,plr in ipair... | 108292 | 2 | 99521 | 1 | 113744304 | ASimpleGalaxy | 36 | 2020-07-05 22:52:58 | <p>I'm not very good at coding and I definitely don't understand your script... but I do know how to make a 'custom' leader board. Hopefully this helps... Anyways, you probably want to be using something called <strong>UIListLayout</strong>. I see you are trying to manually do some positioning but this would make it ea... |
0 | How to make remote function wait for a function to execute? | 962795 | fistter1 | 88 | 2020-02-02 00:31:15 | <p>Server</p>
<pre class='brush: lua'>local plr = game.Players:FindFirstChildOfClass("Player")
repeat wait() until plr
remote:InvokeClient(plr)
print"All clients done!"
</pre>
<p>Client</p>
<p>My attempt</p>
<pre class='brush: lua'>local stop = false
local function ay()
mouse.Button1Down:Connect(function()
print"yay"
s... | 93970 | ||||||||
0 | attempt to compare Vector3 and number? Why is this? | 165500987 | allybally12345 | 40 | 2020-09-25 18:33:08 | <p>So I got the error Attempt to compare Vector3 And Number but I do not know why, I have seen many other people use what I am using but they do not get this error! I am trying to modify a tutorial and I was doing good until I had to use magnitude! Entire Script:</p>
<pre class="brush: lua">local UpdatePosition = 0.06 ... | 113628 | 1 | 104301 | 0 | 62087109 | Raccoonyz | 1092 | 2020-09-25 18:50:53 | <p>You forgot to add .Magnitude. A correct version would be like this:</p>
<pre class="brush: lua">local UpdatePosition = 0.06 --How long it takes target the next humanoid
local DamageTime = 3 --How long it takes for the enemy to attack again
local Damage = 30 --How much damage the enemy does
--Advanced Config
local Ag... |
0 | How can I remove the last character off a string? | 9551275 | ItsMeKlc | 235 | 2015-08-03 16:30:15 | <p>How can I remove the last character off a string?</p>
| 20901 | ||||||||
0 | I was wondering if its possible to move a tool with an animation? | 647598508 | proudCdthekitten | 18 | 2020-06-30 03:13:19 | <p>(Example: throwing a Frisbee) is it possible for it to move off the arm?
I need to know please</p>
| 107815 | ||||||||
1 | Why won't the GUI text change? | 332695720 | nafey200 | 52 | 2021-05-02 05:51:55 | <p>Here's my code:</p>
<pre class='brush: lua'>local Players = game.Players
local Avatarblock = game.ServerStorage.Avatar_loaderblock
local PlayerNameFolder = game.workspace.PlayerNameFolder
local PlayerNameGui = game.ServerStorage.Avatar_loadermodel.GuiBlock.SurfaceGui.NameLabel
Players.PlayerAdded:Connect(function(pl... | 123018 | ||||||||
1 | How do I count the line count of a script? | 58246397 | dudemanloserr | 15 | 2014-12-22 14:36:13 | <p>I'm working on making a plugin that shows info on a script when it is selected, and know how to test for the selection and get the name, but how do I count how many lines it has?</p>
| 13507 | ||||||||
1 | How to fix my script that makes tool CanCollide false when picked up but true when dropped? | 331809274 | TechModel | 118 | 2021-07-23 11:59:43 | <p>I added a script a normal one in a tool that makes it CanCollide false which I want the tool to go through the wall, but if I drop it, then it goes back to CanCollide to true. I tried to make a script and I know I did a terrible job but how can I fix this?</p>
<pre class='brush: lua'>local tool = script.Parent.Model... | 125622 | 1 | 114316 | 1 | 605492589 | 7z99 | 203 | 2021-07-23 20:39:56 | <p>You should listen for the .AncestryChanged event of the tool. tool.Dropped and tool.PickedUp aren't properties or events of a tool. Also, tools aren't models and models don't have a CanCollide property.</p>
<pre class='brush: lua'>local players = game:GetService('Players')
local tool = script.Parent
local handle = t... |
0 | Trouble with Tweens, should be working, but it's not? Stopped working after perfection work. | 91709180 | matiss112233 | 243 | 2020-09-13 23:12:36 | <p>Hi all,</p>
<p>I'm making a custom player list, and I'm trying to make it tween into position, but I'm getting the error <code>Unable to cast to Dictionary</code>. It worked before I added <code>Enum.EasingStyle.Sine</code>, but when I added it, it magically didn't work anymore. Unless I'm doing something wrong, I h... | 113139 | 1 | 103862 | 1 | 79075855 | BerrySus | 65 | 2020-09-13 23:20:43 | <p>EasingStyle and EasingDirection is put inside TweenInfo not when you create the Tween</p>
<pre class='brush: lua'>local Cont = script.Parent
local TweenService = game:GetService("TweenService")
local TwnInfo = TweenInfo.new(1, Enum.EasingStyle.Sine,Enum.EasingDirection.InOut)
local ContTween = TweenService:Create(Co... |
0 | Why wont this model move? | 86048264 | TheTermaninator | 45 | 2016-04-18 23:41:05 | <p><strong>Problem:</strong> I have this model of a bear, I put this script in the model so that it will move randomly,but it dosen't move at all. Pls Halp D:</p>
<p><strong>Script</strong></p>
<pre class='brush: lua'>h = script.Parent.Humanoid
t = script.Parent.Torso
while wait(1.5)... | 29725 | 1 | 33120 | 4 | 2155311 | EgoMoose | 802 | 2016-04-19 00:40:44 | <p>Alright, so here's the good news, there's nothing wrong with your code (aside from the whitespace). I'm pretty sure the problem you're having is that your bear either doesn't have a part named "Head" or, if it does it's not welded to the torso by a joint named "Neck".</p>
<p>As such you're going to have to do that. ... |
0 | I need help removing duplicate tools whenever a player respawns? | 88149649 | aquacat133 | 2 | 2020-07-31 23:03:28 | <p>Hello, I am a very amateur scripter, to the point where I have to take free scripts and modify them to fit the game I am working on, so I may require some additional help, but besides that, I have a bit of a problem with one of my scripts. The script I have for saving tools duplicates the tools in a player's invento... | 110419 | 1 | 101438 | 0 | 1042173723 | 7zjh | 74 | 2020-07-31 23:46:12 | <p>Please be more specific. You only really explained that you are a new scripter. Are you trying to make all the players spawn with that gear everytime? Are you trying to make a gamepass item??? Please be more exact here since I have no idea why you are trying to use Data Store Service here. Edit: When you use data st... |
0 | Why won't MouseButton1Click work on my TextButton? | 38036947 | marioblast1244 | 113 | 2017-01-26 01:47:59 | <p>I want to make a Title Screen with ScreenGuis, but the "Play" button isn't working. This is the code that I have been trying to tinker with:</p>
<pre class='brush: lua'>wait(0.25)
local Screen = script:WaitForChild('TitleScreenGui') -- ScreenGui
local screen = Screen:Clone() -- ScreenGui that will be put into the Pl... | 39442 | 1 | 41697 | 1 | 20827299 | TheEdgyDev | 50 | 2017-01-26 03:30:30 | <p>There's a syntax error on line 11, <code>MouseButton1Click</code> is not a method, it is an event.</p>
<p>An easy fix is just to replace line 11 with:
<code>screen.Child.Child.Child.MouseButton1Click:connect(function(player)</code></p>
<p>Also, click only fires if the user presses mouse one and lets go of it while t... |
End of preview. Expand in Data Studio
This is a small dataset containing question/answer articles on (now defunct) scriptinghelpers.org, which was a StackExchange-like website for Roblox developers. It was scraped from archive.org about a year ago and parsed with regex.
Trivia
- There are 2097 archived articles with accepted answers out of 5129.
- The earliest question archived was posted on
Sat Feb 1 23:57:31 2014with question_id1by TheGuyWithAShortName entitledHttpService - PostAsync. It had an accepted answer posted on2014-02-17 03:11:33by MarkOtaris. - The last question archived was posted on
Sun Apr 2 01:40:15 2023with question_id133258by RedWirePlatinum entitledHelp with making a bouncy character script *without* creating instances?. - The last question archived with an accepted answer was posted on
Thu Mar 30 18:53:16 2023with question_id133254by krLuCiEzkr entitledLocalScript that checks if a player has this badge doesn't work? [CLOSED]. Its answer was posted on2023-03-30 19:29:01by MaleficentMaestro.
Other Notes
The question and answer columns have an endogenous HTML schema that has not been transformed into Markdown. For instance, in question id 129668:
<!-- question -->
<p>I was trying to remove the HopperBin in user's inventory using the following script:</p>
<pre class="brush: lua">game.Players.PlayerAdded:Connect(function(player)
for i,v in pairs(player.Backpack:GetChildren())
if v:IsA("HopperBin") then
v:Destroy()
end
end
end)
</pre>
<p>Instead of removing, it does nothing.
Any help would be great!</p>
<!-- answer -->
<p>1st of all, you should try it when the <strong>Character</strong> is added. Tools and such do not go straight to the backpack, it <strong>waits until the character is added and then adds tools to the backpack</strong>.</p>
<p>2nd of all, I wouldn't use HopperBins to begin with, as they're <strong>deprecated</strong> (use tools).</p>
Parsing was done only with the single-pass regular expression and minimal post-processing to remove recurring anomalies. Comments and unaccepted answers were not included in the parsed data, but can be found in the raw data.
Requirements
brute.pyrequires an installation of ripgrep on your machine.data_to_parquet.pyrequires pyarrow.
- Downloads last month
- 6