#ScreenGui

1 messages · Page 1 of 1 (latest)

eager socket
#

help me make a script so that when you touch it, the image is visible only to the person who took it, and not to the entire server. Here is the script

wait(5)
local part = workspace.capuchina
local gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
local image = Instance.new("ImageLabel", gui)

gui.Enabled = false
image.Size = UDim2.new(0.3, 0, 0.6, 0)
image.AnchorPoint = Vector2.new(0.5, 0.5)
image.Position = UDim2.new(0.5, 0, 0.5, 0)
image.Image = "rbxassetid://103612459193614"
image.BackgroundTransparency = 1

part.touched:Connect(function(hit)
gui.Enabled = true
task.wait(4)
gui.Enabled = false
end)

thorn ivy
#

Is this in starter player scripts

eager socket
#

okay

thorn ivy
#

??

eager socket
#

thx

thorn ivy
#

I didn’t help you

#

It’s not supposed to be in sps

#

Also just make the gui why u over complicating it

eager socket
#

oh

#

no

thorn ivy
#

Then when someone touches the part

#

FireClient

eager socket
#

you can write normal script

#

because i new scripter

thorn ivy
#

It’s not that hard

#

Make a remote event

eager socket
#

i don't know any

thorn ivy
#

In replicated storage

eager socket
#

sec

#

made

#

second?

#

i make

thorn ivy
#

then

#

Make a part in workspace

eager socket
#

made

#

i made

thorn ivy
#

Ok put a script in that part

eager socket
#

don't work

gleaming lotusBOT
#

studio** You are now Level 2! **studio

thorn ivy
#

local part = script.Parent
local RS = game:GetService(“ReplicatedStorage”)
local urRemote = RS:WaitForChild(“name of ur event”)

thorn ivy
eager socket
#

i put script in this part

thorn ivy
#

Yea

#

Now put that code in there

eager socket
#

any don't work

#

ok

thorn ivy
#

yk what just learn what ur tryna do

#

I give up

eager socket
#

i can send my script

#

wait(5)
local part = workspace.capuchina
local gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
local image = Instance.new("ImageLabel", gui)

gui.Enabled = false
image.Size = UDim2.new(0.3, 0, 0.6, 0)
image.AnchorPoint = Vector2.new(0.5, 0.5)
image.Position = UDim2.new(0.5, 0, 0.5, 0)
image.Image = "rbxassetid://103612459193614"
image.BackgroundTransparency = 1

part.touched:Connect(function(hit)
gui.Enabled = true
task.wait(4)
gui.Enabled = false
end)

local RS = game:GetService("ReplicatedStorage")
local urRemote = RS:WaitForChild("ShowImagineGui")

#

normal?

#

correct pls

#

@thorn ivy

merry pebble
#

what r you tryna do

thorn ivy
#

then do urRemote:FireClient() in your .Touched at the start

#

and remove everything else in the .Touched

broken herald
#

dont use instances to create guis