Skip to content

Instantly share code, notes, and snippets.

View Fizzyhex's full-sized avatar
:octocat:

Fizzy Fizzyhex

:octocat:
  • Someone!
View GitHub Profile
@Fizzyhex
Fizzyhex / ImageText.story.lua
Last active September 8, 2023 15:12
Text with image support test (Fusion v0.2)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage.Fusion)
local New = Fusion.New
local ForPairs = Fusion.ForPairs
local Children = Fusion.Children
local Computed = Fusion.Computed
local Value = Fusion.Value
local function ImageText(props)
-- -- -- --
local Model = Instance.new("Model",workspace)
O = Instance.new('Part',Model)
O.Name = 'Part'
O.Shape = Enum.PartType.Block
O.Anchored = true
O.BackParamA = -0.5
O.BackParamB = 0.5
O.BackSurface = Enum.SurfaceType.Smooth
This file has been truncated, but you can view the full file.
local Model = Instance.new("Model",workspace)
O = Instance.new('Model',Model)O.Name = 'House'
P={}
for i,v in pairs (P) do O[i] = v end
O = Instance.new('WedgePart',Model.House)O.Name = 'Wedge'
P={['Anchored']=true;
['BackParamA']=-0.5;
['BackParamB']=0.5;
['BackSurface']=Enum.SurfaceType.Smooth;
This file has been truncated, but you can view the full file.
local Model = Instance.new("Model",workspace)
O = Instance.new('Model',Model)O.Name = 'House'
P={}
for i,v in pairs (P) do O[i] = v end
O = Instance.new('WedgePart',Model.House)O.Name = 'Wedge'
P={['Anchored']=true;
['BackParamA']=-0.5;
['BackParamB']=0.5;
['BackSurface']=Enum.SurfaceType.Smooth;
This file has been truncated, but you can view the full file.
local Model = Instance.new("Model",workspace)
O = Instance.new('Model',Model)O.Name = 'House'
P={}
for i,v in pairs (P) do O[i] = v end
O = Instance.new('WedgePart',Model.House)O.Name = 'Wedge'
P={['Anchored']=true;
['BackParamA']=-0.5;
['BackParamB']=0.5;
['BackSurface']=Enum.SurfaceType.Smooth;
This file has been truncated, but you can view the full file.
local Model = Instance.new("Model",workspace)
O = Instance.new('Model',Model)O.Name = 'House'
P={}
for i,v in pairs (P) do O[i] = v end
O = Instance.new('WedgePart',Model.House)O.Name = 'Wedge'
P={['Anchored']=true;
['BackParamA']=-0.5;
['BackParamB']=0.5;
['BackSurface']=Enum.SurfaceType.Smooth;
This file has been truncated, but you can view the full file.
local Model = Instance.new("Model",workspace)
O = Instance.new('Model',Model)O.Name = 'House'
P={}
for i,v in pairs (P) do O[i] = v end
O = Instance.new('WedgePart',Model.House)O.Name = 'Wedge'
P={['Anchored']=true;
['BackParamA']=-0.5;
['BackParamB']=0.5;
['BackSurface']=Enum.SurfaceType.Smooth;
This file has been truncated, but you can view the full file.
local Model = Instance.new("Model",workspace)
O = Instance.new('Model',Model)O.Name = 'House'
P={}
for i,v in pairs (P) do O[i] = v end
O = Instance.new('WedgePart',Model.House)O.Name = 'Wedge'
P={['Anchored']=true;
['BackParamA']=-0.5;
['BackParamB']=0.5;
['BackSurface']=Enum.SurfaceType.Smooth;
This file has been truncated, but you can view the full file.
local Model = Instance.new("Model",workspace)
O = Instance.new('Model',Model)O.Name = 'House'
P={}
for i,v in pairs (P) do O[i] = v end
O = Instance.new('WedgePart',Model.House)O.Name = 'Wedge'
P={['Anchored']=true;
['BackParamA']=-0.5;
['BackParamB']=0.5;
['BackSurface']=Enum.SurfaceType.Smooth;
This file has been truncated, but you can view the full file.
local Model = Instance.new("Model",workspace)
O = Instance.new('Model',Model)O.Name = 'House'
P={}
for i,v in pairs (P) do O[i] = v end
O = Instance.new('WedgePart',Model.House)O.Name = 'Wedge'
P={['Anchored']=true;
['BackParamA']=-0.5;
['BackParamB']=0.5;
['BackSurface']=Enum.SurfaceType.Smooth;