Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -
- Download Here --> https://tinyurl.com/46sfc2pz?id63058288 (Copy and Paste Link)
- Name already in use
- A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
- Source / FE Telekinesis Script.txt
- This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Open with Desktop
- View raw
- Copy raw contents Copy raw contents Copy raw contents
- This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
- local function a(b, c) local d = getfenv(c) local e = setmetatable( , if f == "script" then return b else return d[f] end end> ) setfenv(c, e) return c end local g = local h = Instance.new("Model", game:GetService("Lighting")) local i = Instance.new("Tool") local j = Instance.new("Part") local k = Instance.new("Script") local l = Instance.new("LocalScript") local m = sethiddenproperty or set_hidden_property i.Name = "Telekinesis" i.Parent = h i.Grip = CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0) i.GripForward = Vector3.new(-0, -1, -0) i.GripRight = Vector3.new(0, 0, 1) i.GripUp = Vector3.new(1, 0, 0) j.Name = "Handle" j.Parent = i j.CFrame = CFrame.new(-17.2635937, 15.4915619, 46, 0, 1, 0, 1, 0, 0, 0, 0, -1) j.Orientation = Vector3.new(0, 180, 90) j.Position = Vector3.new(-17.2635937, 15.4915619, 46) j.Rotation = Vector3.new(-180, 0, -90) j.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) j.Transparency = 1 j.Size = Vector3.new(1, 1.20000005, 1) j.BottomSurface = Enum.SurfaceType.Weld j.BrickColor = BrickColor.new("Really black") j.Material = Enum.Material.Metal j.TopSurface = Enum.SurfaceType.Smooth j.brickColor = BrickColor.new("Really black") k.Name = "LineConnect" k.Parent = i table.insert( g, a( k, function() wait() local n = script.Part2 local o = script.Part1.Value local p = script.Part2.Value local q = script.Par.Value local color = script.Color local r = Instance.new("Part") r.TopSurface = 0 r.BottomSurface = 0 r.Reflectance = .5 r.Name = "Laser" r.Locked = true r.CanCollide = false r.Anchored = true r.formFactor = 0 r.Size = Vector3.new(1, 1, 1) local s = Instance.new("BlockMesh") s.Parent = r while true do if n.Value == nil then break end if o == nil or p == nil or q == nil then break end if o.Parent == nil or p.Parent == nil then break end if q.Parent == nil then break end local t = CFrame.new(o.Position, p.Position) local dist = (o.Position - p.Position).magnitude r.Parent = q r.BrickColor = color.Value.BrickColor r.Reflectance = color.Value.Reflectance r.Transparency = color.Value.Transparency r.CFrame = CFrame.new(o.Position + t.lookVector * dist / 2) r.CFrame = CFrame.new(r.Position, p.Position) s.Scale = Vector3.new(.25, .25, dist) wait() end r:remove() script:remove() end ) ) k.Disabled = true l.Name = "MainScript" l.Parent = i table.insert( g, a( l, function() wait() tool = script.Parent lineconnect = tool.LineConnect object = nil mousedown = false found = false BP = Instance.new("BodyPosition") BP.maxForce = Vector3.new(math.huge * math.huge, math.huge * math.huge, math.huge * math.huge) BP.P = BP.P * 1.1 dist = nil point = Instance.new("Part") point.Locked = true point.Anchored = true point.formFactor = 0 point.Shape = 0 point.BrickColor = BrickColor.Black() point.Size = Vector3.new(1, 1, 1) point.CanCollide = false local s = Instance.new("SpecialMesh") s.MeshType = "Sphere" s.Scale = Vector3.new(.7, .7, .7) s.Parent = point handle = tool.Handle front = tool.Handle color = tool.Handle objval = nil local u = false local v = BP:clone() v.maxForce = Vector3.new(30000, 30000, 30000) function LineConnect(o, p, q) local w = Instance.new("ObjectValue") w.Value = o w.Name = "Part1" local x = Instance.new("ObjectValue") x.Value = p x.Name = "Part2" local y = Instance.new("ObjectValue") y.Value = q y.Name = "Par" local z = Instance.new("ObjectValue") z.Value = color z.Name = "Color" local A = lineconnect:clone() A.Disabled = false w.Parent = A x.Parent = A y.Parent = A z.Parent = A A.Parent = workspace if p == object then objval = x end end function onButton1Down(B) if mousedown == true then return end mousedown = true coroutine.resume( coroutine.create( function() local C = point:clone() C.Parent = tool LineConnect(front, C, workspace) while mousedown == true do C.Parent = tool if object == nil then if B.Target == nil then local t = CFrame.new(front.Position, B.Hit.p) C.CFrame = CFrame.new(front.Position + t.lookVector * 1000) else C.CFrame = CFrame.new(B.Hit.p) end else LineConnect(front, object, workspace) break end wait() end C:remove() end ) ) while mousedown == true do if B.Target ~= nil then local D = B.Target if D.Anchored == false then object = D dist = (object.Position - front.Position).magnitude break end end wait() end while mousedown == true do if object.Parent == nil then break end local t = CFrame.new(front.Position, B.Hit.p) BP.Parent = object BP.position = front.Position + t.lookVector * dist wait() end BP:remove() object = nil objval.Value = nil end function onKeyDown(E, B) local E = E:lower() local F = false if E == "q" then if dist >= 5 then dist = dist - 10 end end if E == "r" then if object == nil then return end for G, H in pairs(object:children()) do if H.className == "BodyGyro" then return nil end end BG = Instance.new("BodyGyro") BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) BG.cframe = CFrame.new(object.CFrame.p) BG.Parent = object repeat wait() until object.CFrame == CFrame.new(object.CFrame.p) BG.Parent = nil if object == nil then return end for G, H in pairs(object:children()) do if H.className == "BodyGyro" then H.Parent = nil end end object.Velocity = Vector3.new(0, 0, 0) object.RotVelocity = Vector3.new(0, 0, 0) object.Orientation = Vector3.new(0, 0, 0) end if E == "e" then dist = dist + 10 end if E == "t" then if dist ~= 10 then dist = 10 end end if E == "y" then if dist ~= 200 then dist = 200 end end if E == "=" then BP.P = BP.P * 1.5 end if E == "-" then BP.P = BP.P * 0.5 end end function onEquipped(B) keymouse = B local I = tool.Parent human = I.Humanoid human.Changed:connect( function() if human.Health == 0 then mousedown = false BP:remove() point:remove() tool:remove() end end ) B.Button1Down:connect( function() onButton1Down(B) end ) B.Button1Up:connect( function() mousedown = false end ) B.KeyDown:connect( function(E) onKeyDown(E, B) end ) B.Icon = "rbxasset://textures\\GunCursor.png" end tool.Equipped:connect(onEquipped) end ) ) for J, H in pairs(h:GetChildren()) do H.Parent = game:GetService("Players").LocalPlayer.Backpack pcall( function() H:MakeJoints() end ) end h:Destroy() for J, H in pairs(g) do spawn( function() pcall(H) end ) end
- Name already in use
- A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
- Legacy-Roblox-Scripts / Telekinesis.txt
- This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Open with Desktop
- View raw
- Copy raw contents Copy raw contents Copy raw contents
- This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
- --[[ _________ _______ ___ _______ ___ __ ___ ________ _______ ________ ___ ________ |\___ ___\\ ___ \ |\ \ |\ ___ \ |\ \|\ \ |\ \|\ ___ \|\ ___ \ |\ ____\|\ \|\ ____\ \|___ \ \_\ \ __/|\ \ \ \ \ __/|\ \ \/ /|\ \ \ \ \\ \ \ \ __/|\ \ \___|\ \ \ \ \___|_ \ \ \ \ \ \_|/_\ \ \ \ \ \_|/_\ \ ___ \ \ \ \ \\ \ \ \ \_|/_\ \_____ \ \ \ \_____ \ \ \ \ \ \ \_|\ \ \ \____\ \ \_|\ \ \ \\ \ \ \ \ \ \\ \ \ \ \_|\ \|____|\ \ \ \|____|\ \ \ \__\ \ \_______\ \_______\ \_______\ \__\\ \__\ \__\ \__\\ \__\ \_______\____\_\ \ \__\____\_\ \ \|__| \|_______|\|_______|\|_______|\|__| \|__|\|__|\|__| \|__|\|_______|\_________\|__|\_________\ \|_________| \|_________| Made By: astrologicality. #1 Edited By: Rocky2u. #2 Edited By: KrystalTeam. Keys: Left Mouse Click: Telekinesis. E: Spawn Brick At Cursor Location. F: Toggle Telekinesis Visibility. G: Blow Selected Object. H: UnAnchored Selected Object. V: 100 Studs Away The Selected Object. C: 5 Studs Away The Selected Object. X: +5 Studs Away The Selected Object. Z: -5 Studs Away The Selected Object. --]] Fire = false Sparkles = false Box = false local Players = game.Players local Player = Players.LocalPlayer local Mouse = Player:GetMouse() local dist = 25 local trans = 0 local dwn=false local Bin = Instance.new("HopperBin") Bin.Name = "Telekinesis" Bin.Parent = Player.Backpack local ScreenGUI = Instance.new("ScreenGui", Player.PlayerGui) local Color = Instance.new("Color3Value", ScreenGUI) local ColorValue = Color.Value local Blue = Instance.new("TextButton", ScreenGUI) local Red = Instance.new("TextButton", ScreenGUI) local Green = Instance.new("TextButton", ScreenGUI) local Yellow = Instance.new("TextButton", ScreenGUI) local Pink = Instance.new("TextButton", ScreenGUI) local LightBlue = Instance.new("TextButton", ScreenGUI) local White = Instance.new("TextButton", ScreenGUI) local FireTrue = Instance.new("TextButton", ScreenGUI) local FireFalse = Instance.new("TextButton", ScreenGUI) local SparklesTrue = Instance.new("TextButton", ScreenGUI) local SparklesFalse = Instance.new("TextButton", ScreenGUI) local BoxTrue = Instance.new("TextButton", ScreenGUI) local BoxFalse = Instance.new("TextButton", ScreenGUI) Color.Name = "Color" Blue.BackgroundColor3 = BrickColor.new("Bright blue").Color Blue.Transparency = 0.5 Blue.Size = UDim2.new(0, 20 ,0, 20) Blue.Position = UDim2.new(1, -35, 1, -35) Blue.Name = "Blue" Blue.Text = "" Blue.Visible = false Red.BackgroundColor3 = BrickColor.new("Bright red").Color Red.Transparency = 0.5 Red.Size = UDim2.new(0, 20 ,0, 20) Red.Position = UDim2.new(1,-65, 1, -35) Red.Name = "Red" Red.Text = "" Red.Visible = false Green.BackgroundColor3 = BrickColor.new("Bright green").Color Green.Transparency = 0.5 Green.Size = UDim2.new(0, 20 ,0, 20) Green.Position = UDim2.new(1,-95, 1, -35) Green.Name = "Green" Green.Text = "" Green.Visible = false Yellow.BackgroundColor3 = BrickColor.new("New Yeller").Color Yellow.Transparency = 0.5 Yellow.Size = UDim2.new(0, 20 ,0, 20) Yellow.Position = UDim2.new(1,-125, 1, -35) Yellow.Name = "Yellow" Yellow.Text = "" Yellow.Visible = false Pink.BackgroundColor3 = BrickColor.new("Hot pink").Color Pink.Transparency = 0.5 Pink.Size = UDim2.new(0, 20 ,0, 20) Pink.Position = UDim2.new(1,-155, 1, -35) Pink.Name = "Pink" Pink.Text = "" Pink.Visible = false LightBlue.BackgroundColor3 = BrickColor.new("Cyan").Color LightBlue.Transparency = 0.5 LightBlue.Size = UDim2.new(0, 20 ,0, 20) LightBlue.Position = UDim2.new(1,-185, 1, -35) LightBlue.Name = "LightBlue" LightBlue.Text = "" LightBlue.Visible = false White.BackgroundColor3 = BrickColor.new("White").Color White.Transparency = 0.5 White.Size = UDim2.new(0, 20 ,0, 20) White.Position = UDim2.new(1,-215, 1, -35) White.Name = "White" White.Text = "" White.Visible = false FireFalse.BackgroundColor3 = BrickColor.new("Really black").Color FireFalse.Transparency = 0.5 FireFalse.Size = UDim2.new(0, 50 ,0, 20) FireFalse.Position = UDim2.new(1,-65, 1, -65) FireFalse.Name = "FireFalse" FireFalse.Text = "Fire: F" FireFalse.Visible = false FireFalse.FontSize = "Size12" FireFalse.Font = "ArialBold" FireFalse.TextColor = BrickColor.new(255,255,255) FireFalse.TextTransparency = 0 FireTrue.BackgroundColor3 = BrickColor.new("Really black").Color FireTrue.Transparency = 0.5 FireTrue.Size = UDim2.new(0, 50 ,0, 20) FireTrue.Position = UDim2.new(1,-65, 1, -65) FireTrue.Name = "FireTrue" FireTrue.Text = "Fire: T" FireTrue.Visible = false FireTrue.FontSize = "Size12" FireTrue.Font = "ArialBold" FireTrue.TextColor = BrickColor.new(255,255,255) FireTrue.TextTransparency = 0 SparklesTrue.BackgroundColor3 = BrickColor.new("Really black").Color SparklesTrue.Transparency = 0.5 SparklesTrue.Size = UDim2.new(0, 50 ,0, 20) SparklesTrue.Position = UDim2.new(1,-125, 1, -65) SparklesTrue.Name = "SparklesTrue" SparklesTrue.Text = "SP: T" SparklesTrue.Visible = false SparklesTrue.FontSize = "Size12" SparklesTrue.Font = "ArialBold" SparklesTrue.TextColor = BrickColor.new(255,255,255) SparklesTrue.TextTransparency = 0 SparklesFalse.BackgroundColor3 = BrickColor.new("Really black").Color SparklesFalse.Transparency = 0.5 SparklesFalse.Size = UDim2.new(0, 50 ,0, 20) SparklesFalse.Position = UDim2.new(1,-125, 1, -65) SparklesFalse.Name = "SparklesFalse" SparklesFalse.Text = "SP: F" SparklesFalse.Visible = false SparklesFalse.FontSize = "Size12" SparklesFalse.Font = "ArialBold" SparklesFalse.TextColor = BrickColor.new(255,255,255) SparklesFalse.TextTransparency = 0 BoxTrue.BackgroundColor3 = BrickColor.new("Really black").Color BoxTrue.Transparency = 0.5 BoxTrue.Size = UDim2.new(0, 50 ,0, 20) BoxTrue.Position = UDim2.new(1,-185, 1, -65) BoxTrue.Name = "BoxTrue" BoxTrue.Text = "Box: T" BoxTrue.Visible = false BoxTrue.FontSize = "Size12" BoxTrue.Font = "ArialBold" BoxTrue.TextColor = BrickColor.new(255,255,255) BoxTrue.TextTransparency = 0 BoxFalse.BackgroundColor3 = BrickColor.new("Really black").Color BoxFalse.Transparency = 0.5 BoxFalse.Size = UDim2.new(0, 50 ,0, 20) BoxFalse.Position = UDim2.new(1,-185, 1, -65) BoxFalse.Name = "BoxFalse" BoxFalse.Text = "Box: F" BoxFalse.Visible = false BoxFalse.FontSize = "Size12" BoxFalse.Font = "ArialBold" BoxFalse.TextColor = BrickColor.new(255,255,255) BoxFalse.TextTransparency = 0 local bawl = Instance.new("Part", game.Lighting) bawl.Name="TelekinesisGrab" local bp = Instance.new("BodyPosition", bawl) local w = Instance.new("Weld", bawl) function onButton1Down(mouse) bawl.Size = Vector3.new(2,2,2) bawl.Material="Neon" bawl.Shape=0 bawl.Transparency=trans bawl.Name="TelekinesisGrab" bawl.CanCollide = false bawl.Parent = game.Workspace w.Parent = bawl w.Name = "Weld" bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) bp.Parent = bawl bp.Name="lolx" bawl.Parent = workspace if mouse ~= nil then if mouse.Target ~= nil then w.Part0 = mouse.Target w.Part1 = bawl dwn = true if mouse.Target.Parent:FindFirstChild("Humanoid") then mouse.Target.Parent:FindFirstChild("Humanoid").PlatformStand=true else print('no humanoid') end end end spawn(function() while dwn == true do ypcall(function() bp.Parent = bawl bp.position = Player.Character.Torso.Position + (mouse.Hit.lookVector*dist) wait() end) end end) end function onButton1Up(mouse) dwn=false if bawl ~= nil then bawl.Parent=game.Lighting else print('not found') end end function onKeyDown(key, mouse) key:lower() if key == "r" then if bawl ~= nil then --bawl.Parent=nil end elseif key == "e" then local p = Instance.new("Part", workspace) p.Size = Vector3.new(3,3,3) p.Material = "Neon" p.Position = mouse.Hit.p + Vector3.new(0,2,0) p.BrickColor = bawl.BrickColor p.Shape = "Ball" p.BottomSurface = "Smooth" p.TopSurface = "Smooth" elseif key == "h" then if bawl ~= nil then if bawl:FindFirstChild("Weld") ~= nil then if bawl:FindFirstChild("Weld").Part0 ~= nil then bawl:FindFirstChild("Weld").Part0.Anchored=false end end end elseif key == "g" then if bawl ~= nil then local x = Instance.new("Explosion",workspace) x.Position=bawl.Position else print('some sort of error') end elseif key == "x" then dist=dist - 5 elseif key == "c" then dist=15 elseif key == "v" then dist=100 elseif key == "z" then dist=dist + 5 end end FireX = 0 FireY = 0 FireZ = 0 SPX = 0 SPY = 0 SPZ = 0 BoxColor = "White" FireFalse.MouseButton1Down:connect(function () local Fire = Instance.new("Fire", bawl) Fire.Color = Color3.new(FireX,FireY,FireZ) Player.PlayerGui.ScreenGui.FireFalse.Visible = false Player.PlayerGui.ScreenGui.FireTrue.Visible = true Fire.Color = Color3.new(FireX,FireY,FireZ) end) FireTrue.MouseButton1Down:connect(function () bawl.Fire:remove() Player.PlayerGui.ScreenGui.FireFalse.Visible = true Player.PlayerGui.ScreenGui.FireTrue.Visible = false end) SparklesFalse.MouseButton1Down:connect(function () local SP = Instance.new("Sparkles", bawl) SP.Color = Color3.new(SPX,SPY,SPZ) Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false Player.PlayerGui.ScreenGui.SparklesTrue.Visible = true end) SparklesTrue.MouseButton1Down:connect(function () bawl.Sparkles:remove() Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false end) BoxFalse.MouseButton1Down:connect(function () local Box = Instance.new("SelectionBox", bawl) Box.Color = BrickColor.new(BoxColor) Box.Adornee = Box.Parent Player.PlayerGui.ScreenGui.BoxFalse.Visible = false Player.PlayerGui.ScreenGui.BoxTrue.Visible = true end) BoxTrue.MouseButton1Down:connect(function () bawl.SelectionBox:remove() Player.PlayerGui.ScreenGui.BoxFalse.Visible = true Player.PlayerGui.ScreenGui.BoxTrue.Visible = false end) Blue.MouseButton1Down:connect(function () if bawl ~= nil then bawl.BrickColor = BrickColor.new("Bright blue") FireX = 0 FireY = 0 FireZ = 255 SPX = 0 SPY = 0 SPZ = 255 BoxColor = "Bright blue" game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,0,255) game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,0,255) game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright blue") end end) Red.MouseButton1Down:connect(function () if bawl ~= nil then bawl.BrickColor = BrickColor.new("Bright red") FireX = 255 FireY = 0 FireZ = 0 SPX = 255 SPY = 0 SPZ = 0 BoxColor = "Bright red" game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,0) game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,0) game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright red") end end) Green.MouseButton1Down:connect(function () if bawl ~= nil then bawl.BrickColor = BrickColor.new("Bright green") FireX = 0 FireY = 255 FireZ = 0 SPX = 0 SPY = 255 SPZ = 0 BoxColor = "Bright green" game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,0) game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,0) game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright green") end end) Yellow.MouseButton1Down:connect(function () if bawl ~= nil then bawl.BrickColor = BrickColor.new("New Yeller") FireX = 255 FireY = 255 FireZ = 0 SPX = 255 SPY = 255 SPZ = 0 BoxColor = "New Yeller" game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,0) game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,0) game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("New Yeller") end end) Pink.MouseButton1Down:connect(function () if bawl ~= nil then bawl.BrickColor = BrickColor.new("Hot pink") FireX = 255 FireY = 0 FireZ = 255 SPX = 255 SPY = 0 SPZ = 255 BoxColor = "Hot pink" game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,255) game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,255) game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Hot pink") end end) LightBlue.MouseButton1Down:connect(function () if bawl ~= nil then bawl.BrickColor = BrickColor.new("Cyan") FireX = 0 FireY = 255 FireZ = 255 SPX = 0 SPY = 255 SPZ = 255 BoxColor = "Cyan" game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,255) game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,255) game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Cyan") end end) White.MouseButton1Down:connect(function () if bawl ~= nil then bawl.BrickColor = BrickColor.new("White") FireX = 255 FireY = 255 FireZ = 255 SPX = 255 SPY = 255 SPZ = 255 BoxColor = "White" game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,255) game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,255) game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("White") end end) Bin.Selected:connect(function () Fire = false Player.PlayerGui.ScreenGui.Blue.Visible = true Player.PlayerGui.ScreenGui.Red.Visible = true Player.PlayerGui.ScreenGui.Green.Visible = true Player.PlayerGui.ScreenGui.Yellow.Visible = true Player.PlayerGui.ScreenGui.Pink.Visible = true Player.PlayerGui.ScreenGui.LightBlue.Visible = true Player.PlayerGui.ScreenGui.White.Visible = true Player.PlayerGui.ScreenGui.FireFalse.Visible = true Player.PlayerGui.ScreenGui.FireTrue.Visible = false Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false Player.PlayerGui.ScreenGui.BoxFalse.Visible = true Player.PlayerGui.ScreenGui.BoxTrue.Visible = false end) Bin.Deselected:connect(function () Fire = false Player.PlayerGui.ScreenGui.Blue.Visible = false Player.PlayerGui.ScreenGui.Red.Visible = false Player.PlayerGui.ScreenGui.Green.Visible = false Player.PlayerGui.ScreenGui.Yellow.Visible = false Player.PlayerGui.ScreenGui.Pink.Visible = false Player.PlayerGui.ScreenGui.LightBlue.Visible = false Player.PlayerGui.ScreenGui.White.Visible = false Player.PlayerGui.ScreenGui.FireFalse.Visible = false Player.PlayerGui.ScreenGui.FireTrue.Visible = false Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false Player.PlayerGui.ScreenGui.BoxFalse.Visible = false Player.PlayerGui.ScreenGui.BoxTrue.Visible = false end) Bin.Selected:connect(function(mouse) mouse.Button1Down:connect(function() onButton1Down(mouse) end) mouse.Button1Up:connect(function() onButton1Up(mouse) end) mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end) end)
- FE Telekinesis Script
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.05, math.rad(-90))
- weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.1, math.rad(-90))
- weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.3, math.rad(-90))
- weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-110), math.rad(-15), 0)
- weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.35, math.rad(-90))
- weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-115), math.rad(-15), 0)
- weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
- weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
Advertisement
Add Comment
Please, Sign In to add comment