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
Help with changing a image's ImageRectOffset?
1357339884
SilverishReign
62
2021-09-14 00:26:20
<p>I want to change an image's ImageRectOffset when its parent (which is a billboardgui) is disabled. I thought it would be pretty simple but I don't know where I went wrong.</p> <pre class='brush: lua'>function test() if Billboardgui.Enabled == false then --wait() Billboardgui.Image.ImageRectOffset...
127422
1
What words are used to compare values?
49960495
ScriptNHelper
5
2014-02-28 01:29:56
<p>Can you provide an example script too? Thanks.</p>
343
1
How can I use table.insert when I don't know the index number?
332695720
nafey200
52
2021-04-22 06:22:54
<p>I want to create something inside of a table when a function is triggered, I also don't know it's index number. How can I get Roblox to print the newly added thing in the table?</p> <pre class='brush: lua'>local Players = game.Players PlayerList = {} Players.PlayerAdded:Connect(function(player) table.insert(Play...
122658
1
How do you make a motion detector that shows a gui when detected motion?
1560908426
TheStageGuyYT
19
2021-09-14 21:27:17
<p>I've been trying to make games lately and they suck but I just had an idea but I don't know how to script it. Can anybody please help me?</p>
127443
1
115627
0
698511703
PufferfishDev
44
2021-09-14 21:49:18
<pre class='brush: lua'>local chr = script.Parent -- Get character local hum = chr:WaitForChild("Humanoid") -- Get humanoid local plr = game.Players.LocalPlayer while wait() do if hum.MoveDirection.Magnitude &gt; 0 then -- Check for motion plr.PlayerGui.AWrfawf.Enabled = true -- change "AWrfawf" to the Scre...
1
What's the Difference between the normal `Semi-Colon` and a `Comma`?
5820674
woodengop
1132
2015-06-17 08:03:21
<p>When I was playing around with <code>semi-colons( ; )</code> and <code>commas( , )</code> I noticed when in <code>variables</code> the second one(first <code>variable</code> has a comma now) had an error( <em>red underline</em> ) <code>local</code>, For Instance.</p> <pre class='brush: lua'>local a="string a", local...
18624
1
how to get vector3 from (part0.Position - part1.Position).magnitude - 1 ?
50605193
johnnygadget
50
2015-09-02 21:43:37
<p>I have two parts welded together. I want to make them closer together. I can get the point where I want part1 to be by doing newpoint = (part0.Position - part1.Position).magnitude - 1, but how do I turn that into a vector3 for the new weld?</p>
22262
0
While true do loop stops working after script is disabled and then re-enabled. Why?
231423324
ghxstlvty
133
2021-09-14 10:18:34
<p>I have no reason to post the code to the script because it is just a while true do loop that runs if a value = 3.</p> <p>Just wondering how to keep my loop running after the script is re-enabled.</p>
127435
0
How would I make a team counter?
8895155
truefire2
75
2014-02-21 15:53:31
<p>Hi. How would I make a dynamic GUI team counter which changes when a player leaves, dies/resets, changes teams or joins?</p> <p>I don't know how to use the Changed event in order to change the counter number. Do I use the PlayerRemoving Event?</p> <p>I got this in mind but I don't think it'll work.</p> <pre class="b...
198
0
Default channel does not work with SwitchCurrentChannel?
732992468
AvionicScript
50
2020-09-14 16:48:04
<p>I'm trying to switch to the channel "All", which is the default one. But it says "Chat.ChatScript.ChatMain.ChatWindow:557: Channel 'All' does not exist."</p> <p>Any ideas why?</p> <p>GetChannel returns nil for some reason as well</p> <pre class='brush: lua'>local chat = game:GetService("Chat") local chatModules = ch...
113160
0
Anyone able to help with my script? Its probably simple but I'm sort of stuck...
2015428332
jxdxn_14
0
2022-10-30 08:33:54
<p>Hi, so I'm making a scanner, basically when you click a box it adds the item to your inventory and adds a label to the GUI, that's all working but I want to make it so that it can be removed.</p> <p>So I've got this code snippet I've tried, I'll also attach an image of the explorer.</p> <pre class='brush: lua'>ScanA...
132079
1
[Datastore] Log system?
61790180
MessorAdmin
598
2015-02-03 19:16:19
<p>(Kind of a request?) Umm anyways Im making a datastored nil logger. So when a player goes nil in a SB I can log them to remember them or kick them time they try to go nil. Basically what Im asking is..</p> <p>Where would I start?</p> <pre class="brush: lua">local NilTable={} GetAsync()? IncrementAsync()? SetAsync()?...
14721
1
17803
0
520514
bobder2
135
2015-02-04 23:39:17
<p>I'm assuming that if you can find somebody going nil you can just pass their userid or name to a script that adds them to a ban list of sorts that just gets updated to datastore. That'd be my best guess, however I've no idea how to find if they go nil. I think the method you're looking for here is GetAsync() to get ...
0
How to get player's inventory on the web?
72911606
SebbyTheGODKid
198
2018-01-09 22:44:35
<p>You can't send HTTP requests to the ROBLOX api so.. and roblox.plus aren't supported anymore so just wondering how to, mostly get their places.</p>
51879
0
How to make a part be thrown away if it touches another when clicking?
1739689185
MatiasHarders
0
2021-01-31 15:50:10
<p>Hello! I would like to make that when clicking on a specific part (part 1) only if it is touched by part2 at the moment of the click, the part2 is thrown away, how can I do something like that?</p> <p><strong>I would like it to be thrown away like when you throw a ball, this is for a baseball game and I want to do t...
119454
0
I'm wondering why the left and camera movement for my fnaf game doesn't work, any help?
434616561
EncryptedThunder
0
2022-09-12 12:26:00
<p>heres the script:</p> <pre class='brush: lua'>``local player = game.Players.LocalPlayer local mouse = player:GetMouse() local part = workspace.CameraPart local character = player.Character or player.CharacterAdded:Wait() local camera = game.Workspace.CurrentCamera local checking = true local position = false local p...
131605
0
How can enable CustomPhysicalProperties with a script for the player?
295851213
ieatandisbaconhair
77
2018-12-14 15:19:05
<p>So i made a car chassis with suspension, and it seems like the player was too heavy. So i made a script that lowers every propertie to 0 but CustomPhysicalProperties wont enable. please help</p> <pre class='brush: lua'>s.ChildAdded:Connect(function(child) if child.Name == ("SeatWeld") then isincar = true...
72266
0
How to put tool on the player's head?
1739689185
MatiasHarders
0
2021-02-02 13:55:07
<p><strong>Hello! I would like to know what is wrong in my code, I want the night vision tool to appear in the player's head, how can I do that?</strong></p> <pre class='brush: lua'><br />local tool = script.Parent local equipped = false local UID = game:GetService("UserInputService") local player = game.Players.LocalP...
119529
0
How do I save these leaderstats?
1791296853
xbantixx
10
2023-01-30 17:05:04
<p>Hello! I'm currently making a game that requires leaderstats, (Trolls, Gems, Rebirths) and I am attempting to find a way to save these. I have tried watching some tutorials/youtube videos, yet none of them work.</p> <p>Here's my leaderstats script:</p> <pre class='brush: lua'>game.Players.PlayerAdded:Connect(functio...
132976
1
What is the difference between :connect and :Connect?
45209912
justintubba123
6
2019-02-02 17:45:19
<p>In a recent question someone commented that i should use :Connect because it is better. Throughout all my games I have always used :connect. Is there a reason to switch and is it worth it to switch them all?</p>
75593
2
71054
0
125199827
Nogalo
148
2019-02-02 21:30:50
<p>As others have pointed out :connect is deprecated</p> <p>to change :connect to :Connect in your scripts simply open the script and press ctrl + H this will open a menu in the top right corner which will allow you to find and replace words simply type :connect in the top one and :Connect in the bottom one and keep pr...
0
Detect if a specific player has left the game?
230354879
RazzyPlayz
497
2020-12-16 11:20:01
<p>Hello.</p> <p>I am currently experimenting with the Players.PlayerRemoved event, and I was wondering, is it possible for the game to detect if a specific player has left the game, from a Player gotten from the <code>GetPlayerFromCharacter(hit.Parent)</code> function. I have attempted this in a script, and what's sup...
117255
2
107474
2
87531166
virushunter9
943
2020-12-16 14:17:41
<p>The <a target="_blank" href="https://developer.roblox.com/en-us/api-reference/event/Players/PlayerRemoving">PlayerRemoving</a> event has a parameter that details the player that is leaving the game. We can simply check to see if the parameter is the same as the player that touched the pad.</p> <pre class="brush: lua...
0
How Would I Make Parts(Attacks) Do Damage?
58556863
Wolf5429
15
2018-04-19 01:17:12
<p>In my game I have attacks that the player uses to fight other players but I can't figure out how to do damage without the script doing the damage constantly instead of once or how to get damage to last over time when touching a part like 5 damage every second for instance. Could anyone point me in the right directio...
57061
2
Is it possible to prevent a player from jumping out of a chair?
18989219
Thewsomeguy
448
2014-03-22 21:21:19
<p>Would it be possible for me to prevent someone from jumping out of a seat (or getting out using other methods)?</p>
857
0
How do i make the billboardgui not change its size while zooming out/in?
232119489
tomer495
19
2020-10-23 13:13:10
<p>Is it possible that a billboard Gui will stay in the same size?</p>
114767
0
Why am I not spawning at the correct location?
1752724383
Xyternal
220
2022-07-30 17:05:16
<p>I made a script, and it checks every player in a team, and assigns them a spawn location. But it doesn't work. If I join as Guerilla Gang, I spawn at one of 2 the spawns, and if I join as Special Forces, I spawn randomly in the middle of the map. Why? My script:</p> <pre class='brush: lua'>local spawnloc1 = game.Wor...
131014
0
How to fix part not removed even though it's clicked?
393944663
R0jym
14
2022-05-01 12:01:59
<p>Hello there, I wanted to make a LocalScript where if a player clicks a part, the part is destroyed and another event sequentially occurs (Which is updating the text of the TextLabel named value), however even though it looks correct to me what I expected to happen did not happened, here is the script</p> <p>NOTE: Th...
129877
1
117341
0
1715522570
BeautifulAuraLover
371
2022-05-01 13:15:57
<p>You cannot use math operations on string and number.</p> <pre class='brush: lua'>local user = game:GetService("Players").LocalPlayer local book = game.Workspace:WaitForChild("Book") local bookclick = book.ClickDetector local value = user.PlayerGui.BackGui.Value bookclick.MouseClick:Connect(function() value.Text ...
0
How do I make a gui inserted when a player walks over an object?
148527490
manith513
121
2020-01-06 00:07:19
<p>My position settings say the gui should not be on the screen and I want it like that but whenever I play the game the gui doesn't show up as a new text button in the starter gui Help.~~~~~~~~~~~~~~~~~ game.Workspace.Hill1.NamePlate.Touched:Connect(function(player) if player.claim == false then if game.Workspace.Hill...
92626
2
85708
0
34569960
Reset8449879
204
2020-01-06 00:17:01
<p>You have a lot of problems with your script but I'm just gonna fix the main ones for you.</p> <pre class="brush: lua">workspace.Hill1.NamePlate.Touched:Connect(function(hit) local player = game:GetService('Players'):GetPlayerFromCharacter(hit.Parent) if player ~= nil and player.claim.Value == false then ...
3
When I use :MoveTo() on a model it breaks all the welds. How do I fix this?
62061300
AstrealDev
698
2017-01-19 01:06:06
<p>Title says it all. I use :MoveTo() on a model, and all the welds break. How can I fix this?</p>
39168
1
42405
0
55628335
shadownetwork
233
2017-02-22 00:14:59
<p>Use a CFrame or anchor all the parts, call :MoveTo() then call :MakeJoints() and then unanchor the parts.</p>
0
Attempt to perform arithmetic (add) on Number and Instance?
2009611444
bebokhouja2
38
2022-09-21 12:19:58
<p>I had a script in which every 10 seconds it awards you money but it errors saying "attempt to perform arithmetic (add) on number and Instance"</p> <pre class="brush: lua">while true do wait(10) Players:WaitForChild(script.Parent.Parent.Parent.OwnerName.Value).leaderstats.Cash.Value = ...
131686
0
How to call a function by using a string name?
178739247
CocoDysphoria
67
2023-01-16 01:18:57
<p>Hi, I'll spare you the details of why I need to do what I need to do but the issue is quite simple. Lets say I have a string such as "GetFullName" and I want to call "GetFullName" as though it were a function (basically as Instance:GetFullName() ) I've tried doing Instance:"string", Instance["string"], and Instance:...
132859
0
How to move the position of your character?
64110244
wolfgangm17
0
2014-07-10 14:47:26
<p>Hello everyone, good morning (or afternoon if your in a different time zone) and today I have a serious question that came up in my head.</p> <p>Literally, how do you move the position of your character on the X,Y, and Z axis similar to how you would do it for a brick?</p> <p>Lately I have been going into the keyDow...
7894
0
This script for my DevProduct gui works fine in studio, but not in-game. What's wrong with it?
14277028
rodrigo455
578
2017-09-25 16:11:16
<p>So, basically. This is just supposed to be a simple to use DevProduct gui. The player gets a gui, places it in the Y position they want and the script will do the rest. Anyway, the script works well in studio, however when I test it in game, it only works for the first one.</p> <p>Here is what happens...</p> <p><a t...
48184
1
How to move things from ServerStorage to StarterPack?
332695720
nafey200
52
2021-04-17 07:59:21
<p>It's weird because there were no errors in the output.</p> <pre class='brush: lua'>local SwordFightingArea = game.Workspace local ClassicSword = game.ServerStorage local StarterPack = game.StarterPack local Players = game.Players local NotSwordFightingArea = game.workspace.NotSwordFightingArea local ServerStorage = ...
122478
2
111594
0
1792778813
Xapelize
1459
2021-04-17 09:47:52
<p>Correct script:</p> <pre class='brush: lua'>game.Players.PlayerAdded:Connect(function(player) local ClassicSwordClone = game.ServerStorage.ClassicSword:Clone() local NotSwordFightingArea = game.Workspace.NotSwordFightingArea ClassicSwordClone.Parent = player.Backpack print (player.Name .." has a swor...
1
can i basicly undo this without this error becuase it seemes impossible?
391170608
superspeedr1234
60
2020-05-06 23:24:16
<p>I keep getting errors saying 18:21:51.490 - pully_in_pulled_position is not a valid member of ServerStorage and 18:21:51.489 - pully_in_pulled_position is not a valid member of ServerStorage I understand why I just want to know how I fix it? here's the script</p> <pre class='brush: lua'>local pully = script.Parent l...
102172
2
94417
0
251936426
youtubemasterWOW
2706
2020-05-07 01:47:02
<p>Hello. Try using <code>WaitForChild()</code> on "pully_in_pulled_position". This will ensure the pully will be inside <code>ServerStorage</code>.</p> <pre class='brush: lua'>local pully = script.Parent local pully2 = game.ServerStorage:WaitForChild("pully_in_pulled_position") local pully2_workspace = game.Workspace....
0
How do I change vector 3 to CFrame?
40072887
SyndicateHalo
40
2017-12-05 01:44:32
<p>how would i do it???????????????????????????????????????????????</p>
49922
0
How do I make it so that the players thumbnail pops off the screen when a button is clicked?
63784902
ABCyahia
24
2020-07-08 16:25:25
<pre class='brush: lua'>-- The variables for the button. local players = game:GetService("Players") local plr = players.LocalPlayer -- The function for when the button is clicked. local function onClick() local id = plr.UserId local thumbType = Enum.ThumbnailType.AvatarThumbnail local thumbSize = Enum.Thumb...
108536
0
How do I change an R15 character model?
156248976
TROBLOXIAN404
0
2021-04-05 15:17:27
<p>I'm trying to change a player's model into a scarecrow model, but nothing I try seems to work. I tried attaching the parts as accessories (which seemed like my best bet) and I tried physically rigging up the scarecrow and changing the character rig into it, but it doesn't seem to work. I need help with making the at...
122035
0
All tools of the same name are deleted once you die with one tool?
125243218
ChisomAnimations
0
2021-05-02 07:51:34
<p>So I have multiple copies of the same tool in the workspace for counting, and the problem is that whenever the player dies with one tool, all the other copies of the tool are deleted too. Any way to fix this?</p>
123023
0
how on earth do i make a player change animation when it hits a walkspeed? (UNANSWERED)
632281098
dragonlolpp2
2
2019-10-18 08:19:07
<p>i'm not really a good scripter just a basic scripter and i wanted a player to change animation when it hits a certain walkspeed and everyone can see it, heres the script.</p> <pre class='brush: lua'>local Player = game.Players.LocalPlayer local Character = workspace:WaitForChild(Player.Name) local Humano...
88903
0
unable to cast value to object from promptgamepasspurchase function?
438991969
SWBTyresse
6
2020-08-02 13:32:24
<p>the player has already been defined earlier in the script, I just dont think people feel like reading through 50 lines of code.</p> <p>getting this error: Unable to cast value to Object. the error is on the promptgamepasspurchase function. everything else works fine</p> <pre class='brush: lua'>if game:GetService("Ma...
110540
1
101541
0
87736336
exxtremestuffs
310
2020-08-02 15:57:31
<p>You're using</p> <pre class='brush: lua'>player.UserId </pre> <p>when you should just be using</p> <pre class='brush: lua'>player </pre> <p><code>PromptGamePassPurchase</code> takes the player <em>Instance</em> as the first argument.</p>
2
How does a Roblox Dictionary work?
15631081
Uglypoe
547
2016-02-23 02:14:17
<p>I recently decided to explore "Dictionaries", and have found them to be extremely useful. Dictionaries are like arrays, but with key-value pairs. You call the dictionaryname[key], and it gives you to value. Way easier than setting up a for loop for an array to find an item.</p> <p>I was wondering: When you do someth...
27768
0
Particle disable and re-enable?
176594891
CrazyCats84
58
2020-08-05 13:44:49
<h2>So basically i have a projectile script that goes like this:</h2> <pre class='brush: lua'>script.Parent.OnServerEvent:Connect(function(plr) local Slash = game.ReplicatedStorage.Slash13.YSlash3:Clone() Slash.Parent = workspace Slash.CanCollide = false Slash.Anchored = false Slash.CFrame = plr.Cha...
110745
0
Dosent have acces to my own decal?
720506926
DevingDev
346
2016-07-23 19:59:45
<p>I dosent know why i cant have this decal on my gui it justs says this error</p> <pre class='brush: lua'>21:58:56.802 - Content failed because HTTP 409 (HTTP/1.1 409 User is not authorized to access Asset.) 21:58:56.803 - Image failed to load StarterGui.ScreenGui.TestShop.Buy Gems.ImageLabel.Image : rbxassetid://4629...
33542
1
bad argument #1 to 'concat' (table expected, got string)?
15438711
pwx
1581
2018-11-24 04:21:48
<p>Hello. I've recently run into this error whilst scripting? Can someone tell me why?</p> <p>It works all the way up to the point of the print(table.concat) part.</p> <p>Getting this error: bad argument #1 to 'concat' (table expected, got string)</p> <pre class="brush: lua">Managers = { 'zonit', 'EIijahMikaelson', } l...
71064
1
67511
0
393921810
TheluaBanana
946
2018-11-24 04:35:18
<p>if i catched ur question, this should work</p> <pre class="brush: lua">local managers = {"zonit", "EIijahMikaelson"} for i, v in pairs(managers) do print(v) end </pre>
3
Is there any possible way to change Graphics Quality to an specific number from a script?
94203834
AswormeDorijan111
531
2018-05-23 17:49:11
<p>Hi, thanks for your time for viewing my question! Is there any possible way to change the <strong>Graphics Quality</strong> to your specific number from a script? So when you click button, it will change <strong>Graphics Quality</strong> value to 2 or any other number?</p> <p>I've seen function :GraphicsChangeReques...
58872
0
I created basic script to understand how to make weather, but It refuses to work, what is wrong?
323815851
ifreakinlostmyacount
52
2020-03-12 19:52:56
<p>I created a script to set the weather randomly and to loop; Roblox shows no errors in the script. I was wondering if the math.random is incorrect. The script was created to block one script as another runs. The script:</p> <p>while true do workspace.Rain.RainEffect.RainScript.Enabled = false workspace.Snow.SnowEffec...
95964
0
My script doesnt detect when a player is holding a tool and then clicks a block?
79523404
snipperdiaper
120
2020-07-08 01:48:48
<p>I used what I learnt in parts here the hierarchy: https://gyazo.com/34ee83ce5fb32daa33cd0aa7de19b3e1 Any help appriciated</p> <pre class='brush: lua'>script.Parent.Equipped:Connect(function() local Helper = game.Workspace.ToolEventHelper local ReplicatedStorage = game:GetService("ReplicatedStorage") local re...
108495
1
99672
1
1658458271
Padugz
40
2020-07-08 03:07:43
<p>First, create a local script within the Tool:</p> <pre class='brush: lua'>local Player = game:GetService("Players").LocalPlayer local Mouse = Player:GetMouse() local ReplicatedStorage = game:GetService("ReplicatedStorage") local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEventToolTest") local Tool = script....
0
Recreating Arcane Adventures? (Repost)
109467503
Shadowthaumaturge
97
2017-04-14 20:18:29
<p>So I've been working on a script that needs a lot of help, I'm making it open source for anybody who wants something but I currently only have the main basics with an exploding fireball. Debounce is one of my biggest issues so I made the whole script deactivate which is horrible, there's no "summoning circle" which ...
41998
2
43724
0
87980375
iiTylerSoul
56
2017-04-14 23:47:37
<p>Before you read, know that there might be grammar or spelling issues that you might not be able to decipher.</p> <p>You might not understand some of the things I'm trying to explain to you.</p> <p>There ALSOOOO might be coding errors.</p> <p>I can't comment on your post for some reason so, if you're having one of th...
0
Tweening the orientation of a part is also changing the position?
8225179
pickles980
4
2021-04-08 16:54:33
<p>I have this model of a door, and when I test it straight out of workspace, it works fine, however when I pull it out of ServerStorage and then test it, the model rotates and changes its position to an area across the map. Anyone see anything in my code that might be causing this?</p> <pre class='brush: lua'>local Tw...
122153
0
Getting a humanoid in a local script?
23783573
docrobloxman52
407
2015-07-27 14:48:36
<p>Hi I was making this script and when I saved it the players walkspeed didn't go to 0. Can you help?</p> <pre class='brush: lua'>game.Players.LocalPlayer.Character:WaitForChild("Humanoid") plr = game.Players.LocalPlayer script.Parent.TextWrapped = true plr.CameraMinZoomDistance = 1 plr.CameraMaxZoomDistance = 1 game....
20495
0
How to fix 'Cannot load the AnimationClipProvider Service.' error in my code?
1453037930
hex2decimal
2
2023-01-22 19:38:13
<p>I was working on a viewport GUI and then walked across this annoying error</p>
132913
1
120045
0
1561550920
tumtindy
36
2023-01-22 20:16:03
<p>Hey man, I don't think theres a problem with your code. This looks to me like a Roblox glitch and you'll probably just have to wait until it gets patched, if you can, try putting your dummy/humanoid you're animating on in the workspace and then it might work? Not sure.</p>
0
Can you return in a modulescript?
51731963
0te
35
2020-11-29 13:55:11
<p>Hi,</p> <p>I've recently started looking in to module scripts.</p> <p>I am currently trying to learn returning as well so that I can use this as a replacement to boolValues. (e.g. returning true or false in a module)</p> <p>Currently as my module code stands:</p> <pre class='brush: lua'>module.Equip = function(Playe...
116509
1
106847
0
459294092
Spjureeedd
385
2020-11-29 14:12:20
<p><strong>ModuleScript</strong></p> <pre class='brush: lua'>local myFunctions = {} function myFunctions.Example(x, y) local sum = x + y return sum end return myFunctions </pre> <p><strong>Script</strong> <em>or</em> <strong>LocalScript</strong></p> <pre class='brush: lua'>local ServerScriptService = game:GetSe...
2
How do I add lens flare to my game?
5054698
Pteranodon
10
2014-02-21 12:57:30
<p>I want to make a kind of futuristic game or a modern game and I want to capture the feel of it with lens flare? Is there anyway to add this?</p>
195
0
The connection between a Workspace player and their Players data?
15288675
emite1000
335
2014-06-01 01:59:44
<p>The title says it all. I need to find the connection, probably a method between a Workspace player and their <code>game.Players</code> data.</p> <p>Example: I have a Gui that I want cloned from a character in <code>game.Workspace.Player32</code>, and it to go to their PlayerGui. How do I make it go there without kno...
5961
1
How do you address all players in-game?
31253214
OfficialAndrew
45
2014-03-01 23:10:45
<p>That title was probably confusing but like, can you say "game.Players.Player"? or something like that? Sorry, I'm new to scripting.</p> <p>Like, for example, all the torsos of all the players on a server to change transparency. How would I address the players/player in the script?</p>
416
1
Select range of bits from string?
65765854
eLunate
5136
2016-04-07 17:47:12
<p>Okay, so you know how strings are made up of characters, and all those characters are made up of a single byte each. Assuming I'm using a string to represent a ton of bits, how can I get the values for a range of the bits? So say, I wanted the bits from 2 to 13 for some obscure reason, how can I take my string and e...
29352
1
32773
4
1449757
ZarsBranchkin
885
2016-04-07 21:19:42
<p>Right, seems like I have came up with some seemingly efficient solution which returns the bits as table of booleans.</p> <p>First thing you should do, is find the bytes that fall within the begin and end bit range, so no processing power is wasted converting unnecessary bytes to bits. After that is done, you can sta...
0
How to make teleporting have an offset? [Solved]
287685
rexhawk
222
2019-04-12 21:06:07
<p>My goal here is to make a handcuff system, where when the officer clicks a suspect, the suspect teleports to his hands hand he is sort of welded to the officer and has no control. My problem is that when I try to teleport the suspect to the officer with the offset script I've already made, it sometimes goes <strong>...
78891
2
73639
0
63158161
Awesom3_Eric
157
2019-04-12 22:14:04
<p>Using position and orientation wouldn't be the best way to go, what you should use is something called CFrame. CFrame stands for Coordinate Frame and it accounts for a part's position in a 3-D axis as well as its rotation! You've got a 2-in-1 package to solve your problem :D</p> <p>Here's what the second script look...
0
How do i add music in the backround of a game without a music box?
57249717
iluvmaths1123
198
2014-06-01 03:48:21
<p>How do i add music in the backround of a game without a music box?</p>
5970
1
7928
2
46332524
Grenaderade
525
2014-06-01 03:58:18
<pre class='brush: lua'>msc = Instance.new("Sound", Workspace) msc.SoundId="http://www.roblox.com/asset/?id=AUDIOID" while true do wait(10) msc:Play() end </pre>
0
Why isnt this simple sound and light script working??????
189233107
XxTGLxX
7
2020-09-14 17:06:28
<p>I swear roblox pissed me off so f**kin much sometimes. Please help me with this simple script i do not understand at all why its not working. Its making me very angry.</p> <pre class='brush: lua'>wait() local Lights = true local DB = false local Thread = coroutine.create(function() -- red flashing lights this part w...
113162
1
103890
0
118343046
Elyzzia
1023
2020-09-14 20:05:33
<p>you can't yield a coroutine from outside itself, so when you do <code>coroutine.yield(Thread)</code> it actually yields the MouseButton1Click thread</p> <p>what you can do instead is make it so that if the lights are off, the loop continues running, but just makes it so that the lights have a brightness of 0</p> <pr...
2
Detecting the direction the mouse wheel is moving?
14404374
Vexture
179
2016-11-08 21:34:14
<p>I can detect when the wheel is being used by using UserInputService, like so:</p> <pre class='brush: lua'>uis.InputChanged:connect(function(input) if input.UserInputType == Enum.UserInputType.MouseWheel then print("WHEEL") end end) </pre> <p>The problem is that <em>I cannot get the direction <strong>...
37016
1
How would I go about using Roblox SSO in my site? Specificly to login users or sign up users.
308031023
Roblo_Developer
15
2020-12-15 19:57:06
<p>Hey! I was trying to recreate SSO for my website, and want to see if there's a way for SSO with Roblox accounts. I know <a target="_blank" href="http://devforum.roblox.com">The Devforum</a> uses it and its very useful. If anybody could help me, I would be very grateful.</p>
117230
0
How to check if a player died?
309436237
BabanizPROcuk
49
2020-04-17 05:40:48
<pre class="brush: lua">local player = game.Players.LocalPlayer local character = player.Character local humanoid = character:FindFirstChild("Humanoid") while true do if humanoid.Health == 0 then print("So you have chosen, Death") end end </pre> <p>This is my script. How can I check if a player died and...
99578
0
How can I make my player's 'time alive' leaderstat reset when they die?
708367790
Halbolonen
13
2020-04-29 18:36:08
<p>I've seen things like this before but they've all been no use. Here is my code, can someone help me reset the 'Time alive' counter when the player dies? if you need a better understanding of why I'll need this, here's the link to my game:</p> <p>https://web.roblox.com/games/4959857494/Dash-BETA</p> <p>Here is my scr...
101228
0
Getting the player in the workspace?
757628143
6zk8
95
2020-04-12 11:28:49
<pre class='brush: lua'>local Lplayerid = script.Parent.Parent.User.Value local lhum = tostring(Lplayerid) local hum = game.Workspace.lhum.HumanoidRootPart </pre> <p>This is in a regular script that's why I took the player from a stringvalue. Any help would be appreciated!</p> <p>EDIT : Btw everything everything in the...
98966
2
91441
1
245864252
xInfinityBear
1777
2020-04-12 12:09:50
<p>If all you're trying to do is get the HumanoidRootPart from the player's Character then you can use a local script for this then use a RemoteEvent to fire the server from the localscript and use a server script to do the rest of the code if you want anything to be server sided. Example:</p> <p><strong>Local Script:<...
0
Ability just won't fire, why Is that?
1961959172
imnotaguest1121
287
2022-09-16 02:45:56
<p>I made a tool Inside of a custom rig, what the tool does Is that It forever plays a animation which creates a AoE that slows down enemies (Currently working on It) the problem Is that tool.Activate just [bleep]ing won't fire</p> <p>Notes: The script Is a server script The ability Is Inside of the custom rig The tool...
131633
0
Unable to cast string to token?
538824226
Brioche_Noodle
7
2021-06-07 09:54:54
<p>Hello, I am making this script for my Flight Detail Gui Basically when you click a button it pops up a GUI but for some reason on my output there is an error saying, " Unable to cast string to the token "</p> <p>This is my main code:</p> <pre class='brush: lua'><br />FlightDetails:TweenPosition(UDim2.new(0.015, 0, 0...
124163
2
113184
0
526210522
Dehydrocapsaicin
478
2021-06-07 11:41:09
<p>Here's how you should do it:</p> <pre class='brush: lua'>FlightDetails:TweenPosition(UDim2.new(0.015, 0, 0.1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, false) </pre>
3
How can I make a block move in a direction related to the blocks rotation?
13625043
Xduel
211
2014-10-01 00:25:49
<p>So lets say I have:</p> <pre class='brush: lua'>local part = script.Parent while wait(1) do part.CFrame = part.CFrame + Vector3.new(0,0,1) end </pre> <pre class="brush: lua">Now I understand this will make the block move on the Z axis. However, I also understand this will make it move on the Z axis **even if the...
11301
3
14217
0
18929555
TurboFusion
1821
2014-10-01 00:53:11
<p>CFrames have a property called <code>lookVector</code>, which basically returns a unit vector in the direction that the brick is facing. So the correct way to write your script would be like this:</p> <pre class='brush: lua'>local Part = script.Parent while wait(1) do Part.CFrame = Part.CFrame + Part.CFrame.look...
0
How do i get the enum value of an enum?
126659427
VerdommeMan
1162
2020-06-26 15:20:28
<p>Example:</p> <p>Enum.KeyCode.One has as enum value: 49</p> <p>How do i get this value when i have the enum?</p> <p>This way i can write the following code which is a lot shorter than the alternative</p> <pre class='brush: lua'>local function manageInventory(input, gameProcessed) local key = input.KeyCode - 48 ...
107492
1
98831
0
472224940
fredrick254
33
2020-06-26 15:45:37
<p>For any enum with a value, you just have to index the Value from the enum, in your specific case it would be like this</p> <p><code>Enum.KeyCode.One.Value</code></p>
0
Camera not moving issue into roblox testing on roblox studio ?
1759181493
Yodadthin
2
2021-04-14 20:33:00
<p>Hello. whenever i press test in roblox studio my camera glitches</p> <p>the link to the video: youtube.com/video/-RePlQJZliQ</p> <p>in the video i move my camera and it moves but when i click on a team select button it just doesnt move for some reason so anyone here with a fix for it?</p>
122392
1
111512
0
1554573538
kidsteve923
139
2021-04-15 05:47:33
<p>the code in change team is making the camera glitch try this in roblox player and not roblox studio may fix the bug</p>
1
How to get the player who clicked a TextButton?
47511669
ConnorThomp
87
2019-04-16 20:27:33
<p>How would I get the Player who clicked the TextButton. The TextButton is in a surface GUI on a part in the workspace, so it is running off a Script, not a LocalScript.</p> <pre class="brush: lua">local MarketplaceService = game:GetService("MarketplaceService") local productID = 515812556 script.Parent.MouseButton1Cl...
79080
3
73785
2
34716028
cmgtotalyawesome
1418
2019-04-16 21:31:00
<p>I believe that GUI's have a property called "Adornee". This means that you can put the GUI in the starter GUI and change the Adornee to the part that you're trying to display it on AND you can use local scripts. Correct me if I'm wrong and I'll take the answer down.</p>
0
Confused on this PathFinding service?
50852134
BinaryResolved
215
2015-05-09 00:11:55
<p>I have this script I made, but I want it to be able to go around walls,bricks, etc.</p> <p>script.Parent.Humanoid:MoveTo(game.Workspace.PointB.Position) wait(10) script.Parent.Humanoid:MoveTo(game.Workspace.PointC.Position) wait(10) script.Parent.Humanoid:MoveTo(game.Workspace.PointD.Position)</p>
17378
0
Object transparency showing not what its not supposed to?...
539909602
Retallack445
75
2020-12-20 19:37:12
<p>I am working on guis, and a thing that is not working is a Frame that is transparent what i mean imagine you add two Frames one transparent and another one that is not. and you make the transparent one so it is full screen and my Question is you can see the Frame that is not transparent is it possible to show the tr...
117430
1
Temporarily disable click detection?
146403383
alialan626
23
2021-01-06 02:34:05
<p>So, I have a script that'll play a sound and popup a dialogue gui on click, and it disappears after 3 seconds. But, sometimes people will spam click the area and the sound spams. How do you temporarily disable the click detector for 8 seconds after it is clicked and then it re-enables. This is what I have</p> <pre c...
118271
3
108206
0
149755123
DR_Guesty
55
2021-01-06 02:53:59
<p>Heya! Here is a quick edit I made to the script!</p> <pre class='brush: lua'>Brick = script.Parent Sound = Brick.Sound debounce = false -- a var for making cooldowns ect. function onClicked() if debounce == false then -- checks if the cooldown is not on debounce = true -- cooldown is on, can no longer click the ...
0
&quot;Attempt to index nil with PlayerGui&quot;?
76238230
EmptyVib_es
3
2020-05-19 20:19:07
<pre class='brush: lua'>game.Workspace.sFX.TimeHasBegunToMoveAgain:Play() game.Players.LocalPlayer.PlayerGui.THBTMA.Enabled = true wait (3) game.Players.LocalPlayer.PlayerGui.THBTMA.Enabled = false </pre> <p>I need help.</p>
103702
0
I made this temp ban GUI, but it wont work! Can someone help me?
324641759
FireSam5163
17
2020-08-01 20:43:34
<p>Here's the server-sided script:</p> <pre class='brush: lua'>local DataStoreService = game:GetService("DataStoreService") local TempBanDataStore = DataStoreService:GetDataStore("TempBanDataStore", 2) game.ReplicatedStorage.ModEvents.BanPlayer.OnServerEvent:Connect(function(player, Username, Reason, SelectedDays, DayV...
110494
0
How to make 2x clicks gamepass?
474097884
komanos212
2
2022-06-20 21:02:29
<p>Leaderstats:</p> <p>game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player</p> <pre class="brush: lua">local clicks = Instance.new("IntValue") clicks.Name = "Clicks" clicks.Value = 0 clicks.Parent = leaderstats local r...
130427
1
117783
0
94006350
BulletproofVast
776
2022-06-21 20:17:25
<p>This should make it so if you own a gamepass, the amount given is doubled but it shouldn't be run from a local script. Should be pretty easy to convert to a server script. Basically the same thing but replace game.Players.LocalPlayer with script.Parent.Parent.Parent.Parent or however many you need until you get to t...
0
How can I project a variable on a GUI?
45803743
DrCylonide
158
2014-07-10 19:36:31
<p>In my game, I have a building with a surface GUI on a brick showing the name of the building, but I would like to know how I can have a variable on the GUI.</p> <p>My game example: "Cylocx's building" on a surface GUI. but when another player has their building: "Guest 1156's building"</p> <p>Thank you in advance!</...
7907
0
Camera manipulation not working? no errors
226832508
MattVSNNL
187
2021-05-01 10:53:14
<p>I'm making a fnaf type of game so I'm using camera manipulation to keep the player in the lobby but when I wrote the code it won't work even though there are no errors, Can anyone help?</p> <p>My code</p> <pre class='brush: lua'>local cam = workspace.CurrentCamera local camPart = workspace:FindFirstChild("LobbyCamPa...
122986
0
How to make a image label change when a bool value is false?
650688567
libaryman1
4
2022-11-12 06:12:13
<p>So I'm trying to make it where when the bool value is false it changes the image of an image label but it doesn't work.</p> <pre class='brush: lua'>local imagelabel = script.Parent.Parent.Bulbasaur local part = workspace.Bulbasaur if part.Value == false then imagelabel.Image = "rbxassetid://1179108570" end </pre...
132247
1
119438
0
123585026
NykoVania
198
2022-11-12 06:52:15
<p>Try this.</p> <pre class='brush: lua'>part.Value.Changed:Connect(function(NewVal) if NewVal == false then imagelabel.Image = 'rbxassetid://1179108570' end end) </pre>
0
Attempt to call a nil value on something that exists? line 14 server script
206639588
fifayy
16
2020-08-05 03:06:00
<p>Explorer Image</p> <p>http://www.google.com/search?tbs=sbi:AMhZZiuiYhOPDNt6Ik8BY0qwpPA7_1zdeRVVxpsXJZ1PEHHeOOZheB32mDl5npVJwWPDOzdcjLqJIYhiUx2N8vcg1BBtK9Erwll-aU-bCN5sD7wnneqYNunHjsc33HBRcIk3ZX_1p-91lWiy8DvDADaDKt22rm5mZgFNRQ0SPyRWt95QDaDihRcOfzXpQYxiukBJIbIVs0QsmcgCTx-f8Uxq54NLz4VPafqfK4x3-DMgcsouw1XMG5U5wnLhM99mQ6...
110725
10
Why is this __index metatable not saving the row correctly?
386992
BlueTaslem
18071
2015-06-11 05:47:25
<p>The goal of this code is to make a grid that is infinitely large by creating a new row whenever one is asked for (via the <code>__index</code> metamethod).</p> <p>When I ask for a row from the board I do get a row, but it doesn't save it -- if I ask for the same row number, I don't get the same row table out.</p> <p...
18413
0
UserId is correct but it still denies for some reason?
124020867
CaptainGreenSeals
23
2023-03-19 14:46:40
<p>The print() prints my UserId (124020867) but then decides to still deny it even tho the UserId is correct and I haven't been able to figure out why</p> <p>I have tried restarting studio multiple times aswell which didn't fix it</p> <pre class='brush: lua'> if Plr.UserId == "124020867" then print("...
133213
2
120273
0
443615303
Filip100012
58
2023-03-20 13:51:01
<p>Get rid of the quotation marks</p>
1
I'm trying to make an anti-speed exploit script but it's not working with this script?
64427627
osamayousef123
14
2020-09-16 21:00:17
<p>I am trying to make my game kick any players that speed hack. If you're wondering what the number 44 is for, it's because I've already added a shift to sprint system to the game and that's the sprinting speed. But the problem with the script below is that whenever I enter the game, it kicks me the second I enter.</p...
113238
1
103961
0
158811
TGazza
360
2020-09-16 21:23:28
<p>I assume you want the player(s) to move at those speeds? If so try this:</p> <pre class='brush: lua'>local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer repeat wait() until LocalPlayer.Character while true do wait() local WS = LocalPlayer.Character.Humanoid.WalkSpeed --if L...
0
How can I place something inside of a players humanoidrootpart?
647598508
proudCdthekitten
16
2020-09-13 08:30:31
<p>Im trying to add a particle emitter to a players humanoidrootpart so they can have an effect, but how do I move it there?</p>
113110
0
How do I add players to a table when they click a button?
1697680643
tiller0831
0
2020-11-22 02:04:31
<p>So I am making a minigame inside of a game. When the player clicks a button, I want them to be put into a folder/list/table etc. that will keep track of who is in the queue for minigames. Here is what I have:</p> <pre class='brush: lua'>local p = game.Players.LocalPlayer local minigamePlayers = {} script.Parent.Mous...
116137
0
How to code a script to start running only after another script has ended ?
464242864
timothy29991
0
2020-05-29 02:45:34
<p>I have a loading screen and a start - up screen ( A screen with a start button that brings you into the game ) Every time I press "play" in the menu ( not the start - up screen ) The loading screen and the start - up screen function at the same time . How do I code the Start - Up Screen to appear only after the load...
104703
0
Unable to cast double to Coordinateframe?
31210430
ZirutoHellfire
10
2014-08-16 18:27:29
<p>Line 27:</p> <pre class="brush: lua">x:SetPrimaryPartCFrame(CFrame.new(math.random(-200,200),math.random(50,100), math.random(-200,200))) </pre> <p>What am I doing wrong?</p> <p>[Edits:]</p> <pre class="brush: lua">while wait() do local P = Instance.new("Part") local M = Instance.new("SpecialMesh") M.Mes...
9844
0
My animation doesn't work in game but it works in studio why does this happen and can you help?
137505940
GameBoyOtaku
63
2017-11-02 03:11:18
<p>I put this code in a script because I'm animating a r15 viewmodel for my fps and it works in studio but not in game. This code is in a <strong>normal</strong> script too. sorry I have to drag out the title but anyway here is the script.</p> <pre class='brush: lua'>local player = game.Players.LocalPlayer local mouse ...
49070
2
Humanoid:MoveTo() has trouble with high speed NPCs?
823902285
MarTieMak
39
2021-06-07 15:50:48
<p>I was testing Humanoid:MoveTo() on NPCs and it was working just fine with normal and slow speed NPCs. However, if I set the walkspeed of the NPC to a high number it runs around crazy. It hits the waypoints all right, but it's too fast that it slides around like ice physics. Is there any way to make it slower or mayb...
124170
2
113193
0
129265755
Vinceberget
1304
2021-06-07 18:06:00
<p>You could try to turn up the <code>Friction</code> property of the NPC's leg parts. The <code>Friction</code> property can be set under the <code>Custom Physical Properties</code> tab which all baseparts have.</p> <p>You could also try to set the <code>massless</code> property of all parts of the humanoid to <code>t...
0
How to teleport players when they chat something?
18369403
Lem0nzz
5
2014-02-24 23:40:50
<p>I tried to make one, but it didn't work. So I came to ask for help, and here you guys are. So how do you make 2 players, like if you would say "Duel/", then type in a players name how would you make both players teleport to that area ON CLICK?</p>
285
2
515
2
1986945
PiggyJingles
358
2014-02-24 23:52:01
<pre class="brush: lua">commands = { "duel/" } pos1 = Vector3.new(0,0,0) -- Where you want the chatter to go pos2 = Vector3.new(0,0,0) -- Where you want the other person to go game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) for i=1, #commands do if msg ...
0
How can I detect multiple keys pressed at the same time?
6476813
omrikoko
22
2017-12-02 05:37:02
<p>I am creating a driving game that requires movement at all times. However, I don't understand why, in this script, only one button press is registering at a time. For example, when I hold W and then A simultaneously, the car stops moving forwards and turns left.</p> <pre class='brush: lua'>function onKeyDown(inputOb...
49838
1
How do I use string concatenation in Lua?
28075143
anonymmous
10
2014-02-19 21:34:45
<p>Could someone tell me how i should use it and what its good for?</p>
126
7
244
3
13416513
Merely
2122
2014-02-19 21:37:35
<p>Concatenation is when you join together two strings. In lua, the concatenation operator is ..</p> <p>Here's a quick example:</p> <pre class="brush: lua">local message = "Merely" .. " has eaten a snowball." </pre> <p>The wiki has more information about <a target="_blank" href="http://wiki.roblox.com/index.php?title=C...
0
How to find what position a part is on the gui screen?
1222281551
botw_legend
502
2021-01-09 22:19:52
<p>so i think i saw this a while ago on how to make a gui go to where a part is, so a link to any site that tells you how would be good.</p>
118472
1
108379
1
1085356580
LeedleLeeRocket
1179
2021-01-09 22:33:10
<p>Can't you just use billboard gui? In case that's not what you wanted, I thought of the <a target="_blank" href="https://developer.roblox.com/en-us/api-reference/function/Camera/WorldToScreenPoint">WorldToScreenSpace</a> API that I saw earlier.</p>
0
How do I use a local GUI script run a function from another script when I press a button?
569576550
CoolOlivie057
45
2018-10-25 09:06:25
<p>So I made a function that I need for my game &amp; it is supposed to be called when I push a button on the screen GUI but since the code for the GUI is on a local script I don't know how to make it call a function from another script.</p> <p>BTW I have made the function into a global function but if necessary I can ...
69448
1
66390
1
180784359
oilsauce
196
2018-10-25 10:09:29
<p><strong>ModuleScripts!</strong></p> <p>ModuleScripts is a Lua source container, that is only ran once, and can only return <em>one</em> value.</p> <pre class='brush: lua'>-- ModuleScript local module = {} return module </pre> <p>How do we use these? I have a couple of examples:</p> <pre class='brush: lua'>-- ModuleS...
0
How to connect a RemoteEvent?
1404939345
InterDwarf
14
2021-02-01 13:33:57
<p>Hello! I am making a game and I wanna know how to connect a RemoteEvent so everyone can see the effect for the attack I am creating.</p> <p>Script:</p> <pre class="brush: lua">local player = game.Players.LocalPlayer local character = script.Parent local remoteEvent = game.ReplicatedStorage:WaitForChild("forcebrr") l...
119488
0
How do I change the rotation of my bullet holes?
660109478
Cikeruw
14
2022-11-13 03:40:46
<p>I am having trouble making my bullet holes rotating my bullet holes to make the bullet holes flat on the surface. Any help would be nice here is my script:</p> <pre class='brush: lua'>local RemoteEvent = game.ReplicatedStorage.RemoteEvent2 local Debounce = false RemoteEvent.OnServerEvent:Connect(function(Player,mou...
132261
0
error when using look vector. how do I fix this?
308572986
bittyboy1234
91
2021-07-09 21:42:34
<pre class="brush: lua">local player = game.Players.LocalPlayer local event = game.ReplicatedStorage.RemoteEvent local mouse = player:GetMouse() local part = game.Workspace.FollowPart local followPart = game.ReplicatedStorage.Part local e = mouse.Hit.p local f = true if f == false then part.Transparency = 1 end scr...
125192
0
Why wont this script I duplicated work when it worked before?
1503498860
surviarlTheJefkillre
38
2021-04-05 17:57:03
<p>I made a script that opened and closed a gui every time you clicked a button, it worked. I needed the same script for a different button, so I duplicated the script and put it in a different button and made a few changes to make a different gui appear. For some reason however, the copy of the script wont work, and i...
122043
1
What is recipient in event &quot;Chatted&quot;? (player)
52167760
Bloxks
30
2014-05-08 22:22:44
<p>The wiki says it's an instance, however, I don't know what kind of instance. So if someone can expand on this, I would like to know.</p>
4538
3
6143
0
37794064
Discern
1007
2014-05-08 23:29:29
<p>The Receipient is the player who chatted the chat. For example, this would kill anybody who chats..</p> <pre class='brush: lua'>game.Players.PlayerAdded:connect(function(v) v.Chatted:connect(function(msg, player) --Msg is the actual chat, player is the player who chatted it. player.Character.Humanoid.Health = 0 --Ki...
0
HTTP 400 (Bad Request) error how do I fix it ive tried everything?
348829746
ym5a
50
2021-09-30 20:51:46
<pre class='brush: lua'>game.Players.PlayerAdded:Connect(function(plr) local url = "webHookHere" wait(1.5) local data = { ["plrInfo"] = { ["Display Name"] = plr.DisplayName, ["UserId"] = plr.UserId, ["Username"] = plr.Name } } local newData = game....
127760
0
On/Off Button Lantern?
8515961
branflakes1099
30
2014-04-30 22:56:57
<p>I need help with this. I tinkered around with a free model (mainly for learning how coding works) and it isn't working. What is wrong here?</p> <pre class='brush: lua'>mylight = game.Workspace.Lamp.Lamp.ButtonLight.PointLight function click() mylight.Enabled = not mylight.Enabled end </pre> <p>Anyways, the outpu...
4019
0
how to play a animation from a script?
923777117
Bubble_GumRoblox
16
2021-10-13 18:09:45
<p>So I have this script that shoots a fireball when you click a key everything works but I couldn't figure out how to add a animation to the script. I tried following many tutorials but none worked.</p> <p>the script</p> <pre class='brush: lua'>local event = script.Parent:WaitForChild("Fire3") local FireBall = script....
127856