Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local User = Instance.new("TextBox")
- local Attack = Instance.new("TextButton")
- local Notice = Instance.new("TextLabel")
- local Notice_2 = Instance.new("TextLabel")
- local Creds = Instance.new("TextLabel")
- local Creds_2 = Instance.new("TextLabel")
- local Status = Instance.new("TextLabel")
- local Bar = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.new(0.0196078, 0.415686, 0.0509804)
- Main.BorderColor3 = Color3.new(0.0196078, 0.415686, 0.0509804)
- Main.Position = UDim2.new(0.0161090456, 0, 0.432806313, 0)
- Main.Size = UDim2.new(0, 243, 0, 263)
- User.Name = "User"
- User.Parent = Main
- User.BackgroundColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
- User.BorderColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
- User.Position = UDim2.new(0.13786009, 0, 0.49809894, 0)
- User.Size = UDim2.new(0, 176, 0, 32)
- User.Font = Enum.Font.Highway
- User.Text = "Username"
- User.TextColor3 = Color3.new(0, 0, 0)
- User.TextSize = 25
- Attack.Name = "Attack"
- Attack.Parent = Main
- Attack.BackgroundColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
- Attack.BorderColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
- Attack.Position = UDim2.new(0.133744851, 0, 0.695817471, 0)
- Attack.Size = UDim2.new(0, 176, 0, 33)
- Attack.Font = Enum.Font.Highway
- Attack.Text = "T-Rex Attack"
- Attack.TextColor3 = Color3.new(0, 0, 0)
- Attack.TextSize = 25
- Notice.Name = "Notice"
- Notice.Parent = Main
- Notice.BackgroundColor3 = Color3.new(1, 1, 1)
- Notice.BackgroundTransparency = 1
- Notice.Position = UDim2.new(0.0864197835, 0, -0.0228136927, 0)
- Notice.Size = UDim2.new(0, 200, 0, 50)
- Notice.Font = Enum.Font.Highway
- Notice.Text = "NOTICE: This only works"
- Notice.TextColor3 = Color3.new(0, 0, 0)
- Notice.TextSize = 25
- Notice_2.Name = "Notice"
- Notice_2.Parent = Main
- Notice_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Notice_2.BackgroundTransparency = 1
- Notice_2.Position = UDim2.new(0.0864197537, 0, 0.0570342205, 0)
- Notice_2.Size = UDim2.new(0, 173, 0, 50)
- Notice_2.Font = Enum.Font.Highway
- Notice_2.Text = "in fe disabled games."
- Notice_2.TextColor3 = Color3.new(0, 0, 0)
- Notice_2.TextSize = 25
- Creds.Name = "Creds"
- Creds.Parent = Main
- Creds.BackgroundColor3 = Color3.new(1, 1, 1)
- Creds.BackgroundTransparency = 1
- Creds.Position = UDim2.new(0.417695463, 0, 0.851711094, 0)
- Creds.Size = UDim2.new(0, 173, 0, 50)
- Creds.Font = Enum.Font.Highway
- Creds.Text = "Design: Kira"
- Creds.TextColor3 = Color3.new(0, 0, 0)
- Creds.TextSize = 20
- Creds_2.Name = "Creds"
- Creds_2.Parent = Main
- Creds_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Creds_2.BackgroundTransparency = 1
- Creds_2.Position = UDim2.new(-0.131687254, 0, 0.851711035, 0)
- Creds_2.Size = UDim2.new(0, 173, 0, 50)
- Creds_2.Font = Enum.Font.Highway
- Creds_2.Text = "Script: Bbop"
- Creds_2.TextColor3 = Color3.new(0, 0, 0)
- Creds_2.TextSize = 20
- Status.Name = "Status"
- Status.Parent = Main
- Status.BackgroundColor3 = Color3.new(1, 1, 1)
- Status.BackgroundTransparency = 1
- Status.Position = UDim2.new(0.152263373, 0, 0.307984799, 0)
- Status.Size = UDim2.new(0, 173, 0, 50)
- Status.Font = Enum.Font.Highway
- Status.Text = "Player: Not attacked"
- Status.TextColor3 = Color3.new(0, 0, 0)
- Status.TextSize = 25
- Bar.Name = "Bar"
- Bar.Parent = ScreenGui
- Bar.BackgroundColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
- Bar.BorderColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
- Bar.Position = UDim2.new(0.0161090456, 0, 0.355731219, 0)
- Bar.Size = UDim2.new(0, 243, 0, 39)
- TextLabel.Parent = Bar
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 110, 0, 39)
- TextLabel.Font = Enum.Font.Highway
- TextLabel.Text = "T-Rex Gui"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextSize = 25
- TextLabel_2.Parent = Bar
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.Position = UDim2.new(0.279835403, 0, 0.282051295, 0)
- TextLabel_2.Size = UDim2.new(0, 108, 0, 22)
- TextLabel_2.Font = Enum.Font.Highway
- TextLabel_2.Text = "v1.0"
- TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_2.TextSize = 20
- Attack.MouseButton1Click:connect(function()
- local asset = 1543291947
- local model = game:GetService("InsertService"):LoadAsset(asset)
- model.Parent = game.Workspace
- model:MakeJoints()
- model.Name = "Sackarino"
- local char = game.Workspace[User.Text]
- Status.Text = "Player: Attacked"
- char.Head.Anchored = true
- wait(1)
- local tweenService = game:GetService("TweenService")
- local part = game.Workspace.Sackarino.Dino
- local a = char.Head.Position.X
- local b = char.Head.Position.Y + 5
- local c = char.Head.Position.Z - 31
- local tweeningInformation = TweenInfo.new(
- 3, -- Length
- Enum.EasingStyle.Linear, -- Easing style of ethe TweenInfo
- Enum.EasingDirection.In, -- Easing Direction of the tween
- 0, -- Number of times the tween will repeat
- false, -- Should the tween repeat?
- 0 -- Delay tween between each tween
- )
- local partProperties = {
- Position = Vector3.new(a, b, c);
- }
- local Tween = tweenService:Create(part,tweeningInformation,partProperties)
- Tween:Play()
- wait(3)
- game.Workspace.Sackarino.Dino.Orientation = Vector3.new(15, 0, 0)
- local z = game.Workspace.Sackarino.Dino.Position.Z + 31
- local y = game.Workspace.Sackarino.Dino.Position.Y + 8
- local x = game.Workspace.Sackarino.Dino.Position.X
- wait(.5)
- game.Workspace.Sackarino.Dino.Orientation = Vector3.new(30, 0, 0)
- local z = game.Workspace.Sackarino.Dino.Position.Z + 31
- local y = game.Workspace.Sackarino.Dino.Position.Y + 8
- local x = game.Workspace.Sackarino.Dino.Position.X
- wait(1)
- local z = game.Workspace.Sackarino.Dino.Position.Z + 31
- local y = game.Workspace.Sackarino.Dino.Position.Y + 8
- local x = game.Workspace.Sackarino.Dino.Position.X
- char.Head.CFrame = CFrame.new(x, y, z)
- game.Workspace.Sackarino.Dino.Orientation = Vector3.new(15, 0, 0)
- wait(0.5)
- local z = game.Workspace.Sackarino.Dino.Position.Z + 31
- local y = game.Workspace.Sackarino.Dino.Position.Y + 8
- local x = game.Workspace.Sackarino.Dino.Position.X
- char.Head.CFrame = CFrame.new(x, y, z)
- game.Workspace.Sackarino.Dino.Orientation = Vector3.new(0, 0, 0)
- local s = Instance.new("Sound",char.Head)
- s.Volume = 4
- s.SoundId = "rbxassetid://238770234"
- s:Play()
- while char.Humanoid.Health > 0 and wait(0.01) do
- char.Humanoid.Health = char.Humanoid.Health - 1
- end
- s:Stop()
- Status.Text = "Player: Not attacked"
- wait(2)
- game.Workspace.Sackarino:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement