roblox

Python Roblox issue with buying limited items

孤者浪人 提交于 2020-06-17 13:13:21
问题 So in roblox, I am trying to send a request to thier api to buy an item. Here is the code: def buyItem(self,itemid, cookie, price=None): info = self.getItemInfo(itemid) url="https://economy.roblox.com/v1/purchases/products/{}".format(info["ProductId"]) print(url) cookies = { '.ROBLOSECURITY': cookie } headers = { 'X-CSRF-TOKEN': self.setXsrfToken(cookie) } data={ 'expectedCurrency': 1, 'expectedPrice': info["PriceInRobux"] if price == None else price, 'expectedSellerId': info["Creator"]["Id"]

I need anyone that can, decode “Luraph Obfuscator”

房东的猫 提交于 2020-05-28 06:46:45
问题 I paid an untrusted developer for a script. And as I thought he scammed me. He did send me code, but he obfuscated the script. It is for a game called "Roblox" that uses Lua, the code will be down below. As from I can tell by running it, it might work. But I would need to change the script for it to work. Does anyone know to to decode the obfuscation? https://pastebin.com/B8SZmZGE local ilIillllII1i1lliliI = assert local II1ll1iliIIIIillIli = select local lIlillIlIi11I1lIIi11I = tonumber

Decoding a Roblox backdoor

不羁岁月 提交于 2020-05-16 02:32:26
问题 I am working on a Roblox lua script that I found when searching for backdoors into a game I moderate. The backdoor loaded an external script that I got the source code for and I am working on decoding and reverse engineering it. The line that I am having trouble with is local varname = #{6133} This is really confusing me because I have never encountered it before. I do very little Lua programming but I am experience in Java and C++, but even after research I don't know what the #{number} does

Discord.js Issue with “.addRole”

北城以北 提交于 2020-03-25 18:54:07
问题 So, I have been having issues setting up a bot that roles a user to a role that includes emoticons. Example: const guildMember = message.member; guildMember.addRole('<@&439191493169643521>'); I've also tried: // content.js const guildMember = message.member; guildMember.addRole(config.n); // config.json { "n": "🦊Fox" } and also I've tried it without config.json, and just put the raw rank name, but it always doesn't work. This is the Console: (node:15600) UnhandledPromiseRejectionWarning:

Element's CSS, reverts back at the end of page load?

拟墨画扇 提交于 2020-01-26 02:35:36
问题 I am trying to change the position of <div class="BannerRedesign" id="Banner" style="position: fixed ! important; height: 36px ! important; width: 100% ! important;"> <div class="BannerCenterContainer" id="NavigationRedesignBannerContainer"> (roblox banner element, trying to make it not float) to relative using Greasemonkey, with all privileges enabled. But, every time, at the end of the loading of the document, it reverts to floating. I even tried appending bannercentercontainer to a

Parts of code of local script randomly stop working on respawn

混江龙づ霸主 提交于 2020-01-26 02:02:09
问题 I have a question concerning a Roblox game. The game works fine until a character dies. Then, random parts of the local script stop working. It's too long to explain so here is a link to the game: https://web.roblox.com/games/4586742374/Times-Tables-Turf-War If you are interested, walk around the board and look at how the columns and the rows light up. It all works. Then, let your character die. You can do this either by falling of the edge of the board or by standing on an enemy's platform

Remove a screenGUI when unequipping

徘徊边缘 提交于 2020-01-16 18:16:17
问题 I already made a question on cooldown a weapon and I made a screenGUI to show the player when they can shoot again implementing the same debounce code. The problem is I've got no clue on how to delete the screengui/textlabel from the screen. As every tool I'm planing on doing has its own GUI, if the screenGUI of one tool doesn't delete, it will overlap with the same tool's GUI/ other tools GUI. I already tried hiding the text label as stated in this question like this player.PlayerGui

Scan a google document line by line

早过忘川 提交于 2020-01-15 03:26:09
问题 so basically, I'm trying to use node.js to scan a google document, then if a ROBLOX id is on there it tracks it. When it tracks it, if it joins one of the groups in the id list, it auto-exiles it. Any help? I'm a little stuck on the scanning a google document line by line. 回答1: I am not sure about how to do it from a google doc, but if you are willing to move to using text files( .txt ) I think I could be of assistance. Using Nodes FS we can read lines using a Line reader import * as fs from

Roblox making functions run more than once

我的未来我决定 提交于 2020-01-03 05:45:27
问题 My code: local UIS = game:GetService("UserInputService") local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() local Activation = Instance.new("Sound",game.Players.LocalPlayer.Character.Head) local char = Player.Character local hum = char.Humanoid local root = char.HumanoidRootPart UIS.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.F then local animation = Instance.new("Animation") animation.AnimationId = "rbxassetid://1581972610" local animTrack = hum

attempt to index field 'LocalPlayer' (a nil value)

人走茶凉 提交于 2019-12-25 18:36:47
问题 i have been trying to fix this problem in my game: "attempt to index field 'LocalPlayer' (a nil value)" but nothing i tried to do worked here is the code: please do not mind the extremely un-efficient lines of code local player = game.Players.LocalPlayer script.Parent.Humanoid.Died:Connect(function() print("yeet") script.Parent.Parent.Parent.Players.LocalPlayer.leaderstats.PuzzlePieces.Value = script.Parent.Parent.Parent.Players.LocalPlayer.leaderstats.PuzzlePieces.Value + 1 end) and this is