I’ve Made a First Person Script But I want it to show arms and not just be like its zoomed in. Here is the open source code Open Source First Person - Roblox
3 Likes
Add this in
local RunService = game:GetService("RunService");
local Players = game:GetService("Players");
local Player = Players.LocalPlayer
RunService.RenderStepped:Connect(function()
for _,v in ipairs(Player.Character:GetChildren()) do
if v:IsA("BasePart") then
v.LocalTransparencyModifier = 0;
end
end
end)
1 Like
Also make sure this is being run locally otherwise this could cause issues for other players in game.
1 Like
The players Head Gets in the way so its not usable for my game
Then add code to exclude the head and other parts. Ex if part:IsA(“BasePart”) and part.Name ~= “Head” …
local RunService = game:GetService("RunService");
local Players = game:GetService("Players");
local Player = Players.LocalPlayer
RunService.RenderStepped:Connect(function()
for _,v in ipairs(Player.Character:GetChildren()) do
if v:IsA("BasePart") and v.Name ~= "Head" then
v.LocalTransparencyModifier = 0;
end
end
end)
1 Like
Pretty much what your saying but only with arms :v
local RunService = game:GetService("RunService")
RunService.RenderStepped:Connect(function()
for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if string.find(v.Name, "Arm") then
v.LocalTransparencyModifier = 0
end
end
end)
and simplified :v
yes and thank you for the code it works well with what I needed
1 Like