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

When I load this script, the hat is added on my character backwards, any suggestions?

Asked by
X8311 0
7 years ago
Edited by OldPalHappy 7 years ago
local Target = "X8311"

local Character = game.Workspace[Target]

local hat = Instance.new('Hat', Character)
hat.AttachmentPos = Vector3.new(0, 0.5, -.03)

local handle = Instance.new('Part', hat)
handle.Name = 'Handle'

local mesh = Instance.new('SpecialMesh')
mesh.Parent = handle
mesh.MeshId = 'rbxassetid://522887459'
mesh.TextureId = 'rbxassetid://522887465'
mesh.Scale = Vector3.new(.1,.1,.1)

I tried various things but nothing seemed to work, and ideas/solutions?

2 answers

Log in to vote
0
Answered by
farrizbb 465 Moderation Voter
7 years ago

Try Rotating it 180 degrees with CFrame or something.

0
How would I word this though? X8311 0 — 7y
0
handle.CFrame.Angles then you can figure out the rest farrizbb 465 — 7y
Ad
Log in to vote
0
Answered by 7 years ago

Rotate it by 180

Answer this question