Forum > Scripts >

Anyone know how to fix this script?

Posts: 2

Threads: 1

Joined: Jan, 2020

Reputation: 0

Posted

This script has not been working for a while and i was wondering if anyone knows how to fix it. 

 

https://pastebin.com/5ukZkzgX

 

local ScreenGui = Instance.new("ScreenGui")

local Holder = Instance.new("Frame")

local Title = Instance.new("TextLabel")

local TitleDrop = Instance.new("TextLabel")

local ScrollingFrame = Instance.new("ScrollingFrame")

local Title2 = Instance.new("TextLabel")

local Title2Drop = Instance.new("TextLabel")

ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui

Holder.Name = "Holder"

Holder.Parent = ScreenGui

Holder.Active = true

Holder.AnchorPoint = Vector2.new(0, 0.5)

Holder.BackgroundColor3 = Color3.new(0.298039, 0.298039, 0.298039)

Holder.BorderSizePixel = 0

Holder.Draggable = true

Holder.Position = UDim2.new(0, 25, 0.5, 0)

Holder.Size = UDim2.new(0, 150, 0, 290)

Title.Name = "Title"

Title.Parent = Holder

Title.BackgroundColor3 = Color3.new(1, 1, 1)

Title.BackgroundTransparency = 1

Title.Size = UDim2.new(0, 150, 0, 10)

Title.ZIndex = 2

Title.Font = Enum.Font.SourceSansBold

Title.FontSize = Enum.FontSize.Size14

Title.Text = "ROCITIZEN ITEM"

Title.TextColor3 = Color3.new(.1, 1, 1)

Title.TextSize = 14

Title.TextYAlignment = Enum.TextYAlignment.Top

ScrollingFrame.Parent = Holder

ScrollingFrame.AnchorPoint = Vector2.new(0.5, 0.5)

ScrollingFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)

ScrollingFrame.BorderSizePixel = 0

ScrollingFrame.Position = UDim2.new(0.5, 0, 0, 155)

ScrollingFrame.Size = UDim2.new(0, 140, 0, 250)

ScrollingFrame.BottomImage = "rbxassetid://985424344"

ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)

ScrollingFrame.MidImage = "rbxassetid://985424344"

ScrollingFrame.ScrollBarThickness = 3

ScrollingFrame.TopImage = "rbxassetid://985424344"

Title2.Name = "Title2"

Title2.Parent = Holder

Title2.BackgroundColor3 = Color3.new(1, 1, 1)

Title2.BackgroundTransparency = 1

Title2.Position = UDim2.new(0, 0, 0, 10)

Title2.Size = UDim2.new(0, 150, 0, 10)

Title2.ZIndex = 2

Title2.Font = Enum.Font.SourceSansBold

Title2.FontSize = Enum.FontSize.Size14

Title2.Text = "PLACE CHANGE GUI"

Title2.TextColor3 = Color3.new(.1, 1, 1)

Title2.TextSize = 14

Title2.TextYAlignment = Enum.TextYAlignment.Top

 

--main script--

 

local frameitems = {

}

 

local gg = game.ReplicatedStorage.Furniture:GetChildren()

for i = 1,#gg do

table.insert(frameitems,gg[i].Name)

 

end

 

local frame = ScrollingFrame

for i=1, #frameitems do

local B = Instance.new("TextButton")

local V = Instance.new("StringValue", B)

V.Value = string.sub(frameitems[i], 7)

B.Name = "B"

B.Parent = frame

B.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)

B.BorderSizePixel = 0

B.Position = UDim2.new(0, 3, 0, (((i-1)*22)+(3*i)))

B.Size = UDim2.new(0, 134, 0, 22)

B.Font = Enum.Font.SourceSansBold

B.FontSize = Enum.FontSize.Size14

B.Text = frameitems[i]

B.TextColor3 = Color3.new(.1, .5, .5)

B.TextScaled = true

B.TextSize = 20

frame.CanvasSize = UDim2.new(0,0,0,(#frameitems*22+(i*3)+3))

B.MouseButton1Down:connect(function()

print(B.Text)

game.Players.LocalPlayer.PlayerGui.MouseScript.FurniturePlacing.Value = game.ReplicatedStorage.Furniture:FindFirstChild(B.Text)

end)

 

end

 

  • 0

MadExploits

Making Radical.

Posts: 72

Threads: 5

Joined: Nov, 2019

Reputation: 0

Replied

The script may have been patched. What did you want a script for?

  • 0

If you want a paid exploit let me know.

Posts: 2

Threads: 1

Joined: Jan, 2020

Reputation: 0

Replied

@MadExploits

 

A GUI that can spawn me any furniture mainly exclusive and limited ones like this old script does.

  • 0

Posts: 65

Threads: 15

Joined: Jan, 2020

Reputation: 0

Replied

Problem 1: I know that a LOT of games delete the gui or kick you from inserting the gui into game:GetService("Players").LocalPlayer.PlayerGui. Use game:GetService("CoreGui")

 

Problem 2: For defining the player, you SHOULD put game:GetService("Players").LocalPlayer. Some games change the name of game.Players to a random string. For defining ReplicatedStorage,  you SHOULD put game:GetService("ReplicatedStorage").

 

Problem 3 (Maybe): At game.Players.LocalPlayer.PlayerGui.MouseScript.FurniturePlacing.Value = game.ReplicatedStorage.Furniture:FindFirstChild(B.Text), I don't see MouseScript defined, unless the script takes advantage of a script.

 

That's All I can see. Can you please give me a link to the game so I can debug the errors?

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )