[Preview]:
VC BeachBall in GTA5

It’s impressed by GTA VC mini recreation

GTA VC Beach Ball

Full Code Simply For Enjoyable:

CreateThread(perform()
    RequestModel(`prop_beachball_02`)
    whereas not HasModelLoaded(`prop_beachball_02`) do Wait(0) finish 
    native x,y,z = desk.unpack(GetEntityCoords(PlayerPedId()))
	native obj = CreateObject(`prop_beachball_02`, x , y , z+1.5 ,false,false,false )
    SetEntityVelocity(obj, 0.0, 0.0, 0.1)
    native num = 0
    native LastTime = GetGameTimer()
    CreateThread(perform()
        whereas true do Wait(0)
            if IsEntityTouchingEntity(obj,PlayerPedId()) and GetGameTimer() > LastTime + 50 then 
                native gevo = GetEntityVelocity(obj)
                native gevp = GetEntityVelocity(PlayerPedId())
                native rand = perform() return randomFloat(-0.3,0.3) finish 
                native dgev = (gevo - gevp) - vector3(rand(),rand(),rand())
                native dfgev = (-1.1 - gevp)
                SetEntityVelocity(obj, dgev.x,dgev.y, randomFloat(9.0,12.0))
                PlaySoundFromEntity(-1,"WEAPON_AMMO_PURCHASE",obj,"HUD_AMMO_SHOP_SOUNDSET",0,0)
                num = num + 1
                LastTime = GetGameTimer()
            finish 
            if GetGameTimer() > LastTime + 30 + 3000 and never IsEntityTouchingEntity(obj,PlayerPedId()) then 
                num = 0
                return 
            finish 
            DrawText3D(GetEntityCoords(PlayerPedId())+vector3(0.0,0.0,1.5),num,3.0,0)
        finish 
    finish)
finish)
perform DrawText3D(coords, textual content, measurement, font)
	coords = vector3(coords.x, coords.y, coords.z)

	native camCoords = GetGameplayCamCoords()
	native distance = #(coords - camCoords)

	if not measurement then measurement = 1 finish
	if not font then font = 0 finish

	native scale = (measurement / distance) * 2
	native fov = (1 / GetGameplayCamFov()) * 100
	scale = scale * fov

	SetTextScale(0.0 * scale, 0.55 * scale)
	SetTextFont(font)
	SetTextColour(255, 255, 255, 255)
	SetTextDropshadow(0, 0, 0, 0, 255)
	SetTextDropShadow()
	SetTextOutline()
	SetTextCentre(true)

	SetDrawOrigin(coords, 0)
	BeginTextCommandDisplayText('STRING')
	AddTextComponentSubstringPlayerName(textual content)
	EndTextCommandDisplayText(0.0, 0.0)
	ClearDrawOrigin()
finish
perform randomFloat(decrease, better)
    return decrease + math.random()  * (better - decrease);
finish



Looking for paid scripts? Click here