Script Isn't Working

Hello! So I’m trying to make a Project cald: THE ROBLOX SCAMMER PROJECT: ROBLOX: Protect Your Account!

or the TRSP:R:PYA! or TRSP that’s also correct

But anyway, at a certian part of the script it doesn’t even give functionality at all, I mean this part in specific

	if FreeRobuxScammerYesOrNoBool == true then
		typewrite(FreeRobuxScammerText, "Please dont report me! All I need is your password, I promise!")
		wait(4)
		typewrite(FreeRobuxScammerText, "Oh no your gonna report me, Got to go!")
		wait(3)
		typewrite(FreeRobuxScammerText, "Server: CoolKid1918 Has Left The Server.")
		
		game.Workspace["Free Robux Scammer"].Torso.Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"].HumanoidRootPart.Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"]["Left Arm"].Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"]["Left Leg"].Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"]["Right Arm"].Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"]["Right Leg"].Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"].Head.Position = Vector3.new(12669.179, 1.109, -1032.381)
		
		wait(2)
		
		ScammersCaughtText.Color = ScammersCaughtText.Color:Lerp(Color3.new(0, 1, 0))
		
		ScammersCaughtValue = ScammersCaughtValue + 1
		
		game.StarterGui:SetCore("SendNotification", {
			Title = "OPTION ALERT!:";
			Text = "Great Job The Scammer left! go find other scammers so you can learn what to do to avoid getting scammed!";
			Icon = "rbxassetid://7272685544";
			Duration = 15
		})
	else
		if FreeRobuxScammerYesOrNoBool == false then
			game.StarterGui:SetCore("SendNotification", {
				Title = "OPTION ALERT!:";
				Text = "Dont Give The Scammer your Password!";
				Icon = "rbxassetid://7272685544";
				Duration = 10
			})
		end
	end
end)

It doesn’t typewrite, nor do notifications show up, and nor do the body parts go to that location. Here is the List of stuff in the GUI Thing and other stuff

Screenshot 2021-08-17 181614 Screenshot 2021-08-17 181554 Screenshot 2021-08-17 181543

The Full Script

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Event1 = ReplicatedStorage:WaitForChild("BaconHairQuest1")
local Event2 = ReplicatedStorage:WaitForChild("FreeRobuxScammerDialougEvent")
local BaconHairText = script.Parent.BaconGui.DialogeFrame:WaitForChild("TextLabel")
local FreeRobuxScammerText = script.Parent:WaitForChild("FreeRobuxScammer").DialogeFrame:WaitForChild("TextLabel")
local FreeRobuxScammerYesOrNoBool = script.Parent.FreeRobuxScammer.YesOrNo
local ScammersCaughtText = script.Parent:WaitForChild("ScammersGui").TextLabel
local ScammersCaughtValue = game:GetService("ReplicatedStorage"):WaitForChild("Values").ScammersCaught
local RandomizedWTText = {"Make Sure To Give Scammers no Infromation!", "Report The Scammers and Hackers!", "Avoid Free Robux Games!", "Dont enter your password into anything exept for the Official Roblox Website https://www.roblox.com", "Dont give anyone a .har file of your avatar!", "Dont let them peer pressure you!", "Look at the Dictinary For Help on words!", "Their is no such thing as free robux!", "Dont do trust trades!", "Do not give anyone any of your persenal info!"}

FreeRobuxScammerYesOrNoBool = nil

local function typewrite(object, text)
	for i = 1,#text,1 do
		object.Text = string.sub(text,1,i)
		wait(0.05)
	end
end

Event1.OnClientEvent:Connect(function()
	script.Parent.BaconGui.DialogeFrame.Visible = true
	typewrite(BaconHairText, "Hello! Im Bacon, Do you need something?")
	wait(2)
	typewrite(BaconHairText, "Oh! You want to learn how to keep your ROBLOX Account Safe?")
	wait(4)
	typewrite(BaconHairText, "Ok! Try looking for Hacker's and scammers! Here is a Wacky Tacky that you can use!")
	
	game.StarterGui:SetCore("SendNotification", {
		Title = "Item Obtained!";
		Text = "You Have Obtained a Wacky Tacky!";
		Icon = nil;
		Duration = 5
	})
	
	wait(6)
	typewrite(BaconHairText, "I will help you if you encounter one ok?")
	wait(3)
	typewrite(BaconHairText, "You will be notified at the bottom of your screen if I say something")
	wait(4)
	typewrite(BaconHairText, "Goodluck!")
	
	wait(5)
	
	script.Parent.BaconGui.DialogeFrame.Visible = false
	
	script.Parent.ScammersGui.TextLabel.Visible = true
	
	game.Workspace["Free Robux Scammer"].Torso.ProximityPrompt.Enabled = true
	
	while true do
		wait(8)
		game.StarterGui:SetCore("SendNotification", {
			Title = "Wacky Tacky";
			Text = RandomizedWTText[math.random(1,#RandomizedWTText)];
			Icon = nil;
			Duration = 5
		})
	end
end)

Event2.OnClientEvent:Connect(function()
	script.Parent.FreeRobuxScammer.DialogeFrame.Visible = true
	
	typewrite(FreeRobuxScammerText, "Hello! Would you like to get 1M Free Robux? Just need your Password! This is Official!")
	
	if FreeRobuxScammerYesOrNoBool == true then
		typewrite(FreeRobuxScammerText, "Please dont report me! All I need is your password, I promise!")
		wait(4)
		typewrite(FreeRobuxScammerText, "Oh no your gonna report me, Got to go!")
		wait(3)
		typewrite(FreeRobuxScammerText, "Server: CoolKid1918 Has Left The Server.")
		
		game.Workspace["Free Robux Scammer"].Torso.Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"].HumanoidRootPart.Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"]["Left Arm"].Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"]["Left Leg"].Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"]["Right Arm"].Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"]["Right Leg"].Position = Vector3.new(12669.179, 1.109, -1032.381)
		game.Workspace["Free Robux Scammer"].Head.Position = Vector3.new(12669.179, 1.109, -1032.381)
		
		wait(2)
		
		ScammersCaughtText.Color = ScammersCaughtText.Color:Lerp(Color3.new(0, 1, 0))
		
		ScammersCaughtValue = ScammersCaughtValue + 1
		
		game.StarterGui:SetCore("SendNotification", {
			Title = "OPTION ALERT!:";
			Text = "Great Job The Scammer left! go find other scammers so you can learn what to do to avoid getting scammed!";
			Icon = "rbxassetid://7272685544";
			Duration = 15
		})
	else
		if FreeRobuxScammerYesOrNoBool == false then
			game.StarterGui:SetCore("SendNotification", {
				Title = "OPTION ALERT!:";
				Text = "Dont Give The Scammer your Password!";
				Icon = "rbxassetid://7272685544";
				Duration = 10
			})
		end
	end
end)

How Yes and No’s Bool Value Decided

script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Parent.Parent.YesOrNo.Value = false -- If the player picks yes
end)
script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Visible = false -- If the
	script.Parent.Parent.YesButton.Visible = false -- Player
	script.Parent.Parent.Parent.YesOrNo.Value = true -- picks no
end)
1 Like

Could you provide the error, or is it just not working?

1 Like

Its just not working at all, No errors, Nothing in Script Analysis

The full script is a local script just for clarification.

Instead of dis u can use PVInstance | Roblox Creator Documentation

I think you need to do FreeRobuxScammerYesOrNoBool.Value

1 Like

can you explain to me why I should use PVInstance:PivitTo and what does it mean?

You can move things easier then having to move every part

Instead of moving all the limbs you can move the whole model

1 Like