#how do i make fog follow character instead of camera
1 messages · Page 1 of 1 (latest)
there is no script
oh
im using lightning log
well i dont know then
no
make custom fog if you need it to follow character
this is just how roblox fog works
frick
do you know how to do that
🥺
no
** You are now Level 1! **
gold gold gold
script custom fog
attaching a pointlight to the character might have the effect u want too
ignore the 12 yr old sending images of triple ts reactions
he doesnt even know how to make custom fog
ong
do you know by chance how do i do tat
doesnt work
bro 😭
here wait
is that ai
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local PartToWeldTo = Character:WaitForChild("Torso") --part u wanna parent light to
local PointLight = Instance.new("PointLight")
PointLight.Parent = PartToWeldTo
local PointLightWeld = Instance.new("WeldConstraint")
PointLightWeld.Parent = PartToWeldTo
PointLightWeld.Part0 = PartToWeldTo
PointLightWeld.Part1 = PointLight
-- set ur point light properites
PointLight.Brightness = 1
PointLight.Range = 10
PointLight.Shadows = true
PointLight.Color = Color3.fromRGB(255, 255, 255)
-- triple t here
should work
what do u think genius
yes
buzzzabalright
u dont know how to create a pointlight?
a point light isnt going to create fog 🐴
hes not going for fog genius
** You are now Level 5! **
i want fog....
that works too i guess
thats not gonna look foggy
ill try tat
with the right lighting settings it will
script in workspace rite
if u wanna script an entire custom fog system for him then go ahead
no starterplayerscripts
adjust the pointlight properties to however u want the light to appear in ur script
and since its a localscript only the player will be able to see their light
** You are now Level 2! **
did u remove the fog
no error
and make the map dark
bro did u break the lighting 😭
no.....
reset the properties
ok
watch some studio and scripting tutorials or u wont be able to make anything
trying setting fogend to 100000 and fogstart to 0
this is more of a #1006356488912121967 atp
let me try in my studio
oh ur games r15
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local PartToWeldTo = Character:WaitForChild("HumanoidRootPart") --part u wanna parent light to
local PointLight = Instance.new("PointLight")
PointLight.Parent = PartToWeldTo
local PointLightWeld = Instance.new("WeldConstraint")
PointLightWeld.Parent = PartToWeldTo
PointLightWeld.Part0 = PartToWeldTo
PointLightWeld.Part1 = PointLight
-- set ur point light properites
PointLight.Brightness = 1
PointLight.Range = 10
PointLight.Shadows = true
PointLight.Color = Color3.fromRGB(255, 255, 255)
-- triple t here
just change parttoweldto to humanoidrootpart
works for me
better settings are 2 brightness 24 range
i said changepartoweldto to Character:WaitForChild("HumanoidRootPart")
local?
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local PartToWeldTo = Character:WaitForChild("HumanoidRootPart") --part u wanna parent light to
local PointLight = Instance.new("PointLight")
PointLight.Parent = PartToWeldTo
local PointLightWeld = Instance.new("WeldConstraint")
PointLightWeld.Parent = PartToWeldTo
PointLightWeld.Part0 = PartToWeldTo
PointLightWeld.Part1 = PointLight
-- set ur point light properites
PointLight.Brightness = 2
PointLight.Range = 24
PointLight.Shadows = true
PointLight.Color = Color3.fromRGB(255, 255, 255)
-- triple t here
make sure localscript in starterplayerscripts