MrAhmalo
(Ahmalo)
December 3, 2022, 4:18pm
#1
Hey guys,
I want to replace the player’s character with a decal for my game.
Is there any way to do this? I thought about teleporting a part with a decal right before the player, but I think that would look very weird and wouldn’t work well on multiplayer. So is there any way to do this?
Thanks in advance!
1 Like
boterflic5
(boterflic5)
December 3, 2022, 4:23pm
#2
This may not be a suitable solution, but i would suggest making all the player’s Character’s parts transparency 1 then Welding a Part to the HumanoidRootPart then put on the decal.
1 Like
xander5610
(Master_xander5610)
December 3, 2022, 4:59pm
#3
You could make an invisible part as the player’s character, then put the decal on that.
1 Like
BirdieI90
(Ping)
December 4, 2022, 12:17pm
#5
is this what you mean
local Players = game:GetService("Players")
local Texture = "http://www.roblox.com/asset/?id="
local function ReplaceCharacter(Character)
local Beam = Instance.new("Beam")
local AttachmentBottom = Instance.new("Attachment")
local AttachmentUp = Instance.new("Attachment")
AttachmentBottom.Position = Vector3.new(0, -3, 0)
AttachmentUp.Position = Vector3.new(0, 2, 0)
AttachmentBottom.Parent = Character:WaitForChild("HumanoidRootPart", math.huge)
AttachmentUp.Parent = Character.HumanoidRootPart
Beam.FaceCamera = true
Beam.Texture = Texture
Beam.TextureSpeed = 0
Beam.Transparency = NumberSequence.new(0)
Beam.Width0 = 5
Beam.Width1 = 5
Beam.Segments = 1
Beam.Parent = Character
Beam.Attachment0 = AttachmentBottom
Beam.Attachment1 = AttachmentUp
end
Players.PlayerAdded:Connect(function(Player)
task.spawn(ReplaceCharacter, Player.Character or Player.CharacterAdded:Wait())
Player.CharacterAdded:Connect(ReplaceCharacter)
end)
1 Like
MrAhmalo
(Ahmalo)
December 4, 2022, 12:40pm
#6
Yeah, I had to rewrite the script a bit, but this is what I mean! Thank you.
xander5610
(Master_xander5610)
December 4, 2022, 5:17pm
#7
Good question, I’m not sure either but I would asume it would be similar to how you make custom characters
system
(system)
Closed
December 18, 2022, 5:17pm
#8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.