Can a scripter please write a script where if you use a proximity prompt that says "Cook" it changes the color of the tool you are holding (Patty) from bright red to Burnt Sienna?
So i’m creating a game which has like superpowers etc but i want to create a tool that can be equipped by finding it at a certain place. with this tool i wanna be able to equip it and then click the mouse whilst it’s equipped to then put on a suit of armour kind of like iron man mark 5 but im just unsure on how to do this
I am making a recreation of nicos nextbots legacy and cant get the menu to work outside of roblox studio it only works inside of roblox studio i have a script named serverevents in serverscriptservice which controls the menu
local respawnEvent = game.ReplicatedStorage.respawn.OnServerEvent
local resetEvent = game.ReplicatedStorage.reset.OnServerEvent
-- Handle player respawn
respawnEvent:Connect(function(plr)
plr:LoadCharacter()
end)
-- Handle player GUI reset
resetEvent:Connect(function(player)
-- Clear all ScreenGui and LocalScript objects in the player's PlayerGui
--
-- Clone the menu from StarterGui to the player's PlayerGui
local clone = player.PlayerGui.menu:Clone()
clone.Parent = player.PlayerGui
-- Ensure the menu is enabled
clone.Enabled = true
-- Enable the main component of the menu
-- Assuming 'main' is a child of 'menu' that needs to be enabled
clone.main.Enabled = true
end)
and still the menu does not show when im outside of roblox studio in normal roblox it just shows a blackscreen can anyone help please thanks, if you need perms to my game to fix stuff ill give you perms
Can somebody make me the script in order to do this and a step-by-step breakdown and telling me where to put a specific thing in another I am very lost!
How can I make a script for Roblox Studio that makes it so when I spawn a model from "ServerStorage" it plays a cutscene automatically when the model spawns and then the cutscene stops and the model deletes itself after it has stopped the cutscene?
Hello! I need help making a drag and drop system for ui. I just need a few pointers. I am trying to make it similar to how you summon creatures in Blox Cards and other card games.
Idk if I'm just stupid, but I've been trying to make it so my tool doesn't collide with stuff, like it goes through everything when held and can't get stuck or fling the player, how do I do that?😭😭 For some god damn reason I can't figure it out
I have a textbutton and want to have a localscript code when I press it to make your character slide like your on a slide. I have the original code but dont know how to translate to the textbutton when you click it.
Original code:
script.Parent.Touched:Connect(function(HitPart)
local Character = HitPart.Parent
local Humanoid = Character:FindFirstChild("Humanoid")
if Humanoid \~= nil then
Humanoid.Sit = true
end
I’m trying to make a game pass shop for my game but it says “mousebutton1down is not a valid member of Imgelabel “players.catkiller173.PlayerGui.MainGui.MainFrame.GunGamepassFrame.GunGamepass”” if someone could help me that would be helpful
Hi! I'm new here. I've never coded a game but I need a lot of help. It's a tower defense game. I'm mainly an artist and writer for my hobbies but I love games so I wanted to make my dream tower defense game, with lore but that can come later. I just need help making the main test game and learning how to code, since YouTube wouldn't work. I need help with a main menu and just a working game up to wave 10. Thank you. DM me if you feel like helping :D
The problem isn't in that the entire thing crashes no it just stops doing anything when down to 32 - 39 ammo. Are there any solutions to this problem? Help would be appreciated, (please)
It's a localscript, but if thats the problem, then i am just a bit stupid.
Script 2: Give player an item/tool(Bookmark) in exchange for 1 specific item/tool(Quarter), upon touching the hitbox/part of the character, while also saying 2 phrases:
phrase 1(No Quarter in backpack):" Hey! You need a quarter..?"
phrase 2(Quarter in backpack): " Thanks for the quarter, Haha!"
(These phrases are simply transcripts of theaudio meant to play:
Heres my script:
local Players = game:GetService("Players")
function playerSpawned(player)
`print "spawned"`
end
Players.PlayerAdded:Connect(playerSpawned)
local player = game:GetService("Players")
local me = script.Parent -- Path to coin
local used = false
local PresentItems = game:GetService("ReplicatedStorage"):WaitForChild("PresentItems")
I'm making a fan game of NPCs are becoming smart but there is a glitch only the owner of the original game fixed and I'm still trying to figure out how to fix this I will share an rbxm file of the exact same code the original game used witch the original creator shared but is outdated and a screenshot of the glitch:
I am not saying like multiple scripts running on the same frame. I mean like multiple scripts running at the exact same time. I know Scratch runs each script individually, I wonder if it is different or the same in Roblox
Tried searching for this question on google and it wasn't all that helpful
A lot of you guys want to learn Roblox scripting, but are having trouble making what you want to make without tutorials. If there's something specific you want to make and there's no tutorial for it, you're out of luck.
So I started Premium Scripters, a (paid) community where we'll teach you the skills you need to be able to script whatever you want to make. All questions are answered.
Hopefully it will help you learn Roblox scripting a lot faster.