Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function out(strin_g, x, y, z)
- local INTRO = "local x = "..x.."; local y = "..y.."; local e = math.exp(1); local z = "..z.."; ".."local sin = math.sin; local cos = math.cos; "
- return loadstring(INTRO.."return "..strin_g)()
- end
- local model = Instance.new("Model", script)
- local remote = Instance.new("RemoteEvent", script)
- local d = {}
- remote.OnServerEvent:Connect(function(player, r)
- d = r
- end)
- owner.Chatted:Connect(function(message)
- if message == "CLEAR" then
- model:ClearAllChildren()
- end
- print(message)
- if (string.find(message, "=") ~= nil) or (string.find(message, "<") ~= nil) or (string.find(message, ">") ~= nil) then
- local str, zmimvgnji = string.gsub(message, "=", "==") or message, nil
- --str, zmimvgnji = string.gsub(str, "<", "<") or str, nil
- --str, zmimvgnji = string.gsub(str, ">", ">") or str, nil
- remote:FireClient(owner, str)
- NLS([[
- local str
- workspace.graph.RemoteEvent.OnClientEvent:Connect(function(the_string)
- str = the_string
- end)
- function out(strin_g, x, y, z)
- local INTRO = "local x = "..x.."; local y = "..y.."; local e = math.exp(1); local z = "..z.."; ".."local sin = math.sin; local cos = math.cos; "
- return loadstring(INTRO.."return "..strin_g)()
- end
- local d = {}
- for x = -5,5,.1 do
- for y = -5,5,.1 do
- for z = -5,5,.1 do
- if out(str, x, y, z) then
- table.insert(d, {x, y, z})
- end
- end
- if (y % 0.3) == 0 then
- task.wait()
- end
- end
- task.wait()
- print((x+5)/10)
- end
- print("done")
- workspace.graph.RemoteEvent:FireServer(d)
- ]], owner.Character)
- for i = 1,#d do
- local x, y, z = d[i][1], d[i][1+1], d[i][3]
- local part = Instance.new("Part", model)
- part.Anchored = true
- part.Position = Vector3.new(x, y+5, z)
- part.Size = Vector3.one*.1
- end
- d = {}
- else
- for x = -5,5,.1 do
- for y = -5,5,.1 do
- local part = Instance.new("Part", model)
- part.Anchored = true
- local z = out(message, x, y, 0)
- part.Position = Vector3.new(x, z+5, y)
- part.Size = Vector3.one*.1
- end
- task.wait()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement