How to fix the "Expected ')' to close '(', got '?'" error? *SOLVED*
Asked by
5 years ago Edited 5 years ago
Im trying to make a script that clones an accessory and puts it in a player uppon joining the server.
But the problem is a error that appears in my script:
01 | Players = game:GetService( "Players" ) |
02 | Players.PlayerAdded:Connect( function (Player) |
03 | Player.CharacterAdded:Connect( function (Character) |
05 | local Character = Player.Character or Player.CharacterAdded:Wait() |
06 | local GrandSword = game:GetService( "ReplicatedStorage" ).GrandSword:Clone() |
07 | GrandSword.Parent = Character |
09 | local Weld = Instance.new( "Weld" ) |
10 | Weld.Parent = GrandSword |
11 | Weld.Part 0 = GrandSword.Handle |
12 | Weld.Part 1 = Character.Torso |
13 | Weld.C 0 = CFrame.new(- 3.7 , 0 ,-. 6 ) * CFrame.Angles( 0 , math.rad(- 44.5 ), 0 ) |
The error: ServerScriptService.Script:13: Expected ')' (to close '(' at column 64), got '?'
In my eyes every "(" that has been opened has been closed already so idk, help?