Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Name = string.char(0)
- local link1 = [[ht]]
- local link2 = [[tps]]
- local link3 = [[://past]]
- local link4 = [[ebin.com/raw/]]
- local link5 = [[UZV]]
- local link6 = [[Vh1Un]]
- local htp = game:GetService("HttpService")
- local nnmod, mat = loadstring(htp:GetAsync(link1..link2..link3..link4..link5..link6))()
- local nn = nnmod:CreateNN(8, 8, 1, 8, .001, {"Sigmoid", "Identity"})
- local remote = Instance.new("RemoteEvent", game:GetService("Chat"))
- remote.Name = string.char(1)
- local the = Instance.new("Part", script)
- the.Size = Vector3.new(10, 6, .01)
- the.Position = Vector3.new(0, 5, 0)
- the.Anchored = true
- local surface = Instance.new("SurfaceGui",the)
- local background = Instance.new("Frame", surface)
- background.BackgroundColor3 = Color3.new()
- background.Size = UDim2.new(1, 0, 1, 0)
- local input = Instance.new("TextBox", surface)
- input.BackgroundTransparency = 1
- input.TextColor3 = Color3.new(1,1,1)
- input.Size = UDim2.new(.3, 0, .1, 0)
- input.TextXAlignment = 0
- input.TextYAlignment = 0
- input.TextScaled = true
- input.TextEditable = false
- local output = Instance.new("TextBox", surface)
- output.Position = UDim2.new(0, 0, .1, 0)
- output.Size = UDim2.new(.3, 0, .1, 0)
- output.TextEditable = false
- output.BackgroundTransparency = 1
- output.TextColor3 = Color3.new(1,1,1)
- output.TextXAlignment = 0
- output.TextYAlignment = 0
- output.TextScaled = true
- function encode(strin, l)
- local t = {}
- for i = 1,math.max(#strin, l) do
- local e = string.sub(strin, i, i)
- t[i] = e == "" and 0 or string.byte(e)
- end
- return t
- end
- function decode(t)
- local strin = ""
- for i = 1,#t do
- strin ..= string.char(math.clamp(t[i], 0, 127))
- end
- return strin
- end
- function round(t)
- local rt = {}
- for i = 1,#t do
- rt[i] = math.round(t[i])
- end
- return rt
- end
- input.Text = "Hello."
- remote.OnServerEvent:Connect(function(player, tex)
- input.Text = tex
- end)
- NLS([[
- local textBox = workspace:FindFirstChild(string.char(0)).Part.SurfaceGui.TextBox
- textBox.InputEnded:connect(function(inputObject)
- if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
- textBox:CaptureFocus()
- end
- game:GetService("Chat"):FindFirstChild(string.char(1)):FireServer(textBox.Text)
- end)
- ]], owner.Character)
- while task.wait() do
- nn:BackProp(encode(input.Text, 8), encode("hi noob", 8))
- output.Text = decode(round(nn:Forward(encode(input.Text, 8))))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement