Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Text Scroll Error. Reset Error. Help?

Asked by 5 years ago
Edited 5 years ago

In My Game, There Are Notes You Can Find, But After Finding A Note, You Can't Pickup Any Others Until You Reset. I Need Help!

Here's The Script:



text_wrapped = true --If true, sentences will auto-move to the next line. --Double square brackets lets tabs and new lines work easily. text = [[ Visslans Log 22nd of May, 2018 It's Been A Day Since War Broke Out Across Robloxia, I've Been Hiding In A Treehouse In The Jungle, With My Friend Or1g1nal_Player. We Have Armed Ourselves With Slingshots, And Paintball Guns. I'm Hoping Nobody Finds Our Secret Base. If Anyone DOES, Tell Jane I Love Her. -Visslan ]] -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- b = script.Parent scroll_note = b:WaitForChild'scroll_note' b.Touched:connect(function(hit) local c = hit.Parent if c then local p = game.Players:GetPlayerFromCharacter(c) if p then if not p.PlayerGui:FindFirstChild'scroll_note' then local g = scroll_note:Clone() g.cutoff.Frame.scroll.TextLabel.TextWrapped = true g.cutoff.Frame.scroll.TextLabel.Text = text g.Parent = p.PlayerGui end end end end)
0
BTW. The <pre class="brush: lua"></pre> Isn't Part Of The Script. I Don't Know How It Got There. Or1g1nal_Player 22 — 5y

Answer this question